Map Making: Half with IBZEDIT and the other half by band
Map Making: Half with IBZEDIT and the other half by band
ok so anyway i'm on a mac and making maps. i'm working on a map on ibzedit and finished that half. but now i need to write the zones, world weapons, etc. by hand since ibzedit doesn't support those features. i know how to wirte the code for all of that but when i change the bz world(created with ibzedit)to text and when i write the rest of the map by hand how do i test it? and how do i get it back to the .bzw format after i'm done writing the zones, world weapons, etc.?
please help and again i'm on a MAC
please help and again i'm on a MAC
It's best to just keep it in .bzw form. I keep TextEdit in the dock, so when I'm done with iBZEdit I can just drag the file over TextEdit and let go. It opens and you add in all the other stuff you want. Save it, (it should stay as .bzw) and open the Terminal. It's in Applications/Utilities and it's easier to keep this in the dock too if you do a lot of testing. Once it opens up, type
That should set up a private server at localhost:5154. If you have bzflag in a different location, you need to set the path to bzfs too. Control click on the bzflag icon, and click Show Package Contents. In Contents/MacOS, drag the bzfs icon into the terminal window and let go. Add in the path to the map file like before.
For more advanced stuff, try http://my.bzflag.org/w/Creating_A_Server and http://my.bzflag.org/w/BZFS_Command_Line_Options
Code: Select all
bzfs -world path/to/your/world/file.bzw
That should set up a private server at localhost:5154. If you have bzflag in a different location, you need to set the path to bzfs too. Control click on the bzflag icon, and click Show Package Contents. In Contents/MacOS, drag the bzfs icon into the terminal window and let go. Add in the path to the map file like before.
Code: Select all
/path/to/BZFlag-2.0.10.app/Contents/MacOS/bzfs -world path/to/your/world/file.bzw
I'm pretty sure that you can open up your preferred text editor, add in the missing features, then open up iBZEdit, watch the errors scroll by, and then use the Cmd-T that you use for testing with iBZEdit. It should open your map just fine. Once you have that, you can edit your map using your text editor, and iBZEdit should launch it. And remember, only use your text editor to save the map!
That should only work if you have BZFlag (and bzfs) in your $PATH, which usually means you built it from source. Which any serious map developer should do, so that they can have reasonable plugin support.Jefenry wrote:Once it opens up, typeCode: Select all
bzfs -world path/to/your/world/file.bzw
My client was built from source, but is in the standard Application directory.F687/s wrote:That should only work if you have BZFlag (and bzfs) in your $PATH, which usually means you built it from source.
Code: Select all
:~ $ echo $PATH
...:/Applications/BZFlag.app/Contents/MacOS:...
ok i di that and this popped up
Usage: /Users/name/Desktop/BZFlag-2.0.10.app/contents/macos/bzfs [-a <vel> <rot>] [-adminlagannounce <time>] [-admsg <text>] [-advertise <group>] [-autoTeam] [-b] [-badwords <filename>] [-ban ip{,ip}*] [-banfile <filename>] [-c] [-cache <url>] [-cacheout <filename>] [-conf <filename>] [-cr] [-d] [-density <num>] [-disableBots] [+f {good|<id>}] [-f {bad|<id>}] [-fb] [-filterCallsigns] [-filterChat] [-filterSimple] [-g] [-gndtex <texture>] [-groupdb <group>] [-h] [-handicap] [-helpmsg <file> <name>] [-i interface] [-j] [-jitterdrop <num>] [-jitterwarn <time>] [-lagannounce <time>] [-lagdrop <num>] [-lagwarn <time>] [-loadplugin <pluginname>] [-masterBanURL <URL>] [-maxidle <time>] [-mp {<count>|[<count>][,<count>][,<count>][,<count>][,<count>][,<count>]}] [-mps <score>] [-ms <shots>] [-mts <score>] [-noMasterBanlist] [-noradar] [-p <port>] [-packetlossdrop <num>] [-packetlosswarn <%>] [-passdb <password>] [-passwd <password>] [-pidfile <filename>] [-poll <variable>=<value>] [-printscore] [-public <server>] [-publicaddr <server>[:<server>]] [-publiclist <list>] [-q] [+r] [-rabbit [score|killer|random]] [-recbuf <Mbytes>] [-recbufonly] [-recdir <dirname>] [-replay] [-reportfile <filename>] [-reportpipe <filename>] [-requireudp] [+s <flag>] [-s <flag>] [-sa] [-sb] [-set <name> <value>] [-setforced <name> <value>] [-sl <id> <num>] [-spamtime <time>] [-spamwarn <warnAmt>] [-speedtol <tolerance>] [-srvmsg <text>] [-st <time>] [-sw <num>] [-synctime] [-synclocation] [-t] [-tftimeout <seconds>] [-time <seconds>] [-timemanual] [-tk] [-tkannounce] [-tkkr <percent>] [-ts [micros]] [-userdb <user>] [-vars <filename>] [-version] [-world <filename>] [-worldsize <world>] [-ws <number>]
is that what is supposed to happen?
and if so then what?
Usage: /Users/name/Desktop/BZFlag-2.0.10.app/contents/macos/bzfs [-a <vel> <rot>] [-adminlagannounce <time>] [-admsg <text>] [-advertise <group>] [-autoTeam] [-b] [-badwords <filename>] [-ban ip{,ip}*] [-banfile <filename>] [-c] [-cache <url>] [-cacheout <filename>] [-conf <filename>] [-cr] [-d] [-density <num>] [-disableBots] [+f {good|<id>}] [-f {bad|<id>}] [-fb] [-filterCallsigns] [-filterChat] [-filterSimple] [-g] [-gndtex <texture>] [-groupdb <group>] [-h] [-handicap] [-helpmsg <file> <name>] [-i interface] [-j] [-jitterdrop <num>] [-jitterwarn <time>] [-lagannounce <time>] [-lagdrop <num>] [-lagwarn <time>] [-loadplugin <pluginname>] [-masterBanURL <URL>] [-maxidle <time>] [-mp {<count>|[<count>][,<count>][,<count>][,<count>][,<count>][,<count>]}] [-mps <score>] [-ms <shots>] [-mts <score>] [-noMasterBanlist] [-noradar] [-p <port>] [-packetlossdrop <num>] [-packetlosswarn <%>] [-passdb <password>] [-passwd <password>] [-pidfile <filename>] [-poll <variable>=<value>] [-printscore] [-public <server>] [-publicaddr <server>[:<server>]] [-publiclist <list>] [-q] [+r] [-rabbit [score|killer|random]] [-recbuf <Mbytes>] [-recbufonly] [-recdir <dirname>] [-replay] [-reportfile <filename>] [-reportpipe <filename>] [-requireudp] [+s <flag>] [-s <flag>] [-sa] [-sb] [-set <name> <value>] [-setforced <name> <value>] [-sl <id> <num>] [-spamtime <time>] [-spamwarn <warnAmt>] [-speedtol <tolerance>] [-srvmsg <text>] [-st <time>] [-sw <num>] [-synctime] [-synclocation] [-t] [-tftimeout <seconds>] [-time <seconds>] [-timemanual] [-tk] [-tkannounce] [-tkkr <percent>] [-ts [micros]] [-userdb <user>] [-vars <filename>] [-version] [-world <filename>] [-worldsize <world>] [-ws <number>]
is that what is supposed to happen?
and if so then what?
actually i don't have to do it like that i don't think because when i added a bow in text edit to a test map and i tested it it had the box. so anyway i think what F687/s said works out but if anyone can still help me with terminal please
I'm pretty sure that you can open up your preferred text editor, add in the missing features, then open up iBZEdit, watch the errors scroll by, and then use the Cmd-T that you use for testing with iBZEdit.
-
- Private First Class
- Posts: 168
- Joined: Sat Jun 23, 2007 12:20 am