From 2d406cde9c6ed2df2980b55e03e94ff2b1f4aed5 Mon Sep 17 00:00:00 2001 From: IceOfWraith <96364530+IceOfWraith@users.noreply.github.com> Date: Wed, 26 Jan 2022 08:57:26 -0600 Subject: [PATCH] Update Space Engineers Upgraded to use the new AMP variables automap function. Added enum list for scenario selection. --- space-engineers-generic.kvp | 1 + space-engineers-genericconfig.json | 66 +++++++++++++++++++++--------- 2 files changed, 47 insertions(+), 20 deletions(-) diff --git a/space-engineers-generic.kvp b/space-engineers-generic.kvp index f69da4b..8c3f838 100644 --- a/space-engineers-generic.kvp +++ b/space-engineers-generic.kvp @@ -16,6 +16,7 @@ App.ExitMethod=String App.ExitString=taskkill /IM App.HasReadableConsole=true App.HasWritableConsole=true +App.MaxUsers=12 App.RapidStartup=false App.RootDir=./space-engineers-generic/ App.UpdateSource=Multi diff --git a/space-engineers-genericconfig.json b/space-engineers-genericconfig.json index 1e0f181..625d0b9 100644 --- a/space-engineers-genericconfig.json +++ b/space-engineers-genericconfig.json @@ -15,6 +15,36 @@ "Survival": "Survival" } }, + { + "DisplayName": "Select Scenario", + "Category": "Server Settings", + "Description": "Sets the Scenario to base the game on.", + "Keywords": "Game Mode", + "FieldName": "PremadeCheckpointPath", + "InputType": "enum", + "IsFlagArgument": false, + "ParamFieldName": "/MyConfigDedicated/PremadeCheckpointPath/text()", + "IncludeInCommandLine": false, + "DefaultValue": "./Content/CustomWorlds/Star System", + "EnumValues": { + "./Content/CustomWorlds/Alien Planet": "Alien Planet", + "./Content/CustomWorlds/Alien System": "Alien System", + "./Content/CustomWorlds/Crashed Red Ship": "Crashed Red Ship", + "./Content/CustomWorlds/Dead Drop Arena": "Dead Drop Arena", + "./Content/CustomWorlds/Distant Moons": "Distant Moons", + "./Content/CustomWorlds/Earth Planet": "Earth Planet", + "./Content/CustomWorlds/Empty World": "Empty World", + "./Content/CustomWorlds/Green Station": "Green Station", + "./Content/CustomWorlds/Home System": "Home System", + "./Content/CustomWorlds/SLone Survivor": "Lone Survivor", + "./Content/CustomWorlds/Mars Planet": "Mars Planet", + "./Content/CustomWorlds/Moon Base": "Moon Base", + "./Content/CustomWorlds/Petram Orbiter": "Petram Orbiter", + "./Content/CustomWorlds/Red Ship": "Red Ship", + "./Content/CustomWorlds/Rival Platforms": "Rival Platforms", + "./Content/CustomWorlds/Star System": "Star System" + } + }, { "DisplayName": "Inventory Size Multiplier", "Category": "Advanced Settings", @@ -71,8 +101,8 @@ "DisplayName": "Max Players", "Category": "Server Settings", "Description": "Any number of players between 4 and 1024", - "Keywords": "Max Players", - "FieldName": "MaxPlayers", + "Keywords": "Max Players users", + "FieldName": "$MaxUsers", "InputType": "number", "IsFlagArgument": false, "ParamFieldName": "/MyConfigDedicated/SessionSettings/MaxPlayers/text()", @@ -1869,54 +1899,50 @@ }, { "DisplayName": "Binding IP", - "Category": "Server Settings", + "Category": "Hidden Settings", "Description": "Must match AMP's Binding IP", - "Keywords": "IP", - "FieldName": "IP", - "InputType": "text", + "Keywords": "binding IP", + "FieldName": "$ApplicationIPBinding", + "InputType": "hidden", "IsFlagArgument": false, "ParamFieldName": "/MyConfigDedicated/IP/text()", "IncludeInCommandLine": false, - "DefaultValue": "0.0.0.0", "EnumValues": {} }, { "DisplayName": "Server Port", - "Category": "Server Settings", + "Category": "Hidden Settings", "Description": "Must match AMP's Application Port 1", "Keywords": "Application Port Server", - "FieldName": "ServerPort", - "InputType": "number", + "FieldName": "$ApplicationPort1", + "InputType": "hidden", "IsFlagArgument": false, "ParamFieldName": "/MyConfigDedicated/ServerPort/text()", "IncludeInCommandLine": false, - "DefaultValue": "27017", "EnumValues": {} }, { "DisplayName": "Remote API Port", - "Category": "Server Settings", + "Category": "Hidden Settings", "Description": "Must match AMP's Remote Admin Port", "Keywords": "Remote Api Port", - "FieldName": "RemoteApiPort", - "InputType": "number", + "FieldName": "$RemoteAdminPort", + "InputType": "hidden", "IsFlagArgument": false, "ParamFieldName": "/MyConfigDedicated/RemoteApiPort/text()", "IncludeInCommandLine": false, - "DefaultValue": "27016", "EnumValues": {} }, { "DisplayName": "Steam Port", - "Category": "Server Settings", + "Category": "Hidden Settings", "Description": "Must match AMP's Application Port 2", "Keywords": "Steam Port", - "FieldName": "SteamPort", - "InputType": "number", + "FieldName": "$ApplicationPort2", + "InputType": "hidden", "IsFlagArgument": false, "ParamFieldName": "/MyConfigDedicated/SteamPort/text()", "IncludeInCommandLine": false, - "DefaultValue": "8777", "EnumValues": {} }, { @@ -2081,7 +2107,7 @@ "IsFlagArgument": false, "ParamFieldName": "/MyConfigDedicated/PauseGameWhenEmpty/text()", "IncludeInCommandLine": false, - "DefaultValue": "false", + "DefaultValue": "true", "EnumValues": { "True": "true", "False": "false"