This is an easier and faster method of switching to and from unlocked weapons.
*important* I have not earned all of the unlocks yet to verify that the aliases work. If they don't, please let me know and I'll attempt to fix it.
INSTALLATION:
Locate (or create) the file "heavyweapons.cfg" located in "\steam\steamapps\account\team fortress 2\tf\cfg\". Insert the script code (see below) into the file and save it.
USAGE:
Press the F1, F2, or F3 key to toggle your primary, secondary, or melee weapons respectively. You must be inside a respawn room for the weapon to change immediately, and must have earned the unlock.
NOTES:
If you're already equipped with an unlock when first spawning as heavy, and attempt to switch to a standard weapon, you will have to press the key twice to do so. This is because the first key press will attempt to switch to the unlock, which you may already have equipped. The second key press will then switch back to the standard weapon.
ADVANCED INSTALLATION:
At the bottom of the script are 6 commented lines of code, grouped by weapon slot. Uncommenting any of them will make you start with a specific weapon, instead of what you had equipped the last time you played heavy.
Script Code:
//Heavy Loadout Switcher v1.0
bind "f1" "los_toggle1"
bind "f2" "los_toggle2"
bind "f3" "los_toggle3"
alias "los_toggle1" "los_unlock1_display"
alias "los_toggle2" "los_unlock2_display"
alias "los_toggle3" "los_unlock3_display"
alias "los_standard1" "equip 6 0 0; alias los_toggle1 los_unlock1_display"
alias "los_standard2" "equip 6 1 0; alias los_toggle2 los_unlock2_display"
alias "los_standard3" "equip 6 2 0; alias los_toggle3 los_unlock3_display"
alias "los_unlock1" "equip 6 0 8; alias los_toggle1 los_standard1_display"
alias "los_unlock2" "equip 6 1 7; alias los_toggle2 los_standard2_display"
alias "los_unlock3" "equip 6 2 9; alias los_toggle3 los_standard3_display"
alias "los_standard1_display" "los_standard1; echo Minigun"
alias "los_standard2_display" "los_standard2; wait 50; slot2; echo Shotgun"
alias "los_standard3_display" "los_standard3; wait 50; slot3; echo Fists"
alias "los_unlock1_display" "los_unlock1; echo Natascha"
alias "los_unlock2_display" "los_unlock2; wait 50; slot2; echo The Sandvich
alias "los_unlock3_display" "los_unlock3; wait 50; slot3; echo The Killing Gloves of Boxing"
//CONFIGURATION:
//los_standard1 //Minigun
//los_unlock1 //Natascha
//los_standard2 //Shotgun
//los_unlock2 //The Sandvich
//los_standard3 //Fists
//los_unlock3 //The Killing Gloves of Boxing
Added: 3 months ago
Feedback (6)
Add Feedback
Provide constructive feedback. What is "constructive"? You must login or register to access this!