To use this script, copy the "rads" folder to your TF2 "cfg" folder. Put exec rads/base.cfg in your autoexec.cfg and exec rads/reset.cfg in each of your class configs (scout.cfg, demoman.cfg, soldier.cfg, etc.) Now you can write your configs. Note that my script does not change anything on its own; it's just a tool to help you write concise class configs.
---
I think everyone should use an auto-heal script and a pistol script, but I hate troubleshooting for people when they can't set it up. So I made a config file that makes those scripts and a few others foolproof.
For example, what if I want to add an auto-heal script and a Medigun/Kritzkrieg toggle to my Medic config? Here's the code:
bind ] "toggle_kritzkrieg"
setup_medic_binds
I want to use a pistol script for the Scout too:
setup_weapon_bindsbind mouse1 "+attack_with_auto_pistol"
But you probably want to auto-reload the scattergun as well:
alias s1 "+reload"
alias s2 "-reload"
setup_weapon_binds
bind mouse1 "+attack_with_auto_pistol"
I like to hide the weapon model on the scattergun, so my Scout config looks like this:
alias s1 "+reload; hide_weapon_model"
alias s2 "-reload; show_weapon_model"
setup_weapon_binds
bind mouse1 "+attack_with_auto_pistol"
With four lines of code, I added an auto-pistol script, auto-reload, and weapon hiding. The cool thing about this config is that you can do anything with it. I know some people like to use a higher sensitivity for their SMG and melee weapon with the Sniper:
alias s1 "sensitivity 2"
alias s2 "sensitivity 4"
setup_weapon_binds
The config also has a crouch jump script (I use it with the Demoman):
bind space "+crouch_jump"