Changes

Jump to navigation Jump to search

Documentation/Engine/Console/Commands

514 bytes added, 01:51, 13 November 2023
no edit summary
{{ObsoletePageTip|Be aware that this page is obsolete, it should be updated with all commands in the future.}}
__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
| <uid>
| Delete item by given unique index in map editor
|-
| g_disable_beacons
| <mode>
| Changes behaviour of flashing beacons on AI vehicles/trucks (accessibility feature for epileptic people).
* 0 - default
* 1 - disables spot lights of strobes and beacons
* 2 - as 1 and also disables their flares blinking by switching them on all the time
|-
| g_dump
| g_find_prefab
| <prefab name> [prefab name] [prefab name] ...
| Find prefabs by it's its 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 <code>CTRL</code> + <code>F9</code> to place your truck at the 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
77
edits

Navigation menu