Skip to content

Commit e746467

Browse files
committed
Insurgency Sandstorm: tidy config handling
1 parent 562e9fc commit e746467

4 files changed

Lines changed: 72 additions & 22 deletions

File tree

insurgencysandstorm.kvp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Meta.Prerequisites=[]
2121
Meta.ExtraContainerPackages=[]
2222
Meta.ConfigReleaseState=NotSpecified
2323
Meta.NoCommercialUsage=False
24-
Meta.ConfigVersion=4
24+
Meta.ConfigVersion=5
2525
Meta.ReleaseNotes=
2626
Meta.BreakingReleaseNotes=
2727
Meta.AppConfigId=684b4b01-ddbc-4079-9e76-1520c61fb487

insurgencysandstormgame.ini

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
[/Script/Insurgency.INSGameMode]
2+
bKillFeed=False
3+
bKillFeedSpectator=True
4+
bKillerInfo=True
5+
bKillerInfoRevealDistance=True
6+
TeamKillLimit=3
7+
TeamKillGrace=0.2
8+
TeamKillReduceTime=90
9+
bDeadSay=False
10+
bDeadSayTeam=True
11+
bVoiceAllowDeadChat=False
12+
bVoiceEnemyHearsLocal=True
13+
ObjectiveCaptureTime=30
14+
ObjectiveResetTime=-1
15+
ObjectiveSpeedup=0.25
16+
ObjectiveMaxSpeedupPlayers=4
17+
bVoiceRadioBroadcastLocal=False
18+
19+
[/Script/Insurgency.INSMultiplayerMode]
20+
bKillFeedGameStartingIntermissionTime=5
21+
WinTime=5
22+
PostRoundTime=15
23+
PostGameTime=15
24+
bAutoAssignTeams=True
25+
bAllowFriendlyFire=True
26+
FriendlyFireModifier=0.2
27+
FriendlyFireReflect=0
28+
bAutoBalanceTeams=True
29+
AutoBalanceDelay=10
30+
bMapVoting=True
31+
bUseMapCycle=True
32+
bVoiceIntermissionAllowAll=True
33+
IdleLimit=150
34+
IdleLimitLowReinforcements=90
35+
IdleCheckFrequency=30
36+
MinimumPlayers=1
37+
RoundLimit=3
38+
WinLimit=1
39+
GameTimeLimit=-1
40+
PreRoundLimit=10
41+
RoundTime=1080
42+
OverTime=60
43+
TeamSwitchTime=10
44+
SwitchTeamsEveryRound=1
45+
bAllowPlayerTeamSelect=True
46+
bBots=False
47+
BotQuota=5
48+
InitialSupply=15
49+
MaximumSupply=15
50+
bSupplyGainEnabled=False
51+
bAwardSupplyInstantly=False
52+
SupplyGainFrequency=150
53+
GameStartingIntermissionTime=5
54+
bAllowThirdPersonSpectate=False

insurgencysandstormmetaconfig.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,13 @@
22
{
33
"ConfigFile": "Insurgency/Saved/Config/WindowsServer/Game.ini",
44
"AutoMap": true,
5+
"Importable": true,
56
"ConfigType": "ini"
67
},
78
{
89
"ConfigFile": "Insurgency/Saved/Config/LinuxServer/Game.ini",
910
"AutoMap": true,
11+
"Importable": true,
1012
"ConfigType": "ini"
1113
},
1214
{

insurgencysandstormupdates.json

Lines changed: 15 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -9,43 +9,37 @@
99
},
1010
{
1111
"UpdateStageName": "Config Directory Creation",
12-
"UpdateSourcePlatform": "All",
12+
"UpdateSourcePlatform": "Windows",
1313
"UpdateSource": "CreateDirectory",
14-
"UpdateSourceArgs": "./insurgencysandstorm/581330/Insurgency/Saved/Config/WindowsServer",
14+
"UpdateSourceArgs": "{{$FullBaseDir}}Insurgency/Saved/Config/WindowsServer",
1515
"SkipOnFailure": false
1616
},
1717
{
1818
"UpdateStageName": "Config Directory Creation",
19-
"UpdateSourcePlatform": "All",
19+
"UpdateSourcePlatform": "Linux",
2020
"UpdateSource": "CreateDirectory",
21-
"UpdateSourceArgs": "./insurgencysandstorm/581330/Insurgency/Saved/Config/LinuxServer",
21+
"UpdateSourceArgs": "{{$FullBaseDir}}Insurgency/Saved/Config/LinuxServer",
2222
"SkipOnFailure": false
2323
},
2424
{
2525
"UpdateStageName": "Base Config Download",
26-
"UpdateSourcePlatform": "All",
26+
"UpdateSourcePlatform": "Windows",
2727
"UpdateSource": "FetchURL",
28-
"UpdateSourceData": "https://raw.githubusercontent.com/CubeCoders/AMPTemplates/main/InsurgencySS_Game.ini",
29-
"UpdateSourceTarget": "./",
28+
"UpdateSourceData": "https://raw.githubusercontent.com/CubeCoders/AMPTemplates/main/insurgencysandstormgame.ini",
29+
"UpdateSourceTarget": "{{$FullBaseDir}}Insurgency/Saved/Config/WindowsServer",
30+
"UpdateSourceArgs": "Game.ini",
3031
"UnzipUpdateSource": false,
3132
"OverwriteExistingFiles": false,
3233
"SkipOnFailure": false
3334
},
3435
{
35-
"UpdateStageName": "Config File Copy",
36-
"UpdateSourcePlatform": "All",
37-
"UpdateSource": "CopyFilePath",
38-
"UpdateSourceData": "./insurgencysandstorm/581330/Insurgency/Saved/Config/WindowsServer/Game.ini",
39-
"UpdateSourceArgs": "./insurgencysandstorm/InsurgencySS_Game.ini",
40-
"OverwriteExistingFiles": false,
41-
"SkipOnFailure": false
42-
},
43-
{
44-
"UpdateStageName": "Config File Copy",
45-
"UpdateSourcePlatform": "All",
46-
"UpdateSource": "CopyFilePath",
47-
"UpdateSourceData": "./insurgencysandstorm/581330/Insurgency/Saved/Config/LinuxServer/Game.ini",
48-
"UpdateSourceArgs": "./insurgencysandstorm/InsurgencySS_Game.ini",
36+
"UpdateStageName": "Base Config Download",
37+
"UpdateSourcePlatform": "Linux",
38+
"UpdateSource": "FetchURL",
39+
"UpdateSourceData": "https://raw.githubusercontent.com/CubeCoders/AMPTemplates/main/insurgencysandstormgame.ini",
40+
"UpdateSourceTarget": "{{$FullBaseDir}}Insurgency/Saved/Config/LinuxServer",
41+
"UpdateSourceArgs": "Game.ini",
42+
"UnzipUpdateSource": false,
4943
"OverwriteExistingFiles": false,
5044
"SkipOnFailure": false
5145
}

0 commit comments

Comments
 (0)