Can you make custum flags for a map?

Questions and answers about the how and why of making maps.
Post Reply
User avatar
Evanejk
Private First Class
Private First Class
Posts: 88
Joined: Wed May 09, 2007 3:59 pm
Location: USA (Maine)
Contact:

Can you make custum flags for a map?

Post by Evanejk » Sat Sep 15, 2007 10:58 pm

Is there a way you can make custom flags for a map with out being a genius?

User avatar
ducktape
Private First Class
Private First Class
Posts: 1206
Joined: Sat Jul 01, 2006 2:06 am
Location: Right Behind you!
Contact:

Post by ducktape » Sat Sep 15, 2007 11:18 pm

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
Image

User avatar
*Boinkage*!
Private First Class
Private First Class
Posts: 195
Joined: Wed May 02, 2007 1:49 am
Location: Behind you with a stealth flag.

Post by *Boinkage*! » Sun Sep 16, 2007 12:53 am

Do you mean make a totally new flag, mod an existing one, or something completely different?
The Pen is Mightier Than the Sword.

Okay, you get a Bic, the orc gets a long sword.

He cuts the Bic in half.

Then he cuts you in half.

Oops, I meant quarters.

User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5173
Joined: Fri Dec 13, 2002 4:11 am
Location: https://discord.gg/NN9uAvx
Contact:

Post by JeffM » Sun Sep 16, 2007 3:19 am

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

flight
Private First Class
Private First Class
Posts: 58
Joined: Sat Mar 03, 2007 3:47 am

Post by flight » Mon Sep 17, 2007 4:46 pm

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?

User avatar
netochka nezvanova
Private First Class
Private First Class
Posts: 118
Joined: Wed Jan 19, 2005 4:58 pm
Location: NL

Post by netochka nezvanova » Mon Sep 17, 2007 6:19 pm

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,
Image

User avatar
CannonBallGuy
Private First Class
Private First Class
Posts: 2083
Joined: Wed Apr 12, 2006 1:31 am
Contact:

Post by CannonBallGuy » Mon Sep 17, 2007 6:20 pm

You cannot create new flags without modifying the source...
Image

Merry Christmas!

"Look, if I don't buy booze for the kids, I don't get any incriminating pictures to show to their parents, my business goes down the sink, my girlfriend leaves me and the baby goes on ebay. So help me search..."

"go Play With Toys urself in a dark alley u donkey ******" - Lt-Kirby2007

Longhair
Private First Class
Private First Class
Posts: 330
Joined: Tue Feb 08, 2005 6:06 pm
Location: Lancaster, PA
Contact:

Post by Longhair » Mon Sep 17, 2007 7:21 pm

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"

User avatar
L4m3r
Hater of Everything
Hater of Everything
Posts: 724
Joined: Tue Feb 08, 2005 5:15 am
Location: Los Angeles

Post by L4m3r » Mon Sep 17, 2007 7:23 pm

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.
Optimism is just a milder alternative to denial.

User avatar
blast
General
General
Posts: 4732
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Post by blast » Mon Sep 17, 2007 8:03 pm

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.
"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

Who is online

Users browsing this forum: No registered users and 1 guest