No Spawning

Questions and answers about the how and why of making maps.
Post Reply
User avatar
Dumbledore
Private First Class
Private First Class
Posts: 55
Joined: Mon Jan 24, 2005 3:32 pm
Location: USA
Contact:

No Spawning

Post 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.
User avatar
LouMan
Chief Sgt. of Cartography
Chief Sgt. of Cartography
Posts: 338
Joined: Mon Jan 31, 2005 3:05 am
Location: Michigan, USA

Post by LouMan »

User avatar
Dumbledore
Private First Class
Private First Class
Posts: 55
Joined: Mon Jan 24, 2005 3:32 pm
Location: USA
Contact:

Post 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.
Guest

Post 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. :)
User avatar
Dumbledore
Private First Class
Private First Class
Posts: 55
Joined: Mon Jan 24, 2005 3:32 pm
Location: USA
Contact:

Post by Dumbledore »

That's the ONLY way to do it?
Guest

Post 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).
... :)
User avatar
ducatiwannabe
Private First Class
Private First Class
Posts: 3258
Joined: Tue Aug 10, 2004 3:55 pm
Location: Planet Earth
Contact:

Post by ducatiwannabe »

Uh trepan, don't mind me, but just wondering. What good are trampolines if you drive thru them? :)
User avatar
LouMan
Chief Sgt. of Cartography
Chief Sgt. of Cartography
Posts: 338
Joined: Mon Jan 31, 2005 3:05 am
Location: Michigan, USA

Post 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
User avatar
ducatiwannabe
Private First Class
Private First Class
Posts: 3258
Joined: Tue Aug 10, 2004 3:55 pm
Location: Planet Earth
Contact:

Post by ducatiwannabe »

Ahhh cool, I didn't hook up his example and test it out :)
User avatar
Dumbledore
Private First Class
Private First Class
Posts: 55
Joined: Mon Jan 24, 2005 3:32 pm
Location: USA
Contact:

Post by Dumbledore »

Wow, that's clever!

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

Post by Guest »

Tilting the object should stop spawning on it...
Or just don't use -sb then they can't spawn on Any objects...
User avatar
LouMan
Chief Sgt. of Cartography
Chief Sgt. of Cartography
Posts: 338
Joined: Mon Jan 31, 2005 3:05 am
Location: Michigan, USA

Post 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.
User avatar
Dumbledore
Private First Class
Private First Class
Posts: 55
Joined: Mon Jan 24, 2005 3:32 pm
Location: USA
Contact:

Post by Dumbledore »

Thank you so much!

:D :) :lol-old:
Post Reply