Difference between revisions of "Script Reference"
(→Available Binds: FF colors added!) |
|||
| Line 85: | Line 85: | ||
=Available Binds= | =Available Binds= | ||
| − | {| border=" | + | {| width="100%" style="background:#f5faff; border:1px solid #dce7ed" |
| − | | | + | | |
| − | | | + | {| border="0" style="background:#ffffff; style="text-align:center;" width="100%" align="center" cellpadding="3" cellspacing="3" |
| − | + | |- style="background:#dce7ed; color:#000000" | | |
| − | + | | colspan="1" |'''Ingame Key Name (Binding)''' | |
| − | |- | + | | colspan="1" |'''Out of Game Key Name Notes''' |
| + | |- style="background-color: #f3f3f3;" | | ||
| | SPACE | | | SPACE | ||
| | Space Bar | | | Space Bar | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | CAPSLOCK | | | CAPSLOCK | ||
| | Caps Lock | | | Caps Lock | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | ESCAPE | | | ESCAPE | ||
| | Escape | | | Escape | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | F1 | | | F1 | ||
| | F1 (Function 1) | | | F1 (Function 1) | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | F2 | | | F2 | ||
| | F2 (Function 2) | | | F2 (Function 2) | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | F3 | | | F3 | ||
| | F3 (Function 3) | | | F3 (Function 3) | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | F4 | | | F4 | ||
| | F4 (Function 4) | | | F4 (Function 4) | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | F5 | | | F5 | ||
| | F5 (Function 5) | | | F5 (Function 5) | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | F6 | | | F6 | ||
| | F6 (Function 6) | | | F6 (Function 6) | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | F7 | | | F7 | ||
| | F7 (Function 7) | | | F7 (Function 7) | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | F8 | | | F8 | ||
| | F8 (Function 8) | | | F8 (Function 8) | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | F9 | | | F9 | ||
| | F9 (Function 9) | | | F9 (Function 9) | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | F10 | | | F10 | ||
| | F10 (Function 10) | | | F10 (Function 10) | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | F11 | | | F11 | ||
| | F11 (Function 11) | | | F11 (Function 11) | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | F12 | | | F12 | ||
| | F12 (Function 12) | | | F12 (Function 12) | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | PAUSE | | | PAUSE | ||
| | Pause / System Break Key | | | Pause / System Break Key | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | '''`''' | | | '''`''' | ||
| | Left Quote Also known as tilde ('''~''') | | | Left Quote Also known as tilde ('''~''') | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | '''-''' | | | '''-''' | ||
| | Hyphen ('''-''') | | | Hyphen ('''-''') | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | '''=''' | | | '''=''' | ||
| | Equals Sign | | | Equals Sign | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | BACKSPACE | | | BACKSPACE | ||
| | Backspace | | | Backspace | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | TAB | | | TAB | ||
| | Tab Key | | | Tab Key | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | ''']''' | | | ''']''' | ||
| | Right Bracket | | | Right Bracket | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | '''\''' | | | '''\''' | ||
| | Forward Slash | | | Forward Slash | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | SEMICOLON | | | SEMICOLON | ||
| | Semicolon (''';''') | | | Semicolon (''';''') | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | ''''''' | | | ''''''' | ||
| | Right Quote | | | Right Quote | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | '''/''' | | | '''/''' | ||
| | Back Slash | | | Back Slash | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | SHIFT | | | SHIFT | ||
| | Shift Key | | | Shift Key | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | ENTER | | | ENTER | ||
| | Enter or Carriage Return Not Keypad | | | Enter or Carriage Return Not Keypad | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | ''',''' | | | ''',''' | ||
| | Comma (''',''') | | | Comma (''',''') | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | CTRL | | | CTRL | ||
| | Control Left and Right Control are considered the same keys ingame. | | | Control Left and Right Control are considered the same keys ingame. | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | ALT | | | ALT | ||
| | Alt Left and Right ALT are considered the same keys ingame. | | | Alt Left and Right ALT are considered the same keys ingame. | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | 1 | | | 1 | ||
| | One | | | One | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | 2 | | | 2 | ||
| | Two | | | Two | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | 3 | | | 3 | ||
| | Three | | | Three | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | 4 | | | 4 | ||
| | Four | | | Four | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | 5 | | | 5 | ||
| | Five | | | Five | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | 6 | | | 6 | ||
| | Six | | | Six | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | 7 | | | 7 | ||
| | Seven | | | Seven | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | 8 | | | 8 | ||
| | Eight | | | Eight | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | 9 | | | 9 | ||
| | Nine | | | Nine | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | 0 | | | 0 | ||
| | Zero | | | Zero | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | A | | | A | ||
| | A | | | A | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | B | | | B | ||
| | B | | | B | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | C | | | C | ||
| | C | | | C | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | D | | | D | ||
| | D | | | D | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | E | | | E | ||
| | E | | | E | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | F | | | F | ||
| | F | | | F | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | G | | | G | ||
| | G | | | G | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | H | | | H | ||
| | H | | | H | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | I | | | I | ||
| | I | | | I | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | J | | | J | ||
| | J | | | J | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | K | | | K | ||
| | K | | | K | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | L | | | L | ||
| | L | | | L | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | M | | | M | ||
| | M | | | M | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | N | | | N | ||
| | N | | | N | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | O | | | O | ||
| | O | | | O | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | P | | | P | ||
| | P | | | P | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | Q | | | Q | ||
| | Q | | | Q | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | R | | | R | ||
| | R | | | R | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | S | | | S | ||
| | S | | | S | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | T | | | T | ||
| | T | | | T | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | U | | | U | ||
| | U | | | U | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | V | | | V | ||
| | V | | | V | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | W | | | W | ||
| | W | | | W | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | X | | | X | ||
| | X | | | X | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | Y | | | Y | ||
| | Y | | | Y | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | Z | | | Z | ||
| | Z | | | Z | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | UPARROW | | | UPARROW | ||
| | Up Arrow (Not Keypad) <br> | | | Up Arrow (Not Keypad) <br> | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | DOWNARROW | | | DOWNARROW | ||
| | Down Arrow (Not Keypad) <br> | | | Down Arrow (Not Keypad) <br> | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | RIGHTARROW | | | RIGHTARROW | ||
| | Right Arrow (Not Keypad) <br> | | | Right Arrow (Not Keypad) <br> | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | LEFTARROW | | | LEFTARROW | ||
| | Left Arrow (Not Keypad) <br> | | | Left Arrow (Not Keypad) <br> | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | INS | | | INS | ||
| | Insert (Not Keypad) <br> | | | Insert (Not Keypad) <br> | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | HOME | | | HOME | ||
| | Home (Not Keypad) <br> | | | Home (Not Keypad) <br> | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | PGUP | | | PGUP | ||
| | Page Up (Not Keypad) <br> | | | Page Up (Not Keypad) <br> | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | PGDN | | | PGDN | ||
| | Page Down (Not Keypad) <br> | | | Page Down (Not Keypad) <br> | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | DEL | | | DEL | ||
| | Delete (Not Keypad) <br> | | | Delete (Not Keypad) <br> | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | END | | | END | ||
| | End (Not Keypad) <br> | | | End (Not Keypad) <br> | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | KP_HOME | | | KP_HOME | ||
| | Keypad Home, 7 Keypad <br> | | | Keypad Home, 7 Keypad <br> | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | KP_UPARROW | | | KP_UPARROW | ||
| | Keypad Up Arrow, 8 Keypad <br> | | | Keypad Up Arrow, 8 Keypad <br> | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | KP_PGUP | | | KP_PGUP | ||
| | Keypad Page Up, 9 Keypad <br> | | | Keypad Page Up, 9 Keypad <br> | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | KP_LEFTARROW | | | KP_LEFTARROW | ||
| | Keypad Left Arrow, 4 Keypad <br> | | | Keypad Left Arrow, 4 Keypad <br> | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | KP_5 | | | KP_5 | ||
| | Keypad 5 Keypad <br> | | | Keypad 5 Keypad <br> | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | KP_RIGHTARROW | | | KP_RIGHTARROW | ||
| | Keypad Right Arrow, 6 Keypad <br> | | | Keypad Right Arrow, 6 Keypad <br> | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | KP_END | | | KP_END | ||
| | Keypad End, 1 Keypad <br> | | | Keypad End, 1 Keypad <br> | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | KP_DOWNARROW | | | KP_DOWNARROW | ||
| | Keypad Down Arrow, 2 Keypad <br> | | | Keypad Down Arrow, 2 Keypad <br> | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | KP_PGDN | | | KP_PGDN | ||
| | Keypad Page Down, 3 Keypad <br> | | | Keypad Page Down, 3 Keypad <br> | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | KP_ENTER | | | KP_ENTER | ||
| | Keypad Enter Keypad <br> | | | Keypad Enter Keypad <br> | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | KP_INS | | | KP_INS | ||
| | Keypad Insert, 0 Keypad <br> | | | Keypad Insert, 0 Keypad <br> | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | KP_DEL | | | KP_DEL | ||
| | Keypad Del, '.' Keypad <br> | | | Keypad Del, '.' Keypad <br> | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | KP_SLASH | | | KP_SLASH | ||
| | Keypad Back Keypad <br> | | | Keypad Back Keypad <br> | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | KP_MINUS | | | KP_MINUS | ||
| | Keypad Hyphen, - Keypad <br> | | | Keypad Hyphen, - Keypad <br> | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | KP_PLUS | | | KP_PLUS | ||
| | Keypad Plus, + Keypad <br> | | | Keypad Plus, + Keypad <br> | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | '''<nowiki>*</nowiki>''' | | | '''<nowiki>*</nowiki>''' | ||
| | Keypad Star, '''*''' Keypad <br> | | | Keypad Star, '''*''' Keypad <br> | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | MOUSE1 | | | MOUSE1 | ||
| | Mouse Button 1 <br> | | | Mouse Button 1 <br> | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | MOUSE2 | | | MOUSE2 | ||
| | Mouse Button 2 <br> | | | Mouse Button 2 <br> | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | MOUSE3 | | | MOUSE3 | ||
| | Mouse Button 3 (Middle button, if you have a 3 button mouse and it isnt working, try installing the latest drivers for your mouse and if your mouse software allows it, assign middle button to 'default' or 'middle button'). <br> | | | Mouse Button 3 (Middle button, if you have a 3 button mouse and it isnt working, try installing the latest drivers for your mouse and if your mouse software allows it, assign middle button to 'default' or 'middle button'). <br> | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | MOUSE4 | | | MOUSE4 | ||
| | Mouse Button 4 (You may need to either install or uninstall mouse drivers for this button to work). <br> | | | Mouse Button 4 (You may need to either install or uninstall mouse drivers for this button to work). <br> | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | MOUSE5 | | | MOUSE5 | ||
| | Mouse Button 5 (You may need to either install or uninstall mouse drivers for this button to work). <br> | | | Mouse Button 5 (You may need to either install or uninstall mouse drivers for this button to work). <br> | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | MWHEELUP | | | MWHEELUP | ||
| | Mouse Wheel Up <br> | | | Mouse Wheel Up <br> | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
| | MWHEELDOWN | | | MWHEELDOWN | ||
| | Mouse Wheel Down<br> | | | Mouse Wheel Down<br> | ||
| − | |- | + | |- style="background-color: #f3f3f3;" | |
|} | |} | ||
[[Category:Scripts]] | [[Category:Scripts]] | ||
Revision as of 00:38, 3 February 2008
General commands
cl_ragdoll_deathview 0/1 - When you die, your view follows your body. For instance, if your head gets blown across the map, your view is too.
hud_fastswitch 0/1/2 - Quick weapon changing [can also be set via "Options - Keyboard - Advanced - Fast weapon switch] (1 = keyboard & mouse, 2 = keyboard only)
dropitems - Throws the flag/item being carried
discard - Drops unneeded ammo packs
saveme - Call for Medic (to heal your health)
engyme - Call for Engineer (to repair your armor)
+medengymenu - Medic/Engy radial menu
primeone - Primes one of your primary grenades.
primetwo - Prime one of your secondary grenades.
throwgren - Throw a primed grenade.
toggleone - Primes and throws primary grenade on subsequent touches
toggletwo - Primes and throws secondary grenade on subsequent touches
+gren1 - Primes primary grenade
-gren1 - Throws primary grenade
+gren2 - Primes secondary grenade
-gren2 - Throws secondary grenade
cl_spawnslot slot number - Weapon slot to spawn with
cl_classautokill - Die as soon as you change classes
cl_grenadetimer - Timer file to use [can also be set via "Crosshairs / Timers - Timers"]
cl_autoreload 0 or 1 - Automatic weapon reload
changeteam - Brings up the screen to select teams
changeclass - Brings up the class change screen
class X - Change class : Takes effect upon next death
team X - Change team : Takes effect upon next death
%a - Shows your Armour
%h - Shows your Health
%l - Shows your Location
%c - Shows your Class
hud_centerid 0 or 1 - Sets player info in centre of screen
net_graphpos X - Change position of net_graph info (1 is bottom right, 2 is bottom centre, 3 is bottom left)
cl_hints 0 or 1 - Toggles Hints
Class-Specific Commands
Scout
"radar" or "+attack2" - Scout radar: Provides a snapshot of the position of enemy and friendly players.
Sniper
"+attack2" - Zoom the sniper rifle
Demoman
The Detpack weapon is in "slot6"
"detpipe" is now gone. You must use "+attack2" to det pipes.
detpack time - Sets detpack timer for specified amount of time.
Medic
Medkit is in "slot1", and "+attack2" can also be used
Spy
disguise team class - Spy disguise : [team can be color, enemy or friendly]
eg: bind "x" "disguise enemy soldier"
cloak - Cloak - (replaces feign)
scloak - Silent Cloak - (replaces sfeign)
[You cannot run and jump/bunnyhop whilst cloaked]
sentrysabotage - Places sabotage unit on Sentry Gun
dispensersabotage - Places sabotage unit on Dispenser
The above commands can be accessed via the Spy's Radial Menu using "+attack2"
Engineer
Dispenser is now "slot4"
Sentry Gun is now "slot5"
dispenser - To build Dispenser
sentrygun - To build Sentry Gun
dismantlesentry - To dismantle Sentry Gun
aimsentry - Aims Sentry Gun in direction crosshairs are pointing.
detdismantlesentry - Dismantles or detonate Sentry Gun depending on distance
detsentry - To detonate Sentry Gun
dismantledispenser - To dismantle Dispenser
detdispenser - Detonates the Dispenser
The above commands can all be accessed via the Engineer's "Radial Menu": +attack2
Available Binds
|