Open main menu

Changes

Documentation/Engine/Console/Commands

190 bytes added, 12:26, 22 November 2018
no edit summary
{{ObsoletePageTip|Be aware that this page is obsolete, it should be updated with all comments in the future time.}}
__TOC__
__TOC__Further configuration parameters are available on the [[Documentation/Engine/Configuration variables|cvar]] page.<br>
=List=
| <reason>
| Exit game command in case of error. (unloads profile)
|-
| g_colbox
| <mode>
| Displays collision boxes while in editor. 1:on, 0:off
|-
| g_delete_idx
| <prefab name> [prefab name] [prefab name] ...
| Find prefabs by it's unit name suffix and dump them into bugs file.
|-
| g_force_economy_reset
| <mode>
| Use with a <mode> value of 1 to regenerate the job market.<br>One should be free-roaming when executing the command, and then entering and exiting the Profile Manager.
|-
| g_info
| <uid>
| Select item by unique index.
|-
| g_set_skybox
| <skybox_idx>
| Set current skybox by index.
|-
| g_set_climate
| <nowiki><climate name> [i|f]</nowiki>
| Set climate.
 
Parameter explanation:
* i - interpolated change,
* f - forced change
|-
| g_set_weather
| <nowiki><weather_index> [i|f]</nowiki>
| Set weather.
 
Parameter explanation:
* weather_index
**0 - nice
**1 - bad
* i - interpolated change,
* f - forced change
|-
| g_set_time
| <nowiki><hours> [minutes] [remove_traffic]</nowiki>
| Set game time.
 
Parameters explanation:
*remove_traffic
**0 - no
**1 - yes
|-
| g_ui_recache
|-
| goto
| <x;y;z> or <cityname>| Teleport debug camera to place on map. Press <F9> to place truck at camera's location.
|-
| mark_country
| -
| Toggle game pause state
|-
| phys_info
| -
| Display informations about physical subsystem.
|-
| preview
| uset
| <cvar> <value>
| Set value of the [[Documentation/Engine/Configuration variables|cvar ]] by name - in case cvar was not found creates new.
|-
| validate
| <speed>
| Set speed of the gameplay. The correct value of the speed parameter is a floating point number in range from 0.0001 to 60.0
|-
| g_set_skybox
| <skybox_idx>
| Set current skybox by index.
|-
| g_set_climate
| <nowiki><climate name> [i|f]</nowiki>
| Set climate.
 
Parameter explanation:
* i - interpolated change,
* f - forced change
|-
| g_set_weather
| <nowiki><weather_index> [i|f]</nowiki>
| Set weather.
 
Parameter explanation:
* weather_index
**0 - nice
**1 - bad
* i - interpolated change,
* f - forced change
|-
| g_set_time
| <nowiki><hours> [minutes] [remove_traffic]</nowiki>
| Set game time.
 
Parameters explanation:
*remove_traffic
**0 - no
**1 - yes
|-
| phys_info
| -
| Display informations about physical subsystem.
|-
| ui
developer
1,626
edits