Search
Username:
Password:
Register or Reset Password
Remove the ads!
HWGuy Toggle-spin
Added by...
Metroid48
Author(s): Metroid48
Category: TF2 > Weapon Scripts
Notes/Usage Instructions:

Variation on the auto-spin code. Allows you to tap mouse2 to start or stop the minigun.
Script Code:
//Minigun auto-spin by Metroid48

alias +togglespinning "+spin"
alias -togglespinning "-spin"

alias toggle "stop"
alias start "alias toggle stop; alias -togglespinning -spin"
alias stop "alias toggle start; alias -togglespinning -nspin"

alias +spin "use tf_weapon_minigun"
alias -spin "+attack2;toggle"
alias -nspin "-attack2;toggle"

bind "MOUSE2" "+togglespinning"
Added: 12 months ago
Feedback (3)
Metroid48 .
Dragons!Y2M
Posted 11 months ago
Not sure exactly what you mean 404error. It really needs some scripting to make it a toggle, as that type of bind would just remove the entire point.

As for the medigun, spy cloak, demoman, etc. this is really for a script loader. Eg. put this in a script file that is loaded when you press num9, have num0 reset the binds on all the keys modified. I think there's already a good one submitted, but I might add my own just for reference.

EDIT: Here's my scriptloader for reference. It resets all the binds and also binds class scripts to the numpad keys: http://www.fpsbanana.com/scripting/2477
- Dragons!
.
The Best User and Second Sexiest Male™Y2M
Posted 11 months ago
Pros: Great for the Heavy, demonstrates knowledge.
Cons: Will interfere with Medic's ubercharge, if they last long enough to do 2. May be an easier way to script?
Notes: It might be possible to simply just put this as something like bindToggle "mouse2" "+attack2", reducing the need for all the excess scripting, and making the action milliseconds (between life and death) faster.
DrDeanDarko .
Whatcho' talkin' bout', Willis?Y2M
Posted 11 months ago
Pros: Execellent for a heavy user like me.
Cons: None
Improvements: None
Notes: Great work.
- Whatcho' talkin' bout', Willis?
Add Feedback
Provide constructive feedback. What is "constructive"?
You must login or register to access this!
Assessment
The community's verdict.
User Rating [+]
8/10
bScore
8.00/10
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.
Stamps
This script in a nutshell...
No stamps recorded
You cannot stamp yet!
Stamps let you apply characteristics to submissions to help others understand them.

To stamp this submission register or login.
Added by...
Metroid48 .
Dragons!
Not ranked

[+] Donate
Vote for Submitter
Like this script? Vote Metroid48 . for one or more monthly awards.
You must login or register to access this!
Related Scripts
Want more? Find related scripts.