Is forcing a spawn point possible? Created 17 years ago2007-06-04 16:54:52 UTC by TheElzar TheElzar

Created 17 years ago2007-06-04 16:54:52 UTC by TheElzar TheElzar

Posted 17 years ago2007-06-04 16:54:52 UTC Post #224408
I've created a CS:S map with multiple CT and T spawn points, all but one on each team are enclosed within a "box" to be "released"...

It's part of a long complicated "1v1 arena" idea I had that's working out excellent so far. However I've encountered a snag...

The server it will be played on has a 20 man cap, and the map has 10 ct and t spawns. 9 enclosed, 1 open. The server is running on the gungame mod. I need either 1 ct or 1 t to spawn in the non-enclosed spawn point every time the map resets. Is it possible to keep the spawns random, yet force 1 player to spawn outside of the "boxes" in the open area?

Any ideas would be greatly appreciated!

Thx!
Posted 17 years ago2007-06-04 19:04:50 UTC Post #224429
As far as I am aware you can't do that BUT I just realised why not place a teleport brush over each spawn and use an entity that randomly triggers one of them so that whatever player is picked is teleported into that room at the start of the round.
Habboi HabboiSticky White Love Glue
Posted 17 years ago2007-06-04 19:51:00 UTC Post #224433
I'm not quite sure I see where you're going with that?

Could you explain it a bit more in detail?

Also, do dead bodies do damage? If I were to make a breakable that responded to pressure, would a dead body trigger it? If not, what's a good way to trigger something with a dead body?
Posted 17 years ago2007-06-04 20:37:34 UTC Post #224435
Well erm not sure about the dead body...Test it and see...Otherwise just trigger it to break when player walks on it...Not the effect you're after but I don't know.

And my idea well:

Ok so you have 10 spawns for CT and 10 for T correct? Well place a box over each spawn and tie it to trigger_teleport. Then make sure they are all turned off. Now this bit you'll have to figure out but find an entity that can trigger things randomly and set it to trigger one of the 20 teleports at start of each round.

That way a random player will be teleported to your open area at the start of each round. Hope that helps.
Habboi HabboiSticky White Love Glue
Posted 17 years ago2007-06-04 21:04:49 UTC Post #224436
what if it selects an empty one?
Posted 17 years ago2007-06-05 06:33:58 UTC Post #224476
Hm good point. I did write that late at night...Erm well I assumed there would always be 10 players.

Well my other suggestion then is perhaps find a custom FGD for hammer that has the spawns edited to have names so you can trigger each name at the start of each round.
Habboi HabboiSticky White Love Glue
Posted 17 years ago2007-06-11 08:12:27 UTC Post #224889
What I ended up doing was placing each spawn point slightly above the other (about 4 units)...then put a breakable underneath each of them...each breakable triggers it's own "door" to open and kills all the other triggers...

That way, whichever player happens to be in the spawn point closest to the ground will be the "free" player...

Works pretty well so far...

Oh and on the dead body thing, I realized there's no way to make that work...

But thanks for your help!
Posted 17 years ago2007-06-11 08:56:21 UTC Post #224894
That way, whichever player happens to be in the spawn point closest to the ground will be the "free" player...
That's a pretty interesting method. ;o
Daubster DaubsterVault Dweller
You must be logged in to post a response.