Questions and answers about the how and why of making maps.
8 posts • Page 1 of 1
Please refer to the BZW manpage and the BZFlag wiki.ashleypogi13 wrote:uhmm im making a map and i wanna put some colors on some pyramids, boxes. how do i put colors on my map?
Also note that if you are using the majority of the graphical map building tools that you will not be able to use advanced map features such as colors/textures/materials, physics drivers, and the newer objects (mesh, arc, sphere, etc). BZEdit, for example, can only do very basic tasks.
The map format is human readable/writable, so you may end up using a text editor to do some of the building process. The BZW man page will give examples of the actual map objects.
Last edited by blast on Sun Jan 06, 2008 8:05 pm, edited 1 time in total.
You want to research the "material" property... which you can then apply to a object, like a mesh, a meshbox, etc...
To apply it to a meshbox, do this:
Code: Select all
material name CoolColor color 1 1 1 1 # In order: Red, Green, Blue, Alpha end
Code: Select all
meshbox name SomeMeshbox size 10 10 10 position 0 0 0 rotation 0 matref CoolColor end
And just to expand on Winny's post: If you are using a recent version of the BZFlag server (2.0.9 or 2.0.10) then you can even use the 'matref' on objects like the 'box' and 'pyramid'. More info can be found here: http://my.bzflag.org/w/Box
BZEdit is designed for created maps for BZFlag 1.7. It was never updated to go beyond that as far as I know. So no, it will not do colors, textures, or any of that.ashleypogi13 wrote:im using bzedit on mapmaking. so bzedit can never put colors on objects?
Yes. The server converts them to a mesh automatically. It is actually easier to texture the 'box' and 'pyramid' objects because you can specify an exact side to apply the texture to. For example, I was able to easily create cardboard boxes with a set of textures.captainmack wrote:if your server is the latest version, but players clients arent, will they still be able to see the textures on the pyramids and boxes?
However, there might be collision detection issues with "meshified" boxes. I haven't yet done much testing in that regard.