From 03b9ddf03a88daf960dea6cf653a107cfe5bb692 Mon Sep 17 00:00:00 2001 From: DeteCT0R Date: Tue, 27 Dec 2022 14:42:46 +0200 Subject: [PATCH] Added Mutators/Change default map from enum to text --- killing-floor-2.kvp | 2 +- killing-floor-2config.json | 57 ++++++++++---------------------------- 2 files changed, 16 insertions(+), 43 deletions(-) diff --git a/killing-floor-2.kvp b/killing-floor-2.kvp index b78c704..b611053 100644 --- a/killing-floor-2.kvp +++ b/killing-floor-2.kvp @@ -22,7 +22,7 @@ App.ExecutableLinux=232130/Binaries/Win64/KFGameSteamServer.bin.x86_64 App.WorkingDir=232130 App.LinuxCommandLineArgs= App.WindowsCommandLineArgs= -App.CommandLineArgs={{Map}}?Game={{Game}}?maxplayers={{$MaxUsers}} -Port={{$ApplicationPort1}} -QueryPort={{$ApplicationPort2}} -WebAdminPort={{$RemoteAdminPort}} -Multihome={{$ApplicationIPBinding}} {{$FormattedArgs}} +App.CommandLineArgs={{Map}}?Game={{Game}}?maxplayers={{$MaxUsers}}{{Mutators}} -Port={{$ApplicationPort1}} -QueryPort={{$ApplicationPort2}} -WebAdminPort={{$RemoteAdminPort}} -Multihome={{$ApplicationIPBinding}} {{$FormattedArgs}} App.AppSettings={} App.EnvironmentVariables={"LD_LIBRARY_PATH":"{{$FullBaseDir}}linux64:{{$FullRootDir}}linux64:%LD_LIBRARY_PATH%","SteamAppId":"232090"} App.CommandLineParameterFormat=-{0}="{1}" diff --git a/killing-floor-2config.json b/killing-floor-2config.json index 0957450..88b5a83 100644 --- a/killing-floor-2config.json +++ b/killing-floor-2config.json @@ -2,53 +2,14 @@ { "DisplayName": "Starting Map", "Category": "Server Config", - "Description": "Set the server's starting map. Survival compatible maps denoted with \"*\".", + "Description": "Set the server's starting map. You can found default maps at (KFGame/BrewedPC/Maps) or in the Cache folder if its from workshop", "Keywords": "Map", "FieldName": "Map", - "InputType": "enum", + "InputType": "text", "IsFlagArgument": false, "ParamFieldName": "Map", "IncludeInCommandLine": false, - "DefaultValue": "KF-Bioticslab", - "EnumValues": { - "KF-Airship": "Airship", - "KF-AshwoodAsylum": "Ashwood Asylum", - "KF-Biolapse": "Biolapse", - "KF-Bioticslab": "Biotics Lab*", - "KF-BlackForest": "Black Forest", - "KF-BurningParis": "Burning Paris*", - "KF-CarillonHamlet": "Carillon Hamlet", - "KF-Catacombs": "Catacombs", - "KF-ContainmentStation": "Containment Station", - "KF-Desolation": "Desolation", - "KF-DieSector": "DieSector", - "KF-Dystopia2029": "Dystopia 2029", - "KF-Elysium": "Elysium", - "KF-EvacuationPoint": "Evacuation Point", - "KF-Farmhouse": "Farmhouse*", - "KF-HellmarkStation": "Hellmark Station", - "KF-HostileGrounds": "Hostile Grounds", - "KF-InfernalRealm": "Infernal Realm", - "KF-KrampusLair": "Krampus Lair", - "KF-Lockdown": "Lockdown", - "KF-MonsterBall": "Monster Ball", - "KF-Moonbase": "Moonbase", - "KF-Netherhold": "Netherhold", - "KF-Nightmare": "Nightmare", - "KF-Nuked": "Nuked", - "KF-Outpost": "Outpost", - "KF-PowerCore_Holdout": "Power Core Holdout", - "KF-Prison": "Prison*", - "KF-Sanitarium": "Sanitarium", - "KF-Santasworkshop": "Santa's Workshop", - "KF-ShoppingSpree": "Shopping Spree", - "KF-Spillway": "Spillway", - "KF-SteamFortress": "Steam Fortress", - "KF-TheDescent": "The Descent", - "KF-TragicKingdom": "Tragic Kingdom", - "KF-VolterManor": "Volter Manor*", - "KF-ZedLanding": "ZedLanding" - } + "DefaultValue": "KF-Bioticslab" }, { "DisplayName": "Starting Game Mode", @@ -69,6 +30,18 @@ "KFGameContent.KFGameInfo_Objective": "Objective" } }, + { + "DisplayName": "Mutators", + "Category": "Server Config", + "Description": "Server Mutators. Example: (?Mutator=Yourmut.Yourmut?Mutator=YourSecondmut.Yoursecondmut)", + "Keywords": "Game,mode", + "FieldName": "Mutators", + "InputType": "text", + "IsFlagArgument": false, + "ParamFieldName": "Mutators", + "IncludeInCommandLine": false, + "DefaultValue": "" + }, { "DisplayName": "Enable Web Admin", "Category": "Server Config",