|
|
 |
| Welcome to FOoM's TeamFortress Files |
| SPY Scripts |
These are scripts for the spy only. For the best
results put them in your spy.cfg using notepad. You
may change the bind lines to include your own key
choices.
DarthGreg's Spy Disguise
Script.
This script also uses Keypad keys to autodisguise as class, however you can toggle the keys to disguise as freindly tem or enemy team.
This script produces a faster disguise than using the commandmenu, it has direct binds to the enemy disguise command. Another feature uses the attack key to to automatically re-disguise after firing. All the classes are included here, but experienced spys only use a few classes to disguise as, edit the script according to your preferences.
// BEGIN DISGUISE SCRIPT
alias +spyattack "+attack;"
alias -spyattack "-attack; last_disguise;"
bind mouse1 +spyattack
alias enemy_scout "disguise_enemy 1; alias last_disguise enemy_scout;"
alias enemy_sniper "disguise_enemy 2; alias last_disguise enemy_sniper;"
alias enemy_soldier "disguise_enemy 3; alias last_disguise enemy_soldier;"
alias enemy_demoman "disguise_enemy 4; alias last_disguise enemy_demoman;"
alias enemy_medic "disguise_enemy 5; alias last_disguise enemy_medic;"
alias enemy_hwguy "disguise_enemy 6; alias last_disguise enemy_hwguy;"
alias enemy_pyro "disguise_enemy 7; alias last_disguise enemy_pyro;"
alias enemy_spy "disguise_enemy 8; alias last_disguise enemy_spy;"
alias enemy_engineer "disguise_enemy 9; alias last_disguise enemy_engineer"
alias friendly_scout "disguise_friendly 1; alias last_disguise friendly_scout;"
alias friendly_sniper "disguise_friendly 2; alias last_disguise friendly_sniper;"
alias friendly_soldier "disguise_friendly 3; alias last_disguise friendly_soldier;"
alias friendly_demoman "disguise_friendly 4; alias last_disguise friendly_demoman;"
alias friendly_medic "disguise_friendly 5; alias last_disguise friendly_medic;"
alias friendly_hwguy "disguise_friendly 6; alias last_disguise friendly_hwguy;"
alias friendly_pyro "disguise_friendly 7; alias last_disguise friendly_pyro;"
alias friendly_spy "disguise_friendly 8; alias last_disguise friendly_spy;"
alias friendly_engineer "disguise_friendly 9; alias last_disguise friendly_engineer;"
alias enemy "speak enemy; bind kp_ins friendly; bind kp_end enemy_scout; bind kp_downarrow enemy_sniper; bind kp_pgdn enemy_soldier; bind kp_leftarrow enemy_demoman; bind kp_5 enemy_medic; bind kp_rightarrow enemy_hwguy; bind kp_home enemy_pyro; bind kp_uparrow enemy_spy; bind kp_pgup enemy_engineer;"
alias friendly "speak your; bind kp_ins enemy; bind kp_end friendly_scout; bind kp_downarrow friendly_sniper; bind kp_pgdn friendly_soldier; bind kp_leftarrow friendly_demoman; bind kp_5 friendly_medic; bind kp_rightarrow friendly_hwguy; bind kp_home friendly_pyro; bind kp_uparrow friendly_spy; bind kp_pgup friendly_engineer;"
bind "x" "enemy"
bind "c" "friend"
//add to spy cfg to start as disguise enemy soldier
enemy; enemy_soldier;
// END DISGUISE SCRIPT
Spy Disguise Script.
This is the old commandmenu script. It will automatically disguise you
to the enemy class you choose. The classes are bound
to the keypad numbers in the same order as regular
class choices - i.e: scout=1, sniper=2, soldier=3,
etc. Additionally you can announce your class disguise
and health/armor to your teammates by hitting the
"\" key after you choose your disguise
class.
//Part1 -Diguise, keypad
alias for spy quick disguise
bind "KP_HOME" "bind \
bspyro;+commandmenu 7 1 7 ."
bind "KP_UPARROW" "bind \
bsspy;+commandmenu 7 1 8 ."
bind "KP_PGUP" "bind \
bsengi;+commandmenu 7 1 9 ."
bind "KP_LEFTARROW" "bind \
bsdemo;+commandmenu 7 1 4 ."
bind "KP_5" "bind \ bsmedi;+commandmenu
7 1 5 ."
bind "KP_RIGHTARROW" "bind \
bshwgy;+commandmenu 7 1 6 ."
bind "KP_END" "bind \
bsscot;+commandmenu 7 1 1 ."
bind "KP_DOWNARROW" "bind \
bssnip;+commandmenu 7 1 2 ."
bind "KP_PGDN" "bind \
bssold;+commandmenu 7 1 3 ."
//Part2 -Team announce your disguise
alias bsscot "say_team I'm a spy as SCOUT [%h]
[%a]"
alias bssnip "say_team I'm a spy as SNIPER [%h]
[%a]"
alias bssold "say_team I'm a spy as SOLDIER [%h]
[%a]"
alias bsdemo "say_team I'm a spy as DEMOMAN [%h]
[%a]"
alias bsmedi "say_team I'm a spy as MEDIC [%h]
[%a]"
alias bshwgy "say_team I'm a spy as HWGUY [%h]
[%a]"
alias bspyro "say_team I'm a spy as PYRO [%h]
[%a]"
alias bsspy "say_team I'm a spy as SPY [%h]
[%a]"
alias bsengi "say_team I'm a spy as ENGINEER [%h]
[%a]"
Spy Feign
Script.
//fakedie
ver.2, will discard, silent feign, and keep disguise.
bind z
"discard;wait;sfeign;force_centerview"
Spy SlowDown
Script.
Caution! When you use this script you must
modify ALL your other class configs to include the
default speeds. If you dont you may end up playing
scout at a slow speed.
First put these 3 lines in ALL your class configs;
cl_forwardspeed 400
cl_backspeed 400
cl_sidespeed 400
Then you can safely use
this slowdown script to mimic the speed of your
disguise classes. It will annouce your speed to the
upper right of your screen
//spy slowdown script- 3
speeds
bind c "tf_sl1"
alias tf_sl1 "bind c tf_sl2;developer 1;echo slow
speed;developer 0;cl_forwardspeed 200;cl_backspeed
200;cl_sidespeed 200"
alias tf_sl2 "bind c tf_sl3;developer 1;echo
medium speed;developer 0;cl_forwardspeed
300;cl_backspeed 300;cl_sidespeed 300"
alias tf_sl3 "bind c tf_sl1;developer 1;echo
normal speed;developer 0;cl_forwardspeed
400;cl_backspeed 400;cl_sidespeed 400"
|
|
|
|
|
 |
|