05-04-2012, 13:39
Is there any way to teleport people when they spawn, to a random location?
I imagine, you would initially need a plugin that records all the possible locations someone can spawn without being off the map. So a very CPU intensive plugin that saves all the coordinates where a player goes on a particular map to an ini file of the same name. This could be the developer side of the plugin, which also allows people to map their own levels just by playing for a while with the standard spawns..
But then, upon collecting enough data (maybe you could have a limit to HOW many spawns are created), you could teleport a player to a random coordinate.
This is particularly useful for mp_dome sniper only servers, where people end up camping at a spawn. You could even distribute pre-made spawn mappings with the plugin.
I imagine, you would initially need a plugin that records all the possible locations someone can spawn without being off the map. So a very CPU intensive plugin that saves all the coordinates where a player goes on a particular map to an ini file of the same name. This could be the developer side of the plugin, which also allows people to map their own levels just by playing for a while with the standard spawns..
But then, upon collecting enough data (maybe you could have a limit to HOW many spawns are created), you could teleport a player to a random coordinate.
This is particularly useful for mp_dome sniper only servers, where people end up camping at a spawn. You could even distribute pre-made spawn mappings with the plugin.