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: 246
Joined: Tue Sep 23, 2003 8:13 pm
Location: Stonington, CT
Contact:

Aerial spawn problem.

Post by The Purple Panzer »

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: 5196
Joined: Fri Dec 13, 2002 4:11 am

Re: Aerial spawn problem.

Post by JeffM »

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).
ImageJeffM
User avatar
blast
General
General
Posts: 4931
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: Aerial spawn problem.

Post by blast »

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