Flags per zone

Need help seting up a server, or have a question on how to run one? This is the place.
Post Reply
quicka_thanu
Private
Private
Posts: 3
Joined: Tue Jan 24, 2006 9:16 pm

Flags per zone

Post by quicka_thanu » Sat Dec 23, 2006 6:04 pm

I have a few questions:

1. Is there a way to specify a number of flags in a zone? For example, I have three GM zones, and I want them all to always have 2 flags each. Specifying 6 GM flags on the whole map only distributes them evenly at the very beginning, and then if I pick up two and drop them, then the two flags in that zone are not immediately replaced (and should be).

2. Is there a way to limit shot range on ricochet flags only?

3. How do you specify whether a flag should be kept on the map or removed from the map when it is dropped?

User avatar
optic delusion
Special Forces
Special Forces
Posts: 987
Joined: Sat Sep 25, 2004 2:29 pm
Location: Planet MoFo
Contact:

Post by optic delusion » Sun Dec 24, 2006 2:58 pm

Point 1:change where you're zone says "flag GM" to "zoneflag GM 2". Here's mine.
zone
size 10 10 10
position 0 -100 25
zoneflag GM 2
end

Point 2: No

Point 3: This isnt exactly what you're asking, but the setting the variable _maxFlagGrabs to 0 or 1 might help.
alternatively, you might also try the new flagStay plugin in 2.0.9. It works well.
http://my.bzflag.org/bb/viewtopic.php?t=9490
Just be sure it loads before the .bzw loads because the plugin reads custom map objects.
Take a look at my Defender game mode concept.

Thinking is not an automatic process. A man can choose to think or to let his mind stagnate, or he can choose actively to turn against his intelligence, to evade his knowledge, to subvert his reason. If he refuses to think, he courts disaster: he cannot with impunity reject his means of perceiving reality.

Theme97
Private First Class
Private First Class
Posts: 221
Joined: Fri Nov 11, 2005 8:04 pm
Contact:

Post by Theme97 » Sun Dec 24, 2006 6:52 pm

When you use "zoneflag GM 2", be sure to remove your +f GM{6} as zoneflag adds its own flags.
Image

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest