SourceOP
bind key for instant respwan. - Printable Version

+- SourceOP (http://forums.sourceop.com)
+-- Forum: SourceOP Server (http://forums.sourceop.com/SourceOP-Server-forum)
+--- Forum: Problems/Help (http://forums.sourceop.com/Problems-Help-forum)
+--- Thread: bind key for instant respwan. (/bind-key-for-instant-respwan-thread)

Pages: 1 2


bind key for instant respwan. - T - Aug 24, 2008

Hello,
Anyone know how to bind a key for use in instant respawn map that simply selects the same class immediatley.

Thank's
T just shat on


bind key for instant respwan. - avy - Aug 26, 2008

bind 1 "join_class scout"
bind 2 "join_class soldier"
bind 3 "join_class pyro"
bind 4 "join_class demoman"
bind 5 "join_class heavyweapons"
bind 6 "join_class engineer"
bind 7 "join_class medic"
bind 8 "join_class sniper"
bind 9 "join_class spy"

change the numbers to whatever key you want to use...


bind key for instant respwan. - Drunken F00l - Aug 26, 2008

You can also make a cfg in the tf\cfg folder for each class.

For example, spy.cfg:
Code:
bind f "joinclass sniper;joinclass spy"

And then in soldier.cfg
Code:
bind f "joinclass sniper;joinclass soldier"

Etc...

Just make it so it joins some other class and then back to the one you had. The cfg files for each class are automatically run. You might even be able to leave the first joinclass out and just do joinclass to the class you were already on. I don't know, I haven't tried it.


bind key for instant respwan. - avy - Aug 26, 2008

is it join_class or joinclass? I just copypasta'd from google...


bind key for instant respwan. - Biggs - Aug 26, 2008

Yea, for what you're wanting to do DF's method would be your best bet. It's join_class though. Unless joinclass works too. Confusedhrug:

scout.cfg:
bind f "join_class spy; join_class scout"
soldier.cfg:
bind f "join_class spy; join_class soldier"
pyro.cfg:
bind f "join_class spy; join_class pyro"
demoman.cfg:
bind f "join_class spy; join_class demoman"
heavyweapons.cfg:
bind f "join_class spy; join_class heavyweapons"
engineer.cfg:
bind f "join_class spy; join_class engineer"
medic.cfg:
bind f "join_class spy; join_class medic"
sniper.cfg:
bind f "join_class spy; join_class sniper"
spy.cfg:
bind f "join_class pyro; join_class spy"






I use my numpad to switch classes. 1 is scout and 9 is spy, just like on the menu.

bind kp_end "join_class scout"
bind kp_downarrow "join_class soldier"
bind kp_pgdn "join_class pyro"
bind kp_leftarrow "join_class demoman"
bind kp_5 "join_class heavyweapons"
bind kp_rightarrow "join_class engineer"
bind kp_home "join_class medic"
bind kp_uparrow "join_class sniper"
bind kp_pgup "join_class spy"
bind kp_ins "changeteam"
bind kp_del "changeclass"


bind key for instant respwan. - Drunken F00l - Aug 26, 2008

joinclass works. It's the one that shows up in the console autocomplete.


bind key for instant respwan. - Hell-met - Aug 26, 2008

joinclass civilian


bind key for instant respwan. - Retribution - Aug 30, 2008

*hellmet dies* :lol:


bind key for instant respwan. - Hell-met - Aug 30, 2008

Ho Ho.


bind key for instant respwan. - T - Sep 28, 2008

Thank you all!! Very much appreciated!

SourceOP kicks ass!