|
|
Added by... 
| Author(s): The404Error |
| Category: TF2 > Weapon Scripts |
Notes/Usage Instructions:
This script makes it so when you hold down your scrollwheel, your melee weapon will automatically attack, and even if you slide it up and down (when held), it will not switch weapons. When the third mouse button is released, your mousewheel will be able to switch weapons, and you will switch to your primary weapon. |
Script Code:
alias +meleesmash "slot3; unbind "MWHEELDOWN"; unbind "MWHEELUP"; +attack"
alias -meleesmash "lastinv; bind "MWHEELDOWN" "invnext"; bind "MWHEELUP" "invprev"; -attack"
bind "mouse3" +meleesmash
NO FASTSWITCH ENABLE ADDITION
For those who don't have fastswitch (in preferences) enabled.
alias +meleesmash "slot3; +attack"
alias -meleesmash "lastinv; -attack"
bind "mouse3" +meleesmash
NO-MENU SCRIPT VERSION
If you already have my No-Menu Script, just add this to the bottom of it.
alias +meleesmash "weapon3; unbind "MWHEELDOWN"; unbind "MWHEELUP"; +attack"
alias -meleesmash "weapon1; -attack"
bind "mouse3" +meleesmash
---
UPDATE TO V2:
- Learned that this short version of the script works exactly the same way as my other one, and preserves everything. Oops!
---
UPDATE TO V3:
- Added the "No Fastswitch version, which doesn't include the scrollwheel binds.
- Fixed bugs in the script.
--- |
| Added: 11 months ago |
 Add Feedback |
 The community's verdict. No assessments made... please vote!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... No stamps recordedYou cannot stamp yet!Stamps let you apply characteristics to submissions to help others understand them. To stamp this submission register or login. .The Best User and Second Sexiest Male™ Ranked 161st with 14,709 points. 26 points behind .[+] DonateLike this script? Vote . for one or more monthly awards. You must login or register to access this!Want more? Find related scripts. |