News:

Come Chat with us live! Learn how HERE!

Main Menu

Specific Spawn Location

Started by lmz, February 20, 2010, 09:21:49 PM

lmz

Does anyone know a way to make people spawn in a specific location (or stop people from spawning in a specific location)? I'm attempting to make an area (that contains spawns) closed off after a period of time.

Thanks in advance

mooseberry

Telenodes?

Not exactly sure what you're asking.
Bucket: [You hear the distant howl of a coyote losing at Counterstrike.]

मैं हिन्दी का समर्थन

~Mooseberry.

lmz

Umm. Let's see. When you start the map, you spawn based on the location of the telenodes. You are able to spawn on any of the telenodes. I want to make it so that if a certain thing has happened, say, the an event trigger, some telenodes would be disabled/enabled or something to that effect.

UniqPhoeniX

You can just make a func_door crush some nodes. However, enabling will be a bit tougher. As players always spawn in nodes closest to where they died (if node is ready to spawn), you could have LOTS of nodes (10-20, enough that max players can't queue all of them), in 2 places, 1 of those places is further from the map play area then the other. That way, every1 will spawn from the closer area and from there you teleport them to wherever. After that event, the first nodes would be crushed, and every1 will spawn in the 2nd area, from where you teleport them to somewhere else. With AMP you could make even more complex systems.

lmz

#4
Quote from: UniqPhoeniX on February 21, 2010, 12:14:17 AM
You can just make a func_door crush some nodes. However, enabling will be a bit tougher. As players always spawn in nodes closest to where they died (if node is ready to spawn), you could have LOTS of nodes (10-20, enough that max players can't queue all of them), in 2 places, 1 of those places is further from the map play area then the other. That way, every1 will spawn from the closer area and from there you teleport them to wherever. After that event, the first nodes would be crushed, and every1 will spawn in the 2nd area, from where you teleport them to somewhere else. With AMP you could make even more complex systems.

That sounds like it'll do what I want it to do. I'll give it a try. Thanks. ;D

----------

*EDIT* It worked. Kind of. Once the nodes die, people do spawn in the correct location. However, for players who just join, they go to a random node location (some to the first area, some to the second). Is there a way to stop that from happening? IE: Stop a node from working for a set amount of time?

UniqPhoeniX

I'm not really sure how the first node is chosen. Maybe it's the closest to map origin, maybe closest to info_player/human_intermission, maybe random. You can test that easily tho, and if you do find out, please post.

lmz

By reloading the map about 5 times, I always spawned in the same node. Theory based on this limited testing is as follows: First node is the one farthest away from the intermission OR first node is the last one created. More testing will be done a little later.

Bit busy with something else right now which is the reason for the limited testing. :P

your face

Quote from: dolby on February 19, 2003, 06:44:44 PM
spam spam spam, waste waste waste!

Demolution


Clan [AC] - For all your air conditioning needs please visit: http://s1.zetaboards.com/AC_NoS/index/
Quote from: swamp-cecil on October 05, 2010, 09:04:04 PM
my brain > your brain.
and i am VERY stupid.

Knowitall66

You could probably do it with teleports...

Asvarox

#10
I'm a newbie, but isn't it possible to add hurt thing over the nodes in second area (so everyone who spawn there dies) and disable/move/delete it once it [second area] is enabled?
Quote from: J3lackStar on July 14, 2011, 09:14:42 PM
I MINE FULL WEREWOLFES
NOT SUCH HIPPIE THINGS  >:(

mooseberry

You could use func_kills, but I don't know if you could link it to go on or off. It depends what the specifics are I guess.
Bucket: [You hear the distant howl of a coyote losing at Counterstrike.]

मैं हिन्दी का समर्थन

~Mooseberry.

lmz

#12
Quote from: Asvarox on February 21, 2010, 10:24:29 AM
I'm a newbie, but isn't it possible to add hurt thing over the nodes in second area (so everyone who spawn there dies) and disable/move/delete it once it [second area] is enabled?
While something like that could work, I'm not aware of any way to remove it. Also, simply killing the players forces them to have to click again to respawn, and that'd get annoying rather quickly.

Quote from: Knowitall66 on February 21, 2010, 09:33:07 AM
You could probably do it with teleports...
Yes, but how would I remove the teleports once I get rid of the old nodes? I'm not aware of a way to disable teleports. If you have a way I'd love to know as that's what I've been trying to figure out.

Quote from: mooseberry on February 21, 2010, 11:02:23 AM
You could use func_kills, but I don't know if you could link it to go on or off. It depends what the specifics are I guess.
The way to turn it on/off is the main problem. I'm not aware of a way to do that. Also, killing players constantly forcing them to click again to respawn doesn't make for a very fun map.

Knowitall66

Well the MEEP method could be used, section of floor is a func_door and in the func_door is a trigger_teleport.
Or have a Tele room that players start in and teleporters open/seal (with door) when triggered.
Soz if I'm completely misunderstanding

Plasma

you could put blocks right above the node to the point where they dont kill but they prevent spawning and then have a trigger remove the block =P

Plasma

Quote from: Plasma on March 17, 2010, 11:40:29 PM
you could put blocks right above the node to the point where they dont kill but they prevent spawning and then have a trigger remove the block =P
in other words ever played puzzle beta? rembmer how the ceiling comes down and crushed when button is pressed? well have it right above place so nodes dont get hurt but you cant spawn there. push the right button and make the blobk go away so that you "can" spawn there.... easy solution for a hard problem.  ;D

UniqPhoeniX

AFAIK nodes die if something (except players) is blocking the spawn area.

Plasma

o rly? well i thought there was a bunch of empty none hurtable space right above the node thats why the adv goons shoot right over them and that can stand on a node and "node block" thats what i was thinking. Go try pussle beta it does a pretty good job on showing what i'm talking about just with an additional smash action,

UniqPhoeniX

If a door/train blocks that area, even without touching the node, the node dies.

Plasma

Quote from: UniqPhoeniX on March 23, 2010, 02:03:12 PM
If a door/train blocks that area, even without touching the node, the node dies.
think thats right but haven't tried that,
but i am almost certain that just a block of land or something will not kill it.