-------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- -- REMOTE COMMANDS -- -- -- -- the following can only be set by the host player /cheat [0|1] /kick /kickbynum /nohelp [0|1] /nopause [0|1] /nospectatorchat [0|1] /setmaxspeed /setminspeed /skip <[+|f]seconds> -- requires .cheat if not in a replay /take -- requires .cheat when used by spectators -- lua scripts /luacob < "reload" | "disable" | > /luagaia < "reload" | "disable" | > /luarules < "reload" | "disable" | > /devlua [0|1] -- requires .cheat, allows loading non-archived scripts /editdefs [0|1] -- requires .cheat, -- allows lua writing to UnitDefs, FeatureDefs, and WeaponDefs -- the following require .cheat /atm /team /spectator /nocost /reloadcob /give [count] [team] {{ @x,y,z }} /godmode [0|1] -- debugging /crash /desync /divbyzero /exception /fakedesync -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- -- LOCAL COMMANDS -- -- These commands can be bound to keysets, or sent on the -- text input line by adding a slash prefix. -- -- ex: /water 3 -- -- select selectunits ["clear"] [+unitID] [-unitID] ... selectcycle ["restore"] deselect info [0|1|2|3|4|5] -- disable, ally, team, name, cpu, ping (sort modes) tooltip [0|1] resbar [0|1] console [0|1] clock [0|1] fps [0|1] endgraph [0|1] setf -- Set a config variable (.springrc linux, Registry windows) seti sets quit quitwarn pause shadows [<0|1> [mapsize]] water [0|1|2|3|4] vsync [-1|0|1|2|...] -- -1 will use default setting in windows, -- numbers higher then 1 will result in -- rendering every N frames. say echo w -- Private Message drawinmap drawlabel mouse1 mouse2 mouse3 mouse4 mouse5 mousestate fpshud [0|1] viewfps viewta viewtw viewrot viewsave view_name viewload view_name viewselection specteam group [ "set" | "add" | "selectadd" | "selectclear" | "selecttoggle" ] group0 group1 group2 group3 group4 group5 group6 group7 group8 group9 chat chatall chatally chatspec chatswitchall chatswitchally chatswitchspec lastmsgpos track trackoff trackmode [0|1|2] gameinfo gameinfoclose cross -- locked mouse cross size volume -- 0.0 to 1.0 unitreplyvolume -- 0.0 to 1.0 toggleoverview showhealthbars singlestep debug nosound savegame createvideo updatefov drawtrees dynamicsky hideinterface increaseviewradius decreaseviewradius moretrees lesstrees moreclouds lessclouds speedup slowdown controlunit showshadowmap showstandard showelevation showmetalmap showpathmap toggleradarandjammer yardmap4 wiremap [0|1] lodscale ["shadow"|"reflection"|"refraction"] mapmarks [0|1] togglelos sharedialog incguiopacity decguiopacity screenshot ["png"] grabinput hardwarecursor [0|1] bind unbind unbindall unbindkeyset unbindaction fakemeta keydebug keyload keyreload keysave keyprint keysyms keycodes cmdcolors [filename] ctrlpanel [filename] font gathermode [0|1] moveforward moveback moveleft moveright moveup movedown movefast moveslow minimap <"fullproxy"> [0|1] minimap <"icons"> [0|1] minimap <"drawcommands"> [0|1] minimap <"drawprojectiles"> [0|1] minimap <"simplecolors"> [0|1] minimap <"min" | "minimize"> [0|1] minimap <"max" | "maximize"> [0|1] minimap <"maxspect"> [0|1] minimap <"unitexp"> minimap <"unitsize"> minimap <"geo" | "geometry"> px py sx sy minimap <"slavemode"> [0|1] minimap <"draw"> luaui < "reload" | "disable" | > safegl [0|1] pastetext -- inserts the text into the text input (ex: ctrl+v) buffertext -- inserts the text into the console history techlevels grounddecals [0|1] maxparticles aiselect [ai_name] -- ai_name required if used as a slash command -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- -- BIND-ONLY COMMANDS -- -- Only avaible for binding (can NOT be used as /slash commands) -- -- -- Only work when issuing build orders buildspacing <"inc" | "dec"> buildfacing <"inc" | "dec" | "north" | "south" | "east" | "west"> -- Special orders buildiconsfirst firstmenu invqueuekey [0|1] hotbind hotunbind -- For Debugging showcommands -- Unit Commands dgun stop move attack areaattack fight patrol guard capture repair reclaim restore resurrect loadunits unloadunits cloak [0|1] onoff [0|1] repeat [0|1] trajectory [0|1] loopbackattack [0|1] firestate [0|1|2] movestate [0|1|2] autorepairlevel [0|1|2] selfd ["queued"] wait ["queued"] timewait [seconds] ["queued"] deathwait ["queued"] squadwait [count] ["queued"] gatherwait ["queued"] stockpile ["+5" | "+20" | "+100" | "-1" | "-5" | "-20" | "-100"] buildunit_ ["+5" | "+20" | "+100" | "-1" | "-5" | "-20" | "-100"]