Map options??

Questions and answers about the how and why of making maps.
Post Reply
cepris
Private First Class
Private First Class
Posts: 132
Joined: Wed Dec 01, 2010 6:49 am

Map options??

Post by cepris »

Hey, could someone please write a list of all the map options and how they are used? Or please give me a link to where I can find this information? Thanks :)
User avatar
blast
General
General
Posts: 4933
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: Map options??

Post by blast »

BZFlag wiki: http://my.bzflag.org/w/

On there is a ton of information, including documentation on the map format and map editors.

There's also the BZW documentation that is provided with the Windows installer (shows up in the start menu) and linux packages (run 'man bzw' from a terminal). It's also available here: http://my.bzflag.org/bzfman.cgi?bzw.5.in
"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
cepris
Private First Class
Private First Class
Posts: 132
Joined: Wed Dec 01, 2010 6:49 am

Re: Map options??

Post by cepris »

Sweet! Thankyou.
cepris
Private First Class
Private First Class
Posts: 132
Joined: Wed Dec 01, 2010 6:49 am

Re: Map options??

Post by cepris »

Is there anything that lists all the uses of the options object?? I only know a few and would like to know more?
User avatar
SkillDude
Private First Class
Private First Class
Posts: 336
Joined: Sun Apr 01, 2007 4:50 pm
Location: United States

Re: Map options??

Post by SkillDude »

The options object are basically arguments for the bzfs application. You can find them here: http://my.bzflag.org/w/BZFS_Command_Line_Options

Hope that's what you're looking for.

In a map file (.bzw) you would include these like so:

Code: Select all

options
-ms 3
-j
+r
-public "HIX Test"
end
In a bzflag configuration file (.conf) you would just type them in directly:

Code: Select all

-ms 3
-j
+r
-public "HIX Test"
Then save the file and run bzfs with the -conf argument:
bzfs -conf bzfs.conf
Where bzfs.conf is the name of your conf file. Hope that helps!
cepris
Private First Class
Private First Class
Posts: 132
Joined: Wed Dec 01, 2010 6:49 am

Re: Map options??

Post by cepris »

Thankyou very much! That was just what I was looking for, I just didn't realize it was under that name :)
User avatar
blast
General
General
Posts: 4933
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: Map options??

Post by blast »

And note that some options can only be specified in the configuration file (or directly on the command line), not in the BZW options block.
"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
cepris
Private First Class
Private First Class
Posts: 132
Joined: Wed Dec 01, 2010 6:49 am

Re: Map options??

Post by cepris »

Yes I will note that, thanks
User avatar
optic delusion
Special Forces
Special Forces
Posts: 1054
Joined: Sat Sep 25, 2004 2:29 pm
Location: Planet MoFo
Contact:

Re: Map options??

Post by optic delusion »

Instead of giving the link to the bzw manpage, i like to go up one level and give this link... http://my.bzflag.org/bzfman.cgi? it shows all the pages.
A good link for the conf file is this one.. http://my.bzflag.org/w/Sample_conf It explains a lot in a format that can be pasted into a local file.
Take a look at my Defender game mode concept.

Thinking is not an automatic process. A man can choose to think or to let his mind stagnate, or he can choose actively to turn against his intelligence, to evade his knowledge, to subvert his reason. If he refuses to think, he courts disaster: he cannot with impunity reject his means of perceiving reality.
cepris
Private First Class
Private First Class
Posts: 132
Joined: Wed Dec 01, 2010 6:49 am

Re: Map options??

Post by cepris »

Ah, that is very helpful, especially as it contains some other topics I need help on. Thanks.
User avatar
blast
General
General
Posts: 4933
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: Map options??

Post by blast »

The same configuration is actually a really bad way to start. It includes too much and just leads to configurations that do not work.
"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
cepris
Private First Class
Private First Class
Posts: 132
Joined: Wed Dec 01, 2010 6:49 am

Re: Map options??

Post by cepris »

Thanks. I will only be using basic config as this is only to test a map, not to host anything, I'm going to find someone else that likes my map to host for me. Thanks anyway :)
Post Reply