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