|
|
| Author(s): UserError
|
| Category: TF2 > Weapon Scripts |
Notes/Usage Instructions:
This is an easier and faster method of switching to and from unlocked weapons.
INSTALLATION:
Locate (or create) the file "medic.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 medic, 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 medic. |
Script Code:
//Medic Loadout Switcher v1.1
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 5 0 0; alias los_toggle1 los_unlock1_display"
alias "los_standard2" "equip 5 1 0; alias los_toggle2 los_unlock2_display"
alias "los_standard3" "equip 5 2 0; alias los_toggle3 los_unlock3_display"
alias "los_unlock1" "equip 5 0 1; alias los_toggle1 los_standard1_display"
alias "los_unlock2" "equip 5 1 2; alias los_toggle2 los_standard2_display"
alias "los_unlock3" "equip 5 2 3; alias los_toggle3 los_standard3_display"
alias "los_standard1_display" "los_standard1; echo Syringe Gun"
alias "los_standard2_display" "los_standard2; wait 50; slot2; echo Medi Gun"
alias "los_standard3_display" "los_standard3; wait 50; slot3; echo Bonesaw"
alias "los_unlock1_display" "los_unlock1; echo The Blutsauger"
alias "los_unlock2_display" "los_unlock2; wait 50; slot2; echo The Kritzkrieg"
alias "los_unlock3_display" "los_unlock3; wait 50; slot3; echo The Ubersaw"
//los_standard1 //Syringe Gun
//los_unlock1 //The Blutsauger
//los_standard2 //Medi Gun
//los_unlock2 //The Kritzkrieg
//los_standard3 //Bonesaw
//los_unlock3 //The Ubersaw |
| Added: 2 months ago |
 Add Feedback |
 You cannot assess yet!Moderating FPSB is in your hands - when you assess a submission your vote determines its success or failure. To vote on this submission register or login. This script in a nutshell... Handy & Detailed 2 x Handy 1 x Detailed 1 x Helpful You cannot stamp yet!Stamps let you apply characteristics to submissions to help others understand them. To stamp this submission register or login. Want more? Find related scripts. |