Aerial spawn problem.

Questions and answers about the how and why of making maps.
Post Reply
User avatar
The Purple Panzer
Field Marshal
Field Marshal
Posts: 241
Joined: Tue Sep 23, 2003 8:13 pm
Location: Stonington, CT
Contact:

Aerial spawn problem.

Post by The Purple Panzer » Thu Feb 23, 2017 8:54 pm

I'm trying something that really ought to work: in this little example, I want the red team to spawn on a block in the air. Here's the map file:
box
position 350.000000 350.000000 30.000000
rotation 0.000000
size 35.000000 35.000000 1.000000
end

zone
name Team1
position 350 350 30
size 34 34 40
team 1
end

Every time I spawn, I spawn on the ground under the box, but not in the box. I've changed the zone's position so it's bottom is exactly on the block surface, or even above it, with no luck. Does anyone see what's wrong?

User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5105
Joined: Fri Dec 13, 2002 4:11 am
Location: [Redacted]
Contact:

Re: Aerial spawn problem.

Post by JeffM » Thu Feb 23, 2017 8:57 pm

the spawn system does a projection into the first solid geometry (or ground) that it finds below the computed spawn location. It doesn't support spawning in the air by default. You need a plug-in to override the spawn location (such as airspawn).

User avatar
blast
General
General
Posts: 4565
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: Aerial spawn problem.

Post by blast » Thu Feb 23, 2017 10:03 pm

Make sure that the server has -sb passed to it, otherwise it only allows spawning on the ground.
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests