Difference between revisions of "HPL3/SOMA/Developer Commands"
(Created page with "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 re...") |
|||
Line 2: | Line 2: | ||
==Command Line Arguments== | ==Command Line Arguments== | ||
+ | |||
+ | {{todo|Add example for each one of them}} | ||
=== '''-user''' === | === '''-user''' === | ||
− | This starts the | + | 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. |
+ | <br> | ||
+ | Default value: <code>Default</code>. | ||
=== '''-cfg''' === | === '''-cfg''' === | ||
− | This changes the main config file that is used when starting the game. | + | 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. |
+ | <br> | ||
+ | Default value: <code>config/main_init.cfg</code>. | ||
+ | |||
+ | === '''-map''' === | ||
+ | This starts the mod and opens a specific map specific map. | ||
+ | <br> | ||
+ | Default value: Stated at <code>StartMap</code> in <code>main_init.cfg</code>. | ||
+ | |||
+ | |||
+ | === '''-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. | ||
+ | <br> | ||
+ | Default value: <code>config/main_init.cfg</code>. | ||
+ | |||
+ | |||
+ | === '''-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. | ||
+ | <br> | ||
+ | Default value: <code>config/main_init.cfg</code>. | ||
+ | |||
+ | === '''-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. | ||
+ | <br> | ||
+ | Default value: <code>config/main_init.cfg</code>. |
Revision as of 21:31, 27 July 2020
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.
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
.