UI commands: Difference between revisions

From Spring
Jump to navigationJump to search
Flozi (talk | contribs)
95.0 - add map border rendering (+ /mapborder command)
Tulipe (talk | contribs)
 
(19 intermediate revisions by 6 users not shown)
Line 8: Line 8:
Also commands are not case-sensitive.
Also commands are not case-sensitive.


=List of commands, some are even explained=
=Lists of commands, some are even explained=


For a complete (excluding Lua commands & some engine `actions`) use:
For a complete (excluding Lua commands & some engine `actions`) use:
<code><pre>/commandlist</pre></code>
<code>/commandlist</code>


Example output (95.0):
Example output (104.0):
<code><pre>
<pre style="overflow:auto; width:auto;">
/Atm                    (synced)    Gives 1000 metal and 1000 energy to the issuing players team
Chat commands plus description
/Cheat                  (synced)    Enables/Disables cheating, which is required for a lot of other commands to be usable
==============================
/Destroy                 (synced)    Destroys one or multiple units by unit-ID, instantly
/Atm                            (synced)    Gives 1000 metal and 1000 energy to the issuing players team
/DevLua                 (synced)    Enables/Disables Lua dev-mode (can cause desyncs if enabled)
/Cheat                          (synced)    Enables/Disables cheating, which is required for a lot of other commands to be usable
/EditDefs               (synced)    Allows/Disallows editing of unit-, feature- and weapon-defs through Lua
/Destroy                         (synced)    Destroys one or multiple units by unit-ID, instantly
/Give                   (synced)    Places one or multiple units of a single or multiple types on the map, instantly; by default to your own team
/DevLua                         (synced)    Enables/Disables Lua dev-mode (can cause desyncs if enabled)
/GlobalLOS               (synced)    Enables/Disables global line-of-sight, which makes the whole map permanently visible to everyone or to a specific allyteam
/EditDefs                       (synced)    Allows/Disallows editing of unit-, feature- and weapon-defs through Lua
/GodMode                 (synced)    Enables/Disables god-mode, which allows all players (even spectators) to control all units (even during replays, which will DESYNC them)
/Give [amount] <objectName|'all'>(synced)    Places one or multiple units of a single or multiple types on the map, instantly; by default to your own team.
/LuaGaia                 (synced)    Allows one to reload or disable Lua-Gaia, or alternatively to send a chat message to Lua-Gaia
                                            Example: /give 10 corkrog 3 - gives team 3 10 corkrogs.
/LuaRules               (synced)    Allows one to reload or disable Lua-rules, or alternatively to send a chat message to Lua-rules
/GlobalLOS                       (synced)    Enables/Disables global line-of-sight, which makes the whole map permanently visible to everyone or to a specific allyteam
/NoCost                 (synced)    Enables/Disables everything-for-free, which allows everyone to build everything for zero resource costs
/GodMode                         (synced)    Enables/Disables god-mode, which allows all players (even spectators) to control all units (even during replays, which will DESYNC them)
/NoHelp                 (synced)    Enables/Disables widgets (LuaUI control)
/LuaGaia                         (synced)    Allows reloading or disabling LuaGaia, and to send a chat message to LuaGaia scripts
/NoSpecDraw             (synced)    Allows/Disallows spectators to draw on the map
/LuaRules                       (synced)    Allows reloading or disabling LuaRules, and to send a chat message to LuaRules scripts
/NoSpectatorChat         (synced)    Enables/Disables spectators to use the chat
/NoCost                         (synced)    Enables/Disables everything-for-free, which allows everyone to build everything for zero resource costs
/ReloadCEGs             (synced)    Reloads CEG scripts
/NoHelp                         (synced)    Enables/Disables widgets (LuaUI control)
/ReloadCOB               (synced)    Reloads COB scripts
/NoSpecDraw                     (synced)    Allows/Disallows spectators to draw on the map
/Skip                   (synced)    Fast-forwards to a given frame, or stops fast-forwarding
/NoSpectatorChat                 (synced)    Enables/Disables spectators to use the chat
/Take                   (synced)    Transfers all units of allied teams without any active players to the team of the issuing player
/ReloadCEGs                     (synced)    Reloads CEG scripts
/AdvMapShading           (unsynced)  Set or toggle advanced map shading mode
/ReloadCOB                       (synced)    Reloads COB scripts
/AdvModelShading         (unsynced)  Set or toggle advanced model shading mode
/Skip                           (synced)    Fast-forwards to a given frame, or stops fast-forwarding
/AIControl               (unsynced)  Creates a new instance of a Skirmish AI, to let it controll a specific team
/Take                           (synced)    Transfers all units of allied teams without any active players to the team of the issuing player
/AIKill                 (unsynced)  Kills the Skirmish AI controlling a specified team
/AdvMapShading                   (unsynced)  Set or toggle advanced map shading mode
/AIList                 (unsynced)  Prints a list of all currently active Skirmish AIs
/AdvModelShading                 (unsynced)  Set or toggle advanced model shading mode
/AIReload               (unsynced)  Reloads the Skirmish AI controlling a specified team
/AIControl                       (unsynced)  Creates a new instance of a Skirmish AI, to let it controll a specific team
/AirMesh                 (unsynced)  Show/Hide the smooth air-mesh map overlay
/AIKill                         (unsynced)  Kills the Skirmish AI controlling a specified team
/AllMapMarks             (unsynced)  Show/Hide all map marks drawn so far
/AIList                         (unsynced)  Prints a list of all currently active Skirmish AIs
/Ally                   (unsynced)  Starts/Ends alliance of the local players ally-team with another ally-team
/AIReload                       (unsynced)  Reloads the Skirmish AI controlling a specified team
/ATM                     (unsynced)  Redirects command /ATM to its synced processor
/AirMesh                         (unsynced)  Show/Hide the smooth air-mesh map overlay
/BufferText             (unsynced)  Write the argument string(s) directly to the console history, but not anywhere else. This is useful for fast manual issuing of the command, later on
/AllMapMarks                     (unsynced)  Show/Hide all map marks drawn so far
/Chat                   (unsynced)  Starts waiting for intput to be sent to  
/Ally                           (unsynced)  Starts/Ends alliance of the local players ally-team with another ally-team
/ChatAll                 (unsynced)  Starts waiting for intput to be sent to All
/ATM                             (unsynced)  Redirects command /ATM to its synced processor
/ChatAlly               (unsynced)  Starts waiting for intput to be sent to Ally
/BufferText                     (unsynced)  Write the argument string(s) directly to the console history, but not anywhere else. This is useful for fast manual issuing of the command,
/ChatSpec               (unsynced)  Starts waiting for intput to be sent to Spec
                                            later on
/ClearMapMarks           (unsynced)  Remove all map marks drawn so far
/Chat                           (unsynced)  Starts waiting for intput to be sent to  
/Clock                   (unsynced)  Shows a small digital clock indicating the local time
/ChatAll                         (unsynced)  Starts waiting for intput to be sent to All
/CmdColors               (unsynced)  Reloads cmdcolors.txt
/ChatAlly                       (unsynced)  Starts waiting for intput to be sent to Ally
/CommandHelp             (unsynced)  Prints info about a specific chat command (so far only synced/unsynced and the description)
/ChatSpec                       (unsynced)  Starts waiting for intput to be sent to Spec
/CommandList             (unsynced)  Prints all the available chat commands with description (if available) to the console
/ClearMapMarks                   (unsynced)  Remove all map marks drawn so far
/Console                 (unsynced)  Enables/Disables the in-game console
/Clock                           (unsynced)  Shows a small digital clock indicating the local time
/ControlUnit             (unsynced)  Start to first-person-control a unit
/CmdColors                       (unsynced)  Reloads cmdcolors.txt
/Crash                   (unsynced)  Invoke an artificial crash through a NULL-pointer dereference (SIGSEGV)
/CommandHelp                     (unsynced)  Prints info about a specific chat command (so far only synced/unsynced and the description)
/CreateVideo             (unsynced)  Start/Stop capturing a video of the game in progress
/CommandList                     (unsynced)  Prints all the available chat commands with description (if available) to the console
/Cross                   (unsynced)  Allows one to exchange and modify the appearance of the cross/mouse-pointer in first-person-control view
/Console                         (unsynced)  Enables/Disables the in-game console
/CtrlPanel               (unsynced)  Reloads ctrlpanel.txt
/ControlUnit                     (unsynced)  Start to first-person-control a unit
/Debug                   (unsynced)  Enable/Disable debug info rendering mode
/Crash                           (unsynced)  Invoke an artificial crash through a NULL-pointer dereference (SIGSEGV)
/DebugColVol             (unsynced)  Enable/Disable drawing of collision volumes
/CreateVideo                     (unsynced)  Start/Stop capturing a video of the game in progress
/DebugDrawAI             (unsynced)  Enables/Disables debug drawing for AIs
/Cross                           (unsynced)  Allows one to exchange and modify the appearance of the cross/mouse-pointer in first-person-control view
/DebugInfo               (unsynced)  Print debug info to the chat/log-file about either: sound, profiling
/CtrlPanel                       (unsynced)  Reloads GUI config
/DebugPath               (unsynced)  Enable/Disable drawing of pathfinder debug-data
/Debug                           (unsynced)  Enable/Disable debug rendering mode
/DebugTraceRay           (unsynced)  Enable/Disable drawing of traceray debug-data
/DebugColVol                     (unsynced)  Enable/Disable drawing of collision volumes
/DecGUIOpacity           (unsynced)  Decreases the the opacity(see-through-ness) of GUI elements
/DebugDrawAI                     (unsynced)  Enables/Disables debug drawing for AIs
/DecreaseViewRadius     (unsynced)  Decrease the view radius (higher performance, uglier view)
/DebugGL                        (unsynced)  Enable/Disable OpenGL debug-context output
/Deselect               (unsynced)  Deselects all currently selected units
/DebugGLErrors                  (unsynced)  Enable/Disable OpenGL debug-errors
/Destroy                 (unsynced)  Destroys one or multiple units by unit-ID, instantly
/DebugInfo                       (unsynced)  Print debug info to the chat/log-file about either: sound, profiling
/DistDraw               (unsynced)  Set the distance between units and camera, at which they turn into far-textures (flat/texture-only representation) (Graphic setting)
/DebugPath                       (unsynced)  Enable/Disable drawing of pathfinder debug-data
/DistIcon               (unsynced)  Set the distance between units and camera, at which they turn into icons (Graphic setting)
/DebugTraceRay                   (unsynced)  Enable/Disable drawing of traceray debug-data
/DivByZero               (unsynced)  Invoke an artificial crash by performing a division-by-Zero
/DecGUIOpacity                   (unsynced)  Decreases the opacity(see-through-ness) of GUI elements
/DrawInMap               (unsynced)  Enables drawing on the map
/DecreaseViewRadius             (unsynced)  Decrease the view radius (higher performance, uglier view)
/DrawLabel               (unsynced)  Draws a label on the map at the current mouse-pointer position
/Deselect                       (unsynced)  Deselects all currently selected units
/DrawTrees               (unsynced)  Enable/Disable rendering of engine trees
/Destroy                         (unsynced)  Destroys one or multiple units by unit-ID, instantly
/DumpState               (unsynced)  dump game-state to file
/DistDraw                       (unsynced)  Set the distance between units and camera, at which they turn into far-textures (flat/texture-only representation) (Graphic setting)
/DynamicSky             (unsynced)  Enable/Disable dynamic-sky rendering
/DistIcon                       (unsynced)  Set the distance between units and camera, at which they turn into icons (Graphic setting)
/DynamicSun              (unsynced)  Enable/Disable dynamic-sun rendering
/DivByZero                       (unsynced)  Invoke an artificial crash by performing a division-by-Zero
/Echo                   (unsynced)  Write a string to the log file
/DrawInMap                       (unsynced)  Enables drawing on the map
/EndGraph               (unsynced)  Enables/Disables the statistics graphs shown at the end of the game
/DrawLabel                       (unsynced)  Draws a label on the map at the current mouse-pointer position
/Exception               (unsynced)  Invoke an artificial crash by throwing an std::runtime_error
/DrawTrees                       (unsynced)  Enable/Disable engine-tree rendering
/Font                   (unsynced)  Reloads the fonts
/DumpState                       (unsynced)  dump game-state to file
/FPS                     (unsynced)  Shows/Hides the frames-per-second indicator
/DynamicSky                     (unsynced)  Enable/Disable dynamic-sky rendering
/FPSHud                 (unsynced)  Enables/Disables HUD (GUI interface) shown in first-person-control mode
/Echo                           (unsynced)  Write a string to the log file
/GameInfo               (unsynced)  Enables/Disables game-info panel rendering
/EndGraph                       (unsynced)  Enables/Disables the statistics graphs shown at the end of the game
/GatherMode             (unsynced)  Enter/Leave gather-wait command mode
/Exception                       (unsynced)  Invoke an artificial crash by throwing an std::runtime_error
/Give                   (unsynced)  Places one or multiple units of a single or multiple types on the map, instantly; by default to your own team
/Font                           (unsynced)  Reloads the fonts
/GrabInput               (unsynced)  Prevents/Enables the mouse from leaving the game window (windowed mode only)
/FPS                             (unsynced)  Shows/Hides the frames-per-second indicator
/GroundDecals           (unsynced)  Disable/Enable ground-decals rendering. Ground-decals are things like scars appearing on the map after an explosion.
/FPSHud                         (unsynced)  Enables/Disables HUD (GUI interface) shown in first-person-control mode
/Group                   (unsynced)  Allows modifying the members of a group
/Fullscreen                      (unsynced)  Switches fullscreen mode
/Group0                 (unsynced)  Allows modifying the members of group 0
/GameInfo                       (unsynced)  Enables/Disables game-info panel rendering
/Group1                 (unsynced)  Allows modifying the members of group 1
/GatherMode                     (unsynced)  Enter/Leave gather-wait command mode
/Group2                 (unsynced)  Allows modifying the members of group 2
/Give                           (unsynced)  Places one or multiple units of a single or multiple types on the map, instantly; by default to your own team
/Group3                 (unsynced)  Allows modifying the members of group 3
/GrabInput                       (unsynced)  Prevents/Enables the mouse from leaving the game window (windowed mode only)
/Group4                 (unsynced)  Allows modifying the members of group 4
/GroundDecals                   (unsynced)  Disable/Enable ground-decals rendering. Ground-decals are things like scars appearing on the map after an explosion.
/Group5                 (unsynced)  Allows modifying the members of group 5
/GroundDetail                    (unsynced)  Set the level of ground detail
/Group6                 (unsynced)  Allows modifying the members of group 6
/Group                           (unsynced)  Allows modifying the members of a group
/Group7                 (unsynced)  Allows modifying the members of group 7
/Group0                         (unsynced)  Allows modifying the members of group 0
/Group8                 (unsynced)  Allows modifying the members of group 8
/Group1                         (unsynced)  Allows modifying the members of group 1
/Group9                 (unsynced)  Allows modifying the members of group 9
/Group2                         (unsynced)  Allows modifying the members of group 2
/HardwareCursor         (unsynced)  Enables/Disables hardware mouse-cursor support
/Group3                         (unsynced)  Allows modifying the members of group 3
/HideInterface           (unsynced)  Hide/Show the GUI controlls
/Group4                         (unsynced)  Allows modifying the members of group 4
/IncGUIOpacity           (unsynced)  Increases the the opacity(see-through-ness) of GUI elements
/Group5                         (unsynced)  Allows modifying the members of group 5
/IncreaseViewRadius     (unsynced)  Increase the view radius (lower performance, nicer view)
/Group6                         (unsynced)  Allows modifying the members of group 6
/Info                   (unsynced)  Shows/Hides the player roster
/Group7                         (unsynced)  Allows modifying the members of group 7
/InputTextGeo           (unsynced)  Move and/or resize the input-text field (the "Say: " thing)
/Group8                         (unsynced)  Allows modifying the members of group 8
/LastMsgPos             (unsynced)  Moves the camera to show the position of the last message
/Group9                         (unsynced)  Allows modifying the members of group 9
/LessClouds             (unsynced)  Decreases the density of clouds (higher performance)
/HardwareCursor                 (unsynced)  Enables/Disables hardware mouse-cursor support
/LessTrees               (unsynced)  Decreases the distance to the camera, in which trees are still shown (higher performance)
/HideInterface                   (unsynced)  Hide/Show the GUI controlls
/LODScale               (unsynced)  Set the scale for either of: LOD (level-of-detail), shadow-LOD, reflection-LOD, refraction-LOD
/IncGUIOpacity                   (unsynced)  Increases the opacity(see-through-ness) of GUI elements
/LuaGaia                 (unsynced)  Redirects command /LuaGaia to its synced processor
/IncreaseViewRadius             (unsynced)  Increase the view radius (lower performance, nicer view)
/LuaModUICtrl            (unsynced)  Allow/Disallow Lua to receive UI control events, like mouse-, keyboard- and joystick-events
/Info                           (unsynced)  Shows/Hides the player roster
/LuaRules               (unsynced)  Redirects command /LuaRules to its synced processor
/InputTextGeo                   (unsynced)  Move and/or resize the input-text field (the "Say: " thing)
/LuaUI                  (unsynced)  Allow/Disallow Lua to draw (GUI elements)
/LastMsgPos                     (unsynced)  Moves the camera to show the position of the last message
/MapBorder               (unsynced)  Set or toggle map border rendering
/LessClouds                     (unsynced)  Decreases the density of clouds (higher performance)
/MapMarks               (unsynced)  Enables/Disables map marks rendering
/LessTrees                       (unsynced)  Decreases distance from the camera at which trees are still drawn
/MaxNanoParticles       (unsynced)  Set the maximum number of nano-particles (Graphic setting)
/LODScale                       (unsynced)  Set the scale for either of: LOD (level-of-detail), shadow-LOD, reflection-LOD, refraction-LOD
/MaxParticles           (unsynced)  Set the maximum number of particles (Graphics setting)
/LuaGaia                         (unsynced)  Redirects command /LuaGaia to its synced processor
/MiniMap                 (unsynced)  Show/Hide the mini-map provided by the engine
/LuaRules                       (unsynced)  Redirects command /LuaRules to its synced processor
/MoreClouds              (unsynced)  Increases the density of clouds (lower performance)
/LuaSave                        (unsynced)  Save the game state to a specific file, add -y to overwrite when file is already present
/MoreTrees              (unsynced)  Increases the distance to the camera, in which trees are still shown (lower performance)
/LuaUI                          (unsynced) Allows one to reload or disable LuaUI, or alternatively to send a chat message to LuaUI
/Mouse1                  (unsynced)  Simulates a mouse button press of button 1
/MapBorder                       (unsynced)  Set or toggle map-border rendering
/Mouse2                  (unsynced)  Simulates a mouse button press of button 2
/MapMarks                       (unsynced)  Enables/Disables map marks rendering
/Mouse3                  (unsynced)  Simulates a mouse button press of button 3
/mapmeshdrawer                  (unsynced)  Switch map-mesh rendering modes: 0=GCM, 1=HLOD, 2=ROAM
/Mouse4                  (unsynced)  Simulates a mouse button press of button 4
/MapShadowPolyOffset            (unsynced) 
/Mouse5                  (unsynced)  Simulates a mouse button press of button 5
/MaxNanoParticles               (unsynced)  Set the maximum number of nano-particles (Graphic setting)
/MoveBack                (unsynced)  Moves the camera Back a bit
/MaxParticles                   (unsynced)  Set the maximum number of particles (Graphics setting)
/MoveDown               (unsynced)  Moves the camera Down a bit
/MiniMap                         (unsynced)  FIXME document subcommands. There may be more beyond minimize, maximize and geometry.
/MoveFast               (unsynced)  Moves the camera Fast a bit
/MiniMap Minimize                (unsynced)  Performs the same action as pressing the red button under the minimap.
/MoveForward             (unsynced)  Moves the camera Forward a bit
/MiniMap Maximize                (unsynced)  Performs the same action as holding Shift and pressing the yellow button under the minimap, i.e, maintains map aspect ratio.
/MoveLeft               (unsynced)  Moves the camera Left a bit
/MiniMap Geometry X Y W H        (unsynced)  Sets the size of the minimap. X and Y are the coordinates of the top left corner while W and H are the width and height. Both pairs are in
/MoveRight               (unsynced)  Moves the camera Right a bit
                                            pixels corresponding to monitor resolution.
/MoveSlow               (unsynced)  Moves the camera Slow a bit
/MoreClouds                      (unsynced)  Increases the density of clouds (lower performance)
/MoveUp                 (unsynced)  Moves the camera Up a bit
/MoreTrees                      (unsynced)  Increases distance from the camera at which trees are still drawn
/MTInfo                  (unsynced)  Shows/Hides the multi threading info panel
/Mouse1                          (unsynced)  Simulates a mouse button press of button 1
/NoLuaDraw               (unsynced)  Allow/Disallow Lua to draw on the map
/Mouse2                          (unsynced)  Simulates a mouse button press of button 2
/NoSound                (unsynced)  Enable/Disable the sound system
/Mouse3                          (unsynced)  Simulates a mouse button press of button 3
/PasteText               (unsynced)  Paste either the argument string(s) or if none given, the content of the clip-board to chat input
/Mouse4                          (unsynced)  Simulates a mouse button press of button 4
/Pause                   (unsynced)  Pause/Unpause the game
/Mouse5                          (unsynced)  Simulates a mouse button press of button 5
/Quit                    (unsynced)  Exits the game immediately
/MoveBack                        (unsynced)  Moves the camera Back a bit
/QuitForce              (unsynced)  Alias for command "QuitForce"
/MoveDown                       (unsynced)  Moves the camera Down a bit
/QuitMenu                (unsynced)  Opens the quit-menu, if it is not already open
/MoveFast                       (unsynced)  Moves the camera Fast a bit
/QuitMessage             (unsynced)  Deprecated, see /Quit instead (was used to quite the game immediately)
/MoveForward                     (unsynced)  Moves the camera Forward a bit
/ReloadGame             (unsynced)  Restarts the game with the initially provided start-script
/MoveLeft                       (unsynced)  Moves the camera Left a bit
/ReloadShaders           (unsynced)  Reloads all engine shaders
/MoveRight                       (unsynced)  Moves the camera Right a bit
/ResBar                 (unsynced)  Shows/Hides team resource storage indicator bar
/MoveSlow                       (unsynced)  Moves the camera Slow a bit
/Resync                 (unsynced)  Redirects command /Resync to its synced processor
/MoveUp                         (unsynced)  Moves the camera Up a bit
/roam                    (unsynced)  Disables/Enables ROAM mesh rendering: 0=off, 1=on
/MuteSound                      (unsynced)  Mute/Unmute the current sound system
/SafeGL                  (unsynced)  Enables/Disables OpenGL safe-mode
/NoLuaDraw                       (unsynced)  Allow/Disallow Lua to draw on the map
/Save                   (unsynced)  Save the game state to a specific file (BROKEN)
/PasteText                       (unsynced)  Paste either the argument string(s) or if none given, the content of the clip-board to chat input
/SaveGame               (unsynced)  Save the game state to QuickSave.ssf (BROKEN)
/Pause                           (unsynced)  Pause/Unpause the game
/Say                     (unsynced)  Say something in (public) chat
/QuitForce                      (unsynced)  Exits game to system
/ScreenShot             (unsynced)  Take a screen-shot of the current view
/QuitMenu                        (unsynced)  Opens the quit-menu, if it is not already open
/Select                 (unsynced)  <chat command description: Select>
/QuitMessage                     (unsynced)  Deprecated, see /Quit instead (was used to quite the game immediately)
/SelectCycle             (unsynced)  <chat command description: SelectUnits>
/ReloadForce                    (unsynced)  Exits game to menu
/SelectUnits             (unsynced)  <chat command description: SelectUnits>
/ReloadGame                     (unsynced)  Restarts the game with the initially provided start-script
/Send                   (unsynced)  Send a string as raw network message to the game host (for debugging only)
/ReloadShaders                   (unsynced)  Reloads all engine shaders
/Set                     (unsynced)  Set a config key=value pair
/ResBar                         (unsynced)  Shows/Hides team resource storage indicator bar
/SetGamma                (unsynced)  Set the rendering gamma value(s) through SDL
/Resync                         (unsynced)  Redirects command /Resync to its synced processor
/Shadows                 (unsynced)  Disables/Enables shadows rendering: -1=disabled, 0=off, 1=full shadows, 2=skip terrain shadows
/SafeGL                          (unsynced)  Enables/Disables OpenGL safe-mode
/ShareDialog             (unsynced)  Opens the share dialog, which allows you to send units and resources to other players
/Save                           (unsynced)  Save the game state to a specific file, add -y to overwrite when file is already present
/ShowElevation           (unsynced)  Enable rendering of the auxiliary height-map overlay
/SaveGame                       (unsynced)  Save the game state to QuickSave.ssf (BROKEN)
/ShowHealthBars          (unsynced)  Enable/Disable rendering of health-bars for units
/Say                             (unsynced)  Say something in (public) chat
/ShowMetalMap           (unsynced)  Enable rendering of the auxiliary metal-map overlay
/ScreenShot                     (unsynced)  Take a low quality JPG screen-shot of the current view
/ShowPathCost           (unsynced)  Enable rendering of the path cost-map overlay
/ScreenShot png                 (unsynced)  Take a high quality PNG screen-shot of the current view
/ShowPathFlow           (unsynced)  Enable/Disable rendering of the path flow-map overlay
/Select                          (unsynced)  <chat command description: Select>
/ShowPathHeat           (unsynced)  Enable/Disable rendering of the path heat-map overlay
/SelectCycle                     (unsynced)  <chat command description: SelectUnits>
/ShowPathTraversability (unsynced)  Enable rendering of the path traversability-map overlay
/SelectUnits                     (unsynced)  <chat command description: SelectUnits>
/ShowRezBars            (unsynced)  Enable/Disable rendering of resource-bars for features
/Send                           (unsynced)  Send a string as raw network message to the game host (for debugging only)
/ShowStandard           (unsynced)  Disable rendering of all auxiliary map overlays
/Set                             (unsynced)  Set a config key=value pair
/SlowDown               (unsynced)  Decreases the simulation speed. The engine will try to simulate less frames per second
/Shadows                         (unsynced)  Disables/Enables shadows rendering: -1=disabled, 0=off, 1=full shadows, 2=skip terrain shadows
/SoundChannelEnable     (unsynced)  Enable/Disable specific sound channels: UnitReply, General, Battle, UserInterface, Music
/ShareDialog                     (unsynced)  Opens the share dialog, which allows you to send units and resources to other players
/SpecFullView           (unsynced)  Sets or toggles between full LOS or ally-team LOS, if the local user is a spectator
/ShowElevation                   (unsynced)  Enable rendering of the auxiliary height-map overlay
/Spectator               (unsynced)  Lets the local user give up controll over a team, and start spectating
/ShowMetalMap                   (unsynced)  Enable rendering of the auxiliary metal-map overlay
/SpecTeam               (unsynced)  Lets the local user specify the team to follow, if he is a spectator
/ShowPathCost                   (unsynced)  Enable rendering of the path cost-map overlay
/Speed                   (unsynced)  Shows/Hides the simulation speed indicator
/ShowPathFlow                   (unsynced)  Enable/Disable rendering of the path flow-map overlay
/SpeedControl           (unsynced)  Sets how server adjusts speed according to player's load (CPU), 1: use average, 2: use highest,
/ShowPathHeat                   (unsynced)  Enable/Disable rendering of the path heat-map overlay
/SpeedUp                 (unsynced)  Increases the simulation speed. The engine will try to simulate more frames per second
/ShowPathTraversability         (unsynced)  Enable rendering of the path traversability-map overlay
/Take                   (unsynced)  Redirects command /Take to its synced processor
/ShowPathType                    (unsynced)  Shows path traversability for a given MoveDefName, MoveDefID or UnitDefName
/Team                   (unsynced)  Lets the local user change to another team
/ShowStandard                   (unsynced)  Disable rendering of all auxiliary map overlays
/TeamHighlight           (unsynced)  Enables/Disables uncontrolled team blinking
/SlowDown                       (unsynced)  Decreases the simulation speed. The engine will try to simulate less frames per second
/ToggleLOS              (unsynced)  Enable rendering of the auxiliary LOS-map overlay
/SoundChannelEnable             (unsynced)  Enable/Disable specific sound channels: UnitReply, General, Battle, UserInterface, Music
/ToggleRadarAndJammer    (unsynced)  Enable/Disable rendering of the auxiliary radar- & jammer-map overlay
/SoundDevice                    (unsynced)  Switch the sound output system (currently only OpenAL / NullAudio)
/ToolTip                 (unsynced)  Enables/Disables the general tool-tips, displayed when hovering over units. features or the map
/SpecFullView                   (unsynced)  Sets or toggles between full LOS or ally-team LOS, if the local user is a spectator
/Track                   (unsynced)  Start following the selected unit(s) with the camera
/Spectator                       (unsynced)  Lets the local user give up control over a team, and start spectating
/TrackMode               (unsynced)  Shift through different ways of following selected unit(s)
/SpecTeam                       (unsynced)  Lets the local user specify the team to follow, if he is a spectator
/TrackOff               (unsynced)  Stop following the selected unit(s) with the camera
/Speed                           (unsynced)  Shows/Hides the simulation speed indicator
/TSet                   (unsynced)  Set a config key=value pair in the overlay, meaning it will not be persisted for future games
/SpeedControl                   (unsynced)  Sets how server adjusts speed according to player's load (CPU), 1: use average, 2: use highest,
/ViewSelection           (unsynced)  Moves the camera to the center of the currently selected units
/SpeedUp                         (unsynced)  Increases the simulation speed. The engine will try to simulate more frames per second
/VSync                   (unsynced)  Enables/Disables vertical-sync (Graphics setting)
/Take                           (unsynced)  Redirects command /Take to its synced processor
/W                       (unsynced)  Say something in private to a specific player, by player-name
/Team                           (unsynced)  Lets the local user change to another team
/Water                   (unsynced)  Set water rendering mode: 0=basic, 1=reflective, 2=dynamic, 3=reflective&refractive?, 4=bump-mapped
/TeamHighlight                   (unsynced)  Enables/Disables uncontrolled team blinking
/WByNum                 (unsynced)  Say something in private to a specific player, by player-ID
/ToggleInfo                      (unsynced)  Toggles current info texture view
/WireMap                (unsynced)  Enable/Disable drawing of the map as wire-frame (no textures) (Graphic setting)
/ToggleLOS                      (unsynced)  Enable rendering of the auxiliary LOS-map overlay
</pre></code>
/ToolTip                         (unsynced)  Enables/Disables the general tool-tips, displayed when hovering over units. features or the map
/Track                           (unsynced)  Start following the selected unit(s) with the camera
/TrackMode                       (unsynced)  Shift through different ways of following selected unit(s)
/TrackOff                       (unsynced)  Stop following the selected unit(s) with the camera
/TSet                           (unsynced)  Set a config key=value pair in the overlay, meaning it will not be persisted for future games
/ViewSelection                   (unsynced)  Moves the camera to the center of the currently selected units
/VSync                           (unsynced)  Enables/Disables vertical-sync (Graphics setting)
/W                               (unsynced)  Say something in private to a specific player, by player-name
/Water                           (unsynced)  Set water rendering mode: 0=basic, 1=reflective, 2=dynamic, 3=reflective&refractive, 4=bump-mapped
/WByNum                         (unsynced)  Say something in private to a specific player, by player-ID
/WireMap                        (unsynced)  Toggle wireframe-mode drawing of map geometry
/WireModel                      (unsynced)  Toggle wireframe-mode drawing of model geometry
/WireSky                        (unsynced)  Toggle wireframe-mode drawing of skydome geometry
/WireTree                        (unsynced)  Toggle wireframe-mode drawing of tree geometry
/WireWater                      (unsynced)  Toggle wireframe-mode drawing of water geometry
</pre>
More commands:
<pre style="overflow:auto; width:auto;">
/bind <keyset> <action>                      Binds a key or key combination. Example with a key: /bind a reclaim. Example with a "key combination": /bind ctrl+a reclaim
/luarules halfhealth                        Give to all units half health
/luarules loadmissiles                      Load tacnuks, junos etc, to their max stockpile
/luagaia reload                              Reloads gaia gadgets
/luarules reload                            Reloads gadgets
/luaui reload
/luaui tweakgui                              Tweak mode on
/luaui selector                              Open the default widget selector (similar to pressing F11).
/options                                    Open the options interface for some games and mods
/Setmaxspeed #                             Changes the maximum speed (default is 3.0)
/Setminspeed #                              Changes the minimum speed (default is 0.3)
/unbind <keyset> <action>                    Unbinds a key or key combination. Example: /unbind a reclaim.
/unbindaction <action>                     Unbinds all keybinds that uses <action>.
/unbindkeyset <keyset>                     Unbinds all bindings that uses <keyset>.
/unbindall                             Unbinds all keys except the chat keybinding.
 
</pre>


=Scripting=
=Scripting=

Latest revision as of 10:58, 19 December 2020

Development < Lua Scripting < UI commands

How to use the console

The ingame chat is the console. Open with hitting the `return` or `enter` key. If you want to enter a command into ingame chat, you must add a / in front
for example: /commandhelp
Some commands will also autocomplete if you press TAB. So if you enter "/com" and then to press TAB, it will complete it to `/command` and tells you there is `/commandhelp` & `/commandlist`, if you now enter either `l` or `h` and press TAB again it will complete to one of them.

Also commands are not case-sensitive.

Lists of commands, some are even explained

For a complete (excluding Lua commands & some engine `actions`) use: /commandlist

Example output (104.0):

Chat commands plus description
==============================
/Atm                             (synced)    Gives 1000 metal and 1000 energy to the issuing players team
/Cheat                           (synced)    Enables/Disables cheating, which is required for a lot of other commands to be usable
/Destroy                         (synced)    Destroys one or multiple units by unit-ID, instantly
/DevLua                          (synced)    Enables/Disables Lua dev-mode (can cause desyncs if enabled)
/EditDefs                        (synced)    Allows/Disallows editing of unit-, feature- and weapon-defs through Lua
/Give [amount] <objectName|'all'>(synced)    Places one or multiple units of a single or multiple types on the map, instantly; by default to your own team.
                                             Example: /give 10 corkrog 3 - gives team 3 10 corkrogs.
/GlobalLOS                       (synced)    Enables/Disables global line-of-sight, which makes the whole map permanently visible to everyone or to a specific allyteam
/GodMode                         (synced)    Enables/Disables god-mode, which allows all players (even spectators) to control all units (even during replays, which will DESYNC them)
/LuaGaia                         (synced)    Allows reloading or disabling LuaGaia, and to send a chat message to LuaGaia scripts
/LuaRules                        (synced)    Allows reloading or disabling LuaRules, and to send a chat message to LuaRules scripts
/NoCost                          (synced)    Enables/Disables everything-for-free, which allows everyone to build everything for zero resource costs
/NoHelp                          (synced)    Enables/Disables widgets (LuaUI control)
/NoSpecDraw                      (synced)    Allows/Disallows spectators to draw on the map
/NoSpectatorChat                 (synced)    Enables/Disables spectators to use the chat
/ReloadCEGs                      (synced)    Reloads CEG scripts
/ReloadCOB                       (synced)    Reloads COB scripts
/Skip                            (synced)    Fast-forwards to a given frame, or stops fast-forwarding
/Take                            (synced)    Transfers all units of allied teams without any active players to the team of the issuing player
/AdvMapShading                   (unsynced)  Set or toggle advanced map shading mode
/AdvModelShading                 (unsynced)  Set or toggle advanced model shading mode
/AIControl                       (unsynced)  Creates a new instance of a Skirmish AI, to let it controll a specific team
/AIKill                          (unsynced)  Kills the Skirmish AI controlling a specified team
/AIList                          (unsynced)  Prints a list of all currently active Skirmish AIs
/AIReload                        (unsynced)  Reloads the Skirmish AI controlling a specified team
/AirMesh                         (unsynced)  Show/Hide the smooth air-mesh map overlay
/AllMapMarks                     (unsynced)  Show/Hide all map marks drawn so far
/Ally                            (unsynced)  Starts/Ends alliance of the local players ally-team with another ally-team
/ATM                             (unsynced)  Redirects command /ATM to its synced processor
/BufferText                      (unsynced)  Write the argument string(s) directly to the console history, but not anywhere else. This is useful for fast manual issuing of the command,
                                             later on
/Chat                            (unsynced)  Starts waiting for intput to be sent to 
/ChatAll                         (unsynced)  Starts waiting for intput to be sent to All
/ChatAlly                        (unsynced)  Starts waiting for intput to be sent to Ally
/ChatSpec                        (unsynced)  Starts waiting for intput to be sent to Spec
/ClearMapMarks                   (unsynced)  Remove all map marks drawn so far
/Clock                           (unsynced)  Shows a small digital clock indicating the local time
/CmdColors                       (unsynced)  Reloads cmdcolors.txt
/CommandHelp                     (unsynced)  Prints info about a specific chat command (so far only synced/unsynced and the description)
/CommandList                     (unsynced)  Prints all the available chat commands with description (if available) to the console
/Console                         (unsynced)  Enables/Disables the in-game console
/ControlUnit                     (unsynced)  Start to first-person-control a unit
/Crash                           (unsynced)  Invoke an artificial crash through a NULL-pointer dereference (SIGSEGV)
/CreateVideo                     (unsynced)  Start/Stop capturing a video of the game in progress
/Cross                           (unsynced)  Allows one to exchange and modify the appearance of the cross/mouse-pointer in first-person-control view
/CtrlPanel                       (unsynced)  Reloads GUI config
/Debug                           (unsynced)  Enable/Disable debug rendering mode
/DebugColVol                     (unsynced)  Enable/Disable drawing of collision volumes
/DebugDrawAI                     (unsynced)  Enables/Disables debug drawing for AIs
/DebugGL                         (unsynced)  Enable/Disable OpenGL debug-context output
/DebugGLErrors                   (unsynced)  Enable/Disable OpenGL debug-errors
/DebugInfo                       (unsynced)  Print debug info to the chat/log-file about either: sound, profiling
/DebugPath                       (unsynced)  Enable/Disable drawing of pathfinder debug-data
/DebugTraceRay                   (unsynced)  Enable/Disable drawing of traceray debug-data
/DecGUIOpacity                   (unsynced)  Decreases the opacity(see-through-ness) of GUI elements
/DecreaseViewRadius              (unsynced)  Decrease the view radius (higher performance, uglier view)
/Deselect                        (unsynced)  Deselects all currently selected units
/Destroy                         (unsynced)  Destroys one or multiple units by unit-ID, instantly
/DistDraw                        (unsynced)  Set the distance between units and camera, at which they turn into far-textures (flat/texture-only representation) (Graphic setting)
/DistIcon                        (unsynced)  Set the distance between units and camera, at which they turn into icons (Graphic setting)
/DivByZero                       (unsynced)  Invoke an artificial crash by performing a division-by-Zero
/DrawInMap                       (unsynced)  Enables drawing on the map
/DrawLabel                       (unsynced)  Draws a label on the map at the current mouse-pointer position
/DrawTrees                       (unsynced)  Enable/Disable engine-tree rendering
/DumpState                       (unsynced)  dump game-state to file
/DynamicSky                      (unsynced)  Enable/Disable dynamic-sky rendering
/Echo                            (unsynced)  Write a string to the log file
/EndGraph                        (unsynced)  Enables/Disables the statistics graphs shown at the end of the game
/Exception                       (unsynced)  Invoke an artificial crash by throwing an std::runtime_error
/Font                            (unsynced)  Reloads the fonts
/FPS                             (unsynced)  Shows/Hides the frames-per-second indicator
/FPSHud                          (unsynced)  Enables/Disables HUD (GUI interface) shown in first-person-control mode
/Fullscreen                      (unsynced)  Switches fullscreen mode
/GameInfo                        (unsynced)  Enables/Disables game-info panel rendering
/GatherMode                      (unsynced)  Enter/Leave gather-wait command mode
/Give                            (unsynced)  Places one or multiple units of a single or multiple types on the map, instantly; by default to your own team
/GrabInput                       (unsynced)  Prevents/Enables the mouse from leaving the game window (windowed mode only)
/GroundDecals                    (unsynced)  Disable/Enable ground-decals rendering. Ground-decals are things like scars appearing on the map after an explosion.
/GroundDetail                    (unsynced)  Set the level of ground detail
/Group                           (unsynced)  Allows modifying the members of a group
/Group0                          (unsynced)  Allows modifying the members of group 0
/Group1                          (unsynced)  Allows modifying the members of group 1
/Group2                          (unsynced)  Allows modifying the members of group 2
/Group3                          (unsynced)  Allows modifying the members of group 3
/Group4                          (unsynced)  Allows modifying the members of group 4
/Group5                          (unsynced)  Allows modifying the members of group 5
/Group6                          (unsynced)  Allows modifying the members of group 6
/Group7                          (unsynced)  Allows modifying the members of group 7
/Group8                          (unsynced)  Allows modifying the members of group 8
/Group9                          (unsynced)  Allows modifying the members of group 9
/HardwareCursor                  (unsynced)  Enables/Disables hardware mouse-cursor support
/HideInterface                   (unsynced)  Hide/Show the GUI controlls
/IncGUIOpacity                   (unsynced)  Increases the opacity(see-through-ness) of GUI elements
/IncreaseViewRadius              (unsynced)  Increase the view radius (lower performance, nicer view)
/Info                            (unsynced)  Shows/Hides the player roster
/InputTextGeo                    (unsynced)  Move and/or resize the input-text field (the "Say: " thing)
/LastMsgPos                      (unsynced)  Moves the camera to show the position of the last message
/LessClouds                      (unsynced)  Decreases the density of clouds (higher performance)
/LessTrees                       (unsynced)  Decreases distance from the camera at which trees are still drawn
/LODScale                        (unsynced)  Set the scale for either of: LOD (level-of-detail), shadow-LOD, reflection-LOD, refraction-LOD
/LuaGaia                         (unsynced)  Redirects command /LuaGaia to its synced processor
/LuaRules                        (unsynced)  Redirects command /LuaRules to its synced processor
/LuaSave                         (unsynced)  Save the game state to a specific file, add -y to overwrite when file is already present
/LuaUI                           (unsynced)  Allows one to reload or disable LuaUI, or alternatively to send a chat message to LuaUI
/MapBorder                       (unsynced)  Set or toggle map-border rendering
/MapMarks                        (unsynced)  Enables/Disables map marks rendering
/mapmeshdrawer                   (unsynced)  Switch map-mesh rendering modes: 0=GCM, 1=HLOD, 2=ROAM
/MapShadowPolyOffset             (unsynced)  
/MaxNanoParticles                (unsynced)  Set the maximum number of nano-particles (Graphic setting)
/MaxParticles                    (unsynced)  Set the maximum number of particles (Graphics setting)
/MiniMap                         (unsynced)  FIXME document subcommands. There may be more beyond minimize, maximize and geometry.
/MiniMap Minimize                (unsynced)  Performs the same action as pressing the red button under the minimap.
/MiniMap Maximize                (unsynced)  Performs the same action as holding Shift and pressing the yellow button under the minimap, i.e, maintains map aspect ratio.
/MiniMap Geometry X Y W H        (unsynced)  Sets the size of the minimap. X and Y are the coordinates of the top left corner while W and H are the width and height. Both pairs are in
                                             pixels corresponding to monitor resolution.
/MoreClouds                      (unsynced)  Increases the density of clouds (lower performance)
/MoreTrees                       (unsynced)  Increases distance from the camera at which trees are still drawn
/Mouse1                          (unsynced)  Simulates a mouse button press of button 1
/Mouse2                          (unsynced)  Simulates a mouse button press of button 2
/Mouse3                          (unsynced)  Simulates a mouse button press of button 3
/Mouse4                          (unsynced)  Simulates a mouse button press of button 4
/Mouse5                          (unsynced)  Simulates a mouse button press of button 5
/MoveBack                        (unsynced)  Moves the camera Back a bit
/MoveDown                        (unsynced)  Moves the camera Down a bit
/MoveFast                        (unsynced)  Moves the camera Fast a bit
/MoveForward                     (unsynced)  Moves the camera Forward a bit
/MoveLeft                        (unsynced)  Moves the camera Left a bit
/MoveRight                       (unsynced)  Moves the camera Right a bit
/MoveSlow                        (unsynced)  Moves the camera Slow a bit
/MoveUp                          (unsynced)  Moves the camera Up a bit
/MuteSound                       (unsynced)  Mute/Unmute the current sound system
/NoLuaDraw                       (unsynced)  Allow/Disallow Lua to draw on the map
/PasteText                       (unsynced)  Paste either the argument string(s) or if none given, the content of the clip-board to chat input
/Pause                           (unsynced)  Pause/Unpause the game
/QuitForce                       (unsynced)  Exits game to system
/QuitMenu                        (unsynced)  Opens the quit-menu, if it is not already open
/QuitMessage                     (unsynced)  Deprecated, see /Quit instead (was used to quite the game immediately)
/ReloadForce                     (unsynced)  Exits game to menu
/ReloadGame                      (unsynced)  Restarts the game with the initially provided start-script
/ReloadShaders                   (unsynced)  Reloads all engine shaders
/ResBar                          (unsynced)  Shows/Hides team resource storage indicator bar
/Resync                          (unsynced)  Redirects command /Resync to its synced processor
/SafeGL                          (unsynced)  Enables/Disables OpenGL safe-mode
/Save                            (unsynced)  Save the game state to a specific file, add -y to overwrite when file is already present
/SaveGame                        (unsynced)  Save the game state to QuickSave.ssf (BROKEN)
/Say                             (unsynced)  Say something in (public) chat
/ScreenShot                      (unsynced)  Take a low quality JPG screen-shot of the current view
/ScreenShot png                  (unsynced)  Take a high quality PNG screen-shot of the current view
/Select                          (unsynced)  <chat command description: Select>
/SelectCycle                     (unsynced)  <chat command description: SelectUnits>
/SelectUnits                     (unsynced)  <chat command description: SelectUnits>
/Send                            (unsynced)  Send a string as raw network message to the game host (for debugging only)
/Set                             (unsynced)  Set a config key=value pair
/Shadows                         (unsynced)  Disables/Enables shadows rendering: -1=disabled, 0=off, 1=full shadows, 2=skip terrain shadows
/ShareDialog                     (unsynced)  Opens the share dialog, which allows you to send units and resources to other players
/ShowElevation                   (unsynced)  Enable rendering of the auxiliary height-map overlay
/ShowMetalMap                    (unsynced)  Enable rendering of the auxiliary metal-map overlay
/ShowPathCost                    (unsynced)  Enable rendering of the path cost-map overlay
/ShowPathFlow                    (unsynced)  Enable/Disable rendering of the path flow-map overlay
/ShowPathHeat                    (unsynced)  Enable/Disable rendering of the path heat-map overlay
/ShowPathTraversability          (unsynced)  Enable rendering of the path traversability-map overlay
/ShowPathType                    (unsynced)  Shows path traversability for a given MoveDefName, MoveDefID or UnitDefName
/ShowStandard                    (unsynced)  Disable rendering of all auxiliary map overlays
/SlowDown                        (unsynced)  Decreases the simulation speed. The engine will try to simulate less frames per second
/SoundChannelEnable              (unsynced)  Enable/Disable specific sound channels: UnitReply, General, Battle, UserInterface, Music
/SoundDevice                     (unsynced)  Switch the sound output system (currently only OpenAL / NullAudio)
/SpecFullView                    (unsynced)  Sets or toggles between full LOS or ally-team LOS, if the local user is a spectator
/Spectator                       (unsynced)  Lets the local user give up control over a team, and start spectating
/SpecTeam                        (unsynced)  Lets the local user specify the team to follow, if he is a spectator
/Speed                           (unsynced)  Shows/Hides the simulation speed indicator
/SpeedControl                    (unsynced)  Sets how server adjusts speed according to player's load (CPU), 1: use average, 2: use highest,
/SpeedUp                         (unsynced)  Increases the simulation speed. The engine will try to simulate more frames per second
/Take                            (unsynced)  Redirects command /Take to its synced processor
/Team                            (unsynced)  Lets the local user change to another team
/TeamHighlight                   (unsynced)  Enables/Disables uncontrolled team blinking
/ToggleInfo                      (unsynced)  Toggles current info texture view
/ToggleLOS                       (unsynced)  Enable rendering of the auxiliary LOS-map overlay
/ToolTip                         (unsynced)  Enables/Disables the general tool-tips, displayed when hovering over units. features or the map
/Track                           (unsynced)  Start following the selected unit(s) with the camera
/TrackMode                       (unsynced)  Shift through different ways of following selected unit(s)
/TrackOff                        (unsynced)  Stop following the selected unit(s) with the camera
/TSet                            (unsynced)  Set a config key=value pair in the overlay, meaning it will not be persisted for future games
/ViewSelection                   (unsynced)  Moves the camera to the center of the currently selected units
/VSync                           (unsynced)  Enables/Disables vertical-sync (Graphics setting)
/W                               (unsynced)  Say something in private to a specific player, by player-name
/Water                           (unsynced)  Set water rendering mode: 0=basic, 1=reflective, 2=dynamic, 3=reflective&refractive, 4=bump-mapped
/WByNum                          (unsynced)  Say something in private to a specific player, by player-ID
/WireMap                         (unsynced)  Toggle wireframe-mode drawing of map geometry
/WireModel                       (unsynced)  Toggle wireframe-mode drawing of model geometry
/WireSky                         (unsynced)  Toggle wireframe-mode drawing of skydome geometry
/WireTree                        (unsynced)  Toggle wireframe-mode drawing of tree geometry
/WireWater                       (unsynced)  Toggle wireframe-mode drawing of water geometry

More commands:

/bind <keyset> <action>                      Binds a key or key combination. Example with a key: /bind a reclaim. Example with a "key combination": /bind ctrl+a reclaim
/luarules halfhealth                         Give to all units half health
/luarules loadmissiles                       Load tacnuks, junos etc, to their max stockpile
/luagaia reload                              Reloads gaia gadgets
/luarules reload                             Reloads gadgets
/luaui reload
/luaui tweakgui                              Tweak mode on
/luaui selector                              Open the default widget selector (similar to pressing F11).
/options                                     Open the options interface for some games and mods
/Setmaxspeed #	                             Changes the maximum speed (default is 3.0)
/Setminspeed #                               Changes the minimum speed (default is 0.3)
/unbind <keyset> <action>                    Unbinds a key or key combination. Example: /unbind a reclaim.
/unbindaction <action>	                     Unbinds all keybinds that uses <action>.
/unbindkeyset <keyset>	                     Unbinds all bindings that uses <keyset>.
/unbindall	                             Unbinds all keys except the chat keybinding.

Scripting

In Lua scripts, these commands can be used like this:
Spring.SendCommands("resbar 0")
notice the missing / when used like this.