Page 1 of 1

Can you make custum flags for a map?

Posted: Sat Sep 15, 2007 10:58 pm
by Evanejk
Is there a way you can make custom flags for a map with out being a genius?

Posted: Sat Sep 15, 2007 11:18 pm
by ducktape
Well You can zone flags that are already made. but you can not make your own flag without being a "genius".

http://my.bzflag.org/w/Zone

Posted: Sun Sep 16, 2007 12:53 am
by *Boinkage*!
Do you mean make a totally new flag, mod an existing one, or something completely different?

Posted: Sun Sep 16, 2007 3:19 am
by JeffM
It doesn't matter what one of those he means.
The only thing a MAP can do to a flag is provide a spawn zone. Anything else needs to be done as a server/client mod or a plug-in

Posted: Mon Sep 17, 2007 4:46 pm
by flight
would it be possible with a plug in to make a completely different flag? Just for a stupid example lets say a flag that allows you to shoot a normal bullet as well as a shock wave. and you call that the shock shot flag. Stupid, but an example none the less. would it be possible to spawn flags like this on the map?

Posted: Mon Sep 17, 2007 6:19 pm
by netochka nezvanova
that 'stupid example' is a modded flag not completely different
completely different would a montyphyton flag

everytime you shoot a giant foot will fall out of the sky,

Posted: Mon Sep 17, 2007 6:20 pm
by CannonBallGuy
You cannot create new flags without modifying the source...

Posted: Mon Sep 17, 2007 7:21 pm
by Longhair
I'm guessing that the flag effects are handled by the client. Theoretically, you could make a flag mod for your server, but each client playing would also have to have your mod installed.

I don't know if there are any plans to change this in the near future, but I'm guessing that it will stay this way until some more pressing matters are implemented.

Still, it would be nice if all an enterprising flag designer had to do is make a server plugin.
that 'stupid example' is a modded flag not completely different
completely different would a montyphyton flag

everytime you shoot a giant foot will fall out of the sky,
or the rabbit grows "huuuuuuuuuge fangs"

Posted: Mon Sep 17, 2007 7:23 pm
by L4m3r
CannonBallGuy is correct. Furthermore, flags are a part of the game protocol more or less, so most modifications to flags (or addition of flags) will require changes to the client as well as the server.

So, in other words, no. Most of the (subtle) alterations you can make to flags are controlled by BZDB variables. A few other things can be done with plug-ins, but not much.

Posted: Mon Sep 17, 2007 8:03 pm
by blast
In SVN trunk (the 2.1 code), plugins can define what shot effect a flag will have. And this can be set on flag pickup. So, for example, you could make the Useless flag randomly give the holder either SB or L.

However, if you would want to make a whole new flag with a different name and abbreviation, or one that had a new shot style, that would still require both a server and a client modification.