Scripts

From The MegaTF/TeamFortress Wiki!
Revision as of 09:55, 27 February 2018 by Klown (talk | contribs) (Grenade Timer)
Jump to: navigation, search

General scripts that any class can access should go in config.cfg located in ../quake/fortress/. Class based scripts can go in specific class configs (eg. ../quake/fortress/soldier.cfg)

Generally these scripts are supported by EzQuake.

Grenade Timer

Basic Grenade Script + Timer

bind  x             "primeone;play gren"
bind  c             "primetwo;play gren"
bind  f             "throwgren"


2-Touch Grenade Script + Timer

alias gren1prime "primeone; bind x gren1throw"
alias gren1throw "throwgren; bind x gren1prime"
alias gren2prime "primetwo; bind c gren2throw"
alias gren2throw "throwgren; bind c gren2prime"
alias grentime "play gren.wav"
msg_trigger grentime "renade primed"
alias cleargrens "bind x gren1prime; bind c gren2prime"
alias f_death cleargrens
bind x gren1prime
bind c gren2prime

Download grenade timer: GREN.zip

add more styles

Rocketjump Script

alias fwrj "impulse 7;-forward;+back;rotate 180;+jump;+attack;wait;-attack;-jump;-back;+forward;rotate 180;wait;-forward;impulse 7"
bind  mouse4 "fwrj"

add other styles


Generic Zoom Script

This can be applied anywhere, for example in each class config, with custom values, or as an overall zoom script in your main config.cfg

alias z20 "fov 20;wait;sensitivity 0.6;wait;bind mouse2 z105"
alias z105 "fov 105;wait;sensitivity 5;wait;bind mouse2 z20"
bind mouse2 "z25"

Taunts (very important)

alias gogogo "yell;wait;impulse 7;wait;yell;wait;impulse 7;wait;yell;wait;impulse 7;wait;yell;wait;impulse 7;wait;yell;wait;impulse 7;wait;yell;wait;impulse 7;wait;"
bind "yourkey" gogogo
alias pathetic "taunt;wait;impulse 8;wait;taunt;wait;impulse 8;wait;taunt;wait;impulse 8;wait;taunt;wait;impulse 8;wait;taunt;wait;impulse 8;wait;"
bind "yourkey" pathetic

Spy Quick Grapple


//quick grapple script
alias +grap "impulse 8; wait; +attack"
alias -grap "-attack; wait; impulse 2"
bind mouse2 "+grap"

Spy Feign with Backpack Throw


//Feigning with backpack throw
alias yesfeign "cl_pitchspeed 100000;+lookup;wait;+lookup;wait;discard;wait;cl_pitchspeed 150;-lookup;wait;force_centerview;wait;feign;wait;bind f unfeign"
alias unfeign "feign;wait;bind f yesfeign"
bind f yesfeign

Quick Cell Drop

//Cell drop script. Useful for Quick Sentry Gun Building technique
alias celldrops "dropammo;wait;impulse 4;wait;dropammo;wait;impulse 4;wait;dropammo;wait;impulse 4;wait;dropammo;wait;impulse 4;wait;dropammo;wait;impulse 4;wait;dropammo;wait;impulse 4;wait;dropammo;wait;impulse 4;wait;dropammo;wait;impulse 4;wait;dropammo;wait;impulse 4"
bind "key" celldrops

20mm Jump

//hwguy 20mm jump
alias 20mmjump "cl_pitchspeed 100000;+lookdown;wait;+attack;wait;+jump;wait;-attack;wait;-jump;wait;-lookdown;wait;force_centerview;wait;cl_pitchspeed 150"
bind "key" 20mmjump