04-09-2015, 06:44 PM | #1 |
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 |
|
04-13-2015, 12:49 AM | #2 |
Join Date: Oct 2009
Gametype: Capture the Flag Posts Rated Helpful 7 Times
|
ayy
|
|
04-13-2015, 07:37 PM | #3 |
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
__________________
|
|
04-13-2015, 11:18 PM | #4 |
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. |
|
04-14-2015, 01:26 AM | #5 | |
Join Date: Oct 2009
Gametype: Capture the Flag Posts Rated Helpful 7 Times
|
Quote:
|
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|