Spawn Facing the Center

Expand and mod your server.
Post Reply
User avatar
L4m3r
Hater of Everything
Hater of Everything
Posts: 724
Joined: Tue Feb 08, 2005 5:15 am
Location: Los Angeles

Spawn Facing the Center

Post by L4m3r »

This was requested by Optic Delusion, and I had figured that some others might have a use for it. (I was going to post it BEFORE someone asked, but forgot- D'oh!)

As the name indicates, this plug-in modifies all spawns to face the dead center of the map, (0, 0, z). Of course, if the spawn is at exactly (0, 0, z), then it won't do anything. :)

Use with care! There is definitely some potential for jerks to exploit this mechanism for spawnkilling by camping at an edge/corner, especially if there are lasers and/or spawn zones.
Attachments
spawnFacingCenter.cpp
(1.11 KiB) Downloaded 285 times
Optimism is just a milder alternative to denial.
User avatar
optic delusion
Special Forces
Special Forces
Posts: 1052
Joined: Sat Sep 25, 2004 2:29 pm
Location: Planet MoFo
Contact:

Re: Spawn Facing the Center

Post by optic delusion »

A while ago KTL helped me with that steamroller race plugin. We had it using a custom map object where players would spawn facing any chosen direction.
Would be maybe useful to see that broken out as a separate plugin.
Take a look at my Defender game mode concept.

Thinking is not an automatic process. A man can choose to think or to let his mind stagnate, or he can choose actively to turn against his intelligence, to evade his knowledge, to subvert his reason. If he refuses to think, he courts disaster: he cannot with impunity reject his means of perceiving reality.
Post Reply