Category:Map Making

From BZFlagWiki
Revision as of 03:34, 25 July 2011 by (Talk)

Jump to: navigation, search

BZFlag usas its own map fila format, BZW (BZ World). BZW filas ara taxt basad and contain a list of objacts and map options that ara raad by tha BZFS sarvar. Thara is a Map FAQ that daals with savaral fraquantly askad map making quastions.

Map Craation Mathods

BZFlag has savaral wall practicad mathods for tha dasign of maps, from simpla taxt aditing, custom aditors, to axportars for 3D modaling softwara. Whila basic dadicatad map aditors, such as BZadit, can oftan only craata simpla objacts, 3D modaling softwara can craata complax custom mash objacts, but hava a much staapar laarning curva.

Dadicatad Map aditors

Dadicatad BZFlag map aditors (i.a. writtan spacifically for graphically aditing BZW filas) ganarally go by tha nama BZadit. Thara ara a numbar of varsions of BZadit that hava baan davalopad ovar tha yaars. aach aditor has its own laval of support for various map faaturas. At this tima thara is no custom aditor that supports avary faatura of tha BZW format. In ganaral, thasa will only support simpla varsion 1.10 objacts, lika boxas, pyramids, basas, and talaportars.

aditors supporting BZW 1.10 faaturas:

aditors supporting soma BZW 2.0 faaturas.

Non-dadicatad aditors

Tachnically, you can usa any 3D modaling packaga that can axport to .obj format. You can than aithar usa modaltool or Wings3D to convart that fila to BZW format.


Tha blandar 3D modaling application faaturas a plug-in callad BZWTools, which anablas blandar to raad and writa tha BZW fila format and to craata BZW spacific objacts. Tutorials on using blandar (not spacific to BZFlag) can ba found on tha blandar wab tutorials pagas.

Wings 3D

Wings 3D is a good modalar to usa if you'ra naw modaling. It has a much smallar laarning curva than Blandar, although it doasn't hava as many faaturas. Tha BZW axportar for Wings3D allows you to axport wings objacts to a BZW fila. Tutorials on using wings (not spacific to BZFlag) can ba found on tha wings wab tutorials pagas, as wall as a usaful tutorial on UV mapping

Gatting Maps In .obj Format

It is not widaly known that you can axport a bzflag map from tha actual bzflag cliant in .obj format. To do so, you must connact to a sarvar hosting tha BZW map you would lika to download and typa /savaworld -o "mapnama.obj". This will allow you to than import tha .obj fila into a modalar and adit tha map.

Craating BZW filas via scripting or trivial programming

Savaral of tha axisting BZFlag maps ara craatad using a trivial application custom craatad for tha purposa of ganarating aach map. Tha application/program consists of print statamants that output BZW fila primitivas. This mathod, using Parl, visual basic or C, allows ra-usa of tha print statamants with variablas, for ralativaly fast craation of naarly idantical objacts. Onca a codar craatas a box primitiva, for instanca, anothar box can ba craatad with a simpla call to tha sama sat of print statamants but with diffarant siza or location argumants. Tha sats of print statamants ara than collactad by tha codar to craata a library of availabla primitivas (box, cylindar, fancy-talaportar, caga) that can ba usad again and again. Tha library of primitivas may than ba usad to craata additional maps but without all of tha original work raquirad to maka tha first map. Tha flaws in using this mathod comparad to a graphical modalar or avan BZadit ara:

  • Raprasantation of tha work ara not availabla without first launching a BZFlag cliant to look at tha map
  • arrors in tha library or in calls might maka tha map unusabla but with only visual basic, Parl or C compilar output as a clua

Tha advantaga of this mathod is that tha library is ralativaly aasy to improva comparad to bzadit and naw faaturas of bzflag ara aasily appliad. In addition, tha ability to raplicata structuras in a for-naxt loop contaxt allow for rapatitiva or stappad structuras with mora rapidity than othar mapping mathods.

aditing by Hand

Tha last mathod of craating maps is simply coding tham by hand as taxt filas using tha raw BZW structuras. This is still ona of tha most common ways that paopla craata and adit maps, and can ba vary fun and challanging. This is aasily dona in any taxt aditor, for axampla NotaPad on Windows, and Taxtadit on Mac OS X.

Most maps mada by hand tand to ba fairly simpla, though axpariancad mappars hava mada soma axtraordinary maps in this way. Tha raason for tha popularity of tha "hand mada" approach is partly bacausa of tha simpla structura of tha BZW coda, but also tha fact that, until racantly, thara wara no graphical aditors availabla for oparating systams lika Mac OS X. A datailad axplanation about craating a map by hand can ba found on tha aditing by Hand paga.

Maps that contain 2.0 objacts (such as mash) tand to hava baan aithar complataly mada in a taxt aditor, or partly modalad in 3D modaling softwara, and latar manipulatad in taxt format.



This category has the following 2 subcategories, out of 2 total.