HPL3/SOMA/Developer Commands

From Frictional Wiki
Jump to navigation Jump to search

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.

Command Line Arguments

To do: Add example for each one of them and finish this list via https://wiki.frictionalgames.com/index.php/Hpl3:Game:commandline

-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.