Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

bind key for instant respwan.
#1

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
Reply
#2

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...
Reply
#3

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.
Reply
#4

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

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"
Reply
#6

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

joinclass civilian
Reply
#8

*hellmet dies* :lol:
Reply
#9

Ho Ho.
Reply
#10

Thank you all!! Very much appreciated!

SourceOP kicks ass!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)