URGENT! Point_Clientcommand on a Door?

  • If you're asking a question make sure to set the thread type to be a question!

kjmoney

L1: Registered
Jul 13, 2011
4
0
Hello! I hate to beg for help on my first post here, but I'm trying to learn here.

I wanted to be able to point_clientcommand the SPAWN DOOR in 2Fort.

I want to put something into my server config above my unbindall that makes it so that everyone who looks at the spawn door automatically gets these bindings:

bind A_BUTTON "+jump"
bind B_BUTTON "+reload"
bind X_BUTTON "incrementvar sv_cheats 0 1 1"
bind Y_BUTTON "incrementvar sv_alltalk 0 1 1"
bind UP "incrementvar mp_friendlyfire 0 1 1"
bind DOWN "ent_create info_player_teamspawn"
bind RIGHT "ent_fire !picker color 666"
bind LEFT "changelevel d1_under_01"
bind "L_SHOULDER" "invprev"
bind "R_SHOULDER" "invnext"
bind "BACK" "changeclass"
bind "STICK1" "+duck"
bind "STICK2" "voicemenu 1 3"
bind "S1_UP" "xmove"
bind "L_TRIGGER" "+attack2"
bind "R_TRIGGER" "+attack"
bind "S2_UP" "xlook"

If someone could please provide me a .cfg file that would allow me to add this output to the spawn doors for clients in my game, I would appreciate it.
 

Psy

The Imp Queen
aa
Apr 9, 2008
1,706
1,491
Never mind that. I'm strangely drawn to the intent of all these rather random binds for the 360 controller.
 

kjmoney

L1: Registered
Jul 13, 2011
4
0
To everyone who thinks I want to fuck up people's binds:

I don't; this is to try on my Xbox system link, since it takes Source commands also.

Could someone please just show me a script that does this?

Also, this is why I have all of the Xbox 360 buttons.
 

Penguin

Clinically Diagnosed with Small Mapper's Syndrome
aa
May 21, 2009
2,039
1,484
you'd have to save that list as a config file and then have the point_clientcommand exec it.
 

kjmoney

L1: Registered
Jul 13, 2011
4
0
I was told by another person that I could somehow put point_clientcommands above the "unbindall" in my config file, and that that would allow me to change someone's controls.

Is that right?