Upvote Upvoted 1 Downvote Downvoted
Classchanger Script Help needed!
1
#1
0 Frags +

Hello.
I want a script to easily change between two classes (solly and hoovy) to change to forward spawn and to quickly defend last.This is what I tryed, however it does not work as I inteded it.

alias hoovy "join_class "heavyweapons"; alias roam" "solly"
alias solly "join_class "soldier"; alias roam" "heavyweapons"
alias roam "hoovy"
bind KP_PGUP "roam"

If I press the key for the first time, I change to Hoovy.
If I press the key for the second time , I change to Solly.
However, if I press the key for the third time nothing happens...
(I would want the script to change my class to Hoovy again...)

Sorry for the bad english.

Hello.
I want a script to easily change between two classes (solly and hoovy) to change to forward spawn and to quickly defend last.This is what I tryed, however it does not work as I inteded it.

alias hoovy "join_class "heavyweapons"; alias roam" "solly"
alias solly "join_class "soldier"; alias roam" "heavyweapons"
alias roam "hoovy"
bind KP_PGUP "roam"

If I press the key for the first time, I change to Hoovy.
If I press the key for the second time , I change to Solly.
However, if I press the key for the third time nothing happens...
(I would want the script to change my class to Hoovy again...)



Sorry for the bad english.
2
#2
0 Frags +

Change the "heavyweapons" in the second line to "hoovy".

Change the "heavyweapons" in the second line to "hoovy".
3
#3
-4 Frags +

. 6
. 2

. 6
. 2
4
#4
0 Frags +

It should work if you limit the aliases to two "".
I can't test it right now but

alias heavy "join_class heavyweapons; alias roam solly"

should work.

It should work if you limit the aliases to two "".
I can't test it right now but
[code]alias heavy "join_class heavyweapons; alias roam solly"[/code]
should work.
5
#5
0 Frags +
alias "forwardspawn_random" "join_class "heavyweapons"; alias "forwardspawn_toggle" "forwardspawn_soldier""
alias "forwardspawn_soldier" "join_class "soldier"; alias "forwardspawn_toggle" "forwardspawn_random""
alias "forwardspawn_toggle" "forwardspawn_random"

bind "KP_PGUP" "forwardspawn_toggle"

I took my lazy forward spawn script and changed random to heavyweapons. That should do it, if not though here's the original, I could of just missed a quote somewhere.

alias "forwardspawn_random" "join_class "random"; alias "forwardspawn_toggle" "forwardspawn_soldier""
alias "forwardspawn_soldier" "join_class "soldier"; alias "forwardspawn_toggle" "forwardspawn_random";say_team "///MOVED SPAWN\\\""
alias "forwardspawn_toggle" "forwardspawn_random"

bind "f5" "forwardspawn_toggle"
[code]alias "forwardspawn_random" "join_class "heavyweapons"; alias "forwardspawn_toggle" "forwardspawn_soldier""
alias "forwardspawn_soldier" "join_class "soldier"; alias "forwardspawn_toggle" "forwardspawn_random""
alias "forwardspawn_toggle" "forwardspawn_random"

bind "KP_PGUP" "forwardspawn_toggle"[/code]


I took my lazy forward spawn script and changed random to heavyweapons. That should do it, if not though here's the original, I could of just missed a quote somewhere.

[code]alias "forwardspawn_random" "join_class "random"; alias "forwardspawn_toggle" "forwardspawn_soldier""
alias "forwardspawn_soldier" "join_class "soldier"; alias "forwardspawn_toggle" "forwardspawn_random";say_team "///MOVED SPAWN\\\""
alias "forwardspawn_toggle" "forwardspawn_random"

bind "f5" "forwardspawn_toggle"[/code]
6
#6
0 Frags +
salsaChange the "heavyweapons" in the second line to "hoovy".

Oh wow I was so close :) It works, thanks!

[quote=salsa]Change the "heavyweapons" in the second line to "hoovy".[/quote]

Oh wow I was so close :) It works, thanks!
7
#7
0 Frags +
sinner
alias "forwardspawn_random" "join_class "heavyweapons"; alias "forwardspawn_toggle" "forwardspawn_soldier""
alias "forwardspawn_soldier" "join_class "soldier"; alias "forwardspawn_toggle" "forwardspawn_random""
alias "forwardspawn_toggle" "forwardspawn_random"

bind "KP_PGUP" "forwardspawn_toggle"

I took my lazy forward spawn script and changed random to heavyweapons. That should do it, if not though here's the original, I could of just missed a quote somewhere.
alias "forwardspawn_random" "join_class "random"; alias "forwardspawn_toggle" "forwardspawn_soldier""
alias "forwardspawn_soldier" "join_class "soldier"; alias "forwardspawn_toggle" "forwardspawn_random";say_team "///MOVED SPAWN\\\""
alias "forwardspawn_toggle" "forwardspawn_random"

bind "f5" "forwardspawn_toggle"

I used this script and changed it around to create mine :P

[quote=sinner][code]alias "forwardspawn_random" "join_class "heavyweapons"; alias "forwardspawn_toggle" "forwardspawn_soldier""
alias "forwardspawn_soldier" "join_class "soldier"; alias "forwardspawn_toggle" "forwardspawn_random""
alias "forwardspawn_toggle" "forwardspawn_random"

bind "KP_PGUP" "forwardspawn_toggle"[/code]


I took my lazy forward spawn script and changed random to heavyweapons. That should do it, if not though here's the original, I could of just missed a quote somewhere.

[code]alias "forwardspawn_random" "join_class "random"; alias "forwardspawn_toggle" "forwardspawn_soldier""
alias "forwardspawn_soldier" "join_class "soldier"; alias "forwardspawn_toggle" "forwardspawn_random";say_team "///MOVED SPAWN\\\""
alias "forwardspawn_toggle" "forwardspawn_random"

bind "f5" "forwardspawn_toggle"[/code][/quote]

I used this script and changed it around to create mine :P
8
#8
0 Frags +
Bubberkill. 6
. 2

What?

[quote=Bubberkill]. 6
. 2[/quote]

What?
9
#9
0 Frags +

He wanted heavy, not engineer.

He wanted heavy, not engineer.
10
#10
0 Frags +
KarlsquellWhat?

Press em in-game

[quote=Karlsquell]
What?[/quote]
Press em in-game
11
#11
0 Frags +
BubberkillKarlsquellWhat?Press em in-game

It's . 5 anyway jerk.

[quote=Bubberkill][quote=Karlsquell]
What?[/quote]
Press em in-game[/quote]
It's . 5 anyway jerk.
12
#12
0 Frags +
aimIt's . 5 anyway jerk.

Fuck
You'd think I would learn the classes

[quote=aim]
It's . 5 anyway jerk.[/quote]
Fuck
You'd think I would learn the classes
Please sign in through STEAM to post a comment.