TFC scripts
Posted: Mon Apr 04, 2011 6:28 pm
Some commands are in the other thread (essential tfc settings).
Spy
cl_forwardspeed x - adjusts speed when disguising as a slower class
cl_sidespeed x
cl_backspeed x
Text comms
Voice comm should be used if possible, but if you prefer text comm, here are some scripts. Mind that some use the scr_connectmsg command to display a menu, this doesn't work any more except in slow software mode. (Meaning the menu is invisible, but you can still navigate through it blindly if you memorise the keys.)
http://www.roystonvasey.org.uk/dlds/lyc ... kup/comms/
Another note, for scripts using the echo command you need to enable developer mode (developer 1 in console). The text will appear at the top left corner.
Auto reload
alias +f "+forward;+reload"
alias -f "-forward;-reload"
alias +b "+back;+reload"
alias -b "-back;-reload"
alias +l "+moveleft;+reload"
alias -l "-moveleft;-reload"
alias +r "+moveright;+reload"
alias -r "-moveright;-reload"
Bind +f, +b, +l and +r.
Zoom
alias zoom zoom_in
alias zoom_in "fov 20;alias zoom zoom_out"
alias zoom_out "fov 0;alias zoom zoom_in"
alias +zoom "fov 20"
alias -zoom "fov 0"
Bind zoom for a toggle, bind +zoom for hold.
Duck jump
alias +dj "+duck;+jump"
alias -dj "-duck;-jump"
Bind +dj.
Some useful console commands
bind "x" "exec name.cfg" - Change your name to default.
In name.cfg put: name "your name here even with spaces (hooray)"
bind "x" "ForceCloseCommandMenu" - Useful for closing the vgui menu without making a selection.
bind "x" "stopsound" - Resolves sound issues e.g. on shutdown2, when you can't hear the grenade timer any more.
bind "x" "say health %h, armour %a" - Health/armour.
bind "x" "say ::: HOWDY %i :::" - Last person under your crosshair.
bind "x" "kill" - suicide
bind "x" "snapshot" - screenshot in .bmp format
room_type 0 ; room_off 1 - remove echo (e.g. openfire)
Spy
cl_forwardspeed x - adjusts speed when disguising as a slower class
cl_sidespeed x
cl_backspeed x
Text comms
Voice comm should be used if possible, but if you prefer text comm, here are some scripts. Mind that some use the scr_connectmsg command to display a menu, this doesn't work any more except in slow software mode. (Meaning the menu is invisible, but you can still navigate through it blindly if you memorise the keys.)
http://www.roystonvasey.org.uk/dlds/lyc ... kup/comms/
Another note, for scripts using the echo command you need to enable developer mode (developer 1 in console). The text will appear at the top left corner.
Auto reload
alias +f "+forward;+reload"
alias -f "-forward;-reload"
alias +b "+back;+reload"
alias -b "-back;-reload"
alias +l "+moveleft;+reload"
alias -l "-moveleft;-reload"
alias +r "+moveright;+reload"
alias -r "-moveright;-reload"
Bind +f, +b, +l and +r.
Zoom
alias zoom zoom_in
alias zoom_in "fov 20;alias zoom zoom_out"
alias zoom_out "fov 0;alias zoom zoom_in"
alias +zoom "fov 20"
alias -zoom "fov 0"
Bind zoom for a toggle, bind +zoom for hold.
Duck jump
alias +dj "+duck;+jump"
alias -dj "-duck;-jump"
Bind +dj.
Some useful console commands
bind "x" "exec name.cfg" - Change your name to default.
In name.cfg put: name "your name here even with spaces (hooray)"
bind "x" "ForceCloseCommandMenu" - Useful for closing the vgui menu without making a selection.
bind "x" "stopsound" - Resolves sound issues e.g. on shutdown2, when you can't hear the grenade timer any more.
bind "x" "say health %h, armour %a" - Health/armour.
bind "x" "say ::: HOWDY %i :::" - Last person under your crosshair.
bind "x" "kill" - suicide
bind "x" "snapshot" - screenshot in .bmp format
room_type 0 ; room_off 1 - remove echo (e.g. openfire)