Search
Username:
Password:
Register or Reset Password
Remove the ads!
Auto Re-Disguise from a list.
Added by...
Rlaro
Author(s): Rlaro
Category: TF2 > Action Scripts
Notes/Usage Instructions:

----------------------------------------------------------
*UPDATED (24.03) (SCRIPT OPTIMISED)

Using the sapper no longer re-disguises
Using the gun will remove disguise for capturing
Only when using the knife (slot3) will activate the re-disguise script.
Removed the turn off script key
Toggling disguise colour now actively changes

-----------------------------------------------------------------

This script makes the spy auto-disguise after stabbing, then disguising to classes from a specified list.

It's much better than an ordinary auto-randomdisguise/auto-lastdisguise because you can eliminate the poor disguises while always keeping a fresh disguise.

It's great for when your cover gets busted after backstabbing and your disguise gets tainted. You can get busted, run away, then run back and they'll still be looking for the old disguise.

The auto-disguise toggles through PYRO, DEMOMAN and ENGINEER with everytime you stab.

You'll never have to worry about disguising ever again, Now you can get busy with the stabbing :)

O = Toggles the disguises team colour.

Comment if there is any problems! Feedback makes this script better!
Script Code:
//Spy script - Random auto-disguise from a specified list.
//Script written by Larolaro http://larolaro.blogspot.com

//Feel Free to use this script however you wish - Please credit me where you can.

//This script makes the spy auto-disguise after stabbing, then disguising to classes from a specified list.
//It's much better than an ordinary auto-randomdisguise/auto-lastdisguise because you can eliminate the poor disguises.
//It's great for when your cover gets busted after backstabbing and your disguise gets tainted.
//The auto-disguise toggles through PYRO, DEMOMAN and ENGINEER with everytime you stab.

bind "o" "switch" //This makes the O Key toggle the disguises team colour.

//This next bit is the list of disguises. Using these three disguises are the most effective than any others.

//RED TOGGLER
;alias tglr "tglr1"
;alias tglr1 "disguise 4 2 ;alias tglr tglr2" //PYRO
;alias tglr2 "disguise 7 2 ;alias tglr tglr3" //DEMOMAN
;alias tglr3 "disguise 9 2 ;alias tglr tglr1" //ENGINEER

//BLUE TOGGLER
;alias tglb "tglb1"
;alias tglb1 "disguise 4 1 ;alias tglb tglb2" //PYRO
;alias tglb2 "disguise 7 1 ;alias tglb tglb3" //DEMOMAN
;alias tglb3 "disguise 9 1 ;alias tglb tglb1" //ENGINEER

//For this section the numbers "2" and "3" should be corresponding with your slot2 and slot3 keys
//by default it should work fine but will clash if you have other scripts that use the 2 and 3 keys or you binded your slot2 and slot3 keys to something else.

bind "2" "-attack; slot2; defaulter"
bind "3" "slot3; redstabdisguise"

;alias "setup3" "bind "3" "spyon3""
;alias "setup4" "bind "3" "spyon4""

//Leave this next bit as it is.

;alias "defaulter" "bind "MOUSE1" "+attack""

;alias "spyon2" "-attack; slot2; defaulter"
;alias "spyon3" "slot3; redstabdisguise"
;alias "spyon4" "slot3; bluestabdisguise"

;alias switch "switch1"
;alias switch1 "setup3; redstabdisguise; tglr; alias switch switch2"
;alias switch2 "setup4; bluestabdisguise ; tglb; alias switch switch1"

;alias "bluestabdisguise" "bind "MOUSE1" "+bstabdis""
;alias "+bstabdis" "+attack"
;alias "-bstabdis" "-attack; wait 20; lastdisguise; tglb"

;alias "redstabdisguise" "bind "MOUSE1" "+rstabdis""
;alias "+rstabdis" "+attack"
;alias "-rstabdis" "-attack; wait 20; lastdisguise; tglr"
Added: 7 months ago
Feedback (22)
Page of 3   1 2 3 Next Page
Radu889 .
BananiteY2M
Posted 23 days ago
When I shoot my gun I still redisguise.
- Bananite
Anonymous
Posted 3 months ago
Pros: I like it,
Improvements: could use some more classes
 
Woraug .
BananiteY2M
Posted 4 months ago
I have a couple questions as well. For one, I too would like to know how to add more classes to the rotation. Perhaps you should add all the classes to the list, and comment out all but the original 3. People can then uncomment the ones they want added to the list. Also, a few Steam updates ago, the script began to auto disguise with all weapons, when I clicked mouse1, and also if I clicked mouse1 while cloaked it changes my disguise. Is there any way to fix this?
- Bananite
MJS .
BananiteY2M
Posted 5 months ago
I would like to add more classes to this, how do i do that? so instead of 3 i'd like to make it a rotation of 5
- Bananite
Rlaro .
...Y2M
Posted 6 months ago
Posted by DoctorQ

How could I modify this so that instead of auto-disguising after attacking, I could simply hit the B key (lastdisguise) and let it cycle through the three disguises that way?

It's a really nice script, but I find that it makes getaways near impossible, as you disguise before you cloak after performing a stab. Walking puff of smoke is easy to spot :P


I took in your suggestion and came up with an alternitive script that uses cloaking to re-disguise, it pretty much the same but its smokeless.

Try this one - > http://www.fpsbanana.com/scripting/3230
- ...
Rlaro .
...Y2M
Posted 6 months ago
Posted by serotonin

Posted by Rlaro

Posted by DoctorQ

How could I modify this so that instead of auto-disguising after attacking, I could simply hit the B key (lastdisguise) and let it cycle through the three disguises that way?

It's a really nice script, but I find that it makes getaways near impossible, as you disguise before you cloak after performing a stab. Walking puff of smoke is easy to spot :P


How about putting in a longer waiting time before re-disguising? giving you enough time to cloak?

I can see what you're saying though!

I'm of a similar mind as DoctorQ on this, I think.

That said, simply adding a longer wait time to the current script does seem like it would be a tolerable remedy, though.

How much of a wait time would you suggest, Rlaro? I see that the current time is set at a value of 20... what value would be long enough to make the wait time last a few seconds?


The problem is with adding a couple seconds is that everytime you stab after the first stab, the keypresses will back up and continue to change your disguise however many times you pressed it.

I have not yet found a command that cancels the initiation of a command line.

so no matter what, the command must finish.

Anyway if you do want to add more time onto the re-disguise, look at your framerate in "net_graph 1" however many the number of your fps is is the number of a second. For example 40fps is my framerate, so for 2 seconds that would be "wait 80".
- ...
serotonin .
BananiteY2M
Posted 6 months ago
Posted by Rlaro

Posted by DoctorQ

How could I modify this so that instead of auto-disguising after attacking, I could simply hit the B key (lastdisguise) and let it cycle through the three disguises that way?

It's a really nice script, but I find that it makes getaways near impossible, as you disguise before you cloak after performing a stab. Walking puff of smoke is easy to spot :P


How about putting in a longer waiting time before re-disguising? giving you enough time to cloak?

I can see what you're saying though!

I'm of a similar mind as DoctorQ on this, I think.

That said, simply adding a longer wait time to the current script does seem like it would be a tolerable remedy, though.

How much of a wait time would you suggest, Rlaro? I see that the current time is set at a value of 20... what value would be long enough to make the wait time last a few seconds?
- Bananite
Rlaro .
...Y2M
Posted 6 months ago
Posted by DoctorQ

How could I modify this so that instead of auto-disguising after attacking, I could simply hit the B key (lastdisguise) and let it cycle through the three disguises that way?

It's a really nice script, but I find that it makes getaways near impossible, as you disguise before you cloak after performing a stab. Walking puff of smoke is easy to spot :P


How about putting in a longer waiting time before re-disguising? giving you enough time to cloak?

I can see what you're saying though!
- ...
DoctorQ .
BananiteY2M
Posted 6 months ago
How could I modify this so that instead of auto-disguising after attacking, I could simply hit the B key (lastdisguise) and let it cycle through the three disguises that way?

It's a really nice script, but I find that it makes getaways near impossible, as you disguise before you cloak after performing a stab. Walking puff of smoke is easy to spot :P
- Bananite
Andithus .
LOLWUT!!??!Y2M
Posted 6 months ago
Thanks a lot, sorted the problem, i was using the lastweapon key. works great.

one quick question: is there anyway yuo can make one that still works even if i use the mousewheel or lastweapon key?
- LOLWUT!!??!
Page of 3   1 2 3 Next Page
Add Feedback
Provide constructive feedback. What is "constructive"?
You must login or register to access this!
Assessment
The community's verdict.
User Rating [+]
9.3/10
bScore
9.33/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...
Helpful & Handy
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...
Ranked 2657th ( 5) with 594 points.

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