Actions

Team Fortress 2 Scripts

From Rabbi Blog

The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

I've been playing TF2 lately and have gotten to the point where the weapon selecting is a bit slow for what I like. I may make scripts for each class (I cannot play Spy very well) as I go. Right now Pryo is my favorite class.

Crafting - [1]

pryo.cfg

//setup aliases for mouse5 to swap between primary and secondary
//First load sets Mouse5 to secondary on initial load
//Primary weapon defaults on all weapon changes after initial load
//Include mousewheel inventory changes and tertiary weapon selector

alias pyro_primary "slot1;bind mouse5 pyro_secondary;"
alias pyro_secondary "slot2;bind mouse5 pyro_primary"
bind "MOUSE5" "pyro_secondary"
bind "MWHEELUP" "invprev;bind mouse5 pyro_primary"
bind "MWHEELDOWN" "invnext;bind mouse5 pyro_primary"
bind "g" "slot3;bind mouse5 pyro_primary"

- Tested in class, need to test switching to another class. These settings may stick.

Spy

//setup aliases for mouse5 to swap between primary and secondary
//First load sets Mouse5 to secondary on initial load
//Primary weapon defaults on all weapon changes after initial load
//Include mousewheel inventory changes and tertiary weapon selector

alias spy_primary "slot1;bind mouse5 spy_secondary;" //gun & knife toggle
alias spy_secondary "slot3;bind mouse5 spy_primary" //gun & knife toggle
bind "MOUSE5" "spy_secondary"
bind "MWHEELUP" "invprev;bind mouse5 spy_primary"
bind "MWHEELDOWN" "invnext;bind mouse5 spy_primary"
bind "g" "slot2;bind mouse5 spy_primary"  //zapper 
bind "b" "slot4"  //disguise menu

autoexec.cfg

Untested

Turn down dingalingaling

tf_dingalingaling "1"
tf_dingaling_volume "0.75"
tf_dingaling_pitchmindmg "100"
tf_dingaling_pitchmaxdmg "100"