Difference between revisions of "Documentation/Engine/Console/Commands"

From SCS Modding Wiki
Jump to navigation Jump to search
Line 189: Line 189:
 
|-
 
|-
 
| pause
 
| pause
| TODO
+
| -
| TODO
+
| Toggle game pause state
 
|-
 
|-
 
| preview
 
| preview
| TODO
+
| <map_name> <preview_editor> <profile_to_load>
| TODO
+
| Start game in preview mode
 +
 
 +
Parameters:
 +
* map_name - Name of the map to preview
 +
* preview_editor - editor = start editor, game = start game
 +
* profile_to_load - Name of the profile to be loaded
 
|-
 
|-
 
| profiler_autoshow
 
| profiler_autoshow
Line 205: Line 210:
 
|-
 
|-
 
| quit
 
| quit
| TODO
+
| -
| TODO
+
| Closes the game
 
|-
 
|-
 
| route
 
| route
| TODO
+
| <start company name> <end company name>
| TODO
+
| Command runs navigation between two given points and marks examined road network for visual preview
 
|-
 
|-
 
| s_info
 
| s_info
| TODO
+
| -
| TODO
+
| Reports informations about sound subsystem
 
|-
 
|-
 
| save
 
| save
| TODO
+
| -
| TODO
+
| Forces game save
 
|-
 
|-
 
| screenshot
 
| screenshot

Revision as of 17:15, 14 January 2016

Name Parameters Purpose
cheat - Not available in final builds
check TODO TODO
cs_export TODO TODO
dispatch TODO TODO
echo TODO TODO
edit TODO TODO
edit_build TODO TODO
edit_build_spawns TODO TODO
edit_mark TODO TODO
edit_save TODO TODO
edit_save_backend TODO TODO
edit_save_text TODO TODO
edit_unit TODO TODO
exec TODO TODO
exit TODO TODO
g_delete_idx TODO TODO
g_delete_uid TODO TODO
g_dump TODO TODO
g_dump_signs TODO TODO
g_find_prefab TODO TODO
g_game_dump TODO TODO
g_info TODO TODO
g_item_count TODO TODO
g_mode TODO TODO
g_msaa TODO TODO
g_next_border_node TODO TODO
g_path TODO TODO
g_replace_prefab TODO TODO
g_save_curve_as_text TODO TODO
g_sel_dist TODO TODO
g_sel_item TODO TODO
g_sel_type TODO TODO
g_sel_uid TODO TODO
g_ui_recache TODO TODO
g_wander_output TODO TODO
game TODO TODO
goto TODO TODO
key TODO TODO
mark_country TODO TODO
mm_check TODO TODO
mm_defrag TODO TODO
mm_dump TODO TODO
mm_flush TODO TODO
mm_flush_repeatedly TODO TODO
mm_sys TODO TODO
multimon TODO TODO
pause - Toggle game pause state
preview <map_name> <preview_editor> <profile_to_load> Start game in preview mode

Parameters:

  • map_name - Name of the map to preview
  • preview_editor - editor = start editor, game = start game
  • profile_to_load - Name of the profile to be loaded
profiler_autoshow TODO TODO
profiler_dump TODO TODO
quit - Closes the game
route <start company name> <end company name> Command runs navigation between two given points and marks examined road network for visual preview
s_info - Reports informations about sound subsystem
save - Forces game save
screenshot <custom_name> Makes a screenshot.

The <custom_name> parameter sets custom name of screenshot file name. This parameter is optional.

sdk <operation> Perform SDK operation

<operation> parameter can be:

  • reinit - reinitializes the SDK
  • unload - unload all plugins
  • reload - reloads all plugins
set - -
spawn <object_type> Spawn traffic object
test - Not available in final builds
uset <cva>] <value> Set value of the cvar by name - in case cvar was not found creates new.
validate - Start validation
warp <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