From ce9b4282dd3008c8eba0098b2c62569707eaea2a Mon Sep 17 00:00:00 2001 From: James Manker Date: Sat, 12 Feb 2022 18:27:14 -0600 Subject: [PATCH] Convert Insurgency Sandstorm to base config This switches the config to use a base config rather than a template to allow users to manually add special settings without a full config file overwrite. --- insurgencysandstorm.kvp | 2 +- insurgencysandstormconfig.json | 102 ++++++++++++++--------------- insurgencysandstormmetaconfig.json | 10 ++- 3 files changed, 56 insertions(+), 58 deletions(-) diff --git a/insurgencysandstorm.kvp b/insurgencysandstorm.kvp index 91207b7..249c277 100644 --- a/insurgencysandstorm.kvp +++ b/insurgencysandstorm.kvp @@ -20,7 +20,7 @@ App.RapidStartup=false App.RemoteAdminPort=27015 App.RootDir=./insurgencysandstorm/ App.UpdateSource=Multi -App.UpdateSources=[{"UpdateStageName":"SteamCMD Download","UpdateSourcePlatform":31,"UpdateSource":4,"UpdateSourceData":"581330","UpdateSourceArgs":null,"UpdateSourceVersion":null,"UpdateSourceTarget":null,"UnzipUpdateSource":false,"OverwriteExistingFiles":false,"ForceDownloadPlatform":0,"UpdateSourceConditionSetting":null,"UpdateSourceConditionValue":null},{"UpdateStageName":"Base Config Download","UpdateSourcePlatform":31,"UpdateSource":1,"UpdateSourceData":"https://github.com/CubeCoders/AMPTemplates/raw/main/InsurgencySS_Game.ini","UpdateSourceArgs":null,"UpdateSourceVersion":null,"UpdateSourceTarget":"./","UnzipUpdateSource":false,"OverwriteExistingFiles":false,"ForceDownloadPlatform":0,"UpdateSourceConditionSetting":null,"UpdateSourceConditionValue":null}] +App.UpdateSources=[{"UpdateStageName":"SteamCMD Download","UpdateSourcePlatform":31,"UpdateSource":4,"UpdateSourceData":"581330","UpdateSourceArgs":null,"UpdateSourceVersion":null,"UpdateSourceTarget":null,"UnzipUpdateSource":false,"OverwriteExistingFiles":false,"ForceDownloadPlatform":0,"UpdateSourceConditionSetting":null,"UpdateSourceConditionValue":null},{"UpdateStageName":"Base Config Download","UpdateSourcePlatform":31,"UpdateSource":1,"UpdateSourceData":"https://github.com/CubeCoders/AMPTemplates/raw/main/InsurgencySS_Game.ini","UpdateSourceArgs":null,"UpdateSourceVersion":null,"UpdateSourceTarget":"./","UnzipUpdateSource":false,"OverwriteExistingFiles":false,"ForceDownloadPlatform":0,"UpdateSourceConditionSetting":null,"UpdateSourceConditionValue":null},{"UpdateStageName":"Config File Copy","UpdateSourcePlatform":31,"UpdateSource":2,"UpdateSourceData":"./insurgencysandstorm/581330/Insurgency/Saved/Config/WindowsServer/Game.ini","UpdateSourceArgs":"./insurgencysandstorm/InsurgencySS_Game.ini","UpdateSourceVersion":null,"UpdateSourceTarget":null,"UnzipUpdateSource":false,"OverwriteExistingFiles":false,"ForceDownloadPlatform":0,"UpdateSourceConditionSetting":null,"UpdateSourceConditionValue":null},{"UpdateStageName":"Config File Copy","UpdateSourcePlatform":31,"UpdateSource":2,"UpdateSourceData":"./insurgencysandstorm/581330/Insurgency/Saved/Config/LinuxServer/Game.ini","UpdateSourceArgs":"./insurgencysandstorm/InsurgencySS_Game.ini","UpdateSourceVersion":null,"UpdateSourceTarget":null,"UnzipUpdateSource":false,"OverwriteExistingFiles":false,"ForceDownloadPlatform":0,"UpdateSourceConditionSetting":null,"UpdateSourceConditionValue":null}] App.WorkingDir=581330 App.UseRandomAdminPassword=True App.MaxUsers=32 diff --git a/insurgencysandstormconfig.json b/insurgencysandstormconfig.json index 48a99c7..713694f 100644 --- a/insurgencysandstormconfig.json +++ b/insurgencysandstormconfig.json @@ -432,7 +432,7 @@ "FieldName": "bKillFeed", "InputType": "checkbox", "IsFlagArgument": false, - "ParamFieldName": "bKillFeed", + "ParamFieldName": "/Script/Insurgency.INSGameMode.bKillFeed", "DefaultValue": "False", "EnumValues": { "False": "False", @@ -447,7 +447,7 @@ "FieldName": "bKillFeedSpectator", "InputType": "checkbox", "IsFlagArgument": false, - "ParamFieldName": "bKillFeedSpectator", + "ParamFieldName": "/Script/Insurgency.INSGameMode.bKillFeedSpectator", "DefaultValue": "True", "EnumValues": { "False": "False", @@ -462,7 +462,7 @@ "FieldName": "bKillerInfo", "InputType": "checkbox", "IsFlagArgument": false, - "ParamFieldName": "bKillerInfo", + "ParamFieldName": "/Script/Insurgency.INSGameMode.bKillerInfo", "DefaultValue": "True", "EnumValues": { "False": "False", @@ -477,7 +477,7 @@ "FieldName": "bKillerInfoRevealDistance", "InputType": "checkbox", "IsFlagArgument": false, - "ParamFieldName": "bKillerInfoRevealDistance", + "ParamFieldName": "/Script/Insurgency.INSGameMode.bKillerInfoRevealDistance", "DefaultValue": "True", "EnumValues": { "False": "False", @@ -492,7 +492,7 @@ "FieldName": "TeamKillLimit", "InputType": "number", "IsFlagArgument": false, - "ParamFieldName": "TeamKillLimit", + "ParamFieldName": "/Script/Insurgency.INSGameMode.TeamKillLimit", "DefaultValue": "3", "EnumValues": {} }, @@ -504,7 +504,7 @@ "FieldName": "TeamKillGrace", "InputType": "number", "IsFlagArgument": false, - "ParamFieldName": "TeamKillGrace", + "ParamFieldName": "/Script/Insurgency.INSGameMode.TeamKillGrace", "DefaultValue": "0.2", "EnumValues": {} }, @@ -516,7 +516,7 @@ "FieldName": "TeamKillReduceTime", "InputType": "number", "IsFlagArgument": false, - "ParamFieldName": "TeamKillReduceTime", + "ParamFieldName": "/Script/Insurgency.INSGameMode.TeamKillReduceTime", "DefaultValue": "90", "EnumValues": {} }, @@ -528,7 +528,7 @@ "FieldName": "bDeadSay", "InputType": "checkbox", "IsFlagArgument": false, - "ParamFieldName": "bDeadSay", + "ParamFieldName": "/Script/Insurgency.INSGameMode.bDeadSay", "DefaultValue": "False", "EnumValues": { "False": "False", @@ -543,7 +543,7 @@ "FieldName": "bDeadSayTeam", "InputType": "checkbox", "IsFlagArgument": false, - "ParamFieldName": "bDeadSayTeam", + "ParamFieldName": "/Script/Insurgency.INSGameMode.bDeadSayTeam", "DefaultValue": "True", "EnumValues": { "False": "False", @@ -558,7 +558,7 @@ "FieldName": "bVoiceAllowDeadChat", "InputType": "checkbox", "IsFlagArgument": false, - "ParamFieldName": "bVoiceAllowDeadChat", + "ParamFieldName": "/Script/Insurgency.INSGameMode.bVoiceAllowDeadChat", "DefaultValue": "False", "EnumValues": { "False": "False", @@ -573,7 +573,7 @@ "FieldName": "bVoiceEnemyHearsLocal", "InputType": "checkbox", "IsFlagArgument": false, - "ParamFieldName": "bVoiceEnemyHearsLocal", + "ParamFieldName": "/Script/Insurgency.INSGameMode.bVoiceEnemyHearsLocal", "DefaultValue": "True", "EnumValues": { "False": "False", @@ -588,7 +588,7 @@ "FieldName": "bVoiceRadioBroadcastLocal", "InputType": "checkbox", "IsFlagArgument": false, - "ParamFieldName": "bVoiceRadioBroadcastLocal", + "ParamFieldName": "/Script/Insurgency.INSGameMode.bVoiceRadioBroadcastLocal", "DefaultValue": "False", "EnumValues": { "False": "False", @@ -603,7 +603,7 @@ "FieldName": "ObjectiveCaptureTime", "InputType": "number", "IsFlagArgument": false, - "ParamFieldName": "ObjectiveCaptureTime", + "ParamFieldName": "/Script/Insurgency.INSGameMode.ObjectiveCaptureTime", "DefaultValue": "30", "EnumValues": {} }, @@ -615,7 +615,7 @@ "FieldName": "ObjectiveResetTime", "InputType": "number", "IsFlagArgument": false, - "ParamFieldName": "ObjectiveResetTime", + "ParamFieldName": "/Script/Insurgency.INSGameMode.ObjectiveResetTime", "DefaultValue": "-1", "EnumValues": {} }, @@ -627,7 +627,7 @@ "FieldName": "ObjectiveSpeedup", "InputType": "number", "IsFlagArgument": false, - "ParamFieldName": "ObjectiveSpeedup", + "ParamFieldName": "/Script/Insurgency.INSGameMode.ObjectiveSpeedup", "DefaultValue": "0.25", "EnumValues": {} }, @@ -639,7 +639,7 @@ "FieldName": "ObjectiveMaxSpeedupPlayers", "InputType": "number", "IsFlagArgument": false, - "ParamFieldName": "ObjectiveMaxSpeedupPlayers", + "ParamFieldName": "/Script/Insurgency.INSGameMode.ObjectiveMaxSpeedupPlayers", "DefaultValue": "4", "EnumValues": {} }, @@ -651,7 +651,7 @@ "FieldName": "bKillFeedGameStartingIntermissionTime", "InputType": "number", "IsFlagArgument": false, - "ParamFieldName": "bKillFeedGameStartingIntermissionTime", + "ParamFieldName": "/Script/Insurgency.INSMultiplayerMode.bKillFeedGameStartingIntermissionTime", "DefaultValue": "5", "EnumValues": {} }, @@ -663,7 +663,7 @@ "FieldName": "GameStartingIntermissionTime", "InputType": "number", "IsFlagArgument": false, - "ParamFieldName": "GameStartingIntermissionTime", + "ParamFieldName": "/Script/Insurgency.INSMultiplayerMode.GameStartingIntermissionTime", "DefaultValue": "5", "EnumValues": {} }, @@ -675,7 +675,7 @@ "FieldName": "WinTime", "InputType": "number", "IsFlagArgument": false, - "ParamFieldName": "WinTime", + "ParamFieldName": "/Script/Insurgency.INSMultiplayerMode.WinTime", "DefaultValue": "5", "EnumValues": {} }, @@ -687,7 +687,7 @@ "FieldName": "PostRoundTime", "InputType": "number", "IsFlagArgument": false, - "ParamFieldName": "PostRoundTime", + "ParamFieldName": "/Script/Insurgency.INSMultiplayerMode.PostRoundTime", "DefaultValue": "15", "EnumValues": {} }, @@ -699,7 +699,7 @@ "FieldName": "PostGameTime", "InputType": "number", "IsFlagArgument": false, - "ParamFieldName": "PostGameTime", + "ParamFieldName": "/Script/Insurgency.INSMultiplayerMode.PostGameTime", "DefaultValue": "15", "EnumValues": {} }, @@ -711,7 +711,7 @@ "FieldName": "bAutoAssignTeams", "InputType": "checkbox", "IsFlagArgument": false, - "ParamFieldName": "bAutoAssignTeams", + "ParamFieldName": "/Script/Insurgency.INSMultiplayerMode.bAutoAssignTeams", "DefaultValue": "True", "EnumValues": { "False": "False", @@ -726,7 +726,7 @@ "FieldName": "bAllowFriendlyFire", "InputType": "checkbox", "IsFlagArgument": false, - "ParamFieldName": "bAllowFriendlyFire", + "ParamFieldName": "/Script/Insurgency.INSMultiplayerMode.bAllowFriendlyFire", "DefaultValue": "True", "EnumValues": { "False": "False", @@ -741,7 +741,7 @@ "FieldName": "FriendlyFireModifier", "InputType": "number", "IsFlagArgument": false, - "ParamFieldName": "FriendlyFireModifier", + "ParamFieldName": "/Script/Insurgency.INSMultiplayerMode.FriendlyFireModifier", "DefaultValue": "0.2", "EnumValues": {} }, @@ -753,7 +753,7 @@ "FieldName": "FriendlyFireReflect", "InputType": "number", "IsFlagArgument": false, - "ParamFieldName": "FriendlyFireReflect", + "ParamFieldName": "/Script/Insurgency.INSMultiplayerMode.FriendlyFireReflect", "DefaultValue": "0", "EnumValues": {} }, @@ -765,7 +765,7 @@ "FieldName": "bAutoBalanceTeams", "InputType": "checkbox", "IsFlagArgument": false, - "ParamFieldName": "bAutoBalanceTeams", + "ParamFieldName": "/Script/Insurgency.INSMultiplayerMode.bAutoBalanceTeams", "DefaultValue": "True", "EnumValues": { "False": "False", @@ -780,7 +780,7 @@ "FieldName": "AutoBalanceDelay", "InputType": "number", "IsFlagArgument": false, - "ParamFieldName": "AutoBalanceDelay", + "ParamFieldName": "/Script/Insurgency.INSMultiplayerMode.AutoBalanceDelay", "DefaultValue": "10", "EnumValues": {} }, @@ -792,7 +792,7 @@ "FieldName": "bMapVoting", "InputType": "checkbox", "IsFlagArgument": false, - "ParamFieldName": "bMapVoting", + "ParamFieldName": "/Script/Insurgency.INSMultiplayerMode.bMapVoting", "DefaultValue": "True", "EnumValues": { "False": "False", @@ -807,7 +807,7 @@ "FieldName": "bUseMapCycle", "InputType": "checkbox", "IsFlagArgument": false, - "ParamFieldName": "bUseMapCycle", + "ParamFieldName": "/Script/Insurgency.INSMultiplayerMode.bUseMapCycle", "DefaultValue": "True", "EnumValues": { "False": "False", @@ -822,7 +822,7 @@ "FieldName": "bVoiceIntermissionAllowAll", "InputType": "checkbox", "IsFlagArgument": false, - "ParamFieldName": "bVoiceIntermissionAllowAll", + "ParamFieldName": "/Script/Insurgency.INSMultiplayerMode.bVoiceIntermissionAllowAll", "DefaultValue": "True", "EnumValues": { "False": "False", @@ -837,7 +837,7 @@ "FieldName": "IdleLimit", "InputType": "number", "IsFlagArgument": false, - "ParamFieldName": "IdleLimit", + "ParamFieldName": "/Script/Insurgency.INSMultiplayerMode.IdleLimit", "DefaultValue": "150", "EnumValues": {} }, @@ -849,7 +849,7 @@ "FieldName": "IdleLimitLowReinforcements", "InputType": "number", "IsFlagArgument": false, - "ParamFieldName": "IdleLimitLowReinforcements", + "ParamFieldName": "/Script/Insurgency.INSMultiplayerMode.IdleLimitLowReinforcements", "DefaultValue": "90", "EnumValues": {} }, @@ -861,7 +861,7 @@ "FieldName": "IdleCheckFrequency", "InputType": "number", "IsFlagArgument": false, - "ParamFieldName": "IdleCheckFrequency", + "ParamFieldName": "/Script/Insurgency.INSMultiplayerMode.IdleCheckFrequency", "DefaultValue": "30", "EnumValues": {} }, @@ -873,7 +873,7 @@ "FieldName": "bAllowThirdPersonSpectate", "InputType": "checkbox", "IsFlagArgument": false, - "ParamFieldName": "bAllowThirdPersonSpectate", + "ParamFieldName": "/Script/Insurgency.INSMultiplayerMode.bAllowThirdPersonSpectate", "DefaultValue": "False", "EnumValues": { "False": "False", @@ -888,7 +888,7 @@ "FieldName": "MinimumPlayers", "InputType": "number", "IsFlagArgument": false, - "ParamFieldName": "MinimumPlayers", + "ParamFieldName": "/Script/Insurgency.INSMultiplayerMode.MinimumPlayers", "DefaultValue": "1", "EnumValues": {} }, @@ -900,7 +900,7 @@ "FieldName": "RoundLimit", "InputType": "number", "IsFlagArgument": false, - "ParamFieldName": "RoundLimit", + "ParamFieldName": "/Script/Insurgency.INSMultiplayerMode.RoundLimit", "DefaultValue": "3", "EnumValues": {} }, @@ -912,7 +912,7 @@ "FieldName": "WinLimit", "InputType": "number", "IsFlagArgument": false, - "ParamFieldName": "WinLimit", + "ParamFieldName": "/Script/Insurgency.INSMultiplayerMode.WinLimit", "DefaultValue": "1", "EnumValues": {} }, @@ -924,7 +924,7 @@ "FieldName": "GameTimeLimit", "InputType": "number", "IsFlagArgument": false, - "ParamFieldName": "GameTimeLimit", + "ParamFieldName": "/Script/Insurgency.INSMultiplayerMode.GameTimeLimit", "DefaultValue": "-1", "EnumValues": {} }, @@ -936,7 +936,7 @@ "FieldName": "PreRoundLimit", "InputType": "number", "IsFlagArgument": false, - "ParamFieldName": "PreRoundLimit", + "ParamFieldName": "/Script/Insurgency.INSMultiplayerMode.PreRoundLimit", "DefaultValue": "10", "EnumValues": {} }, @@ -948,7 +948,7 @@ "FieldName": "RoundTime", "InputType": "number", "IsFlagArgument": false, - "ParamFieldName": "RoundTime", + "ParamFieldName": "/Script/Insurgency.INSMultiplayerMode.RoundTime", "DefaultValue": "1080", "EnumValues": {} }, @@ -960,7 +960,7 @@ "FieldName": "OverTime", "InputType": "number", "IsFlagArgument": false, - "ParamFieldName": "OverTime", + "ParamFieldName": "/Script/Insurgency.INSMultiplayerMode.OverTime", "DefaultValue": "60", "EnumValues": {} }, @@ -972,7 +972,7 @@ "FieldName": "TeamSwitchTime", "InputType": "number", "IsFlagArgument": false, - "ParamFieldName": "TeamSwitchTime", + "ParamFieldName": "/Script/Insurgency.INSMultiplayerMode.TeamSwitchTime", "DefaultValue": "10", "EnumValues": {} }, @@ -984,7 +984,7 @@ "FieldName": "SwitchTeamsEveryRound", "InputType": "number", "IsFlagArgument": false, - "ParamFieldName": "SwitchTeamsEveryRound", + "ParamFieldName": "/Script/Insurgency.INSMultiplayerMode.SwitchTeamsEveryRound", "DefaultValue": "1", "EnumValues": {} }, @@ -996,7 +996,7 @@ "FieldName": "bAllowPlayerTeamSelect", "InputType": "checkbox", "IsFlagArgument": false, - "ParamFieldName": "bAllowPlayerTeamSelect", + "ParamFieldName": "/Script/Insurgency.INSMultiplayerMode.bAllowPlayerTeamSelect", "DefaultValue": "True", "EnumValues": { "False": "False", @@ -1011,7 +1011,7 @@ "FieldName": "bBots", "InputType": "checkbox", "IsFlagArgument": false, - "ParamFieldName": "bBots", + "ParamFieldName": "/Script/Insurgency.INSMultiplayerMode.bBots", "DefaultValue": "False", "EnumValues": { "False": "False", @@ -1026,7 +1026,7 @@ "FieldName": "BotQuota", "InputType": "number", "IsFlagArgument": false, - "ParamFieldName": "BotQuota", + "ParamFieldName": "/Script/Insurgency.INSMultiplayerMode.BotQuota", "DefaultValue": "5", "EnumValues": {} }, @@ -1038,7 +1038,7 @@ "FieldName": "InitialSupply", "InputType": "number", "IsFlagArgument": false, - "ParamFieldName": "InitialSupply", + "ParamFieldName": "/Script/Insurgency.INSMultiplayerMode.InitialSupply", "DefaultValue": "15", "EnumValues": {} }, @@ -1050,7 +1050,7 @@ "FieldName": "MaximumSupply", "InputType": "number", "IsFlagArgument": false, - "ParamFieldName": "MaximumSupply", + "ParamFieldName": "/Script/Insurgency.INSMultiplayerMode.MaximumSupply", "DefaultValue": "15", "EnumValues": {} }, @@ -1062,7 +1062,7 @@ "FieldName": "bSupplyGainEnabled", "InputType": "checkbox", "IsFlagArgument": false, - "ParamFieldName": "bSupplyGainEnabled", + "ParamFieldName": "/Script/Insurgency.INSMultiplayerMode.bSupplyGainEnabled", "DefaultValue": "False", "EnumValues": { "False": "False", @@ -1077,7 +1077,7 @@ "FieldName": "bAwardSupplyInstantly", "InputType": "checkbox", "IsFlagArgument": false, - "ParamFieldName": "bAwardSupplyInstantly", + "ParamFieldName": "/Script/Insurgency.INSMultiplayerMode.bAwardSupplyInstantly", "DefaultValue": "False", "EnumValues": { "False": "False", @@ -1092,7 +1092,7 @@ "FieldName": "SupplyGainFrequency", "InputType": "number", "IsFlagArgument": false, - "ParamFieldName": "SupplyGainFrequency", + "ParamFieldName": "/Script/Insurgency.INSMultiplayerMode.SupplyGainFrequency", "DefaultValue": "150", "EnumValues": {} } diff --git a/insurgencysandstormmetaconfig.json b/insurgencysandstormmetaconfig.json index 1b59eb5..216a1f9 100644 --- a/insurgencysandstormmetaconfig.json +++ b/insurgencysandstormmetaconfig.json @@ -2,19 +2,17 @@ { "ConfigFile": "Insurgency/Saved/Config/WindowsServer/Game.ini", "AutoMap": true, - "ConfigType": "template", - "ConfigFileTemplate": "InsurgencySS_Game.ini" + "ConfigType": "ini" }, { "ConfigFile": "Insurgency/Saved/Config/LinuxServer/Game.ini", "AutoMap": true, - "ConfigType": "template", - "ConfigFileTemplate": "InsurgencySS_Game.ini" + "ConfigType": "ini" }, { - "ConfigFile": "Insurgency/Config/Server/Motd.txt", + "ConfigFile": "Insurgency/Config/Server/Motd.txt", "ConfigType": "kvp", - "ConfigFormat": "{0}{1}", + "ConfigFormat": "{0}{1}", "Subsections": [ { "Heading": "$root",