Fortress Forever

Go Back   Fortress Forever > Community > General Discussion

Reply
 
Thread Tools Display Modes
Old 04-09-2015, 06:44 PM   #1
DFA1979
 
DFA1979's Avatar
 
Join Date: Oct 2009
Gametype: Capture the Flag
Posts Rated Helpful 7 Times
Spy script

I used to have a spy script that, at the press of a button, would cloak you and set you as a random player class on the opposite team.

Could anyone help me write this? i have no idea where to start.

Thanks
DFA1979 is offline   Reply With Quote


Old 04-13-2015, 12:49 AM   #2
DFA1979
 
DFA1979's Avatar
 
Join Date: Oct 2009
Gametype: Capture the Flag
Posts Rated Helpful 7 Times
ayy
DFA1979 is offline   Reply With Quote


Old 04-13-2015, 07:37 PM   #3
NeonLight
NeoNL
Wiki Team
Beta Tester
 
Join Date: Oct 2008
Location: Boston, Mass
Class/Position: Soldier, Medic
Gametype: AvD
Affiliations: +M|M+ -RS
Posts Rated Helpful 170 Times
I get home in two hours and I'll take a crack at it. Pretty simple script
NeonLight is offline   Reply With Quote


Old 04-13-2015, 11:18 PM   #4
NeonLight
NeoNL
Wiki Team
Beta Tester
 
Join Date: Oct 2008
Location: Boston, Mass
Class/Position: Soldier, Medic
Gametype: AvD
Affiliations: +M|M+ -RS
Posts Rated Helpful 170 Times
So there is no way that I know of to truly randomize disguising. You can reorder these how you want and also change the actual bind key

Code:
alias rdc1 "cloak;disguise enemy soldier;alias randomdisguisecloak rdc2"
alias rdc2 "cloak;disguise enemy pyro;alias randomdisguisecloak rdc3"
alias rdc3 "cloak;disguise enemy medic;alias randomdisguisecloak rdc4"
alias rdc4 "cloak;disguise enemy engineer;alias randomdisguisecloak rdc5"
alias rdc5 "cloak;disguise enemy spy;alias randomdisguisecloak rdc6"
alias rdc6 "cloak;disguise enemy hwguy;alias randomdisguisecloak rdc7"
alias rdc7 "cloak;disguise enemy scout;alias randomdisguisecloak rdc8"
alias rdc8 "cloak;disguise enemy demoman;alias randomdisguisecloak rdc9"
alias rdc9 "cloak;disguise enemy sniper;alias randomdisguisecloak rdc1"
alias randomdisguisecloak rdc1

bind "k" "randomdisguisecloak"

Last edited by NeonLight; 04-13-2015 at 11:18 PM.
NeonLight is offline   Reply With Quote


Old 04-14-2015, 01:26 AM   #5
DFA1979
 
DFA1979's Avatar
 
Join Date: Oct 2009
Gametype: Capture the Flag
Posts Rated Helpful 7 Times
Quote:
Originally Posted by Voss View Post
So there is no way that I know of to truly randomize disguising. You can reorder these how you want and also change the actual bind key

Code:
alias rdc1 "cloak;disguise enemy soldier;alias randomdisguisecloak rdc2"
alias rdc2 "cloak;disguise enemy pyro;alias randomdisguisecloak rdc3"
alias rdc3 "cloak;disguise enemy medic;alias randomdisguisecloak rdc4"
alias rdc4 "cloak;disguise enemy engineer;alias randomdisguisecloak rdc5"
alias rdc5 "cloak;disguise enemy spy;alias randomdisguisecloak rdc6"
alias rdc6 "cloak;disguise enemy hwguy;alias randomdisguisecloak rdc7"
alias rdc7 "cloak;disguise enemy scout;alias randomdisguisecloak rdc8"
alias rdc8 "cloak;disguise enemy demoman;alias randomdisguisecloak rdc9"
alias rdc9 "cloak;disguise enemy sniper;alias randomdisguisecloak rdc1"
alias randomdisguisecloak rdc1

bind "k" "randomdisguisecloak"
Thanks a lot!
DFA1979 is offline   Reply With Quote


Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:02 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.