HPL3/SOMA/Developer Commands
This article is actively undergoing a major edit. The user who added this notice will be listed in its edit history should you wish to contact them. |
When launching your mod via a Command Prompt (CMD .bat file), you can pass optional arguments which will affect the way the mod is loaded by the game. It can be useful for mods which require custom assets and scripts, or if you want to customize it further than that.
Contents
Command Line Arguments
To do: Add example for each one of them
-user
This starts the mod with a different user name. This is useful for starting a mod with a different set of save files, as they are saved per-user.
Default value: Default
.
-cfg
This changes the main config file that is used when starting the mod. This is useful if the relative path of the config file inside your mod folder is different and you want to point to your file.
Default value: config/main_init.cfg
.
-map
This starts the mod and opens a specific map specific map.
Default value: Stated at StartMap
in main_init.cfg
.
-mapfolder
This changes the main config file that is used when starting the mod. This is useful if the relative path of the config file inside your mod folder is different and you want to point to your file.
Default value: config/main_init.cfg
.
-mappos
This changes the main config file that is used when starting the game. This is useful if the relative path of the config file inside your mod folder is different and you want to point to your file.
Default value: config/main_init.cfg
.
-workdir
This changes the main config file that is used when starting the game. This is useful if the relative path of the config file inside your mod folder is different and you want to point to your file.
Default value: config/main_init.cfg
.