Aliases SVN

From Red Eclipse Wiki
Jump to: navigation, search

This page was automatically generated from the source of Red Eclipse, please do not edit it manually.

Name & Parameters Description Type Default Value Range identifier flags
=entattr <#undocumented#> #undocumented# string alias ^n || [strcmp * $arg2] [= (entattr $arg1) $arg2]^n n/a
=enttype <#undocumented#> #undocumented# string alias ^n || [strcmp * $arg1] [strcmp (enttype) $arg1]^n n/a
_backgroundbordersize <#undocumented#> #undocumented# NULL alias NULL n/a IDF_UNKNOWN
_editbordersize <#undocumented#> #undocumented# NULL alias NULL n/a IDF_UNKNOWN
_playbordersize <#undocumented#> #undocumented# NULL alias NULL n/a IDF_UNKNOWN
_specbordersize <#undocumented#> #undocumented# NULL alias NULL n/a IDF_UNKNOWN
_waitbordersize <#undocumented#> #undocumented# NULL alias NULL n/a IDF_UNKNOWN
a <#undocumented#> #undocumented# NULL alias NULL n/a IDF_UNKNOWN
addbot <#undocumented#> #undocumented# string alias botoffset (+ $botoffset 1) n/a
addtip <#undocumented#> #undocumented# string alias ^n tips = (+ $tips 1)^n [tip@tips] = $arg1^n n/a
addvoice <#undocumented#> #undocumented# string alias ^n voices = (+ $voices 1)^n [voice@[voices]str] = $arg1^n [voice@[voices]snd] = (registersound $arg2 255 512 8 $arg3)^n n/a
aiclip [<filter>] modifies the material properties for the selected cubes; <filter> limits the command to only affect cubes whose material match this {water, clip, ladder, etc.} string alias editmat aiclip $arg1 n/a IDF_COMPLETE
air [<filter>] modifies the material properties for the selected cubes; <filter> limits the command to only affect cubes whose material match this {water, clip, ladder, etc.} string alias editmat air $arg1 n/a IDF_COMPLETE
alpha [<filter>] modifies the material properties for the selected cubes; <filter> limits the command to only affect cubes whose material match this {water, clip, ladder, etc.} string alias editmat alpha $arg1 n/a IDF_COMPLETE
append <#undocumented#> #undocumented# string alias $arg1 = (concat (getalias $arg1) $arg2) n/a
arg1 <#undocumented#> #undocumented# NULL alias NULL n/a IDF_ARGS
arg10 <#undocumented#> #undocumented# NULL alias NULL n/a IDF_ARGS
arg11 <#undocumented#> #undocumented# NULL alias NULL n/a IDF_ARGS
arg12 <#undocumented#> #undocumented# NULL alias NULL n/a IDF_ARGS
arg13 <#undocumented#> #undocumented# NULL alias NULL n/a IDF_ARGS
arg14 <#undocumented#> #undocumented# NULL alias NULL n/a IDF_ARGS
arg15 <#undocumented#> #undocumented# NULL alias NULL n/a IDF_ARGS
arg16 <#undocumented#> #undocumented# NULL alias NULL n/a IDF_ARGS
arg17 <#undocumented#> #undocumented# NULL alias NULL n/a IDF_ARGS
arg18 <#undocumented#> #undocumented# NULL alias NULL n/a IDF_ARGS
arg19 <#undocumented#> #undocumented# NULL alias NULL n/a IDF_ARGS
arg2 <#undocumented#> #undocumented# NULL alias NULL n/a IDF_ARGS
arg20 <#undocumented#> #undocumented# NULL alias NULL n/a IDF_ARGS
arg21 <#undocumented#> #undocumented# NULL alias NULL n/a IDF_ARGS
arg22 <#undocumented#> #undocumented# NULL alias NULL n/a IDF_ARGS
arg23 <#undocumented#> #undocumented# NULL alias NULL n/a IDF_ARGS
arg24 <#undocumented#> #undocumented# NULL alias NULL n/a IDF_ARGS
arg25 <#undocumented#> #undocumented# NULL alias NULL n/a IDF_ARGS
arg3 <#undocumented#> #undocumented# NULL alias NULL n/a IDF_ARGS
arg4 <#undocumented#> #undocumented# NULL alias NULL n/a IDF_ARGS
arg5 <#undocumented#> #undocumented# NULL alias NULL n/a IDF_ARGS
arg6 <#undocumented#> #undocumented# NULL alias NULL n/a IDF_ARGS
arg7 <#undocumented#> #undocumented# NULL alias NULL n/a IDF_ARGS
arg8 <#undocumented#> #undocumented# NULL alias NULL n/a IDF_ARGS
arg9 <#undocumented#> #undocumented# NULL alias NULL n/a IDF_ARGS
autosave <#undocumented#> #undocumented# string alias ^n if (= $noautosave 0) [^n savemap^n sleep (* $autosaveinterval 60000) [ autosave ]^n ] [ noautosave = 0 ]^n n/a IDF_COMPLETE
autosaveinterval <#undocumented#> #undocumented# string alias 10 n/a IDF_PERSIST IDF_COMPLETE
b <#undocumented#> #undocumented# NULL alias NULL n/a IDF_UNKNOWN
bb <map> [<muts>] requests a map change to bomber-ball on a given map; [<muts>] optionally adds extra mutators according to bitwise mutator values, conveniently set using a sum of $mutsbit* vars, example: bb futuresport (+ $mutsbitinstagib $mutsbitmedieval) string alias bomber $arg1 $arg2 n/a
bindactions <#undocumented#> #undocumented# string alias ^n forward backward left right ^"universaldelta 1^" ^"universaldelta -1^" ^"spectator 1^" ^"spectator 0^"^n ^"primary^" ^"secondary^" ^"reload^" ^"use^" ^"jump^" ^"walk^" ^"crouch^" ^"special^" ^"drop^" ^"affinity^"^n ^"weapon 1^" ^"weapon 2^" ^"weapon 3^" ^"weapon 4^" ^"weapon 5^" ^"weapon 6^" ^"weapon 7^" ^"weapon 8^" ^"weapon 9^" ^"weapon 10^"^n ^"saycommand /^" ^"saytextcommand (getsaycolour)^" ^"sayteamcommand (getsaycolour)^" toggleconsole edittoggle thirdpersonswitch screenshot^n addbot delbot ^"showgui maps 1^" ^"showgui maps 2^" ^"setpriv 1^" ^"showgui loadout^" ^"showgui team^"^n ^"showcompass voice^" ^"showcompass team^"^n n/a
bindcalls <#undocumented#> #undocumented# string alias ^"^" spec edit wait n/a
bindmod <#undocumented#> #undocumented# string alias ^n bind $arg1 [@arg2 1; onrelease [@@arg2 0]]^n n/a IDF_COMPLETE
bindtitles <#undocumented#> #undocumented# string alias ^n forward backward left right ^"scroll up^" ^"scroll down^" ^"enter spectator^" ^"exit spectator^"^n ^"primary^" ^"secondary^" ^"reload^" ^"use^" ^"jump^" ^"walk^" ^"crouch^" ^"parkour/kick^" ^"drop^" ^"flag/bomb^"^n ^"weap slot 1^" ^"weap slot 2^" ^"weap slot 3^" ^"weap slot 4^" ^"weap slot 5^" ^"weap slot 6^" ^"weap slot 7^" ^"weap slot 8^" ^"weap slot 9^" ^"weap slot 10^"^n ^"cmd input^" ^"all chat^" ^"team chat^" ^"toggle console^" ^"toggle editing^" ^"toggle thirdperson^" ^"screenshot^"^n ^"add bot^" ^"delete bot^" ^"maps menu^" ^"maps voting^" ^"claim privileges^" ^"loadout menu^" ^"team menu^"^n ^"voice compass^" ^"team compass^"^n n/a
bindtypes <#undocumented#> #undocumented# string alias default spectator editing waiting n/a
bindvar <#undocumented#> #undocumented# string alias ^n bind $arg1 [@arg2 (= $@arg2 0); if (= $@arg2 0) [echo @@arg2 OFF] [ echo @@arg2 ON]]^n n/a IDF_COMPLETE
bloom <#undocumented#> #undocumented# string alias ^n clearpostfx^n if (>= $numargs 1) [setupbloom 6 $arg1]^n n/a
bloomshader <#undocumented#> #undocumented# string alias ^n defershader 0 $arg1 [^n forceshader ^"bloom_scale^"^n forceshader ^"bloom_init^"^n shader 0 @arg1 [^n @fsvs^n TEMP tc;^n MOV tc, vertex.texcoord[0];^n @@(loopconcat i $arg2 [concat ^"MUL tc, tc, 0.5; MOV result.texcoord[^" (+ $i 1) ^"], tc;^"])^n END^n ] [^n @fsps^n TEMP scaled, bloom;^n @@(loopconcat i $arg2 [^n format [^n TEX @(if (> $i 0) [result ^"scaled^"] [result ^"bloom^"]), fragment.texcoord[%1], texture[%1], RECT;^n @(if (> $i 0) [result [^n ADD bloom, bloom, scaled;^n ]])^n ] (+ $i 1)^n ])^n MAD result.color, bloom, program.env[0].x, sample;^n END^n ]^n ]^n n/a
blur3shader <#undocumented#> #undocumented# string alias ^n lazyshader 0 $arg1 [^n !!ARBvp1.0^n MOV result.position, vertex.position;^n ADD result.texcoord[0], vertex.texcoord[0], { @(if $arg2 -0.5 0), @(if $arg3 -0.5 0), 0, 0 };^n ADD result.texcoord[1], vertex.texcoord[0], { @(if $arg2 0.5 0), @(if $arg3 0.5 0), 0, 0 };^n END^n ] [^n @fpstart^n TEMP c1, c2;^n TEX c1, fragment.texcoord[0], texture[0], RECT;^n TEX c2, fragment.texcoord[1], texture[0], RECT;^n ADD c1, c1, c2;^n MUL result.color, c1, 0.5;^n END^n ]^n n/a
blur5shader <#undocumented#> #undocumented# string alias ^n lazyshader 0 $arg1 [^n @fsvs^n ADD result.texcoord[1], vertex.texcoord[0], { @(if $arg2 -1.333 0), @(if $arg3 -1.333 0), 0, 0 };^n ADD result.texcoord[2], vertex.texcoord[0], { @(if $arg2 1.333 0), @(if $arg3 1.333 0), 0, 0 };^n END^n ] [^n @fpstart^n TEMP c0, c1, c2;^n TEX c0, fragment.texcoord[0], texture[0], RECT;^n TEX c1, fragment.texcoord[1], texture[0], RECT;^n TEX c2, fragment.texcoord[2], texture[0], RECT;^n ADD c1, c1, c2;^n MUL c0, c0, 0.4;^n MAD result.color, c1, 0.3, c0;^n END^n ]^n n/a
blurshader <#undocumented#> #undocumented# string alias ^n shader 0 $arg1 [^n !!ARBvp1.0^n MOV result.position, vertex.position;^n MOV result.texcoord[0], vertex.texcoord[0];^n TEMP tc1, tc2;^n MAD tc1, program.env[1], { 1, 1, 0, 0 }, vertex.texcoord[0];^n MAD tc2, program.env[1], { -1, -1, 0, 0 }, vertex.texcoord[0];^n MOV result.texcoord[1], tc1;^n MOV result.texcoord[2], tc2;^n @(loopconcat i (min (- $arg2 1) 2) [concatword [^n ADD tc1.@@arg3, tc1, program.env[1].@(at ^"z w^" $i);^n SUB tc2.@@arg3, tc2, program.env[1].@(at ^"z w^" $i);^n MOV result.texcoord[@@(+ (* $i 2) 3)], tc1;^n MOV result.texcoord[@@(+ (* $i 2) 4)], tc2;^n ]])^n END^n ] [^n @fpstart^n TEMP val, blur1, blur2;^n TEX val, fragment.texcoord[0], texture[0], @arg4;^n MUL val, val, program.env[0].x;^n @(if (> $arg2 3) [result [^n TEMP tc1, tc2;^n ]])^n @(loopconcat i $arg2 [concatword [^n @(if (< $i 3) [result [^n TEX blur1, fragment.texcoord[@@(+ (* $i 2) 1)], texture[0], @@@@arg4;^n TEX blur2, fragment.texcoord[@@(+ (* $i 2) 2)], texture[0], @@@@arg4;^n ]] [result [^n ADD tc1, fragment.texcoord[0], program.env[@@(+ $i 0)];^n SUB tc2, fragment.texcoord[0], program.env[@@(+ $i 0)];^n TEX blur1, tc1, texture[0], @@@@arg4;^n TEX blur2, tc2, texture[0], @@@@arg4;^n ]])^n ADD blur1, blur1, blur2;^n @(if (< $i 3) [result [^n MAD @(if (= (+ $i 1) $arg2) [result ^"result.color^"] [result ^"val^"]), blur1, program.env[0].@(at ^"y z w^" $i), val;^n ]] [result [^n MAD @(if (= (+ $i 1) $arg2) [result ^"result.color^"] [result ^"val^"]), blur1, program.env[2].@(at ^"x y z w^" (- $i 3)), val;^n ]])^n ]])^n END^n ]^n n/a
bomber <map> [<muts>] requests a map change to bomber-ball on a given map; [<muts>] optionally adds extra mutators according to bitwise mutator values, conveniently set using a sum of $mutsbit* vars, example: bomber futuresport (+ $mutsbitinstagib $mutsbitmedieval) string alias start $arg1 $modeidxbomber (+ 0 $arg2) n/a IDF_COMPLETE
brush_0 <#undocumented#> #undocumented# string alias ^n brushname = [Circle 1-0 Brush]^n clearbrush^n brushhandle 0 0; brushverts [1]^n n/a
brush_1 <#undocumented#> #undocumented# string alias ^n brushname = [Circle 2-1 Brush]^n clearbrush^n brushhandle 2 2; brushverts [^n ^"^"^n ^"0 0 1 ^"^n ^"0 1 2 1 ^"^n ^"0 0 1 ^"^n]^n n/a
brush_2 <#undocumented#> #undocumented# string alias ^n brushname = [Circle 4-2-1 Brush]^n clearbrush^n brushhandle 2 2; brushverts [^n ^"0 0 1 ^"^n ^"0 1 2 1 ^"^n ^"1 2 4 2 1 ^"^n ^"0 1 2 1 ^"^n ^"0 0 1 ^"^n]^n n/a
brush_3 <#undocumented#> #undocumented# string alias ^n brushname = [Square 3x3 brush]^n clearbrush^n brushhandle 1 1; brushverts [^n ^"1 1 1 ^"^n ^"1 1 1 ^"^n ^"1 1 1 ^"^n]^n n/a
brush_4 <#undocumented#> #undocumented# string alias ^n brushname = [Square 5x5 brush]^n clearbrush^n brushhandle 2 2; brushverts [^n ^"1 1 1 1 1 ^"^n ^"1 1 1 1 1 ^"^n ^"1 1 1 1 1 ^"^n ^"1 1 1 1 1 ^"^n ^"1 1 1 1 1 ^"^n]^n n/a
brush_5 <#undocumented#> #undocumented# string alias ^n brushname = [Square 7x7 brush]^n clearbrush^n brushhandle 3 3; brushverts [^n ^"1 1 1 1 1 1 1 ^"^n ^"1 1 1 1 1 1 1 ^"^n ^"1 1 1 1 1 1 1 ^"^n ^"1 1 1 1 1 1 1 ^"^n ^"1 1 1 1 1 1 1 ^"^n ^"1 1 1 1 1 1 1 ^"^n ^"1 1 1 1 1 1 1 ^"^n]^n n/a
brush_6 <#undocumented#> #undocumented# string alias ^n brushname = [Smooth 3x3 brush]^n clearbrush^n brushhandle 1 1; brushverts [^n ^"0 0 0 ^"^n ^"0 ^"^n ^"0 ^"^n]^n n/a
brush_7 <#undocumented#> #undocumented# string alias ^n brushname = [Smooth 5x5 brush]^n clearbrush^n brushhandle 2 2; brushverts [^n ^"0 0 0 0 0 ^"^n ^"0 ^"^n ^"0 ^"^n ^"0 ^"^n ^"0 ^"^n]^n n/a
brush_8 <#undocumented#> #undocumented# string alias ^n brushname = [Smooth 7x7 brush]^n clearbrush^n brushhandle 3 3; brushverts [^n ^"0 0 0 0 0 0 0^"^n ^"0 ^"^n ^"0 ^"^n ^"0 ^"^n ^"0 ^"^n ^"0 ^"^n ^"0 ^"^n]^n n/a
brush_9 <#undocumented#> #undocumented# string alias ^n brushname = [Noise 25x25 Brush]^n clearbrush^n brushhandle 12 12; brushverts [^n ^"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 ^"^n ^"^"^n ^"0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 1 1 0 1 ^"^n ^"0 0 0 0 0 1 0 0 0 1 0 0 0 0 1 0 1 0 0 1 0 0 2 2 ^"^n ^"0 0 0 0 1 1 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 1 ^"^n ^"0 0 0 0 0 1 0 0 0 0 0 2 0 0 0 0 1 0 0 0 1 1 0 0 1 ^"^n ^"0 0 1 0 0 0 1 0 1 1 0 0 0 0 1 0 0 1 0 0 0 0 2 ^"^n ^"0 0 0 1 0 1 1 0 0 0 0 0 0 0 0 0 0 1 1 1 2 ^"^n ^"0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 1 1 ^"^n ^"0 0 0 0 1 1 1 0 0 1 0 0 0 0 0 0 0 0 1 0 0 1 0 1 ^"^n ^"0 1 0 2 0 1 1 1 1 0 0 1 0 0 0 0 1 ^"^n ^"0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 1 1 0 1 1 ^"^n ^"1 0 1 0 0 0 0 0 1 0 0 0 1 0 1 ^"^n ^"0 0 0 0 0 0 0 1 1 0 1 1 0 0 1 0 0 1 0 0 0 0 1 0 0 1 ^"^n ^"0 1 1 1 0 3 0 2 0 0 0 1 1 0 0 0 1 1 ^"^n ^"0 0 1 0 0 1 0 0 1 0 1 1 0 1 0 0 0 0 0 1 ^"^n ^"0 0 1 1 0 0 0 0 2 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 1 ^"^n ^"0 1 1 0 1 0 0 1 0 0 0 0 0 1 0 0 1 1 0 0 0 0 1 ^"^n ^"1 0 0 0 0 0 1 0 0 1 0 0 1 0 0 0 0 0 0 0 1 0 0 1 0 1 ^"^n ^"0 0 0 1 0 0 1 0 1 1 0 0 0 0 0 0 0 1 ^"^n ^"0 0 0 0 0 0 1 1 1 0 1 1 1 0 0 0 0 0 0 0 0 0 0 1 ^"^n ^"0 0 0 0 1 0 1 1 0 2 0 0 0 0 0 1 0 0 0 1 0 0 0 0 1 ^"^n ^"0 0 0 0 0 0 0 0 0 1 0 1 ^"^n ^"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 ^"^n]^n n/a
brushhandle <#undocumented#> #undocumented# string alias ^n brushx $arg1^n brushy $arg2^n n/a
brushindex <#undocumented#> #undocumented# string alias -1 n/a
brushmax <#undocumented#> #undocumented# integer alias 9 n/a
brushname <#undocumented#> #undocumented# string alias Circle 4-2-1 Brush n/a
brushverts <#undocumented#> #undocumented# string alias ^n loop y (listlen $arg1) [^n bv = (at $arg1 $y)^n loop x (listlen $bv) [^n brushvert $x $y (at $bv $x)^n ]^n ]^n n/a
btopt <#undocumented#> #undocumented# string alias >= (strstr $bumptype $arg1) 0 n/a
bumpshader <#undocumented#> #undocumented# string alias ^n defershader (if (>= (strstr $arg2 ^"e^") 0) [result 3] [result 1]) $arg1 [^n bumpvariantshader @arg1 @arg2^n if (|| (btopt ^"g^") (btopt ^"s^")) [^n bumpvariantshader @@arg1 (strreplace (concatword @@arg2 ^"i^") ^"r^")^n ]^n ]^n n/a
bumpvariantshader <#undocumented#> #undocumented# string alias ^n bumptype = $arg2^n normtex = (if (btopt ^"e^") [result ^"texture[4]^"] [result ^"texture[3]^"])^n glowtex = (if (btopt ^"e^") [result ^"texture[5]^"] [result ^"texture[4]^"])^n stype = (if (btopt ^"e^") [result 3] [result 1])^n if (! (btopt ^"i^")) [^n if (btopt ^"G^") [^n defpixelparam ^"glowcolor^" 0 1 1 1 ^n defvertexparam ^"pulseglowspeed^" 4 1 ^n defpixelparam ^"pulseglowcolor^" 5 0 0 0 ^n ] [if (btopt ^"g^") [^n defpixelparam ^"glowcolor^" 0 1 1 1 ^n ]]^n if (btopt ^"S^") [^n defpixelparam ^"specscale^" 1 6 6 6 ^n ] [if (btopt ^"s^") [^n defpixelparam ^"specscale^" 1 1 1 1 ^n ]]^n if (|| (btopt ^"p^") (btopt ^"P^")) [^n defpixelparam ^"parallaxscale^" 2 0.06 -0.03 ^n ]^n if (btopt ^"R^") [^n defpixelparam ^"envscale^" 3 1 1 1 ^n ] [if (btopt ^"r^") [^n defpixelparam ^"envscale^" 3 0.2 0.2 0.2 ^n ]]^n ] [^n if (btopt ^"s^") [stype = (+ $stype 8)]^n ]^n variantshader $stype $arg1 (if (btopt ^"i^") [result 4] [result -1]) [^n @vpstart^n ADD result.texcoord[0].xy, vertex.texcoord[0], program.env[0];^n ^n ^n @(if (|| $minimizetcusage (btopt ^"r^")) [result [^n MUL result.texcoord[0].zw, vertex.texcoord[1].wzyx, @lmcoordscale;^n ]] [result [^n MUL result.texcoord[1].xy, vertex.texcoord[1], @lmcoordscale;^n ]])^n @fogcoord^n^n @(if (btopt ^"o^") [result [^n ATTRIB normal = vertex.normal;^n TEMP camv, tangent, bitangent;^n MAD tangent, vertex.color, 2, -1;^n XPD bitangent.xyz, normal, tangent;^n MUL bitangent.xyz, bitangent, tangent.w;^n^n @@(if (btopt ^"t^") [result [^n ^n SUB camv.xyz, program.env[4], opos;^n DP3 @(if (btopt ^"r^") [result ^"result.texcoord[1].x^"] [result ^"result.texcoord[2].x^"]), camv, tangent;^n DP3 @(if (btopt ^"r^") [result ^"result.texcoord[1].y^"] [result ^"result.texcoord[2].y^"]), camv, bitangent;^n DP3 @(if (btopt ^"r^") [result ^"result.texcoord[1].z^"] [result ^"result.texcoord[2].z^"]), camv, normal;^n ]])^n @@(if (btopt ^"r^") [result [^n @@(if (! (btopt ^"t^")) [result [^n SUB result.texcoord[1].xyz, program.env[4], opos;^n ]])^n^n ^n MOV result.texcoord[2].xyz, tangent;^n MOV result.texcoord[3].xyz, bitangent;^n MOV result.texcoord[4].xyz, normal;^n ]])^n ]])^n^n @(if (btopt ^"G^") [result [^n TEMP pulse, pulsecol;^n MUL pulse, program.env[6], @vertexparam4.x;^n FRC pulse, pulse;^n MAD pulse, pulse, 2, -1;^n ABS result.texcoord[1].w, pulse.x;^n ]])^n^n @(if (|| (! (btopt ^"i^")) (btopt ^"s^")) [result [^n #pragma CUBE2_dynlight^n ]])^n @(if (! (btopt ^"i^")) [result [^n #pragma CUBE2_shadowmap^n #pragma CUBE2_water^n ]])^n^n END^n ] [^n @fpstart^n OPTION ARB_fog_linear;^n ATTRIB @(if (|| (btopt ^"p^") (btopt ^"P^")) [result ^"htc^"] [result ^"dtc^"]) = fragment.texcoord[0];^n ATTRIB lmtc = @(if (|| $minimizetcusage (btopt ^"r^")) [result ^"fragment.texcoord[0]^"] [result ^"fragment.texcoord[1]^"]);^n @(if (btopt ^"r^") [result [^n ATTRIB cam = fragment.texcoord[1];^n ]] [if (btopt ^"t^") [result [^n ATTRIB cam = fragment.texcoord[2];^n ]]])^n TEMP diffuse, lmc, lmlv, bump;^n^n @(if (|| (! (btopt ^"i^")) (btopt ^"s^")) [result [^n TEX lmc, @(if (|| $minimizetcusage (btopt ^"r^")) [result ^"lmtc.wzyx^"] [result ^"lmtc^"]), texture[1], 2D;^n MUL result.color.a, lmc, program.env[6];^n TEX lmlv, @(if (|| $minimizetcusage (btopt ^"r^")) [result ^"lmtc.wzyx^"] [result ^"lmtc^"]), texture[2], 2D;^n MAD lmlv.xyz, lmlv, 2, -1;^n ]])^n^n @(if (btopt ^"t^") [result [^n TEMP camvts;^n @(normalize camvts cam)^n ]])^n^n @(if (btopt ^"p^") [result [^n TEMP height;^n TEX height, htc, @@normtex, 2D;^n MAD height.w, height.w, @pixelparam2.x, @pixelparam2.y;^n TEMP dtc;^n MAD dtc.xy, height.w, camvts, htc;^n ]])^n^n @(if (btopt ^"P^") [result [^n PARAM step = -0.142857142857143; ^n TEMP duv, dtc, cc;^n RCP duv.w, camvts.z;^n MUL duv.xyz, duv.w, camvts;^n MUL duv.xyz, duv, step;^n MUL duv.xy, duv, @pixelparam2.x;^n^n MAD dtc.xy, duv, @pixelparam2.y, htc;^n MOV dtc.z, 1.0;^n TEX bump, dtc, @@normtex, 2D;^n^n @@(loopconcat i 7 [concatword [^n SLT cc.x, bump.w, dtc.z;^n MAD dtc.xyz, duv, cc.x, dtc;^n TEX bump, dtc, @@normtex, 2D;^n ]])^n ]])^n^n @(if (|| (! (btopt ^"i^")) (btopt ^"S^")) [result [^n TEX @(if (btopt ^"i^") [result ^"diffuse.a^"] [result ^"diffuse^"]), dtc, texture[0], 2D;^n ]])^n @(if (! (btopt ^"i^")) [result [^n MUL diffuse.rgb, diffuse, program.env[6];^n ]])^n^n @(if (|| (! (btopt ^"i^")) (btopt ^"s^")) [result [^n @(if (! (btopt ^"P^")) [result [TEX bump, dtc, @normtex, 2D;]])^n MAD bump.xyz, bump, 2, -1;^n ]])^n^n @(if (btopt ^"s^") [result [^n PARAM specfactor = @(if (btopt ^"i^") 128 32);^n TEMP he;^n ADD he.xyz, camvts, lmlv;^n @(normalize he he)^n DP3_SAT he.w, he, bump;^n POW he.w, he.w, specfactor.x;^n @(if (btopt ^"i^") [result [MUL_SAT he.w, he, 64;]])^n @(if (btopt ^"S^") [result [MUL he.w, he, diffuse;]])^n @(if (btopt ^"i^") [result [^n MUL diffuse.rgb, he.w, @pixelparam1;^n ]] [result [^n MAD diffuse.rgb, he.w, @pixelparam1, diffuse;^n ]])^n ]])^n^n @(if (|| (! (btopt ^"i^")) (btopt ^"s^")) [result [^n DP3_SAT lmlv.w, bump, lmlv;^n MUL lmc.rgb, lmc, lmlv.w;^n MAX lmc.rgb, lmc, program.env[5];^n^n @(if (btopt ^"i^") [result [^n #pragma CUBE2_dynlight lmc^n^n MUL @(if (btopt ^"g^") [result ^"diffuse.rgb^"] [result ^"result.color.rgb^"]), diffuse, lmc;^n ]] [result [^n #pragma CUBE2_shadowmap lmc^n #pragma CUBE2_dynlight lmc^n^n MUL @(if (|| (btopt ^"g^") (btopt ^"r^")) [result ^"diffuse.rgb^"] [result ^"result.color.rgb^"]), diffuse, lmc;^n ]])^n ]])^n^n @(if (btopt ^"r^") [result [^n TEMP rvec;^n @(if (btopt ^"t^") [result [^n TEMP rvects;^n DP3 rvects.w, cam, bump;^n MUL rvects.xyz, rvects.w, bump;^n MAD rvects.xyz, rvects, 2, -cam;^n^n MUL rvec.xyz, rvects.x, fragment.texcoord[2];^n MAD rvec.xyz, rvects.y, fragment.texcoord[3], rvec;^n MAD rvec.xyz, rvects.z, fragment.texcoord[4], rvec;^n ]] [result [^n TEMP bumpw;^n MUL bumpw.xyz, bump.x, fragment.texcoord[2];^n MAD bumpw.xyz, bump.y, fragment.texcoord[3], bumpw;^n MAD bumpw.xyz, bump.z, fragment.texcoord[4], bumpw;^n^n DP3 rvec.w, cam, bumpw;^n MUL rvec.xyz, rvec.w, bumpw;^n MAD rvec.xyz, rvec, 2, -cam;^n ]])^n^n TEMP reflect;^n TEX reflect, rvec, texture[3], CUBE;^n @@(if (btopt ^"R^") [result [^n TEMP rmod;^n MUL rmod.rgb, diffuse.w, @pixelparam3;^n ]] [result [^n PARAM rmod = @pixelparam3;^n ]])^n LRP @(if (btopt ^"g^") [result ^"diffuse.rgb^"] [result ^"result.color.rgb^"]), rmod, reflect, diffuse;^n ]])^n^n @(if (btopt ^"g^") [result [^n TEMP glow;^n TEX glow, dtc, @@glowtex, 2D;^n @@(if (btopt ^"G^") [result [^n TEMP pulsecol;^n LRP pulsecol.rgb, fragment.texcoord[1].w, @pixelparam5, @pixelparam0;^n ]])^n @@(if (btopt ^"i^") [result [^n TEMP k;^n MUL glow.rgb, glow, @(if (btopt ^"G^") [result ^"pulsecol^"] [result $pixelparam0]);^n MAX k.x, glow.r, glow.g;^n MAX k.x, k.x, glow.b;^n MUL k.x, k.x, k.x;^n MUL_SAT k.x, k.x, 32;^n @(if (btopt ^"s^") [result [^n MAD result.color.rgb, k.x, glow, diffuse;^n ]] [result [^n MUL result.color.rgb, k.x, glow;^n #pragma CUBE2_variantoverride TEX result.color.a, @(if $minimizetcusage [result ^"lmtc.wzyx^"] [result ^"lmtc^"]), texture[1], 2D;^n MOV result.color.a, program.env[6];^n ]])^n ]] [result [^n MAD result.color.rgb, glow, @(if (btopt ^"G^") [result ^"pulsecol^"] [result $pixelparam0]), diffuse;^n ]])^n ]])^n^n @(if (! (btopt ^"i^")) [result [^n #pragma CUBE2_water^n ]])^n^n END^n ]^n n/a
bv <#undocumented#> #undocumented# string alias 0 0 1 n/a
capture <map> [<muts>] requests a map change to capture-the-flag on a given map; [<muts>] optionally adds extra mutators according to bitwise mutator values, conveniently set using a sum of $mutsbit* vars, example: capture bath (+ $mutsbitinstagib $mutsbitmedieval) string alias start $arg1 $modeidxcapture (+ 0 $arg2) n/a IDF_COMPLETE
causticshader <#undocumented#> #undocumented# string alias ^n lazyshader 0 $arg1 [^n @vpstart^n DP3 result.texcoord[0].x, opos, program.env[0];^n DP3 result.texcoord[0].y, opos, program.env[1];^n @fogcoord^n END^n ] [^n @fpstart^n OPTION ARB_fog_linear;^n @arg2^n END^n ]^n n/a
cdm <map> [<muts>] requests a map change to coop deathmatch on a given map; [<muts>] optionally adds extra mutators according to bitwise mutator values, conveniently set using a sum of $mutsbit* vars, example: cdm bath (+ $mutsbitinstagib $mutsbitmedieval) string alias coop $arg1 $arg2 n/a IDF_COMPLETE
changeoutline <#undocumented#> #undocumented# string alias ^n outlinestatus = (mod (+ $arg1 $outlinestatus) (listlen $outlinecolours))^n if (< $outlinestatus 0) [^n outlinestatus = (+ (listlen $outlinecolours) $outlinestatus ) ^n ]^n^n if (=s (at $outlinecolours $outlinestatus) ^"OFF^") [^n echo ^"Outline OFF^"^n outline 0^n ] [^n echo (concat ^"Outline^" (at $outlinecolours $outlinestatus))^n outline 1^n outlinecolour @(at $outlinecolours $outlinestatus)^n ]^n n/a IDF_COMPLETE
chatconblendstorage <#undocumented#> #undocumented# NULL alias NULL n/a IDF_UNKNOWN
checkboxdesc <#undocumented#> #undocumented# string alias ^n if (= $arg2 1) [^n guitext (format ^"^^fa^^f(textures/checkboxtwo) %1^" $arg1)^n ] [^n guitext (format ^"^^fa^^f(textures/checkboxon) %1 ^^f(textures/checkboxtwo) %2^" $arg1 $arg2)^n ]^n n/a
classic <map> [<muts>] requests a map change to classic deathmatch on a given map; [<muts>] optionally adds extra mutators according to a bitwise mutator values, conveniently set using a sum of $mutsbit* vars, example: classic bath (+ $mutsbitinstagib $mutsbitduel) string alias start $arg1 $modeidxdeathmatch (+ $mutsbitclassic $arg2) n/a IDF_COMPLETE
clcname <#undocumented#> #undocumented# NULL alias NULL n/a IDF_UNKNOWN
clcolour <#undocumented#> #undocumented# NULL alias NULL n/a IDF_UNKNOWN
clearents <#undocumented#> #undocumented# string alias ^n if $editing [^n entcancel^n entselect [ =enttype $arg1 ];^n echo Deleted (enthavesel) $arg1 entities;^n delent^n ]^n n/a IDF_COMPLETE
clempty <#undocumented#> #undocumented# NULL alias NULL n/a IDF_UNKNOWN
clientguitarget <#undocumented#> #undocumented# string alias -1 n/a
clip [<filter>] modifies the material properties for the selected cubes; <filter> limits the command to only affect cubes whose material match this {water, clip, ladder, etc.} string alias editmat clip $arg1 n/a IDF_COMPLETE
clmodel <#undocumented#> #undocumented# NULL alias NULL n/a IDF_UNKNOWN
clname <#undocumented#> #undocumented# NULL alias NULL n/a IDF_UNKNOWN
cloudalpha <#undocumented#> #undocumented# string alias cloudblend $arg1 n/a
cltab <#undocumented#> #undocumented# NULL alias NULL n/a IDF_UNKNOWN
clteam <#undocumented#> #undocumented# NULL alias NULL n/a IDF_UNKNOWN
clvanity <#undocumented#> #undocumented# NULL alias NULL n/a IDF_UNKNOWN
clweap <#undocumented#> #undocumented# NULL alias NULL n/a IDF_UNKNOWN
colour <#undocumented#> #undocumented# string alias playercolour $arg1 n/a IDF_COMPLETE
combine <#undocumented#> #undocumented# string alias ^n MAD invfresnel.x, invfresnel.x, 0.5, 0.5;^n LRP result.color.rgb, invfresnel.x, refract, reflect;^n n/a
conblendstorage <#undocumented#> #undocumented# NULL alias NULL n/a IDF_UNKNOWN
coop <map> [<muts>] requests a map change to coop deathmatch on a given map; [<muts>] optionally adds extra mutators according to bitwise mutator values, conveniently set using a sum of $mutsbit* vars, example: coop bath (+ $mutsbitinstagib $mutsbitmedieval) string alias start $arg1 $modeidxdeathmatch (+ $mutsbitcoop $arg2) n/a IDF_COMPLETE
corners <#undocumented#> #undocumented# string alias selectcorners 1; dragging 1; onrelease [ selectcorners 0; dragging 0 ] n/a
crosshairindex <#undocumented#> #undocumented# NULL alias NULL n/a IDF_UNKNOWN
crosshairlist <#undocumented#> #undocumented# NULL alias NULL n/a IDF_UNKNOWN
crosshairname <#undocumented#> #undocumented# NULL alias NULL n/a IDF_UNKNOWN
crosshairs <#undocumented#> #undocumented# NULL alias NULL n/a IDF_UNKNOWN
crosshairsboxlen <#undocumented#> #undocumented# NULL alias NULL n/a IDF_UNKNOWN
ctf <map> [<muts>] requests a map change to capture-the-flag on a given map; [<muts>] optionally adds extra mutators according to bitwise mutator values, conveniently set using a sum of $mutsbit* vars, example: ctf bath (+ $mutsbitinstagib $mutsbitmedieval) string alias capture $arg1 $arg2 n/a IDF_COMPLETE
curbindacts <#undocumented#> #undocumented# NULL alias NULL n/a IDF_UNKNOWN
curbindcall <#undocumented#> #undocumented# NULL alias NULL n/a IDF_UNKNOWN
curbindshow <#undocumented#> #undocumented# string alias 0 n/a
curbindsign <#undocumented#> #undocumented# NULL alias NULL n/a IDF_UNKNOWN
curbindsrch <#undocumented#> #undocumented# NULL alias NULL n/a IDF_UNKNOWN
curbindtits <#undocumented#> #undocumented# NULL alias NULL n/a IDF_UNKNOWN
curbindtype <#undocumented#> #undocumented# string alias 0 n/a
curbrush <#undocumented#> #undocumented# NULL alias NULL n/a
curcrosshair <#undocumented#> #undocumented# NULL alias NULL n/a IDF_UNKNOWN
curmod <#undocumented#> #undocumented# NULL alias NULL n/a IDF_UNKNOWN
curname <#undocumented#> #undocumented# NULL alias NULL n/a IDF_UNKNOWN
cursoundnames <#undocumented#> #undocumented# string alias ^"xv^" ^"cv^" ^"cp^" ^"^" ^"xr^" ^"mr^" ^"^" ^"^" ^"^" ^"ss^" ^"^" ^"^" ^"^" ^"^" ^"^" ^"m^" ^"^" ^"c^" ^"cn^" n/a
cursoundnum <#undocumented#> #undocumented# NULL alias NULL n/a IDF_UNKNOWN
cursoundplay <#undocumented#> #undocumented# NULL alias NULL n/a IDF_UNKNOWN
cursoundprop <#undocumented#> #undocumented# NULL alias NULL n/a IDF_UNKNOWN
cursoundval <#undocumented#> #undocumented# NULL alias NULL n/a IDF_UNKNOWN
cursoundw <#undocumented#> #undocumented# NULL alias NULL n/a IDF_UNKNOWN
cursoundwidth <#undocumented#> #undocumented# string alias 4 4 4 0 4 4 0 0 0 3 0 0 0 0 0 2 0 2 3 n/a
curtip <#undocumented#> #undocumented# string alias press ^f{F6}|^f{COMMA} to change your ^fs^fyloadout weapons^fS n/a
curweap <#undocumented#> #undocumented# NULL alias NULL n/a IDF_UNKNOWN
death [<filter>] modifies the material properties for the selected cubes; <filter> limits the command to only affect cubes whose material match this {water, clip, ladder, etc.} string alias editmat death $arg1 n/a IDF_COMPLETE
deathmatch <map> [<muts>] requests a map change to deathmatch on a given map; [<muts>] optionally adds extra mutators according to bitwise mutator values, conveniently set using a sum of $mutsbit* vars, example: deathmatch bath (+ $mutsbitinstagib $mutsbitmedieval) string alias start $arg1 $modeidxdeathmatch (+ 0 $arg2) n/a IDF_COMPLETE
defaultmodifier <#undocumented#> #undocumented# string alias 0 n/a
defend <map> [<muts>] requests a map change to defend-and-control on a given map; [<muts>] optionally adds extra mutators according to bitwise mutator values, conveniently set using a sum of $mutsbit* vars, example: defend bath (+ $mutsbitinstagib $mutsbitmedieval) string alias start $arg1 $modeidxdefend (+ 0 $arg2) n/a IDF_COMPLETE
delbot <#undocumented#> #undocumented# string alias botoffset (- $botoffset 1) n/a
delta_edit_0 <#undocumented#> #undocumented# string alias ^n if $blendpaintmode [^n nextblendbrush $arg1^n echo (concatword ^"^^fgblend brush:^^fw ^" (getblendbrushname (curblendbrush)))^n ] [^n editfacewentpush $arg1 1^n ]^n n/a
delta_edit_1 <#undocumented#> #undocumented# string alias nodebug [ gridpower (+ $arg1 $gridpower) ] n/a
delta_edit_10 <#undocumented#> #undocumented# string alias entautoview $arg1 n/a
delta_edit_11 <#undocumented#> #undocumented# string alias entproperty 0 $arg1 n/a
delta_edit_12 <#undocumented#> #undocumented# string alias entproperty 1 $arg1 n/a
delta_edit_13 <#undocumented#> #undocumented# string alias entproperty 2 $arg1 n/a
delta_edit_14 <#undocumented#> #undocumented# string alias entproperty 3 $arg1 n/a
delta_edit_15 <#undocumented#> #undocumented# string alias entproperty 4 $arg1 n/a
delta_edit_16 <#undocumented#> #undocumented# string alias entproperty 5 $arg1 n/a
delta_edit_17 <#undocumented#> #undocumented# string alias entproperty 6 $arg1 n/a
delta_edit_18 <#undocumented#> #undocumented# string alias entproperty 7 $arg1 n/a
delta_edit_19 <#undocumented#> #undocumented# string alias entproperty 8 $arg1 n/a
delta_edit_2 <#undocumented#> #undocumented# string alias editfacewentpush $arg1 0 n/a
delta_edit_20 <#undocumented#> #undocumented# string alias entproperty 9 $arg1 n/a
delta_edit_3 <#undocumented#> #undocumented# string alias editfacewentpush $arg1 2 n/a
delta_edit_4 <#undocumented#> #undocumented# string alias editrotate $arg1 n/a
delta_edit_5 <#undocumented#> #undocumented# string alias entproperty 0 $arg1 n/a
delta_edit_6 <#undocumented#> #undocumented# string alias edittex $arg1 n/a
delta_edit_9 <#undocumented#> #undocumented# string alias selectbrush $arg1 n/a
delta_game_0 <#undocumented#> #undocumented# string alias if (iszooming) [ setzoom $arg1 ] [ weapon -1 $arg1 ] n/a
delta_spec_0 <#undocumented#> #undocumented# string alias followdelta $arg1 n/a
delta_wait_0 <#undocumented#> #undocumented# string alias followdelta $arg1 n/a
deltastates <#undocumented#> #undocumented# string alias ^"game^" ^"dead^" ^"edit^" ^"spec^" ^"wait^" n/a
demo <demo> starts playback of a given demo string alias stopdemo; start $arg1 0 0 n/a
demofavs <#undocumented#> #undocumented# string alias n/a IDF_PERSIST IDF_COMPLETE
distort <#undocumented#> #undocumented# string alias ^n TEMP reflect, refract, fade;^n^n MAD temp.xy, dudv, 0.4, projtc;^n MOV temp.zw, projtc;^n TXP refract, temp, texture[3], 2D;^n TXP fade.a, projtc, texture[3], 2D;^n MAD result.color.a, fade.a, 4, projtc.z;^n^n MAD temp.xy, dudv, 0.025, tc2;^n TEX bump, temp, texture[1], 2D;^n MAD bump.xyz, bump, 2, -1;^n^n TEMP rvec;^n DP3_SAT invfresnel.x, cam, bump;^n MUL rvec.xyz, invfresnel.x, bump;^n MAD rvec.xyz, rvec, 2, -cam;^n TEX reflect, rvec, texture[0], CUBE;^n n/a
dm <map> [<muts>] requests a map change to deathmatch on a given map; [<muts>] optionally adds extra mutators according to bitwise mutator values, conveniently set using a sum of $mutsbit* vars, example: dm bath (+ $mutsbitinstagib $mutsbitmedieval) string alias deathmatch $arg1 $arg2 n/a IDF_COMPLETE
dnc <#undocumented#> #undocumented# string alias defend $arg1 $arg2 n/a IDF_COMPLETE
dobindsearch <#undocumented#> #undocumented# string alias ^n [search@[arg2]binds] $arg1 5 ^"^^f{^" ^"}^" (? $textkeyseps (? $textkeybg ^"|^" ^", ^") (? $textkeybg ^"^" ^" ^")) (? $textkeyseps (? $textkeybg ^"|^" ^" or ^") (? $textkeybg ^"^" ^" ^"))^n n/a
domodifier <#undocumented#> #undocumented# string alias modifier = $arg1; onrelease [ modifier = $defaultmodifier ] n/a
drag <#undocumented#> #undocumented# string alias dragging 1; onrelease [ dragging 0 ] n/a
duel <map> [<muts>] requests a map change to duel deathmatch on a given map; [<muts>] optionally adds extra mutators according to a bitwise mutator values, conveniently set using a sum of $mutsbit* vars, example: duel bath (+ $mutsbitinstagib $mutsbitmedieval) string alias start $arg1 $modeidxdeathmatch (+ $mutsbitduel $arg2) n/a IDF_COMPLETE
edit <map> starts editing on a new map file named "mapname.mpz" or loads mapname.mpz if it already exists string alias start $arg1 $modeidxediting (+ $mutsbitffa $mutsbitclassic $arg2) n/a IDF_COMPLETE
editbindactions <#undocumented#> #undocumented# string alias ^n forward backward left right ^"universaldelta 1^" ^"universaldelta -1^" ^"spectator 1^" ^"spectator 0^"^n ^"saycommand /^" ^"saytextcommand (getsaycolour)^" ^"sayteamcommand (getsaycolour)^" toggleconsole edittoggle screenshot^n ^"showtexgui^" ^"showgui editing^" ^"remip^" ^"fullbright 0; patchlight^" ^"fullbright 0; calclight -1^" ^"fullbright 0; calclight 1^"^n savemap ^"changeoutline 1^"^n n/a
editbindmod <#undocumented#> #undocumented# string alias ^n editbind $arg1 [@arg2 1; onrelease [@@arg2 0]]^n n/a IDF_COMPLETE
editbindtitles <#undocumented#> #undocumented# string alias ^n forward backward left right ^"scroll up^" ^"scroll down^" ^"enter spectator^" ^"exit spectator^"^n ^"cmd input^" ^"all chat^" ^"team chat^" ^"toggle console^" ^"toggle editing^" ^"screenshot^"^n ^"texture menu^" ^"editing menu^" ^"remip^" ^"patch lights^" ^"quick calclight^" ^"full calclight^"^n ^"save map^" ^"change outline^"^n n/a
editbindvar <#undocumented#> #undocumented# string alias ^n editbind $arg1 [@arg2 (= $@arg2 0); if (= $@arg2 0) [echo @@arg2 OFF] [ echo @@arg2 ON]]^n n/a IDF_COMPLETE
editcopy <#undocumented#> #undocumented# string alias ^n if (|| [havesel] [! (enthavesel)]) [^n entcopybuf = ^"^"^n entcopy^n copy^n ] [^n entcopybuf = (entget)^n ]^n n/a IDF_COMPLETE
editcut <#undocumented#> #undocumented# string alias ^n if (moving 1) [^n if (= $moving 1) [selsave]^n onrelease [ ^n moving 0 ^n if (selmoved) [^n selswap^n copy; entcopy^n delcube; delent^n selrestore^n paste; entpaste^n ]^n ] ^n ] ^n n/a IDF_COMPLETE
editdel <#undocumented#> #undocumented# string alias if (= (enthavesel) 0) [ delcube ] [ delent ] n/a IDF_COMPLETE
editdrag <#undocumented#> #undocumented# string alias cancelsel; || [entdrag] [ drag ] n/a IDF_COMPLETE
editextend <#undocumented#> #undocumented# string alias || [entdrag] [ selextend; reorient; editmove ] n/a IDF_COMPLETE
editfacewentpush <#undocumented#> #undocumented# string alias ^n if (|| [havesel] [! (enthavesel)] ) [^n if $moving [^n pushsel $arg1^n ] [^n entcancel^n editface $arg1 $arg2^n ]^n ] [^n if $entmoving [ entpush $arg1 ]^n ]^n n/a IDF_COMPLETE
editflip <#undocumented#> #undocumented# string alias if (= (enthavesel) 0) [ flip ] [ entflip ] n/a IDF_COMPLETE
editmove <#undocumented#> #undocumented# string alias moving 1; onrelease [ moving 0 ]; result $moving n/a
editmovecorner <#undocumented#> #undocumented# string alias editmovewith selcorners n/a IDF_COMPLETE
editmovedrag <#undocumented#> #undocumented# string alias editmovewith editdrag n/a IDF_COMPLETE
editmovewith <#undocumented#> #undocumented# string alias ^n if (havesel) [^n || [editmove] [ @arg1 ]^n onrelease [ moving 0; dragging 0 ]^n ] [^n @arg1^n ]^n n/a
editpaste <#undocumented#> #undocumented# string alias ^n cancelpaste = (! (|| [enthavesel] [havesel]));^n if (strcmp ^"^" $entcopybuf) [^n pastehilight^n onrelease [^n if $opaquepaste delcube^n paste^n entpaste^n if $cancelpaste [ cancelsel ]^n ]^n ] [^n entreplace^n if $cancelpaste [ cancelsel ]^n ]^n n/a IDF_COMPLETE
editrotate <#undocumented#> #undocumented# string alias ^n rotate $arg1^n entrotate $arg1^n n/a IDF_COMPLETE
efuiattr0 <#undocumented#> #undocumented# string alias 0 n/a
efuiattr1 <#undocumented#> #undocumented# string alias 0 n/a
efuiattr2 <#undocumented#> #undocumented# string alias 0 n/a
efuiattr3 <#undocumented#> #undocumented# string alias 0 n/a
efuiattr4 <#undocumented#> #undocumented# string alias 0 n/a
efuidoattr0 <#undocumented#> #undocumented# string alias 1 n/a
efuidoattr1 <#undocumented#> #undocumented# string alias 1 n/a
efuidoattr2 <#undocumented#> #undocumented# string alias 1 n/a
efuidoattr3 <#undocumented#> #undocumented# string alias 1 n/a
efuidoattr4 <#undocumented#> #undocumented# string alias 1 n/a
efuidotype <#undocumented#> #undocumented# string alias 1 n/a
efuiinsel <#undocumented#> #undocumented# string alias 0 n/a
efuimatch <#undocumented#> #undocumented# string alias ^n match = 1^n if (&& $efuiinsel $match) [^n if (= $efuiinsel 1) [^n match = (insel)^n ] [^n match = (! (insel))^n ]^n ]^n if (&& $efuidotype $match) [^n match = (strcmp (enttype) (at $enttypelist $efuitype))^n ]^n loop i 5 [^n if (&& $[efuidoattr@i] $match) [^n match = (= (entattr $i) $[efuiattr@i])^n ]^n ]^n result $match^n n/a
efuitype <#undocumented#> #undocumented# string alias 0 n/a
efuitypename <#undocumented#> #undocumented# NULL alias NULL n/a IDF_UNKNOWN
en <#undocumented#> #undocumented# integer alias 18 n/a
entattributes <#undocumented#> #undocumented# string alias ^n guitext type^n guislider tmp0 0 3 entupdate^n n/a
entcomplete <#undocumented#> #undocumented# string alias listcomplete $arg1 $enttypelist n/a
entcopybuf <#undocumented#> #undocumented# string alias n/a
entdrag <#undocumented#> #undocumented# string alias entmoving 1; onrelease [entmoving 0]; result $entmoving n/a
entfind <type> <properties...> selects all entities of a specific type and optionally with specific properties, using "1" as type selects all entities string alias ^n if (= $numargs 0) [^n entselect 1^n ] [^n entselect (concat [ && [=enttype @@arg1] ] (loopconcat i (- $numargs 1) [^n result [ [=entattr @@i @@[arg@(+ $i 2)]] ]^n ]))^n ]^n n/a IDF_COMPLETE
entfindinsel <type> <properties...> selects all entities, within the selected area, of a specific type and optionally with specific properties, using "1" as type selects all entities string alias ^n if (= $numargs 0) [^n entselect [ insel ]^n ] [^n entselect (concat [ && [insel] [=enttype @@arg1] ] (loopconcat i (- $numargs 1) [^n result [ [=entattr @@i @@[arg@(+ $i 2)]] ]^n ]))^n ]^n n/a IDF_COMPLETE
entmodify <#undocumented#> #undocumented# string alias ^n entattr $arg1 (+ (entattr $arg1) $arg2)^n n/a IDF_COMPLETE
entproperty <#undocumented#> #undocumented# string alias ^n entprop $arg1 $arg2^n n/a IDF_COMPLETE
entreplace <#undocumented#> #undocumented# string alias ^n do [^n if (enthavesel) [] [ newent @entcopybuf ]^n entset @entcopybuf^n ]^n n/a IDF_COMPLETE
entswithdirection <#undocumented#> #undocumented# string alias ^"playerstart 0^" ^"mapmodel 1^" ^"teledest 0^" ^"camera 0^" n/a
enttypelist <#undocumented#> #undocumented# string alias none light mapmodel playerstart envmap particles sound lightfx sunlight weapon teleport actor trigger pusher affinity checkpoint route unused n/a
enttypeselect <#undocumented#> #undocumented# string alias ^n enttypelength = (listlen $enttypelist)^n next = (mod (+ (indexof $enttypelist (enttype)) $arg1) $enttypelength)^n if (< $next 0) [ next = (+ $next $enttypelength) ]^n do [entset @(listsplice (entget) (at $enttypelist $next) 0 1)]^n n/a
entupdate <#undocumented#> #undocumented# string alias entset $tmpt $tmp0 $tmp1 $tmp2 $tmp3 n/a
es <#undocumented#> #undocumented# string alias unused n/a
explosionshader <#undocumented#> #undocumented# string alias ^n shader 0 $arg1 [^n !!ARBvp1.0^n ATTRIB opos = vertex.position;^n OUTPUT spos = result.position;^n^n TEMP wobble; ^n DP3 wobble.w, opos, program.env[0]; ^n MAD wobble.w, program.env[1].w, 0.002, wobble.w; ^n FRC wobble.w, wobble.w; ^n SUB wobble.w, wobble.w, 0.5; ^n ABS wobble.w, wobble.w; ^n MUL wobble.w, wobble.w, 0.5; ^n^n MAD wobble.xyz, wobble.w, opos, opos;^n MOV wobble.w, opos.w;^n^n @(if (>= (strstr $arg1 ^"soft^") 0) [result [^n TEMP projtc;^n DP4 projtc.x, state.matrix.mvp.row[0], wobble;^n DP4 projtc.y, state.matrix.mvp.row[1], wobble;^n DP4 projtc.z, state.matrix.mvp.row[2], wobble;^n DP4 projtc.w, state.matrix.mvp.row[3], wobble;^n MOV spos, projtc;^n^n DP4 projtc.z, state.matrix.modelview.row[2], -wobble;^n MAD projtc.z, projtc, program.env[5].x, program.env[5].y;^n ADD projtc.xy, projtc, projtc.w;^n MUL projtc.xy, projtc, program.env[6];^n MOV result.texcoord[3], projtc;^n ]] [result [^n DP4 spos.x, state.matrix.mvp.row[0], wobble;^n DP4 spos.y, state.matrix.mvp.row[1], wobble;^n DP4 spos.z, state.matrix.mvp.row[2], wobble;^n DP4 spos.w, state.matrix.mvp.row[3], wobble;^n ]])^n^n MOV result.color, vertex.color;^n^n @arg2^n^n @fogcoord^n END^n ] [^n @fpstart^n OPTION ARB_fog_linear;^n TEMP dtc, diffuse, blend;^n^n TEX dtc, @arg3, texture[0], 2D;^n MAD dtc.xy, dtc, 0.1, fragment.texcoord[0]; ^n TEX diffuse, dtc, texture[0], 2D;^n^n TEX blend, fragment.texcoord[1], texture[1], 2D; ^n^n @(if (>= (strstr $arg1 ^"glare^") 0) [result [^n TEMP k;^n MUL k.x, blend.a, blend.a;^n MUL diffuse.rgb, diffuse, 8;^n ADD diffuse.b, diffuse, k.x;^n MUL diffuse, diffuse, k.x;^n ]] [result [^n MAD diffuse, diffuse, 4, { 0, 0, -0.5, 0 }; ^n MAD diffuse, diffuse, blend.a, { 0, 0, 0.5, 0 }; ^n ]])^n^n @(if (>= (strstr $arg1 ^"soft^") 0) [result [^n MUL result.color.rgb, diffuse, fragment.color;^n^n TEMP depth;^n TXP depth, fragment.texcoord[3], texture[2], @(if (>= (strstr $arg1 ^"rect^") 0) [result ^"RECT^"] [result ^"2D^"]);^n @(if (>= (strstr $arg1 ^"soft8^") 0) [result [^n DP4 depth.x, depth, program.env[6];^n SUB_SAT depth.x, depth.x, fragment.texcoord[3].z;^n ]] [result [^n MAD_SAT depth.x, depth.x, program.env[5].z, -fragment.texcoord[3].z;^n ]])^n MUL depth.x, depth.x, fragment.color.a;^n MAX depth.x, depth.x, program.env[5].w;^n MUL result.color.a, diffuse.a, depth.x;^n ]] [result [^n MUL result.color, diffuse, fragment.color;^n ]])^n^n END^n ]^n n/a
fdm <#undocumented#> #undocumented# string alias ffa $arg1 $arg2 n/a IDF_COMPLETE
ffa <#undocumented#> #undocumented# string alias start $arg1 $modeidxdeathmatch (+ $mutsbitffa $arg2) n/a IDF_COMPLETE
fogcoord <#undocumented#> #undocumented# string alias ^n DP4 result.fogcoord, -opos, state.matrix.modelview.row[2];^n n/a
fov <angle> determines the size of the field of view in first or third person mode, depending on the current camera mode string alias do [ @(? (isthirdperson) third first)personfov @arg1 ] n/a IDF_COMPLETE
fpopts <#undocumented#> #undocumented# string alias ^n OPTION ARB_precision_hint_fastest;^n ^n n/a
fpstart <#undocumented#> #undocumented# string alias ^n !!ARBfp1.0^n ^n OPTION ARB_precision_hint_fastest;^n ^n^n n/a
fsps <#undocumented#> #undocumented# string alias ^n ^n !!ARBfp1.0^n ^n OPTION ARB_precision_hint_fastest;^n ^n^n^n TEMP sample;^n TEX sample, fragment.texcoord[0], texture[0], RECT;^n n/a
fsvs <#undocumented#> #undocumented# string alias ^n !!ARBvp1.0^n MOV result.position, vertex.position; ^n MOV result.texcoord[0], vertex.texcoord[0];^n n/a
genentattributes <#undocumented#> #undocumented# string alias ^n entattributes = ^"^"^n n = (listlen $arg2)^n loop i $n [^n entattributes = (concat $entattributes [^n guitext @(at $arg2 $i)^n guislider tmp@i @(at $arg3 (* 2 $i)) @(at $arg3 (+ 1 (* 2 $i))) entupdate^n ])^n ]^n n/a
getsaycolour <#undocumented#> #undocumented# string alias ^n sc = $saytextcolour^n if (< $sc 0) [ sc = (getplayercolour 1) ]^n if (> $sc 0) [ result (format ^"^^f[%1]^" $sc) ] [ result ^"^" ]^n n/a
glarepreset <#undocumented#> #undocumented# NULL alias NULL n/a IDF_UNKNOWN
glareworldshader <#undocumented#> #undocumented# string alias ^n variantshader (if (< (strstr $arg1 ^"env^") 0) 0 2) $arg1 4 [^n @vpstart^n ADD result.texcoord[0].xy, vertex.texcoord[0], program.env[0];^n MUL result.texcoord[1].xy, vertex.texcoord[1], @lmcoordscale;^n^n @arg2^n^n @fogcoord^n^n END^n ] [^n @fpstart^n OPTION ARB_fog_linear;^n^n @arg3^n^n END^n ]^n n/a
glass [<filter>] modifies the material properties for the selected cubes; <filter> limits the command to only affect cubes whose material match this {water, clip, ladder, etc.} string alias editmat glass $arg1 n/a IDF_COMPLETE
glass2 [<filter>] modifies the material properties for the selected cubes; <filter> limits the command to only affect cubes whose material match this {water, clip, ladder, etc.} string alias editmat glass2 $arg1 n/a IDF_COMPLETE
glass3 [<filter>] modifies the material properties for the selected cubes; <filter> limits the command to only affect cubes whose material match this {water, clip, ladder, etc.} string alias editmat glass3 $arg1 n/a IDF_COMPLETE
glass4 [<filter>] modifies the material properties for the selected cubes; <filter> limits the command to only affect cubes whose material match this {water, clip, ladder, etc.} string alias editmat glass4 $arg1 n/a IDF_COMPLETE
gname <#undocumented#> #undocumented# NULL alias NULL n/a IDF_UNKNOWN
grabbing <#undocumented#> #undocumented# string alias 0 n/a
gridbindswitch <#undocumented#> #undocumented# string alias 0 n/a
guiarea <#undocumented#> #undocumented# string alias ^n guilist [^n if (> $numargs 9) arg10^n guilist [^n [@[arg1]count] = $arg2^n [@[arg1]disp] = 0^n [@[arg1]list] = 0^n guilist [^n guistrut 0.5^n guistrut $arg3 1^n if (arg5) [^n [@[arg1]num] = $arg6^n if (> $[@[arg1]num] 0) [^n [@[arg1]index] = (min (max 0 (- $[@[arg1]num] $[@[arg1]count])) $[@[arg1]index]) ^n loop i $[@[arg1]num] [^n arg7^n if (arg8) [^n if (&& (>= $i $[@[arg1]index]) (< $[@[arg1]list] $[@[arg1]count])) [^n if (> $numargs 10) arg11^n [@[arg1]list] = (+ $[@[arg1]list] 1)^n ]^n [@[arg1]disp] = (+ $[@[arg1]disp] 1)^n ]^n ]^n ] [guistrut (-f (*f $arg4 $arg2) 1); arg9; [@[arg1]list] = $arg2]^n ] [guistrut (-f (*f $arg4 $arg2) 1); arg9; [@[arg1]list] = $arg2]^n [@[arg1]alts] = (- $[@[arg1]count] $[@[arg1]list])^n if (> $[@[arg1]alts] 0) [guistrut (*f $[@[arg1]alts] $arg4)]^n ]^n guistrut 2^n guislider [@[arg1]index] 0 (max (- $[@[arg1]disp] $[@[arg1]count]) 0) [] 1 1^n ]^n arg12^n ]^n n/a
guibox <#undocumented#> #undocumented# string alias ^n guispring 1^n guilist [^n guilist [^n guispring 1^n guilist [^n guispring 1^n arg1^n guispring 1^n ]^n guispring 1^n ]^n guistrut 2^n guilist [^n ^n guispring 1^n arg2^n guispring 1^n arg3^n ]^n ]^n guispring 1^n n/a
guicenter <#undocumented#> #undocumented# string alias guilist [ guispring 1; arg1; guispring 1 ] n/a
guicenterx <#undocumented#> #undocumented# string alias guispring 1; arg1; guispring 1 n/a
guicenterz <#undocumented#> #undocumented# string alias guilist [ guispring 1; guilist [ arg1 ]; guispring 1 ] n/a
guicheckbox2 <#undocumented#> #undocumented# string alias ^n guistayopen [ guibutton $arg1 [case $@arg2 0 [@@arg2 1] 1 (? @arg3 [@@arg2 2] [@@arg2 0]) 2 [@@arg2 0]] [] (case $$arg2 0 [result ^"checkbox^"] 1 [result ^"checkboxon^"] 2 [result ^"checkboxtwo^"]) ]^n n/a
guicontainer <#undocumented#> #undocumented# string alias guilist [ guilist [ if (arg1) [arg2] [arg3] ] ] n/a
guilistloop <#undocumented#> #undocumented# string alias ^n i = 0^n j = (+ (div $arg3 (* $arg1 $arg2)) 1)^n loop a $j [^n if (> $a 0) [ guitab $a ]^n guilist [^n loop b $arg1 [^n guilist [^n loop c $arg2 [^n if (< $i $arg3) [^n arg4^n i = (+ $i 1)^n if (< $c (- $arg2 1)) [ guibar ]^n ]^n ]^n ]^n if (&& (< $i $arg3) (< $b (- $arg1 1))) [ guibar ]^n ]^n ]^n ]^n n/a
guilistsplit <#undocumented#> #undocumented# string alias ^n guilist [^n gli = 0^n gll = (listlen $arg3)^n glz = (div (+ $gll (- $arg2 1)) $arg2)^n loop gla $arg2 [^n guilist [^n glt = (min (+ $gli $glz) $gll)^n while [< $gli $glt] [^n $arg1 = (at $arg3 $gli)^n arg4^n gli = (+ $gli 1)^n ]^n ]^n if (< (+ $gla 1) $arg2) [arg5]^n ]^n ]^n n/a
guilistx <#undocumented#> #undocumented# string alias ^n if (> $arg1 0) [ guilist [ guilistx (- $arg1 1) $arg2 ] ] [ @arg2 ]^n n/a
guiloopsplit <#undocumented#> #undocumented# string alias ^n guilist [^n gli = 0^n glz = (div (+ $arg3 (- $arg2 1)) $arg2)^n loop gla $arg2 [^n guilist [^n glt = (min (+ $gli $glz) $arg3)^n while [< $gli $glt] [^n $arg1 = $gli^n arg4^n gli = (+ $gli 1)^n ]^n ]^n if (< (+ $gla 1) $arg2) [arg5]^n ]^n ]^n n/a
guimerge <#undocumented#> #undocumented# string alias guibody [guilist [guilist [guistrut $arg1]; guilist [arg2]]] $arg3 $arg4 $arg5 n/a
guimodes <#undocumented#> #undocumented# string alias ^n guicenter [ guitext (modedesc @arg1 @arg2 5) ]^n if (> $arg2 0) [^n loop i $mutsidxnum [^n mut = (<< 1 $i)^n if (&& [& $arg2 $mut] [! (& (mutsimplied $arg1) $mut)]) [^n muttxt = (mutsdesc $arg1 $mut 4)^n if (strlen $muttxt) [ guicenter [ guitext (concatword ^"^^fa^" $muttxt) ] ]^n ]^n ]^n ]^n n/a
guione <#undocumented#> #undocumented# string alias ^n guispring 1^n guilist [^n guispring 1^n guilist [^n ^n arg1^n ]^n guispring 1^n ]^n guispring 1^n n/a
guipage <#undocumented#> #undocumented# string alias guistayopen [guiarea $arg1 $arg2 $arg3 $arg4 $arg5 $arg6 $arg7 $arg8 $arg9 $arg10 $arg11 $arg12] n/a
guiradio2 <#undocumented#> #undocumented# string alias ^n guistayopen [ guibutton $arg1 [@arg2 @arg3] [] (? (= $$arg2 $arg3) ^"radioboxon^" ^"radiobox^") ]^n n/a
guiright <#undocumented#> #undocumented# string alias guilist [ guispring 1; arg1 ] n/a
guitip <#undocumented#> #undocumented# string alias guistatus (format ^"TIP: ^^fa%1^" (? (> $numargs 0) [@arg1] (showtip))) n/a
i <#undocumented#> #undocumented# NULL alias NULL n/a
initentgui <#undocumented#> #undocumented# string alias ^n tmpt = (enttype)^n ^n tmp0 = (entattr 0)^n ^n tmp1 = (entattr 1)^n ^n tmp2 = (entattr 2)^n ^n tmp3 = (entattr 3)^n ^n n/a
insta <map> [<muts>] requests a map change to instagib deathmatch on a given map; [<muts>] optionally adds extra mutators according to bitwise mutator values, conveniently set using a sum of $mutsbit* vars, example: insta bath (+ $mutsbitduel $mutsbitmedieval) string alias instagib $arg1 $arg2 n/a IDF_COMPLETE
instagib <map> [<muts>] requests a map change to instagib deathmatch on a given map; [<muts>] optionally adds extra mutators according to bitwise mutator values, conveniently set using a sum of $mutsbit* vars, example: instagib bath (+ $mutsbitduel $mutsbitmedieval) string alias start $arg1 $modeidxdeathmatch (+ $mutsbitinstagib $arg2) n/a IDF_COMPLETE
ircchan0 <#undocumented#> #undocumented# NULL alias NULL n/a IDF_UNKNOWN
irchost0 <#undocumented#> #undocumented# NULL alias NULL n/a IDF_UNKNOWN
ircident <#undocumented#> #undocumented# string alias 0 n/a
ircname0 <#undocumented#> #undocumented# NULL alias NULL n/a IDF_UNKNOWN
ircnick0 <#undocumented#> #undocumented# NULL alias NULL n/a IDF_UNKNOWN
ircport0 <#undocumented#> #undocumented# NULL alias NULL n/a IDF_UNKNOWN
j <#undocumented#> #undocumented# NULL alias NULL n/a IDF_UNKNOWN
kaboom <map> [<muts>] requests a map change to kaboom deathmatch on a given map; [<muts>] optionally adds extra mutators according to a bitwise mutator values, conveniently set using a sum of $mutsbit* vars, example: kaboom bath (+ $mutsbitinstagib $mutsbitfreestyle) string alias start $arg1 $modeidxdeathmatch (+ $mutsbitkaboom $arg2) n/a IDF_COMPLETE
ladder [<filter>] modifies the material properties for the selected cubes; <filter> limits the command to only affect cubes whose material match this {water, clip, ladder, etc.} string alias editmat ladder $arg1 n/a IDF_COMPLETE
lastmode <#undocumented#> #undocumented# string alias -1 n/a
lastmuts <#undocumented#> #undocumented# string alias 0 n/a
lasttip <#undocumented#> #undocumented# integer alias 1 n/a
lava [<filter>] modifies the material properties for the selected cubes; <filter> limits the command to only affect cubes whose material match this {water, clip, ladder, etc.} string alias editmat lava $arg1 n/a IDF_COMPLETE
lava2 [<filter>] modifies the material properties for the selected cubes; <filter> limits the command to only affect cubes whose material match this {water, clip, ladder, etc.} string alias editmat lava2 $arg1 n/a IDF_COMPLETE
lava3 [<filter>] modifies the material properties for the selected cubes; <filter> limits the command to only affect cubes whose material match this {water, clip, ladder, etc.} string alias editmat lava3 $arg1 n/a IDF_COMPLETE
lava4 [<filter>] modifies the material properties for the selected cubes; <filter> limits the command to only affect cubes whose material match this {water, clip, ladder, etc.} string alias editmat lava4 $arg1 n/a IDF_COMPLETE
lazyshader <#undocumented#> #undocumented# string alias ^n defershader $arg1 $arg2 [^n shader @arg1 @arg2 [@@arg3] [@@arg4]^n ]^n n/a
lightcmd <#undocumented#> #undocumented# string alias ^n lightr = (at $lightrgb 0)^n lightg = (at $lightrgb 1)^n lightb = (at $lightrgb 2)^n if (! $lightbright) [^n if (=s $lightrgb ^"255 255 255^") [^n lightr = 192; lightg = 192; lightb = 192^n ] [^n lightr = (div $lightr 2); lightg = (div $lightg 2); lightb = (div $lightb 2)^n ]^n ]^n result (concat newent light $lightradius $lightr $lightg $lightb)^n n/a
livesupport <#undocumented#> #undocumented# string alias 0 n/a
lmcoordscale <#undocumented#> #undocumented# float alias 3.051851e-05 n/a
lms <map> [<muts>] requests a map change to survivor deathmatch on a given map; [<muts>] optionally adds extra mutators according to a bitwise mutator values, conveniently set using a sum of $mutsbit* vars, example: lms bath (+ $mutsbitinstagib $mutsbitmedieval) string alias survivor $arg1 $arg2 n/a IDF_COMPLETE
loadsky <#undocumented#> #undocumented# string alias ^n skybox $arg1^n if (> $numargs 1) [spinsky $arg2]^n if (> $numargs 2) [yawsky $arg3]^n n/a IDF_COMPLETE
loadweapinit <#undocumented#> #undocumented# string alias ^n playerprevlweap = ^"^"^n break = 0^n loopwhile i $weapidxloadout [= $break 0] [^n q = (getloadweap $i)^n if (< $q 0) [ break = 1 ] [ playerprevlweap = (? $i (concat $playerprevlweap $q) $q) ]^n ]^n n/a
loadweapmenu <#undocumented#> #undocumented# string alias ^n guibackground^n guicenter [^n guistayopen [^n gdw = 0^n gdl = (listlen $playerprevlweap)^n loop w2 $weapidxloadout [^n w3 = (? (> $gdl $w2) (at $playerprevlweap $w2) -1)^n hi = (mod $w2 2)^n al = (|| (= $w3 0) (allowedweap $w3))^n guilist [^n guibackground (? (&& $al (< $gdw $maxcarry)) 0x303030 0x000000)^n guistrut 0.25^n guicenter [ guitext (format ^"%1%2^" (? $hi ^"^^fd^" ^"^^fw^") (+ $w2 1)) ]^n guistrut 0.5^n guilist [^n if (= $w3 0) [ guibackground 0xFFFFFF 0.01 0xFFFFFF 1 1 ]^n guistrut 0.125^n guiimage [textures/question] [loadweaps @w2 0] 0.75 0 [textures/blank] [] (? (= $w3 0) 0xFFFFFF 0x808080)^n guistrut 0.125^n ] ^n loop w1 $weapidxloadout [^n w4 = (+ $w1 $weapidxoffset)^n w5 = (at $weapname $w4)^n guilist [^n if (= $w3 $w4) [ guibackground 0xFFFFFF 0.01 $[@[w5]colour] 1 1 ]^n guistrut 0.125^n guiimage (? (allowedweap $w4) [textures/weapons/@w5] [textures/warning]) [loadweaps @w2 @w4] 0.75 0 [textures/blank] [] (? (= $w3 $w4) $[@[w5]colour] 0x808080)^n guistrut 0.125^n ] ^n ]^n ]^n if $al [ gdw = (+ $gdw 1) ]^n ]^n ]^n ]^n n/a
loadweaps <#undocumented#> #undocumented# string alias ^n lwa = ^"^"^n lwl = (listlen $playerprevlweap)^n lwo = (? (> $lwl $arg1) (at $playerprevlweap $arg1) -1)^n loop lw2 $weapidxloadout [^n if (= $lw2 $arg1) [^n lwa = (? $lw2 (concat $lwa $arg2) $arg2)^n ] [^n lw3 = (? (> $lwl $lw2) (at $playerprevlweap $lw2) -1)^n if (&& $lw3 (= $arg2 $lw3)) [ lw3 = $lwo ]^n lwa = (? $lw2 (concat $lwa $lw3) $lw3)^n ]^n ]^n if (listlen $lwa) [ playerprevlweap = $lwa ]^n n/a
lse <#undocumented#> #undocumented# string alias ^n line = ^"^"^n count = 0^n entloop [^n line = ( concatword $line (entget) ^" ^" )^n count = ( + $count 1 )^n if (> $count 4) [^n echo $line^n line = ^"^"^n count = 0^n ]^n ]^n if (> $count 0 ) [ echo $line ]^n echo (enthavesel) entities selected^n n/a IDF_COMPLETE
m <#undocumented#> #undocumented# integer alias 2 n/a
macro <#undocumented#> #undocumented# string alias $arg1 = (concat [format [@@arg2]] (loopconcat i $numargs [result [$arg@(+ $i 1)]])) n/a
mapcomplete <command> enables map completion for a given command or alias; this enables tab-completion for the first argument of an already existing command or alias, the completion uses files that ends with 'mpz' in the 'maps' folders of the game's homedir, and its data dir(s) string alias setcomplete $arg1 1; complete $arg1 maps mpz n/a
mapcur <#undocumented#> #undocumented# string alias n/a
mapextra <#undocumented#> #undocumented# string alias n/a
mapfavs <#undocumented#> #undocumented# string alias n/a IDF_PERSIST IDF_COMPLETE
mapimg <#undocumented#> #undocumented# string alias n/a
mapindex <#undocumented#> #undocumented# string alias 0 n/a
maplist <#undocumented#> #undocumented# string alias n/a
mapmodelnum <#undocumented#> #undocumented# NULL alias NULL n/a IDF_UNKNOWN
mapmsg <#undocumented#> #undocumented# string alias maptitle $arg1 n/a IDF_COMPLETE
mapnum <#undocumented#> #undocumented# string alias -1 n/a
mapocta <#undocumented#> #undocumented# string alias 0 n/a
mappath <#undocumented#> #undocumented# string alias n/a
mappth <#undocumented#> #undocumented# string alias n/a
mapscount <#undocumented#> #undocumented# string alias 20 n/a
mapselected <#undocumented#> #undocumented# string alias 0 n/a
mapsexec <#undocumented#> #undocumented# string alias ^n sleep 1 [^n if (isconnected) [ showgui maps 2 ]^n start @arg1 @arg2 @arg3^n ]^n n/a
mapsmenu <#undocumented#> #undocumented# string alias ^n guilist [^n guistrut 70 1^n guilist [^n guilist [^n guilist [^n guistrut 3 1^n guilist [^n guistrut 38 1^n if (< $lastmode 0) [^n guifont ^"emphasis^" [ guitext ^"game select^" ]^n guitext ^"please select a mode and map to continue^"^n ] [^n gname = (gamename $modeselected $mutsselected 0 32)^n guilist [^n guifont ^"emphasis^" [ guitext $gname ]^n if (&& (strlen $mapcur) (= $modeselected $modeidxdemo)) [^n dinfo = (demoscan (format ^"%1.dmo^" $mappth))^n dmode = (demoinfo $dinfo 2)^n dmuts = (demoinfo $dinfo 3)^n dname = (gamename $dmode $dmuts 0 32)^n guicenter [ guifont ^"little^" [ guitext (format ^" (^^fs^^fa%1^^fS)^" $dname) ] ]^n ]^n ]^n guilist [^n if (strlen $mapcur) [^n guitext ^" ^^faselected on ^";^n guitext $mapcur^n if (= $modeselected $modeidxdemo) [^n dinfo = (demoscan (format ^"%1.dmo^" $mappth))^n dmapname = (demoinfo $dinfo 1)^n guicenter [ guifont ^"little^" [ guitext (format ^" (^^fs^^fa%1^^fS)^" $dmapname) ] ]^n ]^n ] [ guitext ^"please select a map to continue^" ]^n ]^n ]^n guistrut 0.125^n guilist [^n guispring^n guistayopen [ guibutton ^"^^fvpick random^" [^n pickrandom = 1^n nummodes = 0^n cntmodes = (- $modeidxnum $modeidxplay)^n modeselected = (+ (rnd $cntmodes) $modeidxplay)^n while [&& [ismodelocked $modeselected] [<= $nummodes $cntmodes]] [^n modeselected = (+ $modeselected 1)^n if (>= $modeselected $modeidxnum) [ modeselected = $modeidxplay ]^n nummodes = (+ $nummodes 1)^n ]^n mutsselected = (rnd (+ $mutsbitall 1))^n loop g $mutsidxnum [^n q = (<< 1 $g)^n if (ismodelocked $modeselected $q) [ mutsselected = (&~ $mutsselected $q) ]^n ]^n ] ]^n guispring^n if (isconnected) [^n guistayopen [^n guibutton ^"^^focopy current^" [^n copycurrent = 1^n modeselected = (gamemode)^n if (< (mutators) 0) [ mutsselected = 0 ] [ mutsselected = (mutscheck $modeselected (mutators)) ]^n ]^n ]^n guispring^n ]^n guistayopen [ guibutton ^"^^fyreset selection^" [^n resetselection = 1^n modeselected = -1^n mutsselected = 0^n mapnum = -1^n mapcur = ^"^"^n mappth = ^"^"^n mapimg = ^"^"^n mapdmo = ^"^"^n ] ]^n guispring^n ]^n guistrut 0.125^n ]^n ]^n guilist [^n guilist [^n guifont ^"emphasis^" [ guitext ^"mode^" ]^n guistrut 0.25^n loop z $modeidxnum [^n modevar (at $modename $z) modeselected mutsselected $z mapcur^n ]^n ]^n guistrut 3^n guilist [^n guistayopen [^n guiimage $mapimg [if (strlen $mapcur) [ mapsexec @mapcur @modeselected @mutsselected ] [ conout 1 ^"you have not selected a map^" ] ] 5 1 ^"textures/emblem^"^n ]^n ]^n ]^n guifont ^"emphasis^" [ guitext ^"mutators^" ]^n guistrut 0.25^n cnt = (- $mutsidxnum $mutsidxgsn)^n guiloopsplit n 3 $cnt [^n mutsvar (at $mutsname $n) modeselected mutsselected (<< 1 $n) mapcur^n ] [ guistrut 3 ]^n if (> (strlen (gspmutname $modeselected 0)) 0) [^n guistrut 0.25^n guifont ^"emphasis^" [ guitext ^"mode specific^" ]^n guistrut 0.25^n guiloopsplit n 3 $mutsidxgsn [^n mut = (gspmutname $modeselected $n)^n if (strlen $mut) [^n mutsvar $mut modeselected mutsselected (<< 1 (+ $mutsidxgsp $n)) mapcur^n ]^n ] [ guistrut 3 ]^n ]^n ]^n guistrut 1^n guilist [^n guilist [^n guitext ^"available maps:^"^n if (> $hasoctapaks 0) [^n guispring^n guistayopen [^n guibutton ^"show sauer maps^" [^n mapocta = (! $mapocta)^n resetmapgui = 1^n ] [] (? (> $mapocta 0) ^"checkboxon^" ^"checkbox^")^n ]^n guispring 1^n guitext ^"fav^"^n guistrut 3^n ]^n ]^n guistrut 0.25^n guilist [^n guicontainer [1] [^n nummaps = (- (listlen $maplist) 1)^n guilist [^n guilist [^n guistrut $mapscount 1^n mapindex = (min (max 0 (- $nummaps $mapscount)) $mapindex) ^n mapnum = (min $mapnum $nummaps)^n guilist [^n guistrut 37 1^n break = 0^n loopwhile i $mapscount [= $break 0] [^n q = (+ $mapindex $i)^n curmap = (at $maplist $q)^n cases $curmap ^"*^" [^n guitext ^"maps not in the rotation:^"^n ] ^"~^" [^n guitext ^"maps played recently:^"^n ] ^".^" [^n guitext ^"maps from sauerbraten:^"^n ] ^"?^" [^n break = 1^n ] () [^n guilist [^n guiradio $curmap mapnum $q^n guispring 1^n guistayopen [^n hasmap = (>= (indexof (? (= $modeselected $modeidxdemo) $demofavs $mapfavs) $curmap) 0)^n guiimage (? $hasmap ^"textures/checkboxon^" ^"textures/checkbox^") [^n if (= $modeselected $modeidxdemo) [^n demofavs = (? @@hasmap (listdel $demofavs @@curmap) (concat (listdel $demofavs @@curmap) @@curmap))^n ] [^n mapfavs = (? @@hasmap (listdel $mapfavs @@curmap) (concat (listdel $mapfavs @@curmap) @@curmap))^n ]^n resetmapgui = 1^n ] 0.5 0 ^"textures/blank^"^n ]^n ]^n ]^n ]^n ]^n ]^n guilist [ guitext ^"custom map^" ]^n guilist [^n mapextraval = $mapextra^n mapextranum = $nummaps^n guiradio ^"^" mapnum $mapextranum^n guifield mapextraval 34 [mapextra = $mapextraval; mapnum = $mapextranum] -1 0 ^"^" 0 ^"^^fd<enter map name>^"^n ]^n ]^n guislider mapindex 0 (max (- $nummaps $mapscount) 0) [] 1 1^n ] [^n guistrut 40.25^n guistrut (+f $mapscount 2) 1^n ]^n ]^n ]^n ]^n guistrut 0.25^n guilist [^n if (! (isonline)) [^n guitext ^"server type:^"; guistrut 0.5^n guiradio ^"offline^" servertype 0; guistrut 0.5^n guiradio ^"private^" servertype 1; guistrut 0.5^n guiradio ^"public^" servertype 2^n ]^n guispring 1^n if (>= $lastmode 0) [^n if (strlen $mapcur) [^n guifont ^"default^" [^n guistayopen [ guibutton (? (isonline) ^"^^fgsubmit this vote^" ^"^^fgstart local game^") [ mapsexec $mapcur $modeselected $mutsselected ] ]^n ]^n guistrut 14^n ] [ guifont ^"default^" [ guitext ^"^^fy.. pick a map to continue ..^" ]; guistrut 10 ]^n ] [ guifont ^"default^" [ guitext ^"^^fy.. pick a mode and map to continue ..^" ]; guistrut 6 ]^n ]^n guivisible [^n cases (at $guirolloveraction 0) ^"modeselected^" [^n guitooltip (modedesc (at $guirolloveraction 2) $mutsselected 3)^n ] ^"mutate^" [^n guitooltip (mutsdesc $modeselected (at $guirolloveraction 2) 3)^n ] ^"implied^" [^n guitooltip ^"this is forced on by the current configuration^"^n ] ^"disabled^" [^n guitooltip ^"this is disabled by the current configuration^"^n ]^n guitip (format ^"press %1 to open this menu at any time^" (dobindsearch ^"showgui maps 1^"))^n ]^n ]^n n/a
mapsmenuinit <#undocumented#> #undocumented# string alias ^n modeselected = -1^n mutsselected = 0^n mapindex = 0^n lastmode = -1^n lastmuts = 0^n mapnum = -1^n mapcur = ^"^"^n mappth = ^"^"^n maplist = ^"^"^n mappath = ^"^"^n mapextra = ^"^"^n mapimg = ^"^"^n mapocta = 0^n resetmapgui = 1^n nummodes = 0^n curmode = 0^n loop g (- $modeidxnum 1) [^n q = (+ $g 1)^n if (! (ismodelocked $q)) [ nummodes = (+ $nummodes 1); curmode = $q ]^n ]^n if (= $nummodes 1) [ modeselected = $curmode ]^n n/a
mapsmenuiter <#undocumented#> #undocumented# string alias ^n if (|| [!= $lastmode $modeselected] [!= $lastmuts $mutsselected]) [ resetmapgui = 1 ]^n if (= $resetmapgui 1) [^n maprot = 0^n maplist = ^"^"^n mappath = ^"^"^n if (= $modeselected $modeidxdemo) [^n mutsselected = 0^n demofavs = (sortlist $demofavs a b [<s $a $b])^n filelist = (sortlist (listfiles demos dmo) a b [<s $a $b])^n loop q 2 [^n looplist lcurmap $filelist [^n if (? $q (< (listfind xcurmap $demofavs [strcmp $xcurmap $lcurmap]) 0) (>= (listfind xcurmap $demofavs [strcmp $xcurmap $lcurmap]) 0)) [^n append maplist $lcurmap^n append mappath [demos/@lcurmap]^n ]^n ]^n ]^n maprot = (listlen $maplist)^n append maplist ^"?^"^n append mappath ^"?^"^n ] [^n mutsselected = (mutscheck $modeselected $mutsselected)^n mapfavs = (sortlist $mapfavs a b [<s $a $b])^n curlist = (sortlist (? (>= $modeselected $modeidxplay) (getmaplist $modeselected $mutsselected (? (isonline) (listlen (listclients 1)) 0)) $allowmaps) a b [<s $a $b])^n curprev = (sortlist (sublist $previousmaps 0 $maphistory) a b [<s $a $b])^n loop q 2 [^n looplist lcurmap $curlist [^n if (< (listfind pcurmap $curprev [strcmp $pcurmap $lcurmap]) 0) [^n if (? $q (< (listfind xcurmap $mapfavs [strcmp $xcurmap $lcurmap]) 0) (>= (listfind xcurmap $mapfavs [strcmp $xcurmap $lcurmap]) 0)) [^n append maplist $lcurmap^n append mappath [maps/@lcurmap]^n ]^n ]^n ]^n ]^n maprot = (listlen $maplist)^n wantlist = 1^n looplist lcurmap $curprev [^n if $wantlist [^n append maplist ^"~^"^n append mappath ^"~^"^n wantlist = 0^n ]^n append maplist $lcurmap^n append mappath [maps/@lcurmap]^n ]^n wantlist = 1^n filelist = (sortlist (listfiles maps mpz) a b [<s $a $b])^n loop q 2 [^n looplist lcurmap $filelist [^n if (< (listfind mcurmap $maplist [strcmp $mcurmap $lcurmap]) 0) [^n if (? $q (< (listfind xcurmap $mapfavs [strcmp $xcurmap $lcurmap]) 0) (>= (listfind xcurmap $mapfavs [strcmp $xcurmap $lcurmap]) 0)) [^n if $wantlist [^n append maplist ^"*^"^n append mappath ^"*^"^n wantlist = 0^n ]^n append maplist $lcurmap^n append mappath [maps/@lcurmap]^n ]^n ]^n ]^n ]^n if (&& [> $mapocta 0] [> $hasoctapaks 0]) [^n wantlist = 1^n filelist = (sortlist (listfiles base ogz) a b [<s $a $b])^n loop q 2 [^n looplist lcurmap $filelist [^n if (? $q (< (listfind xcurmap $mapfavs [strcmp $xcurmap $lcurmap]) 0) (>= (listfind xcurmap $mapfavs [strcmp $xcurmap $lcurmap]) 0)) [^n if $wantlist [^n append maplist ^".^"^n append mappath ^".^"^n wantlist = 0^n ]^n append maplist $lcurmap^n append mappath [base/@lcurmap]^n ]^n ]^n ]^n ]^n append maplist ^"?^"^n append mappath ^"?^"^n mapnum = (listfind curmap $maplist [^n || [=s $curmap $mapcur] [=s [maps/@curmap] $mapcur] [^n && [> $hasoctapaks 0] [> $mapocta 0] [=s [base/@curmap] $mapcur]^n ]^n ])^n ]^n mapcount = (listlen $maplist)^n if (! $maprot) [ maprot = $mapcount ]^n lastmode = $modeselected^n lastmuts = $mutsselected^n mapindex = 0^n resetmapgui = 0^n ]^n if (|| [< $mapnum 0] [>= $mapnum $mapcount]) [^n mapnum = -1^n mapcur = ^"^"^n mappth = ^"^"^n mapdmo = ^"^"^n mapimg = ^"^"^n ] [^n if (=s (at $maplist $mapnum) ^"?^") [^n mapcur = $mapextra^n if (= $modeselected $modeidxdemo) [^n mappth = [demos/@mapcur]^n mapdmo = (demoscan (format ^"%1.dmo^" $mappth))^n mapimg = (? (>= $mapdmo 0) (format ^"maps/%1^" (demoinfo $mapdmo 1)) ^"textures/emblem^")^n ] [^n mappth = $mapextra^n mapimg = $mapextra^n ]^n ] [^n mapcur = (at $maplist $mapnum)^n mappth = (at $mappath $mapnum)^n if (= $modeselected $modeidxdemo) [^n mapdmo = (demoscan (format ^"%1.dmo^" $mappth))^n mapimg = (? (>= $mapdmo 0) (format ^"maps/%1^" (demoinfo $mapdmo 1)) ^"textures/emblem^")^n ] [^n mapimg = (at $mappath $mapnum)^n ]^n ] ]^n n/a
matmenu <#undocumented#> #undocumented# string alias ^n guicheckbox ^"show material volumes^" ^"showmat^"^n guitext ^" ^"^n guibutton ^"air key Numpad 1^" ^"editmat air^"^n guibutton ^"alpha key Numpad 2^" ^"editmat alpha^"^n guibutton ^"water key Numpad 3^" ^"editmat water^"^n guibutton ^"lava key Numpad 4^" ^"editmat lava^"^n guibutton ^"clip key Numpad 5^" ^"editmat clip^"^n guibutton ^"noclip key Numpad 6^" ^"editmat noclip^"^n guibutton ^"aiclip key Numpad 7^" ^"editmat aiclip^"^n guibutton ^"death key Numpad 8^" ^"editmat death^"^n guibutton ^"ladder key Numpad 9^" ^"editmat ladder^"^n^n n/a
mcurcrosshair <#undocumented#> #undocumented# NULL alias NULL n/a IDF_UNKNOWN
mdlopt <#undocumented#> #undocumented# string alias >= (strstr $modeltype $arg1) 0 n/a
mdm <map> [<muts>] requests a map change to multi deathmatch on a given map; [<muts>] optionally adds extra mutators according to bitwise mutator values, conveniently set using a sum of $mutsbit* vars, example: mdm bath (+ $mutsbitinstagib $mutsbitmedieval) string alias multidm $arg1 $arg2 n/a IDF_COMPLETE
medieval <map> [<muts>] requests a map change to medieval deathmatch on a given map; [<muts>] optionally adds extra mutators according to bitwise mutator values, conveniently set using a sum of $mutsbit* vars, example: medieval bath (+ $mutsbitinstagib $mutsbitfreestyle) string alias start $arg1 $modeidxdeathmatch (+ $mutsbitmedieval $arg2) n/a IDF_COMPLETE
mntmod <#undocumented#> #undocumented# NULL alias NULL n/a IDF_UNKNOWN
modelfragmentshader <#undocumented#> #undocumented# string alias ^n modeltype = $arg1^n result [^n @fpstart^n OPTION ARB_fog_linear;^n ATTRIB dtc = fragment.texcoord[0];^n @(if (mdlopt ^"n^") [if (mdlopt ^"e^") [result [^n PARAM lightdir = program.env[1];^n ]] [result [^n ATTRIB lightdir = fragment.texcoord[1];^n ]]])^n @(if (mdlopt ^"s^") [result [^n @(if (&& (! (mdlopt ^"n^")) (! (mdlopt ^"i^"))) [result [^n PARAM lightdir = program.env[0];^n ]])^n PARAM specfactor = @(if (mdlopt ^"i^") 256 128);^n ]])^n @(if (&& (|| (mdlopt ^"s^") (mdlopt ^"n^")) (! (mdlopt ^"i^"))) [result ^"PARAM lightscale = program.env[2];^"])^n @(if (|| (mdlopt ^"s^") (mdlopt ^"m^")) [result ^"PARAM maskscale = program.env[4];^"])^n PARAM lightmaterial = program.env[6];^n^n TEMP light;^n TEX light, dtc, texture[0], 2D;^n^n @(if (mdlopt ^"m^") [result [^n PARAM lightmaterial2 = program.env[7];^n TEMP masks, mat, glow;^n TEX masks, dtc, texture[1], 2D;^n LRP mat.rgb, masks.a, lightmaterial, lightmaterial2; ^n MUL light.rgb, light, mat;^n MUL glow.rgb, light, maskscale.y;^n ]] [result [^n MUL light.rgb, light, lightmaterial;^n ]])^n^n @(if (mdlopt ^"n^") [if (mdlopt ^"e^") [result [^n TEMP normal, normts;^n TEX normts, dtc, texture[3], 2D;^n SUB normts.xyz, normts, 0.5;^n MUL normal.xyz, normts.x, fragment.texcoord[2];^n MAD normal.xyz, normts.y, fragment.texcoord[3], normal;^n MAD normal.xyz, normts.z, fragment.texcoord[4], normal;^n @(normalize normal normal)^n ]] [result [^n TEMP normal;^n TEX normal, dtc, texture[3], 2D;^n SUB normal.xyz, normal, 0.5;^n @(normalize normal normal)^n ]]])^n^n @(if (mdlopt ^"s^") [result [^n TEMP spec, halfangle;^n @(if (mdlopt ^"n^") [^n if (mdlopt ^"e^") [result [^n ADD halfangle, lightdir, fragment.texcoord[1];^n @(normalize halfangle halfangle)^n ]] [result [^n @(normalize halfangle fragment.texcoord[2])^n ]]^n ] [result [^n TEMP normal;^n @(normalize normal fragment.texcoord[1])^n @(normalize halfangle fragment.texcoord[2])^n ]])^n DP3_SAT spec.x, halfangle, normal;^n POW spec.x, spec.x, specfactor.x;^n MUL spec.x, spec.x, maskscale.x;^n @(if (mdlopt ^"m^") [result ^"MUL spec.x, spec.x, masks.r;^"]) ^n ]])^n^n @(if (mdlopt ^"i^") [^n if (mdlopt ^"s^") [result [^n MUL spec.x, spec.x, maskscale.z;^n MUL @(if (mdlopt ^"m^") [result ^"light.rgb^"] [result ^"result.color.rgb^"]), spec.x, fragment.color;^n ]] [^n if (! (mdlopt ^"m^")) [result ^"MOV result.color.rgb, 0;^"]^n ]^n ] [result [^n @(if (|| (mdlopt ^"s^") (mdlopt ^"n^")) [result [^n TEMP intensity;^n DP3 intensity.y, normal, lightdir;^n MAD intensity.x, intensity.y, lightscale.x, lightscale.y;^n MAD_SAT intensity.x, intensity.y, intensity.x, lightscale.z;^n ]])^n @(if (mdlopt ^"s^") [result [^n MAD light.rgb, intensity.x, light, spec.x;^n ]] [if (mdlopt ^"n^") [result [^n MUL light.rgb, intensity.x, light;^n ]]])^n MUL @(if (mdlopt ^"m^") [result ^"light.rgb^"] [result ^"result.color^"]), light, fragment.color;^n ]])^n^n @(if (mdlopt ^"m^") [result [^n @(if (mdlopt ^"e^") [result [^n LRP light.rgb, masks.g, glow, light;^n^n TEMP reflect;^n @(if (mdlopt ^"n^") [result [^n TEMP camvec, invfresnel, rvec;^n @(normalize camvec fragment.texcoord[1])^n DP3 invfresnel.x, camvec, normal;^n MUL rvec.xyz, invfresnel.x, normal;^n MAD rvec.xyz, rvec, 2, -camvec;^n^n MAX invfresnel.x, invfresnel, 0;^n MAD invfresnel.x, program.env[3].x, invfresnel.x, program.env[3].y;^n^n TEX reflect, rvec, texture[2], CUBE;^n MUL masks.b, masks.b, invfresnel.x; ^n ]] [result [^n TEX reflect, fragment.texcoord[3], texture[2], CUBE;^n MUL masks.b, masks.b, fragment.texcoord[3].w; ^n ]])^n LRP result.color.rgb, masks.b, reflect, light;^n ]] [if (mdlopt ^"i^") [result [^n TEMP k;^n MUL k.x, masks.g, masks.g;^n MUL_SAT k.x, k.x, maskscale.w;^n @(if (mdlopt ^"s^") [result [^n MAD result.color.rgb, k.x, glow, light;^n ]] [result [^n MUL result.color.rgb, k.x, glow;^n ]])^n ]] [result [^n LRP result.color.rgb, masks.g, glow, light;^n ]]])^n ]])^n^n @(if (|| (mdlopt ^"m^") || (mdlopt ^"i^")) [result [^n MUL result.color.a, light.a, fragment.color.a;^n ]])^n^n END^n ]^n n/a
modelshader <#undocumented#> #undocumented# string alias ^n defershader 0 $arg1 [^n basemodeltype = [@@arg2]^n shader 0 @arg1 (modelvertexshader $basemodeltype) (modelfragmentshader $basemodeltype)^n loop i 4 [^n variantshader 0 @@arg1 0 (modelvertexshader (concatword ^"B^" $basemodeltype) (+ $i 1)) []^n variantshader 0 @@arg1 1 (modelvertexshader (concatword ^"b^" $basemodeltype) (+ $i 1)) []^n ]^n glaremodeltype = (strreplace (concatword $basemodeltype ^"i^") ^"e^")^n if (< (strstr $glaremodeltype ^"s^") 0) [glaremodeltype = (strreplace $glaremodeltype ^"n^")]^n variantshader 0 @arg1 2 (modelvertexshader $glaremodeltype) (modelfragmentshader $glaremodeltype)^n loop i 4 [^n variantshader 0 @@arg1 2 (modelvertexshader (concatword ^"B^" $glaremodeltype) (+ $i 1)) 2^n variantshader 0 @@arg1 3 (modelvertexshader (concatword ^"b^" $glaremodeltype) (+ $i 1)) 2^n ]^n ]^n n/a
modelvertexshader <#undocumented#> #undocumented# string alias ^n modeltype = $arg1^n result [^n @(if (|| (mdlopt ^"b^") (mdlopt ^"B^")) [result [^n !!ARBvp1.0^n ATTRIB spos = vertex.position;^n ATTRIB snormal = vertex.normal;^n @(if (mdlopt ^"n^") [result ^"ATTRIB stangent = vertex.attrib[1];^"])^n ]] [result [^n @vpstart^n ATTRIB onormal = vertex.normal;^n @(if (mdlopt ^"n^") [result ^"ATTRIB otangent = vertex.attrib[1];^"])^n ]])^n PARAM ocampos = program.env[1];^n PARAM lightdir = program.env[0];^n PARAM lightscale = program.env[2];^n^n @(if (mdlopt ^"B^") [skelmatanim $arg2 1 (mdlopt ^"n^")])^n @(if (mdlopt ^"b^") [skelquatanim $arg2 1 (mdlopt ^"n^")])^n @(if (|| (mdlopt ^"b^") (mdlopt ^"B^")) [result [^n DP4 result.position.x, opos, state.matrix.mvp.row[0];^n DP4 result.position.y, opos, state.matrix.mvp.row[1];^n DP4 result.position.z, opos, state.matrix.mvp.row[2];^n DP4 result.position.w, opos, state.matrix.mvp.row[3];^n ]])^n^n @(if (|| (mdlopt ^"n^") (mdlopt ^"s^") (mdlopt ^"i^")) [result [^n MOV result.color, vertex.color;^n ]])^n ADD result.texcoord[0].xy, vertex.texcoord[0], program.env[5].yzww;^n^n @(if (|| (mdlopt ^"e^") (mdlopt ^"s^")) [result [^n TEMP camvec;^n SUB camvec, ocampos, opos;^n @(normalize camvec camvec)^n ]])^n^n @(if (mdlopt ^"n^") [^n if (mdlopt ^"e^") [result [^n DP3 result.texcoord[1].x, state.matrix.texture.row[0], camvec;^n DP3 result.texcoord[1].y, state.matrix.texture.row[1], camvec;^n DP3 result.texcoord[1].z, state.matrix.texture.row[2], camvec;^n^n ^n ^n TEMP wnormal, wtangent, wbitangent;^n DP3 wnormal.x, state.matrix.texture.row[0], onormal;^n DP3 wnormal.y, state.matrix.texture.row[1], onormal;^n DP3 wnormal.z, state.matrix.texture.row[2], onormal;^n MOV result.texcoord[4].xyz, wnormal;^n DP3 wtangent.x, state.matrix.texture.row[0], otangent;^n DP3 wtangent.y, state.matrix.texture.row[1], otangent;^n DP3 wtangent.z, state.matrix.texture.row[2], otangent;^n MOV result.texcoord[2].xyz, wtangent;^n XPD wbitangent.xyz, wnormal, wtangent;^n MUL result.texcoord[3].xyz, wbitangent, @(if (|| (mdlopt ^"b^") (mdlopt ^"B^")) [result ^"stangent.w^"] [result ^"otangent.w^"]);^n ]] [result [^n TEMP obitangent;^n XPD obitangent.xyz, onormal, otangent;^n MUL obitangent.xyz, obitangent, @(if (|| (mdlopt ^"b^") (mdlopt ^"B^")) [result ^"stangent.w^"] [result ^"otangent.w^"]);^n^n DP3 result.texcoord[1].x, lightdir, otangent;^n DP3 result.texcoord[1].y, lightdir, obitangent;^n DP3 result.texcoord[1].z, lightdir, onormal;^n^n @(if (mdlopt ^"s^") [result [^n TEMP halfangle;^n ADD halfangle.xyz, lightdir, camvec;^n DP3 result.texcoord[2].x, halfangle, otangent;^n DP3 result.texcoord[2].y, halfangle, obitangent;^n DP3 result.texcoord[2].z, halfangle, onormal;^n ]])^n ]]^n ] [result [^n @(if (mdlopt ^"s^") [result [^n MOV result.texcoord[1].xyz, onormal;^n ADD result.texcoord[2].xyz, lightdir, camvec;^n ]] [if (! (mdlopt ^"i^")) [result [^n TEMP light;^n DP3 light.y, onormal, lightdir;^n MAD light.x, light.y, lightscale.x, lightscale.y;^n MAD light.x, light.y, light.x, lightscale.z;^n MIN light.x, light.x, 1;^n MUL result.color.xyz, light.x, vertex.color;^n MOV result.color.w, vertex.color.w;^n ]]])^n @(if (mdlopt ^"e^") [result [^n TEMP rvec, invfresnel;^n DP3 invfresnel.x, camvec, onormal;^n MUL rvec.xyz, invfresnel.x, onormal;^n MAD rvec.xyz, rvec, 2, -camvec;^n DP3 result.texcoord[3].x, state.matrix.texture.row[0], rvec;^n DP3 result.texcoord[3].y, state.matrix.texture.row[1], rvec;^n DP3 result.texcoord[3].z, state.matrix.texture.row[2], rvec;^n MAX invfresnel.x, invfresnel.x, 0;^n MAD result.texcoord[3].w, program.env[3].x, invfresnel.x, program.env[3].y;^n ]])^n ]])^n^n @fogcoord^n^n END^n ]^n n/a
modeselected <#undocumented#> #undocumented# string alias -1 n/a
modevar <#undocumented#> #undocumented# string alias ^n local g m s^n guistayopen [ guilist [^n g = $arg4^n m = $$arg3^n s = $$arg5^n if (ismodelocked $g $m 0 $s) [ guinohitfx [ guibutton $arg1 [ disabled = @arg4 ] [] ^"checkdisable^" ] ] [^n guibutton $arg1 [@arg2 = @arg4] [] (? (= $$arg2 $arg4) ^"checkboxon^" ^"checkbox^")^n ]^n ] ]^n n/a
modifier <#undocumented#> #undocumented# string alias 0 n/a
multidm <map> [<muts>] requests a map change to multi deathmatch on a given map; [<muts>] optionally adds extra mutators according to bitwise mutator values, conveniently set using a sum of $mutsbit* vars, example: multidm bath (+ $mutsbitinstagib $mutsbitmedieval) string alias start $arg1 $modeidxdeathmatch (+ $mutsbitmulti $arg2) n/a IDF_COMPLETE
mutsselected <#undocumented#> #undocumented# string alias 0 n/a
mutsvar <#undocumented#> #undocumented# string alias ^n local g m s t^n guistayopen [ guilist [^n g = $$arg2^n m = $$arg3^n s = $$arg5^n if (< $g 0) [ guinohitfx [ guibutton $arg1 [ disabled = @arg4 ] [] ^"checkdisable^" ] ] [^n if (|| (& (mutsimplied $g $m) $arg4) (& $mutslockforce $arg4)) [^n guibutton $arg1 [ implied = @arg4 ] [] ^"checkboxtwo^"^n ] [^n if (ismodelocked $g (| $m $arg4) $arg4 $s) [ guinohitfx [ guibutton $arg1 [ disabled = @arg4 ] [] ^"checkdisable^" ] ] [^n t = (& $m $arg4)^n guibutton $arg1 [^n mutate = @arg4^n if @t [@@arg3 = @@(mutscheck $g (- $m $arg4))] [^n @@arg3 = @@(mutscheck $g (| $m $arg4) $arg4)^n ]^n ] [] (? $t ^"checkboxon^" ^"checkbox^")^n ]^n ]^n ]^n ] ]^n n/a
n <#undocumented#> #undocumented# integer alias 1 n/a
name <#undocumented#> #undocumented# string alias playername $arg1 n/a IDF_COMPLETE
newbrush <#undocumented#> #undocumented# string alias ^n brushmax = (+ $brushmax 1)^n do [^n brush_@brushmax = [^n brushname = [@@@arg1]^n clearbrush^n @@(if (> $numargs 1) [result [brushhandle @arg2 @arg3; brushverts [@@arg4]]])^n ]^n ]^n n/a
newentgui <#undocumented#> #undocumented# string alias ^n genentattributes [@arg1] [@arg2] [@arg3]^n newgui $arg1 [^n guitext $tmpt^n guibar^n @entattributes^n guitab type^n guilistsplit n 2 $enttypelist [^n guibutton $n [ entset @n ]^n ]^n ]^n n/a
newmapsize <#undocumented#> #undocumented# string alias 12 n/a
noautosave <#undocumented#> #undocumented# string alias 0 n/a
noclip [<filter>] modifies the material properties for the selected cubes; <filter> limits the command to only affect cubes whose material match this {water, clip, ladder, etc.} string alias editmat noclip $arg1 n/a IDF_COMPLETE
normalize <#undocumented#> #undocumented# string alias format [^n DP3 %1.w, %2, %2;^n RSQ %1.w, %1.w;^n MUL %1.xyz, %1.w, %2;^n] $arg1 $arg2 n/a
notepad <#undocumented#> #undocumented# string alias ^n if (> $numargs 0) [notepadfile = $arg1]^n showgui notepad^n n/a
notepadfile <#undocumented#> #undocumented# string alias untitled.txt n/a
notexturemodelvertexshader <#undocumented#> #undocumented# string alias ^n result [^n @(if (< $numargs 1) [result $vpstart] [result [^n !!ARBvp1.0^n ATTRIB spos = vertex.position;^n @arg1^n DP4 result.position.x, opos, state.matrix.mvp.row[0];^n DP4 result.position.y, opos, state.matrix.mvp.row[1];^n DP4 result.position.z, opos, state.matrix.mvp.row[2];^n DP4 result.position.w, opos, state.matrix.mvp.row[3];^n ]])^n^n MOV result.color, vertex.color;^n @fogcoord^n END^n ]^n n/a
nullbind <#undocumented#> #undocumented# string alias n/a
numcrosshairs <#undocumented#> #undocumented# NULL alias NULL n/a IDF_UNKNOWN
numvars <#undocumented#> #undocumented# NULL alias NULL n/a IDF_UNKNOWN
octamaps <#undocumented#> #undocumented# string alias ^n allowmaps ^"complex douze ot academy metl2 metl3 nmp8 refuge tartech kalking1 dock turbine fanatic_quake oddworld wake5 aard3c curvedm fragplaza pgdm kffa neondevastation hog2 memento neonpanic lostinspace DM_BS1 shindou sdm1 shinmei1 stemple powerplant phosgene oasis island metl4 ruby frozen ksauer1 killfactory corruption deathtek aqueducts orbe roughinery shadowed torment moonlite darkdeath orion nmp10 katrez_d thor frostbyte ogrosupply kmap5 thetowers guacamole tejen hades paradigm mechanic wdcd^"^n mainmaps ^"complex douze ot academy metl2 metl3 nmp8 refuge tartech kalking1 dock turbine fanatic_quake oddworld wake5 aard3c curvedm fragplaza pgdm kffa neondevastation hog2 memento neonpanic lostinspace DM_BS1 shindou sdm1 shinmei1 stemple powerplant phosgene oasis island metl4 ruby frozen ksauer1 killfactory corruption deathtek aqueducts orbe roughinery shadowed torment moonlite darkdeath orion nmp10 katrez_d thor frostbyte ogrosupply kmap5 thetowers guacamole tejen hades paradigm mechanic wdcd^"^n capturemaps ^"hallo reissen flagstone face-capture shipwreck dust2 urban_c berlin_wall akroseum valhalla damnation mach2 redemption tejen europium capture_night l_ctf forge campo wdcd sacrifice core_transfer recovery^"^n defendmaps ^"urban_c nevil_c fb_capture nmp9 c_valley lostinspace fc3 face-capture nmp4 nmp8 hallo monastery ph-capture hades fc4 relic frostbyte venice paradigm corruption asteroids ogrosupply reissen akroseum duomo capture_night c_egypt tejen dust2 campo killcore3 damnation arabic cwcastle river_c serenity^"^n bombermaps ^"hallo reissen flagstone face-capture shipwreck dust2 urban_c berlin_wall akroseum valhalla damnation mach2 redemption tejen europium capture_night l_ctf forge campo wdcd sacrifice core_transfer recovery^"^n holdmaps ^"complex douze ot academy metl2 metl3 nmp8 refuge tartech kalking1 dock turbine fanatic_quake oddworld wake5 aard3c curvedm fragplaza pgdm kffa neondevastation hog2 memento neonpanic lostinspace DM_BS1 shindou sdm1 shinmei1 stemple powerplant phosgene oasis island metl4 ruby frozen ksauer1 killfactory corruption deathtek aqueducts orbe roughinery shadowed torment moonlite darkdeath orion nmp10 katrez_d thor frostbyte ogrosupply kmap5 thetowers guacamole tejen hades paradigm mechanic wdcd^"^n n/a
okprofile <#undocumented#> #undocumented# string alias setinfo $playerprevname $playerprevcolour $playerprevmodel $playerprevvanity $playerprevlweap; cleargui 1 n/a
oldfloatspeed <#undocumented#> #undocumented# float alias 200.0 n/a
oldpassthroughcube <#undocumented#> #undocumented# string alias 0 n/a
oldpassthroughsel <#undocumented#> #undocumented# string alias 0 n/a
on_text <#undocumented#> #undocumented# string alias ^n id = 0^n reg = [@(filter $arg4)~] ^n loopwhile i $voices [= $id 0] [^n str = $[voice@(+ $i 1)str]^n if (strncasecmp $str $reg (strlen $str)) [ id = (+ $i 1) ]^n ]^n result (getalias [voice@[id]snd])^n n/a
opaquepaste <#undocumented#> #undocumented# string alias 1 n/a
outlinecolours <#undocumented#> #undocumented# string alias ^"255 255 255^" ^"0 0 0^" ^"80 80 255^" ^"0 127 255^" ^"255 80 80^" ^"255 0 255^" ^"80 255 80^" ^"255 255 80^" ^"OFF^" n/a
outlinestatus <#undocumented#> #undocumented# string alias 0 n/a
paintmodes <#undocumented#> #undocumented# string alias ^"off^" ^"overwrite blendmap^" ^"merge blendmap^" ^"max opacity to brush's^" ^"inverted merge^" ^"opacity multiplier (erasing)^" n/a
particleshader <#undocumented#> #undocumented# string alias ^n shader 0 $arg1 [^n @vpstart^n MOV result.texcoord[0], vertex.texcoord[0];^n MUL result.texcoord[1], vertex.color, program.env[4];^n^n @(if (>= (strstr $arg1 ^"soft^") 0) [result [^n TEMP projtc;^n DP4 projtc.x, state.matrix.mvp.row[0], opos;^n DP4 projtc.y, state.matrix.mvp.row[1], opos;^n DP4 projtc.w, state.matrix.mvp.row[3], opos;^n^n ADD projtc.xy, projtc, projtc.w;^n MUL projtc.xy, projtc, program.env[6];^n MOV result.texcoord[2].xyw, projtc;^n^n TEMP offset;^n MAD offset.xyz, vertex.texcoord[0], { 2.82842712474619, 2.82842712474619, 0, 0 }, { -1.4142135623731, -1.4142135623731, 1, 0 };^n MOV result.texcoord[3].xyz, offset;^n^n DP4 offset.z, state.matrix.modelview.row[2], -opos;^n MAD offset.z, offset.z, program.env[5].x, program.env[5].y;^n MOV result.texcoord[4].xyz, offset;^n ]])^n^n @fogcoord^n END^n ] [^n @fpstart^n OPTION ARB_fog_linear;^n TEMP diffuse;^n TEX diffuse, fragment.texcoord[0], texture[0], 2D;^n @(if (>= (strstr $arg1 ^"soft^") 0) [result [^n TEMP depth, offset;^n TXP depth, fragment.texcoord[2], texture[2], @(if (>= (strstr $arg1 ^"rect^") 0) [result ^"RECT^"] [result ^"2D^"]);^n DP3 offset.x, fragment.texcoord[3], fragment.texcoord[4];^n @(if (>= (strstr $arg1 ^"soft8^") 0) [result [^n DP4 depth.x, depth, program.env[6];^n SUB_SAT depth.x, depth.x, offset.x;^n ]] [result [^n MAD_SAT depth.x, depth.x, program.env[5].z, -offset.x;^n ]])^n MUL diffuse.a, diffuse.a, depth.x;^n ]])^n MUL result.color, fragment.texcoord[1], diffuse;^n END^n ]^n n/a
passthrough <#undocumented#> #undocumented# string alias ^n if (= $arg1 1) [^n oldpassthroughsel = $passthroughsel^n oldpassthroughcube = $passthroughcube^n passthroughsel 1; passthroughcube 1^n ] [^n passthroughsel $oldpassthroughsel^n passthroughcube $oldpassthroughcube^n ]^n entcancel^n n/a IDF_COMPLETE
pastebuffer <#undocumented#> #undocumented# string alias showgui pastebuffer n/a
pixelparam0 <#undocumented#> #undocumented# string alias program.env[16] n/a
pixelparam1 <#undocumented#> #undocumented# string alias program.env[17] n/a
pixelparam2 <#undocumented#> #undocumented# string alias program.env[18] n/a
pixelparam3 <#undocumented#> #undocumented# string alias program.env[19] n/a
pixelparam4 <#undocumented#> #undocumented# string alias program.env[20] n/a
pixelparam5 <#undocumented#> #undocumented# string alias program.env[21] n/a
pixelparam6 <#undocumented#> #undocumented# string alias program.env[22] n/a
pixelparam7 <#undocumented#> #undocumented# string alias program.env[23] n/a
playerprevcolour <#undocumented#> #undocumented# NULL alias NULL n/a IDF_UNKNOWN
playerprevdisinherit <#undocumented#> #undocumented# string alias 0 n/a
playerprevinherit <#undocumented#> #undocumented# string alias 0 n/a
playerprevmodel <#undocumented#> #undocumented# NULL alias NULL n/a IDF_UNKNOWN
playerprevname <#undocumented#> #undocumented# NULL alias NULL n/a IDF_UNKNOWN
playerprevteam <#undocumented#> #undocumented# NULL alias NULL n/a IDF_UNKNOWN
playerprevvanity <#undocumented#> #undocumented# NULL alias NULL n/a IDF_UNKNOWN
playerprevweap <#undocumented#> #undocumented# NULL alias NULL n/a IDF_UNKNOWN
privcreatortex <#undocumented#> #undocumented# string alias <grey>textures/privs/founder n/a
q <#undocumented#> #undocumented# NULL alias NULL n/a
quickeditmenu <#undocumented#> #undocumented# string alias ^n guitext ^"Quick Commands:^"^n guibar^n guifield savemap_name 10 [ savemap $savemap_name ]^n guibutton quicklight ^"calclight -1^"^n guibutton ^"optimize map^" ^"remip^"^n guibutton ^"new entity^" ^"newent light^"^n guibar^n guibutton newmap^n guibar^n guibutton help ^"showgui edit^"^n n/a
quine <#undocumented#> #undocumented# string alias echo (format ^"quine = [%1]^" $quine) n/a IDF_COMPLETE
race <map> [<muts>] requests a map change to race on a given map; [<muts>] optionally adds extra mutators according to bitwise mutator values, conveniently set using a sum of $mutsbit* vars, example: race purge (+ $mutsbitfreestyle $mutsbitmedieval) string alias start $arg1 $modeidxrace (+ 0 $arg2) n/a IDF_COMPLETE
radarblendstorage <#undocumented#> #undocumented# NULL alias NULL n/a IDF_UNKNOWN
replaceents <#undocumented#> #undocumented# string alias ^n if $editing [^n do [^n entfind @(entget)^n entset @(loopconcat i $numargs [result $[arg@(+ $i 1)]])^n ]^n echo Replaced (enthavesel) entities^n ]^n n/a IDF_COMPLETE
resbutton <#undocumented#> #undocumented# string alias format [^n guibutton ^"%1x%2^" ^"screenres %1 %2^" [] (? (&& [= $scr_w %1] [= $scr_h %2]) ^"radioboxon^" ^"radiobox^")^n] $arg1 $arg2 n/a
resetlight <#undocumented#> #undocumented# string alias ^n lightcolour = 0^n lightrgb = ^"255 255 255^"^n lightbright = 1^n lightradius = 128^n n/a
resetmapgui <#undocumented#> #undocumented# string alias 1 n/a
resettips <#undocumented#> #undocumented# string alias ^n tips = 0^n addtip (format ^"press %1 to ^^fs^^fyjump^^fS and again in mid-air to ^^fs^^fyimpulse boost^^fS^" (dobindsearch ^"jump^"))^n addtip (format ^"press %1 to ^^fs^^fycrouch^^fS, doing so while landing will perform an ^^fs^^fyimpulse slide^^fS^" (dobindsearch ^"crouch^"))^n addtip (format ^"press %1 and %2 to use your primary and secondary weapon fire modes^" (dobindsearch ^"primary^") (dobindsearch ^"secondary^"))^n addtip (format ^"press %1 to ^^fs^^fyreload^^fS your weapon, timing this can be crucial to survival^" (dobindsearch ^"reload^"))^n addtip (format ^"press %1 to ^^fs^^fyuse items^^fS and ^^fs^^fytriggers^^fS^" (dobindsearch ^"use^"))^n addtip (format ^"press %1 to ^^fs^^fywall run^^fS, ^^fs^^fywall kick^^fS, or ^^fs^^fymelee^^fS^" (dobindsearch ^"special^"))^n addtip (format ^"press %1 to ^^fs^^fytalk^^fS and %2 to only speak to ^^fs^^fyteammates^^fS^" (dobindsearch ^"saytextcommand (getsaycolour)^") (dobindsearch ^"sayteamcommand (getsaycolour)^"))^n addtip (format ^"press %1 while in the air to ^^fs^^fyfly-kick^^fS enemies^" (dobindsearch ^"special^"))^n addtip (format ^"press %1 to ^^fs^^fysuicide^^fS, this will reset you in ^^fs^^fyrace^^fS^" (dobindsearch ^"suicide^"))^n addtip (format ^"press %1 to crouch when landing to perform an ^^fs^^fyimpulse slide^^fS^" (dobindsearch ^"crouch^"))^n addtip (format ^"press %1 during an ^^fs^^fyimpulse slide^^fS to perform an ^^fs^^fyimpulse launch^^fS^" (dobindsearch ^"jump^"))^n addtip (format ^"press %1 to open the ^^fs^^fyhelp menu^^fS at any time^" (dobindsearch ^"showgui help^"))^n addtip (format ^"press %1 to make a ^^fs^^fymap selection^^fS^" (dobindsearch ^"showgui maps 1^"))^n addtip (format ^"press %1 to show the ^^fs^^fyserver list^^fS^" (dobindsearch ^"showservers^"))^n addtip (format ^"press %1 to change your ^^fs^^fyloadout weapons^^fS^" (dobindsearch ^"showgui loadout^"))^n addtip (format ^"press %1 to ^^fs^^fychange teams^^fS^" (dobindsearch ^"showgui team^"))^n addtip ^"when you're ^^fs^^foon fire^^fS you can ^^fs^^fcjump in water^^fS to put yourself out, crouch if necessary^"^n addtip ^"you're ^^fs^^fyless accurate^^fS when ^^fs^^fyjumping^^fS and ^^fs^^fymoving^^fS, stop for a perfect shot^"^n addtip ^"you can chat with the community and developers in ^^fs^^fc#redeclipse^^fS on ^^fs^^fcirc.freenode.net^^fS^"^n addtip ^"share your own tips with the developers in ^^fs^^fc#redeclipse^^fS on ^^fs^^fcirc.freenode.net^^fS^"^n addtip ^"tips are ^^fs^^fccool^^fS, you should ^^fs^^fyread them more often^^fS^"^n n/a
rgbafog <#undocumented#> #undocumented# string alias format [^n TEMP fog;^n SUB fog.x, state.fog.params.z, fragment.fogcoord.x;^n MUL_SAT fog.x, fog.x, state.fog.params.w;^n LRP result.color, fog.x, %1, %2;^n] $arg1 $arg2 n/a
rgbfog <#undocumented#> #undocumented# string alias 1 n/a
rotoscope <#undocumented#> #undocumented# string alias ^n clearpostfx^n if (>= $numargs 1) [addpostfx rotoscope 0 0 0 $arg1]^n if (>= $numargs 2) [^n if (= $arg2 1) [addpostfx hblur3; addpostfx vblur3]^n if (= $arg2 2) [addpostfx hblur5; addpostfx vblur5]^n ]^n n/a
sample4corners <#undocumented#> #undocumented# string alias ^n TEMP s00, s02, s20, s22;^n TEX s00, fragment.texcoord[1], texture[0], RECT;^n TEX s02, fragment.texcoord[2], texture[0], RECT;^n TEX s20, fragment.texcoord[3], texture[0], RECT;^n TEX s22, fragment.texcoord[4], texture[0], RECT;^n n/a
savecurrentmap <#undocumented#> #undocumented# string alias savemap n/a
savemap_name <#undocumented#> #undocumented# string alias temp n/a
savewarnchk <#undocumented#> #undocumented# string alias ^n if (&& (isconnected) (= (gamemode) $modeidxediting) $totalundos) [ savewarncmd = $arg1; showgui savewarn ] [ arg1 ]^n n/a
savewarncmd <#undocumented#> #undocumented# string alias n/a
sayteamcommand <#undocumented#> #undocumented# string alias inputcommand $arg1 [sayteam $commandbuffer] (getplayerteamicon) (getplayerteamcolour) 0 ^"s^" n/a
saytextcolour <#undocumented#> #undocumented# string alias 0 n/a IDF_PERSIST IDF_COMPLETE
saytextcommand <#undocumented#> #undocumented# string alias inputcommand $arg1 [say $commandbuffer] ^"textures/chat^" 0 ^"s^" n/a
scolb <#undocumented#> #undocumented# NULL alias NULL n/a IDF_UNKNOWN
scolg <#undocumented#> #undocumented# NULL alias NULL n/a IDF_UNKNOWN
scolr <#undocumented#> #undocumented# NULL alias NULL n/a IDF_UNKNOWN
scolrval <#undocumented#> #undocumented# NULL alias NULL n/a IDF_UNKNOWN
scoretarget <#undocumented#> #undocumented# NULL alias NULL n/a IDF_UNKNOWN
scratchpad <#undocumented#> #undocumented# string alias showgui scratchpad n/a
scurdesc <#undocumented#> #undocumented# NULL alias NULL n/a IDF_UNKNOWN
scurusage <#undocumented#> #undocumented# NULL alias NULL n/a IDF_UNKNOWN
scurvar <#undocumented#> #undocumented# NULL alias NULL n/a IDF_UNKNOWN
scurvartype <#undocumented#> #undocumented# NULL alias NULL n/a IDF_UNKNOWN
selcorners <#undocumented#> #undocumented# string alias if $hmapedit [ hmapselect ] [ cancelsel; || [entdrag] [ corners ] ] n/a IDF_COMPLETE
selectbrush <index> select a different brush with relative index to the current one; -1 = previous brush, 1 = next brush string alias ^n brushindex = ( + $brushindex $arg1 )^n if (< $brushindex 0) [ brushindex = $brushmax ]^n if (> $brushindex $brushmax) [ brushindex = 0 ]^n do [brush_@brushindex]^n echo $brushname^n n/a IDF_COMPLETE
selectents <#undocumented#> #undocumented# string alias entselect [&& [insel] [=enttype @@arg1]] n/a IDF_COMPLETE
selentedit <#undocumented#> #undocumented# string alias saycommand ( concatword ^"/entset ^" (entget) ) n/a IDF_COMPLETE
selentfindall <#undocumented#> #undocumented# string alias do [ entfind @(entget) ] n/a IDF_COMPLETE
selreplaceents <#undocumented#> #undocumented# string alias saycommand ( concatword ^"/replaceents ^" (entget) ) n/a IDF_COMPLETE
servermenu <#undocumented#> #undocumented# string alias ^n sinfopause = 0^n sinfotimer = (- (getmillis 1) $sinfouitime)^n guipage sinfo 5 96 4 [getserver] (getserver) [^n sinfostat = (getserver $i 0 0)^n sinfoname = (getserver $i 0 1)^n sinfoport = (getserver $i 0 2)^n sinfonpid = [@[sinfoname]:[@@sinfoport]]^n sinfodesc = (getserver $i 0 3)^n sinfomapn = (getserver $i 0 4)^n sinfonump = (getserver $i 0 5)^n sinfoplayers = (? $i (+ $sinfoplayers $sinfonump) $sinfonump)^n sinfoservers = (? $i (? $sinfonump (+ $sinfoservers 1) $sinfoservers) (? $sinfonump 1 0))^n sinfoping = (getserver $i 0 6)^n sinfolast = (getserver $i 0 7)^n ^n sinfoattr = (getserver $i 1 -1)^n sinfogver = (getserver $i 1 0)^n sinfomode = (getserver $i 1 1)^n sinfomuts = (getserver $i 1 2)^n sinfotime = (getserver $i 1 3)^n sinfomaxp = (getserver $i 1 4)^n sinfomstr = (getserver $i 1 5)^n sinfovars = (getserver $i 1 6)^n sinfomods = (getserver $i 1 7)^n sinfoverm = (getserver $i 1 8)^n sinfovern = (getserver $i 1 9)^n sinfoverp = (getserver $i 1 10)^n sinfovers = (getserver $i 1 11)^n sinfovera = (getserver $i 1 12)^n sinfogmst = (getserver $i 1 13)^n sinfogmtl = (getserver $i 1 14)^n ^n sinfoofft = (? (>= $sinfolast 0) (div (max (- (getmillis 1) (- $sinfolast (div $sinfoping 2))) 0) 1000) 0)^n sinfoactive = (? (< $sinfoping $serverwaiting) 1 0)^n sinfonumsrv = (? $i (+ $sinfonumsrv $sinfoactive) $sinfoactive)^n searchbuffer = (concat $sinfodesc $sinfonpid $sinfomapn (gamename $sinfomode $sinfomuts 0))^n if (> $sinfonump 0 ) [^n loop j $sinfonump [^n append searchbuffer (getserver $i 2 $j) ^n append searchbuffer (getserver $i 3 $j) ^n ]^n ]^n ] [(|| (= $searchfilter 0) (> (strcasestr $searchbuffer $searchstr) -1))] [ ^n if $updateservergui [^n guibutton ^"^^fwThere are no servers to display, maybe ^^fgupdate ^^fwthe list?^" updatefrommaster [] ^"info^"^n ] [^n sleep 1 [ updateservergui = 1; updatefrommaster; sinfouitime = (getmillis) ]^n ]^n ] [^n if (getserver) [ sleep 1 [ updateservers ] ]^n guilist [^n guibutton ^"^^fgupdate^" updatefrommaster^n guistrut 1.5^n guibutton ^"^^frreset^" clearservers^n guistrut 1.5^n guibutton ^"^^fodisconnect^" ^"savewarnchk disconnect^"^n guistrut 1.5^n guibutton ^"^^fmlan connect^" ^"savewarnchk lanconnect^"^n guistrut 1.5^n guicheckbox ^"^^fcsearch lan^" searchlan^n guistrut 1.5^n guicheckbox (? $pausesortservers ^"^^fdauto sort^" ^"^^fbauto sort^") autosortservers^n guistrut 1.5^n guibutton ^"^^fysort now^" sortservers^n guispring 1^n guilist [^n guibackground $guifieldbgcolour $guifieldbgblend $guifieldbordercolour $guifieldborderblend^n guilist [^n guistrut 1^n guitext (format ^"^^fc%1 ^^fwplayers on ^^fc%2 ^^fwof ^^fc%3^^fa/^^fc%4 ^^fwserver%5^" $sinfoplayers $sinfoservers $sinfonumsrv $sinfonum (? (!= $sinfonum 1) ^"s^"))^n guistrut 1^n ]^n ]^n ]^n guistrut 0.25^n if (> (getversion 3) (getversion 1)) [^n guilist [ guibutton ^"^^fzoynew version released! ^^fwget it now from: ^^fcwww.redeclipse.net^" ^"^" ]^n guistrut 0.25^n ]^n ] [^n guimerge 88 [^n guicenter [^n guistrut 8 1^n if $sinfoactive [^n guicenter [^n guifont ^"huge^" [ guibutton (format ^"^^fw%1^" $sinfonump) ]^n guicenter [ guibutton (format ^"^^fd/^^fa%1^" $sinfomaxp) ]^n ]^n guistrut 0.125^n guicenter [^n guibutton (format ^"^^f%1%2^" (? (< $sinfoping 200) ^"g^" (? (< $sinfoping 400) ^"y^" ^"r^")) $sinfoping)^n guifont ^"little^" [ guibutton ^" ^^fams^" ]^n ]^n guistrut 0.125^n guicenter [^n sinfosecs = (? (>= $sinfolast 0) (div (- (getmillis 1) $sinfolast) 1000) -1)^n guifont ^"little^" [ guibutton (? (>= $sinfosecs 0) (format ^"^^fa%1 ^^fds ago^" $sinfosecs) ^"^^fdwaiting..^") ]^n ]^n ] [ guicenter [ guifont ^"huge^" [ guicenterx [ guibutton ^"?^" ] ] ] ]^n ]^n sinfoimage = ^"textures/emblem^"^n if (&& [< $sinfoping $serverwaiting] [= $sinfogver (getversion 1)]) [^n sinfopath = (listfind curmap $maplist [|| [=s $curmap $sinfomapn] [=s [base/@curmap] $sinfomapn] [^n && [> $hasoctapaks 0] [=s [base/@curmap] $sinfomapn]^n ]])^n if (> $sinfopath -1) [ sinfoimage = (at $mappath $sinfopath) ]^n ]^n guiimage $sinfoimage ^"^" 2 1 ^"textures/emblem^"^n guistrut 1^n guicenter [^n guilist [^n guibutton (format ^"^^fw%1 ^" $sinfodesc)^n guifont ^"little^" [ guicenter [ guibutton (format ^"^^fd(^^fa%1^^fd)^" $sinfonpid) ] ]^n ]^n guispring 1^n if $sinfoactive [^n guilist [^n guistrut 0.25^n if (= $sinfogver (getversion 1)) [^n guinohitfx [ guifont ^"default^" [^n case $sinfostat 0 [^n guibutton ^"^^fgopen^" [] [] ^"textures/servers/default^"^n ] 1 [^n guibutton ^"^^fylock^" [] [] ^"textures/servers/locked^"^n ] 2 [^n guibutton ^"^^fmpriv^" [] [] ^"textures/servers/private^"^n ] 3 [^n guibutton ^"^^frfull^" [] [] ^"textures/servers/full^"^n ] () [^n guibutton ^"^^founknown^" [] [] ^"textures/servers/unknown^"^n ]^n ] ]^n if (!= $sinfomode $modeidxediting) [^n guibutton (format ^" ^^fd[^^fc%1^^fd:^^fw%2^^fd]^" (at $gamestatename $sinfogmst) (timestr (* (? $sinfonump (max (- $sinfogmtl $sinfoofft) 0) $sinfotime) 1000) 3))^n ]^n gname = (gamename $sinfomode $sinfomuts 0 32)^n guifont ^"little^" [ guicenter [ guilist [^n guibutton (format ^" ^^fy%1 ^^faon ^^fo%2^" $gname $sinfomapn)^n guibutton (format ^" ^^fa(%1modified^^fa)^" (? $sinfomods (format ^"^^fc%1%% ^" (precf (*f (divf $sinfomods $sinfovars) 100) 2)) ^"^^fgun^"))^n if (>= $sinfoattr 13) [ guibutton (format ^" ^^fa[^^fc%1.%2.%3-%4%5^^fa]^" $sinfoverm $sinfovern $sinfoverp (platname $sinfovers) $sinfovera) ]^n ] ] ]^n ] [^n guinohitfx [ guifont ^"default^" [ guibutton ^"^^foincompatible^" [] [] ^"textures/servers/failed^" ] ]^n guibutton (concat ^" ^^faserver is using^" (? (> $sinfogver (getversion 1)) ^"a ^^fwnewer^" ^"an ^^fdolder^") ^"protocol^")^n ]^n ]^n guispring 1^n guilist [^n if (=s $sinfonpid $sinforetry) [^n if (= $sinfostat 3) [ guibutton ^"^^fd[ ^^fwwaiting for slot ^^fd] ^" ]^n guibutton ^"^^fwpassword ^^fd= ^"^n sinfopassval = $sinfopass^n guifield sinfopassval 20 [sinfopass = $sinfopassval]^n ] [^n if (> $sinfonump 0) [^n guistrut 0.25^n sinfopnum = (getserver $i 2)^n if (> $sinfopnum 0) [^n guifont ^"little^" [^n pname = ^"^"^n plist = ^"^"^n pmore = 0^n loop j $sinfopnum [^n if (|| $pmore (>= (guitextwidth $plist) 1400)) [ pmore = (+ $pmore 1) ] [^n append pname (format [^"%1^"] (getserver $i 2 $j))^n plist = (prettylist $pname)^n ]^n ]^n guibutton (concat $plist (? $pmore (concat ^"and^^fy^" $pmore ^"^^fwmore^")))^n ^n ]^n ] [ guibutton ^"^^faplayer info not available^" ]^n ] [ guibutton ^"^^fano players online^" ]^n ]^n ]^n ] [^n guilist [^n guistrut 0.25^n guifont ^"default^" [ guibutton ^"^^founresponsive^" [] [] ^"textures/servers/failed^" ]^n guibutton ^" ^^faserver is not replying to queries^"^n ]^n ]^n ]^n ] [^n sinfopass = ^"^"^n sinforetry = @(escape $sinfonpid)^n sinfowait = (! (|| [hasauthkey 1] [!= @@sinfomstr 4]))^n ] [^n sinfopass = ^"^"^n sinforetry = @(escape $sinfonpid)^n sinfowait = (! (hasauthkey 1))^n ] [^n sinfopause = 1^n if $sinfoactive [^n sinfopnum = (getserver $i 2)^n if (> $sinfopnum 0) [^n phover = ^"^"^n loop j $sinfopnum [^n if $j [ append phover ^"^^n^" ]^n phandle = (getserver $i 3 $j)^n if (strlen $phandle) [ ^n append phover (format ^"%1 (%2)^" (getserver $i 2 $j) $phandle)^n ] [^n append phover (format ^"%1^" (getserver $i 2 $j))^n ]^n ]^n guitooltip $phover^n ] [ guitooltip ^"^^fano players online^" ]^n ] [ guitooltip ^"^^fano information available^" ]^n ]^n if (=s $sinfonpid $sinforetry) [^n if (= $sinfowait 1) [^n if (strlen $sinfopass) [^n savewarnchk [connect $sinfoname $sinfoport $sinfopass]^n sinfopass = ^"^"^n sinforetry = ^"^"^n sinfowait = 0^n ]^n ] [^n if (|| [hasauthkey 1] [!= $sinfostat 3]) [^n savewarnchk [connect $sinfoname $sinfoport]^n sinfopass = ^"^"^n sinforetry = ^"^"^n sinfowait = 0^n ]^n ]^n ]^n ] [^n guistrut 0.5^n guilist [^n guicenterz [ guitext ^"update interval:^" ]^n guistrut 0.5^n guilist [^n guistrut 87.5 1^n guilistslider serverupdateinterval ^"1 2 3 4 5 10 15 20 25 30 35 40 45 50 55 60^"^n ]^n ]^n guistrut 0.5^n guilist [^n guicenterz [ guicheckbox ^"filter:^" searchfilter ]^n if (=s $guirollovername ^"filter:^") [^n guitooltip ^"^^faFilter by player names or handles, current map, mode or mutators, server description, IP address or port.^" ^n ]^n guistrut 0.5^n guifield searchstrval 18 [searchstr = $searchstrval; searchfilter = 1] -1 0 ^"^" 0 ^"^^fd <enter search terms>^" 1^n guispring 1^n guicenterz [^n guitext ^"sort:^"^n guistrut 0.5^n loop i (listlen $serversort) [^n sinfostype = (at $serversort $i)^n if $sinfostype [^n sinfosabsl = (? (> $sinfostype 0) $sinfostype (- 0 $sinfostype))^n sinfosname = (at $sinfotypes $sinfosabsl)^n guistrut 0.5^n guibutton (? (> $sinfostype 0) $sinfosname [-@sinfosname]) [^n sinfomodify @sinfostype^n ] [^n sinfomodify (- 0 @sinfostype)^n ] ^"^" 0x00FFFF^n ]^n ]^n ]^n guispring 1^n guicenterz [^n guifont ^"little^" [^n loop i (listlen $sinfotypes) [^n if (&& $i [< (listfind sinfoctype $serversort [= $i (? (> $sinfoctype 0) $sinfoctype (- 0 $sinfoctype))]) 0]) [^n sinfosname = (at $sinfotypes $i)^n guistrut 1^n guibutton $sinfosname [^n sinfomodify @i^n ] [^n sinfomodify (- 0 @i)^n ] ^"^" 0x888888^n ]^n ]^n ]^n ]^n guispring 1^n guicenterz [ guibutton ^"reset^" [serversortreset] [serversortreset] ^"^" 0xFF8888 ]^n guistrut 1^n ]^n guistrut 0.5^n if (hasauthkey) [^n guilist [^n guicenterz [ guitext ^"user account:^" ]^n guispring 1^n guicenterz [ guicheckbox (format ^"identify as ^^fs^^fc%1^^fS on connect^" $accountname) authconnect ]^n guispring 1^n guicenterz [ guifont ^"little^" [ guibutton ^"(^^fs^^fredit account^^fS)^" [showgui profile 4] ] ]^n ]^n ]^n ]^n if (&& [! $guilayoutpass] [|| (> $sinfotimer 30000) (> $sinfonumsrv (div (* $sinfonum 3) 4))]) [ if $sinfopause [ if (! $pausesortservers) [ pausesortservers 1 ] ] [ if $pausesortservers [ pausesortservers 0 ] ] ]^n guitip (format ^"press %1 to open this menu at any time^" (dobindsearch ^"showservers^"))^n n/a
servermenuinit <#undocumented#> #undocumented# string alias ^n sinfoindex = 0^n sinfowait = 0^n sinforetry = ^"^"^n sinfopass = ^"^"^n sinfoplayers = 0^n sinfoservers = 0^n sinfonumsrv = 0^n sinfouitime = (getmillis 1)^n shownservergui = 0^n updateservergui = 0^n searchfilter = 0^n searchstr = ^"^" ^n n/a
servermenuiter <#undocumented#> #undocumented# string alias ^n if (! $shownservergui) [^n maplist = ^"^"^n mappath = ^"^"^n loopfiles lcurmap maps mpz [^n if (< (listfind mcurmap $maplist [=s $mcurmap $lcurmap]) 0) [^n append maplist $lcurmap^n append mappath [maps/@lcurmap]^n ]^n ]^n if (> $hasoctapaks 0) [^n loopfiles lcurmap base ogz [^n append maplist $lcurmap^n append mappath [base/@lcurmap]^n ]^n ]^n shownservergui = 1^n ]^n n/a
setinfo <#undocumented#> #undocumented# string alias playername $arg1; playercolour $arg2; playermodel $arg3; playervanity $arg4; playerloadweap $arg5 n/a IDF_COMPLETE
setmaster <#undocumented#> #undocumented# string alias setpriv $arg1 n/a IDF_COMPLETE
setup4corners <#undocumented#> #undocumented# string alias ^n ADD result.texcoord[1], vertex.texcoord[0], { -1.5, -1.5, 0, 0 };^n ADD result.texcoord[2], vertex.texcoord[0], { 1.5, -1.5, 0, 0 };^n ADD result.texcoord[3], vertex.texcoord[0], { -1.5, 1.5, 0, 0 };^n ADD result.texcoord[4], vertex.texcoord[0], { 1.5, 1.5, 0, 0 };^n n/a
setupbloom <#undocumented#> #undocumented# string alias ^n addpostfx bloom_init 1 1 ^"+0^"^n loop i (- $arg1 1) [^n addpostfx bloom_scale (+ $i 2) (+ $i 2) (concatword ^"+^" (+ $i 1))^n ]^n addpostfx (concatword bloom $arg1) 0 0 (loopconcat i (+ $arg1 1) [result $i]) $arg2^n n/a
setupfinecorners <#undocumented#> #undocumented# string alias ^n ADD result.texcoord[1], vertex.texcoord[0], { -1, 0, 0, 0 };^n ADD result.texcoord[2], vertex.texcoord[0], { 1, 0, 0, 0 };^n ADD result.texcoord[3], vertex.texcoord[0], { 0, -1, 0, 0 };^n ADD result.texcoord[4], vertex.texcoord[0], { 0, 1, 0, 0 };^n n/a
shadowmapcastervertexshader <#undocumented#> #undocumented# string alias ^n result [^n @(if (< $numargs 1) [result $vpstart] [result [^n !!ARBvp1.0^n ATTRIB spos = vertex.position;^n @arg1^n DP4 result.position.x, opos, state.matrix.mvp.row[0];^n DP4 result.position.y, opos, state.matrix.mvp.row[1];^n DP4 result.position.w, opos, state.matrix.mvp.row[3];^n ]])^n^n TEMP z;^n DP4 z.x, opos, state.matrix.mvp.row[2];^n^n @(if (>= $numargs 1) [result ^"MOV result.position.z, z.x;^"])^n^n SUB result.texcoord[0].x, 1, z.x;^n MOV result.texcoord[0].y, 1;^n MOV result.texcoord[0].z, 0;^n MOV result.texcoord[0].w, program.env[1].x;^n^n END^n ]^n n/a
shiftfloatspeed <#undocumented#> #undocumented# string alias 500 n/a IDF_PERSIST IDF_COMPLETE
shiftmod <#undocumented#> #undocumented# string alias ^n if $arg1 [^n oldfloatspeed = $floatspeed^n floatspeed $shiftfloatspeed^n modscale = $shiftmodscale^n ] [^n floatspeed $oldfloatspeed^n modscale = 1^n ]^n n/a
shiftmodscale <#undocumented#> #undocumented# string alias 10 n/a IDF_PERSIST IDF_COMPLETE
showfileeditor <#undocumented#> #undocumented# string alias ^n guieditor $arg1 $arg2 $arg3^n textinit $arg1 $arg1^n guistayopen [^n guilist [^n guibutton ^"load^" [textfocus @arg1; textload @arg1]^n guibar^n guibutton ^"save^" [textfocus @arg1; textsave @arg1]^n guibar^n guibutton ^"exec^" [textfocus @arg1; textexec]^n guibar^n guibutton ^"copy^" [textfocus @arg1; textcopy]^n guibar^n guibutton ^"paste^" [textfocus @arg1; textpaste]^n guibar^n guibutton ^"select^" [textfocus @arg1; textselectall]^n guibar^n guibutton ^"clear^" [textfocus @arg1; textclear]^n ]^n ]^n n/a
showmainplayerprev <#undocumented#> #undocumented# string alias 1 n/a IDF_PERSIST IDF_COMPLETE
showmapmodel <#undocumented#> #undocumented# string alias ^n mapmodelpath = (mapmodelindex $arg1)^n mapmodelshot = (concatword ^"models/^" $mapmodelpath ^"/thumb^")^n mapmodelcmd = (concat newent mapmodel $arg1)^n guilistx 2 [^n guiimage $mapmodelshot $mapmodelcmd 2 1 ^"textures/nothumb^"^n guibutton $mapmodelpath $mapmodelcmd^n ]^n n/a
shownservergui <#undocumented#> #undocumented# string alias 0 n/a
showservers <#undocumented#> #undocumented# string alias guidelinesaction ^"showgui servers^"; showgui (? $connectguidelines servers guidelines) n/a
showtip <#undocumented#> #undocumented# string alias ^n if (|| [= $lasttip 0] [> (- (getmillis) $lasttip) 30000]) [^n resettips^n curtip = $[tip@(+ (rnd $tips) 1)]^n lasttip = (getmillis)^n ]^n result $curtip^n n/a
sinfodisp <#undocumented#> #undocumented# string alias 0 n/a
sinfoindex <#undocumented#> #undocumented# string alias 0 n/a
sinfomodify <#undocumented#> #undocumented# string alias ^n sinfotlist = $arg1^n sinfotabsl = (? (> $sinfotlist 0) $sinfotlist (- 0 $sinfotlist))^n loop i (listlen $serversort) [^n sinfostype = (at $serversort $i)^n if $sinfostype [^n sinfosabsl = (? (> $sinfostype 0) $sinfostype (- 0 $sinfostype))^n if (!= $sinfotabsl $sinfosabsl) [ append sinfotlist $sinfostype ]^n ]^n ]^n serversort $sinfotlist^n n/a
sinfonum <#undocumented#> #undocumented# string alias 0 n/a
sinfonumsrv <#undocumented#> #undocumented# string alias 0 n/a
sinfopass <#undocumented#> #undocumented# string alias n/a
sinfoplayers <#undocumented#> #undocumented# string alias 0 n/a
sinforetry <#undocumented#> #undocumented# string alias n/a
sinfoservers <#undocumented#> #undocumented# string alias 0 n/a
sinfotypes <#undocumented#> #undocumented# string alias ^"^" ^"status^" ^"name^" ^"port^" ^"qport^" ^"desc^" ^"mode^" ^"muts^" ^"map^" ^"time^" ^"players^" ^"maxplayers^" ^"ping^" n/a
sinfouitime <#undocumented#> #undocumented# string alias 0 n/a
sinfowait <#undocumented#> #undocumented# string alias 0 n/a
skelanimlength <#undocumented#> #undocumented# integer alias -30 n/a
skelmatanim <#undocumented#> #undocumented# string alias ^n skelanimlength = (min (- $maxvpenvparams (+ $reservevpparams 10)) $maxskelanimdata)^n result [^n PARAM mats[] = { program.env[ 10 .. @@(- (+ 10 $skelanimlength) 1) ] };^n @(if (> $arg1 1) [result ^"ATTRIB weights = vertex.attrib[6];^"])^n ATTRIB bones = vertex.attrib[7];^n ADDRESS bone;^n TEMP mx, my, mz;^n^n ARL bone.x, bones.x;^n @(if (= $arg1 1) [result [^n MOV mx, mats[bone.x];^n MOV my, mats[bone.x+1];^n MOV mz, mats[bone.x+2];^n ]] [result [^n MUL mx, weights.x, mats[bone.x];^n MUL my, weights.x, mats[bone.x+1];^n MUL mz, weights.x, mats[bone.x+2];^n ARL bone.x, bones.y;^n MAD mx, weights.y, mats[bone.x], mx;^n MAD my, weights.y, mats[bone.x+1], my;^n MAD mz, weights.y, mats[bone.x+2], mz;^n ]])^n @(if (>= $arg1 3) [result [^n ARL bone.x, bones.z;^n MAD mx, weights.z, mats[bone.x], mx;^n MAD my, weights.z, mats[bone.x+1], my;^n MAD mz, weights.z, mats[bone.x+2], mz;^n ]])^n @(if (>= $arg1 4) [result [^n ARL bone.x, bones.w;^n MAD mx, weights.w, mats[bone.x], mx;^n MAD my, weights.w, mats[bone.x+1], my;^n MAD mz, weights.w, mats[bone.x+2], mz;^n ]])^n^n TEMP opos;^n DP4 opos.x, mx, spos;^n DP4 opos.y, my, spos;^n DP4 opos.z, mz, spos;^n MOV opos.w, spos.w;^n^n @(if $arg2 [result [^n TEMP onormal;^n DP3 onormal.x, mx, snormal;^n DP3 onormal.y, my, snormal;^n DP3 onormal.z, mz, snormal;^n ]])^n^n @(if $arg3 [result [^n TEMP otangent;^n DP3 otangent.x, mx, stangent;^n DP3 otangent.y, my, stangent;^n DP3 otangent.z, mz, stangent;^n ]])^n ]^n n/a
skelquatanim <#undocumented#> #undocumented# string alias ^n skelanimlength = (min (- $maxvpenvparams (+ $reservevpparams 10)) $maxskelanimdata)^n result [^n PARAM quats[] = { program.env[ 10 .. @@(- (+ 10 $skelanimlength) 1) ] };^n @(if (> $arg1 1) [result ^"ATTRIB weights = vertex.attrib[6];^"])^n ATTRIB bones = vertex.attrib[7];^n ADDRESS bone;^n TEMP dqreal, dqdual, dir;^n^n ARL bone.x, bones.x;^n @(if (= $arg1 1) [result [^n MOV dqreal, quats[bone.x];^n MOV dqdual, quats[bone.x+1];^n ]] [result [^n MUL dqreal, weights.x, quats[bone.x];^n MUL dqdual, weights.x, quats[bone.x+1];^n ARL bone.x, bones.y;^n MAD dqreal, weights.y, quats[bone.x], dqreal;^n MAD dqdual, weights.y, quats[bone.x+1], dqdual;^n @(if (>= $arg1 3) [result [^n ARL bone.x, bones.z;^n MAD dqreal, weights.z, quats[bone.x], dqreal;^n MAD dqdual, weights.z, quats[bone.x+1], dqdual;^n ]])^n @(if (>= $arg1 4) [result [^n ARL bone.x, bones.w;^n MAD dqreal, weights.w, quats[bone.x], dqreal;^n MAD dqdual, weights.w, quats[bone.x+1], dqdual;^n ]])^n^n TEMP len;^n DP4 len.x, dqreal, dqreal;^n RSQ len.x, len.x;^n MUL dqreal, dqreal, len.x;^n MUL dqdual, dqdual, len.x;^n ]])^n^n TEMP opos;^n XPD opos.xyz, dqreal, spos;^n MAD opos.xyz, spos, dqreal.w, opos;^n ADD opos.xyz, opos, dqdual;^n XPD opos.xyz, dqreal, opos;^n MAD opos.xyz, dqdual, dqreal.w, opos;^n MAD opos.xyz, dqreal, -dqdual.w, opos;^n MAD opos.xyz, 2, opos, spos;^n MOV opos.w, spos.w;^n^n @(if $arg2 [result [^n TEMP onormal;^n XPD onormal.xyz, dqreal, snormal;^n MAD onormal.xyz, dqreal.w, snormal, onormal;^n XPD onormal.xyz, dqreal, onormal;^n MAD onormal.xyz, 2, onormal, snormal;^n ]])^n^n @(if $arg3 [result [^n TEMP otangent;^n XPD otangent.xyz, dqreal, stangent;^n MAD otangent.xyz, dqreal.w, stangent, otangent;^n XPD otangent.xyz, dqreal, otangent;^n MAD otangent.xyz, 2, otangent, stangent;^n ]])^n ]^n n/a
slime <#undocumented#> #undocumented# string alias ^n editmat water^n editmat death^n obitwater ^"sucked on slime^"^n watercolour 0x182200^n waterfallcolour 0x002200^n waterfog 0^n waterspec 10^n n/a
specbindactions <#undocumented#> #undocumented# string alias ^n forward backward left right ^"universaldelta 1^" ^"universaldelta -1^" ^"spectator 1^" ^"spectator 0^"^n ^"saycommand /^" ^"saytextcommand (getsaycolour)^" ^"sayteamcommand (getsaycolour)^" toggleconsole edittoggle thirdpersonswitch screenshot^n addbot delbot ^"showgui maps 1^" ^"showgui maps 2^" ^"setpriv 1^" ^"showgui loadout^" ^"showgui team^"^n ^"showcompass voice^" ^"showcompass team^"^n n/a
specbindtitles <#undocumented#> #undocumented# string alias ^n forward backward left right ^"scroll up^" ^"scroll down^" ^"enter spectator^" ^"exit spectator^"^n ^"cmd input^" ^"all chat^" ^"team chat^" ^"toggle console^" ^"toggle editing^" ^"toggle thirdperson^" ^"screenshot^"^n ^"add bot^" ^"delete bot^" ^"maps menu^" ^"maps voting^" ^"claim privileges^" ^"loadout menu^" ^"team menu^"^n ^"voice compass^" ^"team compass^"^n n/a
specular <#undocumented#> #undocumented# string alias 0 n/a
start <map> <mode> <muts> requests a map change to a given map with a specific mode and mutators; depending on privileges, this will force or vote for the map change, <mode> sets the mode type, <muts> sets the mutators according to a bitwise sum of mutator values, conveniently set using $modeidx* vars and sums of $mutsbit* vars, example: start bath $modeidxdeathmatch (+ $mutsbitinstagib $mutsbitmedieval) string alias mode $arg2 $arg3; map $arg1 n/a IDF_COMPLETE
stopautosave <#undocumented#> #undocumented# string alias noautosave = 1 n/a IDF_COMPLETE
stype <#undocumented#> #undocumented# string alias 0 n/a
survivor <map> [<muts>] requests a map change to survivor deathmatch on a given map; [<muts>] optionally adds extra mutators according to a bitwise mutator values, conveniently set using a sum of $mutsbit* vars, example: survivor bath (+ $mutsbitinstagib $mutsbitmedieval) string alias start $arg1 $modeidxdeathmatch (+ $mutsbitsurvivor $arg2) n/a IDF_COMPLETE
swapval <#undocumented#> #undocumented# string alias ^n local tmp^n tmp = $$arg1^n $arg1 = $$arg2^n $arg2 = $tmp^n n/a
takescreenshot <#undocumented#> #undocumented# string alias ^n^tsleep 0 [^n^t^tshowhud @showhud^n^t^tshowconsole @showconsole^n^t^tscreenshot ^"screenshot^"^n^t]^n^tshowhud 0^n^tshowconsole 0^n n/a IDF_COMPLETE
tdm <map> [<muts>] requests a map change to team deathmatch on a given map; [<muts>] optionally adds extra mutators according to bitwise mutator values, conveniently set using a sum of $mutsbit* vars, example: tdm bath (+ $mutsbitinstagib $mutsbitmedieval) string alias teamdm $arg1 $arg2 n/a IDF_COMPLETE
teamdm <map> [<muts>] requests a map change to team deathmatch on a given map; [<muts>] optionally adds extra mutators according to bitwise mutator values, conveniently set using a sum of $mutsbit* vars, example: teamdm bath (+ $mutsbitinstagib $mutsbitmedieval) string alias start $arg1 $modeidxdeathmatch (+ 0 $arg2) n/a IDF_COMPLETE
texturecull <#undocumented#> removes all textures not used in the map from the map config file string alias compactvslots 1 n/a IDF_COMPLETE
texturerehash <#undocumented#> #undocumented# string alias compactvslots 1; exec ^"config/map/textures.cfg^" n/a
tip1 <#undocumented#> #undocumented# string alias press ^f{SPACE} to ^fs^fyjump^fS and again in mid-air to ^fs^fyimpulse boost^fS n/a
tip10 <#undocumented#> #undocumented# string alias press ^f{LSHIFT} to crouch when landing to perform an ^fs^fyimpulse slide^fS n/a
tip11 <#undocumented#> #undocumented# string alias press ^f{SPACE} during an ^fs^fyimpulse slide^fS to perform an ^fs^fyimpulse launch^fS n/a
tip12 <#undocumented#> #undocumented# string alias press ^f{F1} to open the ^fs^fyhelp menu^fS at any time n/a
tip13 <#undocumented#> #undocumented# string alias press ^f{F3} to make a ^fs^fymap selection^fS n/a
tip14 <#undocumented#> #undocumented# string alias press ^f{F5} to show the ^fs^fyserver list^fS n/a
tip15 <#undocumented#> #undocumented# string alias press ^f{F6}|^f{COMMA} to change your ^fs^fyloadout weapons^fS n/a
tip16 <#undocumented#> #undocumented# string alias press ^f{F7}|^f{PERIOD} to ^fs^fychange teams^fS n/a
tip17 <#undocumented#> #undocumented# string alias when you're ^fs^foon fire^fS you can ^fs^fcjump in water^fS to put yourself out, crouch if necessary n/a
tip18 <#undocumented#> #undocumented# string alias you're ^fs^fyless accurate^fS when ^fs^fyjumping^fS and ^fs^fymoving^fS, stop for a perfect shot n/a
tip19 <#undocumented#> #undocumented# string alias you can chat with the community and developers in ^fs^fc#redeclipse^fS on ^fs^fcirc.freenode.net^fS n/a
tip2 <#undocumented#> #undocumented# string alias press ^f{LSHIFT} to ^fs^fycrouch^fS, doing so while landing will perform an ^fs^fyimpulse slide^fS n/a
tip20 <#undocumented#> #undocumented# string alias share your own tips with the developers in ^fs^fc#redeclipse^fS on ^fs^fcirc.freenode.net^fS n/a
tip21 <#undocumented#> #undocumented# string alias tips are ^fs^fccool^fS, you should ^fs^fyread them more often^fS n/a
tip3 <#undocumented#> #undocumented# string alias press ^f{MOUSE1} and ^f{MOUSE2} to use your primary and secondary weapon fire modes n/a
tip4 <#undocumented#> #undocumented# string alias press ^f{R}|^f{MOUSE3} to ^fs^fyreload^fS your weapon, timing this can be crucial to survival n/a
tip5 <#undocumented#> #undocumented# string alias press ^f{E} to ^fs^fyuse items^fS and ^fs^fytriggers^fS n/a
tip6 <#undocumented#> #undocumented# string alias press ^f{Q} to ^fs^fywall run^fS, ^fs^fywall kick^fS, or ^fs^fymelee^fS n/a
tip7 <#undocumented#> #undocumented# string alias press ^f{RETURN}|^f{T} to ^fs^fytalk^fS and ^f{Y} to only speak to ^fs^fyteammates^fS n/a
tip8 <#undocumented#> #undocumented# string alias press ^f{Q} while in the air to ^fs^fyfly-kick^fS enemies n/a
tip9 <#undocumented#> #undocumented# string alias press ^f{K} to ^fs^fysuicide^fS, this will reset you in ^fs^fyrace^fS n/a
tips <#undocumented#> #undocumented# integer alias 21 n/a
tmpt <#undocumented#> #undocumented# NULL alias NULL n/a IDF_UNKNOWN
togglegrid <#undocumented#> #undocumented# string alias ^n case $gridbindswitch 3 [^n showpastegrid 0; showcursorgrid 0; showselgrid 0; gridbindswitch = 0^n ] 2 [^n showpastegrid 0; showcursorgrid 0; showselgrid 1; gridbindswitch = 3^n ] 1 [^n showpastegrid 0; showcursorgrid 1; showselgrid 0; gridbindswitch = 2^n ] 0 [^n showpastegrid 1; showcursorgrid 0; showselgrid 0; gridbindswitch = 1^n ]^n n/a IDF_COMPLETE
togglesound <#undocumented#> #undocumented# string alias if (> $mastervol 0) [ mastervol 0; echo ^"sound off^" ] [ mastervol 255; echo ^"sound on^" ] n/a IDF_COMPLETE
universaldelta <#undocumented#> #undocumented# string alias ^n delta = (format ^"delta_%1_%2^" (at $deltastates (getplayerstate)) $modifier)^n if (strcmp (getalias $delta) ^"^") [^n delta = (format ^"delta_%1_%2^" (at $deltastates (getplayerstate)) $defaultmodifier)^n if (strcmp (getalias $delta) ^"^") [^n delta = (format ^"delta_%1_%2^" (at $deltastates 0) $modifier)^n if (strcmp (getalias $delta) ^"^") [^n delta = (format ^"delta_%1_%2^" (at $deltastates 0) $defaultmodifier)^n ]^n ]^n ]^n if (getalias $delta) [ do [@delta @arg1] ]^n n/a IDF_COMPLETE
vanity <#undocumented#> #undocumented# string alias playervanity $arg1 n/a IDF_COMPLETE
varbit <#undocumented#> #undocumented# string alias varname = [@[arg1]val] ; guibitfield ^"^" $arg2 [@arg1 $@varname] n/a
varbit2 <#undocumented#> #undocumented# string alias guilist [^n varname1 = [@[arg1]val1]^n guibitfield ^"^" $varname1 $arg2 [[@@[arg1]1] $@varname1]^n varname2 = [@[arg1]val2]^n guibitfield ^"^" $varname2 $arg2 [[@@[arg1]2] $@varname2]^n] n/a
vardef <#undocumented#> #undocumented# string alias guitext $arg2 ; [@[arg1]val] = $$arg1 n/a
vardef2 <#undocumented#> #undocumented# string alias ^n guitext $arg2^n [@[arg1]val1] = $[@[arg1]1]^n [@[arg1]val2] = $[@[arg1]2]^n n/a
varflags <#undocumented#> #undocumented# string alias 0 n/a
varfld <#undocumented#> #undocumented# string alias varname = [@[arg1]val] ; guifield $varname $arg2 [@arg1 $@varname] n/a
varfld2 <#undocumented#> #undocumented# string alias guilist [^n varname1 = [@[arg1]val1]^n guifield $varname1 $arg2 [[@@[arg1]1] $@varname1]^n varname2 = [@[arg1]val2]^n guifield $varname2 $arg2 [[@@[arg1]2] $@varname2]^n] n/a
varhdef <#undocumented#> #undocumented# string alias guitext $arg2 ; [@[arg1]val] = (hexcolour $$arg1) n/a
varhdef2 <#undocumented#> #undocumented# string alias ^n guitext $arg2^n [@[arg1]val1] = (hexcolour $[@[arg1]1])^n [@[arg1]val2] = (hexcolour $[@[arg1]2])^n n/a
varincr <#undocumented#> #undocumented# string alias guilist [^n varname1 = [@[arg1]val1]^n guibutton ^"^^fy-^" [[@@[arg1]1] (- $@varname1 1)]^n guifield $varname1 $arg2 [[@@[arg1]1] $@varname1]^n guibutton ^"^^fg+^" [[@@[arg1]1] (+ $@varname1 1)]^n varname2 = [@[arg1]val2]^n guifield $varname2 $arg2 [[@@[arg1]2] $@varname2]^n] n/a
varindex <#undocumented#> #undocumented# string alias 0 n/a
varnoflags <#undocumented#> #undocumented# string alias 128 n/a
varnotypes <#undocumented#> #undocumented# string alias 56 n/a
varnum <#undocumented#> #undocumented# string alias -1 n/a
varscount <#undocumented#> #undocumented# string alias 30 n/a
varsearchstr <#undocumented#> #undocumented# string alias n/a
vartypes <#undocumented#> #undocumented# string alias 0 n/a
vcolor <#undocumented#> #undocumented# string alias vcolour $arg1 $arg2 $arg3 n/a
vertexparam0 <#undocumented#> #undocumented# string alias program.env[16] n/a
vertexparam1 <#undocumented#> #undocumented# string alias program.env[17] n/a
vertexparam2 <#undocumented#> #undocumented# string alias program.env[18] n/a
vertexparam3 <#undocumented#> #undocumented# string alias program.env[19] n/a
vertexparam4 <#undocumented#> #undocumented# string alias program.env[20] n/a
vertexparam5 <#undocumented#> #undocumented# string alias program.env[21] n/a
vertexparam6 <#undocumented#> #undocumented# string alias program.env[22] n/a
vertexparam7 <#undocumented#> #undocumented# string alias program.env[23] n/a
voice10snd <#undocumented#> #undocumented# integer alias 342 n/a
voice10str <#undocumented#> #undocumented# string alias yes~ n/a
voice11snd <#undocumented#> #undocumented# integer alias 343 n/a
voice11str <#undocumented#> #undocumented# string alias sorry n/a
voice12snd <#undocumented#> #undocumented# integer alias 343 n/a
voice12str <#undocumented#> #undocumented# string alias sry~ n/a
voice13snd <#undocumented#> #undocumented# integer alias 344 n/a
voice13str <#undocumented#> #undocumented# string alias no problem n/a
voice14snd <#undocumented#> #undocumented# integer alias 344 n/a
voice14str <#undocumented#> #undocumented# string alias np~ n/a
voice15snd <#undocumented#> #undocumented# integer alias 344 n/a
voice15str <#undocumented#> #undocumented# string alias no prob n/a
voice16snd <#undocumented#> #undocumented# integer alias 345 n/a
voice16str <#undocumented#> #undocumented# string alias no~ n/a
voice17snd <#undocumented#> #undocumented# integer alias 346 n/a
voice17str <#undocumented#> #undocumented# string alias go go go n/a
voice18snd <#undocumented#> #undocumented# integer alias 346 n/a
voice18str <#undocumented#> #undocumented# string alias gogogo n/a
voice19snd <#undocumented#> #undocumented# integer alias 347 n/a
voice19str <#undocumented#> #undocumented# string alias hang on n/a
voice1snd <#undocumented#> #undocumented# integer alias 334 n/a
voice1str <#undocumented#> #undocumented# string alias argh n/a
voice20snd <#undocumented#> #undocumented# integer alias 348 n/a
voice20str <#undocumented#> #undocumented# string alias thanks n/a
voice21snd <#undocumented#> #undocumented# integer alias 348 n/a
voice21str <#undocumented#> #undocumented# string alias ty~ n/a
voice2snd <#undocumented#> #undocumented# integer alias 335 n/a
voice2str <#undocumented#> #undocumented# string alias lucky shot n/a
voice3snd <#undocumented#> #undocumented# integer alias 336 n/a
voice3str <#undocumented#> #undocumented# string alias nice shot n/a
voice4snd <#undocumented#> #undocumented# integer alias 336 n/a
voice4str <#undocumented#> #undocumented# string alias ns~ n/a
voice5snd <#undocumented#> #undocumented# integer alias 337 n/a
voice5str <#undocumented#> #undocumented# string alias boom n/a
voice6snd <#undocumented#> #undocumented# integer alias 338 n/a
voice6str <#undocumented#> #undocumented# string alias damn n/a
voice7snd <#undocumented#> #undocumented# integer alias 339 n/a
voice7str <#undocumented#> #undocumented# string alias haha n/a
voice8snd <#undocumented#> #undocumented# integer alias 340 n/a
voice8str <#undocumented#> #undocumented# string alias suck n/a
voice9snd <#undocumented#> #undocumented# integer alias 341 n/a
voice9str <#undocumented#> #undocumented# string alias pzap n/a
voices <#undocumented#> #undocumented# integer alias 21 n/a
voteindex <#undocumented#> #undocumented# string alias 0 n/a
votemenu <#undocumented#> #undocumented# string alias ^n guipage vote 8 74 3.2 [1] (getvote) [^n voteplayers = (getvote $i 0)^n votemode = (getvote $i 1)^n votemuts = (getvote $i 2)^n votemap = (getvote $i 3)^n voteself = 0^n loop j $voteplayers [ if (= (getclientnum) (getvote $i 0 $j)) [ voteself = 1 ] ]^n ] [1] [^n guibutton ^"^^fwThere are no votes currently pending, ^^fgsubmit ^^fwone yourself^" [showgui maps 1] [] ^"chat^"^n ] [^n guilist [^n guicheckbox ^"^^fcdynamic sort^" sortvotes; guistrut 1.5^n guicheckbox ^"^^focleanup list^" cleanvotes; guistrut 1.5^n guibutton ^"^^fyclear vote^" clearvote^n guispring^n guilist [^n guibackground $guifieldbgcolour $guifieldbgblend $guifieldbordercolour $guifieldborderblend^n guilist [^n guistrut 1^n guitext (format ^"^^fc%1 ^^fwvote%2^" $votenum (? (!= $votenum 1) ^"s^"))^n guistrut 1^n ]^n ]^n ]^n guistrut 0.25^n ] [^n guimerge 72 [^n guicenter [^n guistrut 4 1^n votecolour = (? $voteself ^"^^fy^" ^"^^fw^")^n guicenter [guifont ^"default^" [guibutton (concatword $votecolour $voteplayers)]]^n guicenter [guifont ^"little^" [guibutton (format ^"%1vote%2^" $votecolour (? (!= $voteplayers 1) ^"s^"))]]^n ]^n voteimage = ^"textures/chat^"^n votepath = (listfind curmap $maplist [|| [=s $curmap $votemap] [=s [maps/@curmap] $votemap] [^n && [> $mapocta 0] [> $hasoctapaks 0] [=s [base/@curmap] $votemap]^n ]])^n if (> $votepath -1) [ voteimage = (at $mappath $votepath) ]^n guistrut 1^n guiimage $voteimage ^"^" 1.5 1 ^"textures/chat^"^n guistrut 1^n guicenter [^n gname = (gamename $votemode $votemuts 0 32)^n guibutton (format ^"^^fy%1 ^^favoted for on ^^fo%2^" $gname $votemap)^n guilist [^n if (> $voteplayers 0) [^n guibutton ^"^^fwby ^"^n guifont ^"little^" [ ^n pname = ^"^"^n pmore = 0^n loop j $voteplayers [^n if (|| $pmore (> (guitextwidth $pname) 1220)) [ pmore = (+ $pmore 1) ] [^n append pname (format [^"%1^"] (getclientname (getvote $i 0 $j) 1))^n ]^n ]^n guibutton (concat (prettylist $pname) (? $pmore (concat ^"and^^fy^" $pmore ^"^^fwmore^")))^n ]^n ] [ guibutton ^"^^fano current votes^" ]^n ]^n ]^n ] [^n if (= @voteself 1) [ clearvote ] [ start @@votemap @@votemode @@votemuts ]^n ]^n ] [^n guivisible [ guitip (format ^"press %1 to open this menu at any time^" (dobindsearch ^"showgui maps 2^")) ]^n ]^n n/a
votemenuinit <#undocumented#> #undocumented# string alias voteindex = 0 n/a
votenum <#undocumented#> #undocumented# string alias 0 n/a
vpstart <#undocumented#> #undocumented# string alias ^n !!ARBvp1.0^n ^n OPTION ARB_position_invariant;^n ATTRIB opos = vertex.position;^n ^n n/a
w <#undocumented#> #undocumented# NULL alias NULL n/a
waitbindactions <#undocumented#> #undocumented# string alias ^n forward backward left right ^"universaldelta 1^" ^"universaldelta -1^" ^"spectator 1^" ^"spectator 0^"^n ^"saycommand /^" ^"saytextcommand (getsaycolour)^" ^"sayteamcommand (getsaycolour)^" toggleconsole edittoggle thirdpersonswitch screenshot^n addbot delbot ^"showgui maps 1^" ^"showgui maps 2^" ^"setpriv 1^" ^"showgui loadout^" ^"showgui team^"^n ^"showcompass voice^" ^"showcompass team^"^n n/a
waitbindtitles <#undocumented#> #undocumented# string alias ^n forward backward left right ^"scroll up^" ^"scroll down^" ^"enter spectator^" ^"exit spectator^"^n ^"cmd input^" ^"all chat^" ^"team chat^" ^"toggle console^" ^"toggle editing^" ^"toggle thirdperson^" ^"screenshot^"^n ^"add bot^" ^"delete bot^" ^"maps menu^" ^"maps voting^" ^"claim privileges^" ^"loadout menu^" ^"team menu^"^n ^"voice compass^" ^"team compass^"^n n/a
water [<filter>] modifies the material properties for the selected cubes; <filter> limits the command to only affect cubes whose material match this {water, clip, ladder, etc.} string alias editmat water $arg1 n/a IDF_COMPLETE
water2 [<filter>] modifies the material properties for the selected cubes; <filter> limits the command to only affect cubes whose material match this {water, clip, ladder, etc.} string alias editmat water2 $arg1 n/a IDF_COMPLETE
water3 [<filter>] modifies the material properties for the selected cubes; <filter> limits the command to only affect cubes whose material match this {water, clip, ladder, etc.} string alias editmat water3 $arg1 n/a IDF_COMPLETE
water4 [<filter>] modifies the material properties for the selected cubes; <filter> limits the command to only affect cubes whose material match this {water, clip, ladder, etc.} string alias editmat water4 $arg1 n/a IDF_COMPLETE
watershader <#undocumented#> #undocumented# string alias ^n specular = $arg2^n rgbfog = $arg3^n distort = $arg4^n combine = $arg5^n lazyshader 0 $arg1 [^n @vpstart^n TEMP tc;^n PARAM campos = program.env[0];^n PARAM seconds = program.env[1];^n @(if $specular [result ^"PARAM lightpos = program.env[2];^"])^n^n DP4 result.texcoord[0].x, state.matrix.texture.row[0], opos;^n DP4 result.texcoord[0].y, state.matrix.texture.row[1], opos;^n @(if (>= (strstr $arg1 ^"underwater^") 0) [result [^n SUB result.texcoord[0].z, program.env[7], opos.z;^n ]] [result [^n SUB result.texcoord[0].z, opos.z, program.env[7];^n ]])^n DP4 result.texcoord[0].w, state.matrix.texture.row[3], opos;^n MUL tc, vertex.texcoord[0], 0.1;^n MAD result.texcoord[1].xy, seconds, 0.04, tc;^n MAD result.texcoord[2].xy, seconds, -0.02, tc;^n SUB result.texcoord[3].xyz, campos, opos;^n @(if $specular [result ^"SUB result.texcoord[4].xyz, lightpos, opos;^"])^n^n MOV result.color, vertex.color;^n^n @fogcoord^n^n END^n ] [^n @fpstart^n @(if $rgbfog [result ^"OPTION ARB_fog_linear;^"])^n TEMP he, light, cam, bump, invfresnel, temp, dudv;^n^n ATTRIB projtc = fragment.texcoord[0];^n ATTRIB tc1 = fragment.texcoord[1];^n ATTRIB tc2 = fragment.texcoord[2];^n ATTRIB camts = fragment.texcoord[3];^n @(if $specular [result ^"ATTRIB lightts = fragment.texcoord[4];^"])^n^n @(normalize cam camts)^n @(if $specular [result [^n @(normalize light lightts)^n ADD he.xyz, cam, light;^n @(normalize he he)^n ]])^n^n TEX dudv, tc1, texture[2], 2D;^n MAD dudv.xy, dudv, 2, -1;^n^n @distort^n^n @(if $specular [result [^n PARAM specfactor = 96;^n^n DP3_SAT he.x, he, bump;^n POW he.x, he.x, specfactor.w;^n^n MUL light.w, program.env[4].x, light.w;^n RCP_SAT light.w, light.w;^n MAD light.xyz, light.w, -program.env[3], program.env[3];^n ]])^n^n @combine^n^n END^n ]^n n/a
worldshader <#undocumented#> #undocumented# string alias ^n stype = 0^n if (>= (strstr $arg1 ^"env^") 0) [stype = (+ $stype 2)]^n shader $stype $arg1 [^n @vpstart^n ADD result.texcoord[0].xy, vertex.texcoord[0], program.env[0];^n MUL result.texcoord[1].xy, vertex.texcoord[1], @lmcoordscale;^n^n @arg2^n^n #pragma CUBE2_shadowmap^n #pragma CUBE2_dynlight^n @fogcoord^n #pragma CUBE2_water^n^n END^n ] [^n @fpstart^n OPTION ARB_fog_linear;^n TEMP diffuse, lm;^n TEX diffuse, fragment.texcoord[0], texture[0], 2D;^n TEX lm, fragment.texcoord[1], texture[1], 2D;^n^n #pragma CUBE2_shadowmap lm^n #pragma CUBE2_dynlight lm^n^n @arg3^n^n MUL diffuse, diffuse, program.env[6];^n @(if (< $numargs 4) [result [MUL result.color, diffuse, lm;]] [result $arg4])^n^n #pragma CUBE2_water^n^n END^n ]^n n/a
x <#undocumented#> #undocumented# NULL alias NULL n/a
xhairblend <#undocumented#> #undocumented# NULL alias NULL n/a IDF_UNKNOWN
xhairblendstorage <#undocumented#> #undocumented# NULL alias NULL n/a IDF_UNKNOWN
xhairprefix <#undocumented#> #undocumented# NULL alias NULL n/a IDF_UNKNOWN
xhairsize <#undocumented#> #undocumented# NULL alias NULL n/a IDF_UNKNOWN
xhairtex <#undocumented#> #undocumented# NULL alias NULL n/a IDF_UNKNOWN
y <#undocumented#> #undocumented# NULL alias NULL n/a