Flags
Re: Flags
Map makers create zones which have either the flag or zoneflag properties. The flag property will tell the map that that is a possible position for those flags, but they must be created with the +f option. The zoneflag property on the other hand, will create flags and place them in that zone, and only for that zone.
See http://wiki.bzflag.org/Zone for more details on creating a zone.
See http://wiki.bzflag.org/Zone for more details on creating a zone.
Re: Flags
Ive dug in by myself, found it: http://wiki.bzflag.org/Material
I need a material to change the color:P
PS dont worry, i alredy made 2 maps and they were on top of list, i know how maps are made in generaly, i just dont know the fancy stuff like colored, seen-through boxes or textures.
But Wiki will tell me, like you said.
I need a material to change the color:P
PS dont worry, i alredy made 2 maps and they were on top of list, i know how maps are made in generaly, i just dont know the fancy stuff like colored, seen-through boxes or textures.
But Wiki will tell me, like you said.
Re: Flags
Maybe use the 'color' attribute. I think diffuse does the same thing too
As far as I know it take 4 values. They are Red, Green, Blue, Alpha, and it seems that the values only go from 0 to 1.
Example : color 1 0 0 1
This would make you a red mesh.
You are right that they wiki isn't very detailed, but it gives you enough to play around on a local server and test out different options and stuff.
As far as I know it take 4 values. They are Red, Green, Blue, Alpha, and it seems that the values only go from 0 to 1.
Example : color 1 0 0 1
This would make you a red mesh.
You are right that they wiki isn't very detailed, but it gives you enough to play around on a local server and test out different options and stuff.
Lag makes me miss all of the good stuff.
And random bans..........
And random bans..........
Re: Flags
It's a wiki, fix it if you don't think it is detailed enough.mahem1 wrote:You are right that they wiki isn't very detailed, but it gives you enough to play around on a local server and test out different options and stuff.
There is nothing worse than aggressive stupidity. -- Johann Wolfgang von Goethe
"How many legs does a dog have if you call his tail a leg? Four. Calling a tail a leg doesn't make it a leg." -- Abraham Lincoln
"How many legs does a dog have if you call his tail a leg? Four. Calling a tail a leg doesn't make it a leg." -- Abraham Lincoln
Re: Flags
Wait so i do not need to do a Material stuff?
And plus, can I only make Red, Gree, Blue and Purple? I mean, i want to make White, can someone please post an example on my message pls -.-
Your telling me all this, please POST it, seeing it will teach me the most thank you.
And plus, can I only make Red, Gree, Blue and Purple? I mean, i want to make White, can someone please post an example on my message pls -.-
Your telling me all this, please POST it, seeing it will teach me the most thank you.
Re: Flags
Think of colors as mixing up light. What happens when you put red, green, and blue together? You get white. (http://upload.wikimedia.org/wikipedia/c ... nation.jpg) Therefore, in BZFlag code, a Material will have something like this:
You can make any color visible to the human eye using just these three color channels. Imagine throwing in red and blue together, you get a purple color. The fourth value is an alpha. It determines how transparent the object itself is.
And you do need materials to apply any kind of color, texture, or visual modification to any object.
Code: Select all
material
name whitecolor
color 1 1 1 1
end
meshbox
matref whitecolor
end
And you do need materials to apply any kind of color, texture, or visual modification to any object.
Re: Flags
There is also pre-defined colors you can used, which is documented on the wiki. Look for colors there.