Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 330 lines (264 sloc) 6.262 kb
d438e50 * Not great, but it's a start...
trepan authored
1 --------------------------------------------------------------------------------
2 --------------------------------------------------------------------------------
3 --
4 -- REMOTE COMMANDS
aed4d5a foobar
-jk- authored
5 --
d438e50 * Not great, but it's a start...
trepan authored
6 --
7 --
8
9 -- the following can only be set by the host player
374037e * updated cmds.txt
Auswaschbar authored
10 /cheat [0|1]
11 /kick <player_name>
12 /kickbynum <player_number>
13 /nohelp [0|1]
14 /nopause [0|1]
15 /nospectatorchat [0|1]
16 /setmaxspeed <number>
17 /setminspeed <number>
97dbdc3 * updated cmds.txt
jk authored
18 /skip <[+|f]seconds> -- requires /cheat if not in a replay
19 /take -- requires /cheat when used by spectators
20 /forcestart
d438e50 * Not great, but it's a start...
trepan authored
21
22 -- lua scripts
374037e * updated cmds.txt
Auswaschbar authored
23 /luagaia < "reload" | "disable" | <custom command> >
24 /luarules < "reload" | "disable" | <custom command> >
97dbdc3 * updated cmds.txt
jk authored
25 /devlua [0|1] -- requires /cheat, allows loading non-archived scripts
26 /editdefs [0|1] -- requires /cheat,
e83610b * Added DEFS to the XXXdefs.lua system table
trepan authored
27 -- allows lua writing to UnitDefs, FeatureDefs, and WeaponDefs
d438e50 * Not great, but it's a start...
trepan authored
28
97dbdc3 * updated cmds.txt
jk authored
29 -- the following require /cheat
374037e * updated cmds.txt
Auswaschbar authored
30 /atm
31 /team <number>
32 /spectator
33 /nocost
34 /reloadcob <unit_name>
35 /give [count] <unit_name | "all"> [team] {{ @x,y,z }}
36 /godmode [0|1]
97dbdc3 * updated cmds.txt
jk authored
37 /globalLOS [0|1] (needs cheats on)
d438e50 * Not great, but it's a start...
trepan authored
38
39 -- debugging
374037e * updated cmds.txt
Auswaschbar authored
40 /crash
41 /desync
42 /divbyzero
43 /exception
44 /fakedesync
d438e50 * Not great, but it's a start...
trepan authored
45
46
47 --------------------------------------------------------------------------------
48 --------------------------------------------------------------------------------
49 --
50 -- LOCAL COMMANDS
51 --
52 --
53 --
54
97dbdc3 * updated cmds.txt
jk authored
55 /commands
d438e50 * Not great, but it's a start...
trepan authored
56
c77e609 BraindDamage: i made a small patch to make selectionkeys be handled inte...
Karl-Robert Ernst authored
57 /select <select_string> --select all units that matches <select_string> pattern ( see SelectionKeys doc for the syntax of select_string )
97dbdc3 * updated cmds.txt
jk authored
58 /selectunits ["clear"] [+unitID] [-unitID] ...
59 /selectcycle ["restore"]
60 /deselect
d438e50 * Not great, but it's a start...
trepan authored
61
97dbdc3 * updated cmds.txt
jk authored
62 /info [0|1|2|3|4|5] -- disable, ally, team, name, cpu, ping (sort modes)
63 /tooltip [0|1]
64 /resbar [0|1]
65 /console [0|1]
66 /clock [0|1]
67 /fps [0|1]
68 /endgraph [0|1]
c08178f zerver Update cmds.txt
zerver authored
69 /speed [0|1]
70 /teamhighlight [0|1]
71 /speedcontrol [-2|-1|0|1|2] -- max (ignore votes), average (ignore votes), none/default, average, max
72 -- votes for server algorithm that controls game speed based on player CPU
73
74 /mtinfo [0|1] -- these commands are for the multithreaded version only
75 /multithread [0|1]
76 /multithreadsim [0|1]
77 /multithreaddraw [0|1]
78 /multithreaddrawunit [0|1]
79 /multithreaddrawunitshadow [0|1]
80 /multithreaddrawground [0|1]
81 /multithreaddrawgroundshadow [0|1]
72c68cd * Added 'fps' and 'fpshud' entries
trepan authored
82
97dbdc3 * updated cmds.txt
jk authored
83 /setf <name> <float value> -- Set a config variable (.springrc linux, Registry windows)
84 /seti <name> <integer value>
85 /sets <name> <string value>
374037e * updated cmds.txt
Auswaschbar authored
86
97dbdc3 * updated cmds.txt
jk authored
87 /quit
88 /quitwarn
89 /pause
d438e50 * Not great, but it's a start...
trepan authored
90
97dbdc3 * updated cmds.txt
jk authored
91 /shadows [<0|1> [mapsize]]
92 /water [0|1|2|3|4]
93 /vsync [-1|0|1|2|...] -- -1 will use default setting in windows,
e6c9293 * Document 'vsync'
trepan authored
94 -- numbers higher then 1 will result in
95 -- rendering every N frames.
d438e50 * Not great, but it's a start...
trepan authored
96
97dbdc3 * updated cmds.txt
jk authored
97 /say <message>
98 /echo <message>
99 /w <playername> <message> -- Private Message
100
101 /ally teamID [0|1]
102
103 /drawinmap
104 /drawlabel
105
106 /mouse1
107 /mouse2
108 /mouse3
109 /mouse4
110 /mouse5
111
112 /mousestate
113
114 /fpshud [0|1]
115
116 /viewfps
117 /viewta
118 /viewtw
119 /viewrot
120 /viewsave view_name
121 /viewload view_name
122 /viewselection
123
124 /specteam <int>
125
126 /group <int> [ "set" | "add" | "selectadd" | "selectclear" | "selecttoggle" ]
127
128 /group0
129 /group1
130 /group2
131 /group3
132 /group4
133 /group5
134 /group6
135 /group7
136 /group8
137 /group9
138
139 /chat
140 /chatall
141 /chatally
142 /chatspec
143 /chatswitchall
144 /chatswitchally
145 /chatswitchspec
146
147 /lastmsgpos
148 /movewarnings [0|1]
149
150 /track
151 /trackoff
152 /trackmode [0|1|2]
153
154 /gameinfo
155 /gameinfoclose
156
157 /cross <size> -- locked mouse cross size
158
159 /volume <float> -- 0.0 to 1.0
160 /unitreplyvolume <float> -- 0.0 to 1.0
161
162 /toggleoverview
163 /showhealthbars
164 /singlestep
165 /debug
166 /nosound
167 /savegame
168 /createvideo
169 /drawtrees
170 /dynamicsky
171
172 /hideinterface
173 /increaseviewradius
174 /decreaseviewradius
175 /moretrees
176 /lesstrees
177 /moreclouds
178 /lessclouds
179 /speedup
180 /slowdown
181 /controlunit
182 /showstandard
183 /showelevation
184 /showmetalmap
185 /showpathmap
3d976f5 remove `/showshadowmap` command (can be done with lua if wanted)
-jk- authored
186 /showheat
97dbdc3 * updated cmds.txt
jk authored
187 /toggleradarandjammer
188 /yardmap4
189 /wiremap [0|1]
190 /lodscale ["shadow"|"reflection"|"refraction"] <value>
191
192 /mapmarks [0|1]
193 /allmapmarks [0|1]
194
195 /togglelos
196 /sharedialog
197
198 /incguiopacity
199 /decguiopacity
200
201 /screenshot ["png"]
202
203 /grabinput
204 /hardwarecursor [0|1]
205
206 /bind
207 /unbind
208 /unbindall
209 /unbindkeyset
210 /unbindaction
211 /fakemeta
212
213 /keydebug
214 /keyload
215 /keyreload
216 /keysave
217 /keyprint
218 /keysyms
219 /keycodes
220
221 /cmdcolors [filename]
222 /ctrlpanel [filename]
223 /font <filename>
224
225 /gathermode [0|1]
226
227 /moveforward
228 /moveback
229 /moveleft
230 /moveright
231 /moveup
232 /movedown
233 /movefast
234 /moveslow
235
236 /minimap <"fullproxy"> [0|1]
237 /minimap <"icons"> [0|1]
238 /minimap <"drawcommands"> [0|1]
239 /minimap <"drawprojectiles"> [0|1]
240 /minimap <"simplecolors"> [0|1]
241 /minimap <"min" | "minimize"> [0|1]
242 /minimap <"max" | "maximize"> [0|1]
243 /minimap <"maxspect"> [0|1]
244 /minimap <"unitexp"> <float>
245 /minimap <"unitsize"> <float>
246 /minimap <"geo" | "geometry"> px py sx sy
247 /minimap <"slavemode"> [0|1]
248 /minimap <"draw">
249
250 /luaui < "reload" | "disable" | <custom command> >
251 /luamoduictrl [0|1] -- Enables LuaRules/LuaGaia access to many LuaUI callins/functions.
252 /safegl [0|1]
253
254 /pastetext <text> -- inserts the text into the text input (ex: ctrl+v)
255 /buffertext <text> -- inserts the text into the console history
256
257 /grounddecals [0|1]
258 /maxparticles <number>
259
d438e50 * Not great, but it's a start...
trepan authored
260
261 --------------------------------------------------------------------------------
262 --------------------------------------------------------------------------------
263 --
264 -- BIND-ONLY COMMANDS
265 --
266 -- Only avaible for binding (can NOT be used as /slash commands)
267 --
268 --
269
270 -- Only work when issuing build orders
271
272 buildspacing <"inc" | "dec">
273 buildfacing <"inc" | "dec" | "north" | "south" | "east" | "west">
274
275
276 -- Special orders
277
278 buildiconsfirst
279 firstmenu
280
281 invqueuekey [0|1]
282
283 hotbind
284 hotunbind
285
286
287 -- For Debugging
288
289 showcommands
290
291
292 -- Unit Commands
293
294 dgun
295 stop
296 move
297 attack
298 areaattack
299 fight
300 patrol
301 guard
302 capture
303 repair
304 reclaim
305 restore
306 resurrect
307 loadunits
308 unloadunits
309
310 cloak [0|1]
311 onoff [0|1]
312 repeat [0|1]
313 trajectory [0|1]
314 loopbackattack [0|1]
315
316 firestate [0|1|2]
317 movestate [0|1|2]
318 autorepairlevel [0|1|2]
319
320 selfd ["queued"]
321 wait ["queued"]
322 timewait [seconds] ["queued"]
323 deathwait ["queued"]
324 squadwait [count] ["queued"]
325 gatherwait ["queued"]
326
327 stockpile ["+5" | "+20" | "+100" | "-1" | "-5" | "-20" | "-100"]
328 buildunit_<unitname> ["+5" | "+20" | "+100" | "-1" | "-5" | "-20" | "-100"]
329
Something went wrong with that request. Please try again.