PDA

View Full Version : point_server- and clientcommand


Schinken
03-27-2010, 11:27 AM
Okay, just something i found out, i have no real use for it but it might be good to know for some of you ;).

So, if you place point_servercommand and name it to whatever, then place something to Trigger it, for example a trigger_multiple.

trigger_multiple -> OnStartTouch -> NAME_OF_point_servercommand -> Command -> sv_gravity 100


Would set the gravity to 100 :).

But you can do way more (bad) things with it, for example you can use the point_clientcommand to bind some keys :D.
For example: trigger_multiple -> OnStartTouch -> NAME_OF_point_clientcommand -> Command -> bind mouse1 kill

Would bind the kill function to the left mouse button, for the client of course :).

Or you could exit the clients game with: trigger_multiple -> OnStartTouch -> NAME_OF_point_clientcommand -> Command -> quit

Firest0rm
03-27-2010, 11:43 AM
but that would be so evil....

trigger_multiple -> OnStartTouch -> NAME_OF_point_clientcommand -> Command -> say IM A NOOB
trigger_multiple -> OnStartTouch -> NAME_OF_point_clientcommand -> Command -> explode
trigger_multiple -> OnStartTouch -> NAME_OF_point_clientcommand -> Command -> quit

Penguin
03-27-2010, 12:57 PM
How is this threadworthy?

A Boojum Snark
03-27-2010, 04:32 PM
This isn't exactly a tutorial, moved. It's as much or less info than the VDC has on each entity.