Difference between revisions of "HPL3/SOMA/Developer Commands"

From Frictional Wiki
< HPL3‎ | SOMA
Jump to navigation Jump to search
m
m
Line 1: Line 1:
 
{{wip}}
 
{{wip}}
  
When launching your mod via a Command Prompt (CMD), 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.
+
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==
 
==Command Line Arguments==

Revision as of 22:32, 27 July 2020

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

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