Page 1 of 1

No Spawning

Posted: Wed May 11, 2005 12:18 am
by Dumbledore
How can I define a zone to make the server drop no flags on it or disallow spawning on it? I have a lot of trampolines in my map and people are complaining because they keep on spawning on tramps. It's getting annoying...

Thanks in advance for your help.

Posted: Wed May 11, 2005 12:57 am
by LouMan

Posted: Wed May 11, 2005 10:35 am
by Dumbledore
Yes, I've seen that, but that's not exactly what I want.

I have eight long rectangles that are arranged around a middle fighting area. Currently, there are flags in the boxes (since I made them trampolines) and you have a VERY good chance of spawning ON the trampolines. I want to make it so you CANNOT spawn on any of the trampolines at ANY time, and that there CANNOT be any flags on those rectangles.

Posted: Wed May 11, 2005 4:25 pm
by Guest
[quote=LouMan]Make the surface you don't want the flags on uneven, or sloped.
[/quote]

So... Make the tramps a tiny tiny bit sloped... That will stop flags landing there, and I guess it should stop people spawning there too. :)

Posted: Wed May 11, 2005 6:59 pm
by Dumbledore
That's the ONLY way to do it?

Posted: Wed May 11, 2005 7:34 pm
by Guest
trepan wrote:There is another way... flags will never be placed on
drivethrough buildings. Use an invisible drivethrough
meshbox or an invisible custom mesh (a face region
extraction should do nicely).

Code: Select all

options
  +f good{2}
  -ms 10 -j +r
  -c
  -mp 0,2,2,0,0,0
end
box
  size 300 300 10
end
meshbox
  color 0 0 0 0
  drivethrough
  pos 0 0 10
  size 300 300 0.01
end
base
  pos -350 -350 0
  size 25 25 10
  color 1
end
base
  pos +350 +350 0
  color 2
  size 25 25 10
end
I would advise only using drivethrough and
not drivethrough and shootthorugh (passable).
... :)

Posted: Wed May 11, 2005 8:39 pm
by ducatiwannabe
Uh trepan, don't mind me, but just wondering. What good are trampolines if you drive thru them? :)

Posted: Wed May 11, 2005 8:57 pm
by LouMan
Don't make the trampolines drivethrough, make drivethrough and invisible (color 0 0 0 0) meshboxes, just above the trampolines.

In trepan's example:

meshbox
color 0 0 0 0
drivethrough
pos 0 0 10
size 300 300 0.01
end

Posted: Wed May 11, 2005 9:10 pm
by ducatiwannabe
Ahhh cool, I didn't hook up his example and test it out :)

Posted: Wed May 11, 2005 10:33 pm
by Dumbledore
Wow, that's clever!

Now, that will solve my flag problem, but what about my spawn problem?

Posted: Thu May 12, 2005 4:29 pm
by Guest
Tilting the object should stop spawning on it...
Or just don't use -sb then they can't spawn on Any objects...

Posted: Fri May 13, 2005 2:09 am
by LouMan
If the drivethrough and invisible box does not prevent player spawns (not sure if it would), you can use zone definitions in your .bzw file to specify exactly where you want players to spawn. For example:

zone
position 0 0 20
size 10 10 10
team 1
end

This would create an area in the center of the map 20 units above the ground, 10 wide, 10 deep and 10 high for team 1 to spawn (red). Be sure to define an area for all teams, or all bets are off for any undefined teams.

For all teams in the same spot, it would look like:

zone
position 0 0 20
size 10 10 10
team 0 1 2 3 4
end

FYI: team 0 is rogue, team 1 is red, team 2 is green, team 3 is blue and team 4 is purple.

Posted: Fri May 13, 2005 9:26 pm
by Dumbledore
Thank you so much!

:D :) :lol-old: