Merge pull request #61 from Shinynecrid/newmodule-insurgency

Insurgency Sandstorm Generic Module Template
This commit is contained in:
PhonicUK 2022-02-11 16:24:19 +00:00 committed by GitHub
commit ed3b68b11d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 1134 additions and 58 deletions

54
InsurgencySS_Game.ini Normal file
View File

@ -0,0 +1,54 @@
[/Script/Insurgency.INSGameMode]
bKillFeed={{bKillFeed}}
bKillFeedSpectator={{bKillFeedSpectator}}
bKillerInfo={{bKillerInfo}}
bKillerInfoRevealDistance={{bKillerInfoRevealDistance}}
TeamKillLimit={{TeamKillLimit}}
TeamKillGrace={{TeamKillGrace}}
TeamKillReduceTime={{TeamKillReduceTime}}
bDeadSay={{bDeadSay}}
bDeadSayTeam={{bDeadSayTeam}}
bVoiceAllowDeadChat={{bVoiceAllowDeadChat}}
bVoiceEnemyHearsLocal={{bVoiceEnemyHearsLocal}}
ObjectiveCaptureTime={{ObjectiveCaptureTime}}
ObjectiveResetTime={{ObjectiveResetTime}}
ObjectiveSpeedup={{ObjectiveSpeedup}}
ObjectiveMaxSpeedupPlayers={{ObjectiveMaxSpeedupPlayers}}
bVoiceRadioBroadcastLocal={{bVoiceRadioBroadcastLocal}}
[/Script/Insurgency.INSMultiplayerMode]
bKillFeedGameStartingIntermissionTime={{bKillFeedGameStartingIntermissionTime}}
WinTime={{WinTime}}
PostRoundTime={{PostRoundTime}}
PostGameTime={{PostGameTime}}
bAutoAssignTeams={{bAutoAssignTeams}}
bAllowFriendlyFire={{bAllowFriendlyFire}}
FriendlyFireModifier={{FriendlyFireModifier}}
FriendlyFireReflect={{FriendlyFireReflect}}
bAutoBalanceTeams={{bAutoBalanceTeams}}
AutoBalanceDelay={{AutoBalanceDelay}}
bMapVoting={{bMapVoting}}
bUseMapCycle={{bUseMapCycle}}
bVoiceIntermissionAllowAll={{bVoiceIntermissionAllowAll}}
IdleLimit={{IdleLimit}}
IdleLimitLowReinforcements={{IdleLimitLowReinforcements}}
IdleCheckFrequency={{IdleCheckFrequency}}
MinimumPlayers={{MinimumPlayers}}
RoundLimit={{RoundLimit}}
WinLimit={{WinLimit}}
GameTimeLimit={{GameTimeLimit}}
PreRoundLimit={{PreRoundLimit}}
RoundTime={{RoundTime}}
OverTime={{OverTime}}
TeamSwitchTime={{TeamSwitchTime}}
SwitchTeamsEveryRound={{SwitchTeamsEveryRound}}
bAllowPlayerTeamSelect={{bAllowPlayerTeamSelect}}
bBots={{bBots}}
BotQuota={{BotQuota}}
InitialSupply={{InitialSupply}}
MaximumSupply={{MaximumSupply}}
bSupplyGainEnabled={{bSupplyGainEnabled}}
bAwardSupplyInstantly={{bAwardSupplyInstantly}}
SupplyGainFrequency={{SupplyGainFrequency}}
GameStartingIntermissionTime={{GameStartingIntermissionTime}}
bAllowThirdPersonSpectate={{bAllowThirdPersonSpectate}}

View File

@ -1,39 +1,41 @@
App.AdminMethod=SourceRCON
App.ApplicationPort1=27102
App.ApplicationPort2=27131
App.ApplicationReadyMode=Immediate
App.ApplicationReadyMode=RegexMatch
App.BaseDirectory=./insurgencysandstorm/581330/
App.CommandLineArgs={{Map}}?Scenario={{Scenario}}?password={{Password}}?MaxPlayers={{$MaxUsers}} -Port={{$ApplicationPort1}} -QueryPort={{$ApplicationPort2}} -Rcon -RconPassword={{$RemoteAdminPassword}} -RconListetnPort={{$RemoteAdminPort}} -log -GameStats {{$FormattedArgs}}
App.CommandLineParameterDelimiter=
App.CommandLineArgs={{Map}}?Scenario="{{Scenario}}"?Lighting="{{Lighting}}"?Game="{{Game}}"?Hostname="{{Hostname}}"?MaxPlayers="{{$MaxUsers}}"?password="{{password}}" -Port={{$ApplicationPort1}} -QueryPort={{$ApplicationPort2}} -Rcon -RconPassword={{$RemoteAdminPassword}} -RconListenPort={{$RemoteAdminPort}} -log -GameStats -GameStatsToken={{GameStatsToken}} -GSLTToken={{GSLTToken}} {{Mods_enabled}} {{$FormattedArgs}}
App.CommandLineParameterFormat=-{0}="{1}"
App.CommandLineParameterDelimiter=
App.DisplayName=InsurgencySandstorm
App.EnvironmentVariables={"LD_LIBRARY_PATH": "./linux64:%LD_LIBRARY_PATH%", "SteamAppId": "581320"}
App.ExecutableLinux=581330/Insurgency/Binaries/Linux/InsurgencyServer-Linux-Shipping
App.ExecutableWin=581330\Insurgency\Binaries\Win64\InsurgencyServer-Win64-Shipping.exe
App.ExitMethod=OS_Close
App.ExitMethod=String
App.ExitString=quit
App.RCONConnectDelaySeconds=45
App.RCONConnectRetrySeconds=15
App.RCONConnectDelaySeconds=15
App.RCONConnectRetrySeconds=45
App.HasReadableConsole=true
App.HasWritableConsole=false
App.HasWritableConsole=true
App.RapidStartup=false
App.RemoteAdminPort=27015
App.RootDir=./insurgencysandstorm/
App.UpdateSource=Multi
App.UpdateSources=[{"UpdateStageName": "SteamCMD Download","UpdateSourcePlatform": "All", "UpdateSource": "SteamCMD", "UpdateSourceData": "581330"}]
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.WorkingDir=581330
App.UseRandomAdminPassword=True
Console.AppReadyRegex=^\[[\d\.]+-[\d\.]+:\d+\]\[[ \d]+\]LogGameState: Match State Changed from WaitingToStart to InProgress$
App.MaxUsers=32
Console.AppReadyRegex=^.*LogSession\: Display\: OnCreateSessionComplete\:.*Result: \(1\)$
Console.ThrowawayMessageRegex=^(WARNING|ERROR): Shader.+$
Console.UserChatRegex=
Console.UserJoinRegex=
Console.UserLeaveRegex=
Meta.Author=Shinynecrid
Console.UserJoinRegex=^LogEOSAntiCheat\: Display\: ServerRegisterClient\: Client\: \((?<userid>.+?)\) Result\: \(EOS_Success\)$
Console.UserLeaveRegex=^LogOnlineSession\: Warning\: STEAM \(NWI\): Player (?<userid>.+?) is not part of session \(GameSession\)$
Console.UserChatRegex=^LogChat\: Display\: .*\((?<userid>.+?)\) .*\: (?<message>.+)$
Meta.Author=Shinynecrid,IceOfWraith
Meta.ConfigManifest=insurgencysandstormconfig.json
Meta.MetaConfigManifest=insurgencysandstormmetaconfig.json
Meta.ConfigRoot=insurgencysandstorm.kvp
Meta.Description=Insurgency Sandstorm Dedicated Server
Meta.DisplayImageSource=steam:581320
Meta.DisplayName=InsurgencySandstorm
Meta.EndpointURIFormat=
Meta.DisplayName=Insurgency Sandstorm
Meta.EndpointURIFormat=steam://connect/{ip}:{GenericModule.App.ApplicationPort2}
Meta.OS=3
Meta.URL=https://steamdb.info/app/581330/

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,27 @@
[
{
"ConfigFile": "Insurgency/Saved/Config/WindowsServer/Game.ini",
"AutoMap": true,
"ConfigType": "template",
"ConfigFileTemplate": "InsurgencySS_Game.ini"
},
{
"ConfigFile": "Insurgency/Saved/Config/LinuxServer/Game.ini",
"AutoMap": true,
"ConfigType": "template",
"ConfigFileTemplate": "InsurgencySS_Game.ini"
},
{
"ConfigFile": "Insurgency/Config/Server/Motd.txt",
"ConfigType": "kvp",
"ConfigFormat": "{0}{1}",
"Subsections": [
{
"Heading": "$root",
"SettingMappings": {
"": "Motd"
}
}
]
}
]