.bzw to .obj conversion, the easy way.

General talk about the map making process.
Post Reply
User avatar
optic delusion
Special Forces
Special Forces
Posts: 1052
Joined: Sat Sep 25, 2004 2:29 pm
Location: Planet MoFo
Contact:

.bzw to .obj conversion, the easy way.

Post by optic delusion »

This has been around for awhile but I'm sure that not everyone knows about it.

1. Join a server
2. /saveworld -o filename.obj
3. find then load the .obj file in your favorite editor.
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.
User avatar
WarPig
Private First Class
Private First Class
Posts: 116
Joined: Mon Jul 04, 2005 5:54 pm
Location: Earth

Post by WarPig »

thats really helpful. but when i try to import the .obj file to blender, nothing happens.
trepan
Dev Wizard
Dev Wizard
Posts: 704
Joined: Fri Feb 21, 2003 7:50 pm

Post by trepan »

Blender's default OBJ importer doesn't accept negative indices. Try
loading it into another editor first, and then saving it (ex: Wings3D
does support negative indices, and saves with only positive indices,
iirc).
User avatar
WarPig
Private First Class
Private First Class
Posts: 116
Joined: Mon Jul 04, 2005 5:54 pm
Location: Earth

Post by WarPig »

ok thanks, but what other editors are there?
User avatar
blast
General
General
Posts: 4931
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Post by blast »

WarPig wrote:ok thanks, but what other editors are there?
Try reading trepan's post again.
"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
User avatar
Teppic
Private First Class
Private First Class
Posts: 576
Joined: Mon Mar 07, 2005 10:00 pm
Location: The North Block

Post by Teppic »

There is a very simple .obj archive here.
If anyone cares to convert it to a blender friendly format, I'll take a look at fixing the .obj importer.


I know it's an odd request, but I'm not going to install/uninstall erlang, esdl and wings, just to run wings for 20 seconds.
User avatar
optic delusion
Special Forces
Special Forces
Posts: 1052
Joined: Sat Sep 25, 2004 2:29 pm
Location: Planet MoFo
Contact:

Post by optic delusion »

I believe this is what you wanted Teppic.
http://cbg.bzflag.org/images/A-Delusion ... 2wings.zip


Also.. there are three options for saveworld.
-m saves a .bzw, the way you are used to seeing it.
-o saves in obj format.
-g removes any object groupings.
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.
User avatar
Teppic
Private First Class
Private First Class
Posts: 576
Joined: Mon Mar 07, 2005 10:00 pm
Location: The North Block

Post by Teppic »

Optic Delusion wrote:I believe this is what you wanted Teppic.
http://cbg.bzflag.org/images/A-Delusion ... 2wings.zip
That link is borken :(.
User avatar
optic delusion
Special Forces
Special Forces
Posts: 1052
Joined: Sat Sep 25, 2004 2:29 pm
Location: Planet MoFo
Contact:

Post by optic delusion »

sorry,i was eating bad paste. try this one.
http://cbg.bzflag.org/images/A-Delusion/j2wings/
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.
User avatar
optic delusion
Special Forces
Special Forces
Posts: 1052
Joined: Sat Sep 25, 2004 2:29 pm
Location: Planet MoFo
Contact:

sticky

Post by optic delusion »

Hey! In honor of my little post being made a sticky... Here's another juicy little tidbit that I'm sure not everybody knows about.

There is a file, config.cfg ..on my mac it's located in
/Users/delusional/Library/Application\ Support/BZFlag/2.0/config.cfg
I'm not sure where it will be on other operating systems.

In that file, change two lines and save.
set saveSettings 0
set showCoordinates 1
(I also like a larger set scrollPages)

This will show the player's position at all times, absolutely wonderful for mapping.
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.
User avatar
NO
Private First Class
Private First Class
Posts: 6
Joined: Wed Jun 06, 2007 7:13 pm
Location: Manitou Springs, Colorado

Re: .bzw to .obj conversion, the easy way.

Post by NO »

Optic Delusion wrote:This has been around for awhile but I'm sure that not everyone knows about it.

1. Join a server
2. /saveworld -o filename.obj
3. find then load the .obj file in your favorite editor.

when u say join a server, do you mean in a terminal or in the actual bzflag game. if in terminal what command would u type? if in game how would u do it????
:?
NO
User avatar
Hannibal
Private First Class
Private First Class
Posts: 1073
Joined: Mon May 02, 2005 10:27 pm
Contact:

Post by Hannibal »

If you don't know how to join a server, you should start with learning the game.
Games don't make people violent, lag does.
ImageImage
User avatar
Grace F
Sergeant
Sergeant
Posts: 978
Joined: Sun Oct 01, 2006 12:29 pm
Location: Adelaide, AUSTRALIA

Re: .bzw to .obj conversion, the easy way.

Post by Grace F »

NO wrote:
Optic Delusion wrote:This has been around for awhile but I'm sure that not everyone knows about it.

1. Join a server
2. /saveworld -o filename.obj
3. find then load the .obj file in your favorite editor.

when u say join a server, do you mean in a terminal or in the actual bzflag game. if in terminal what command would u type? if in game how would u do it????
:?
Join a server like you would if you were about to play on it. Via BZFlag.exe.

Then press 'n', 'm', '.', ',', 'z' or whatever as if you were going to type something, then simply type /saveworld -o filename.obj
Optic Delusion wrote:-m saves a .bzw, the way you are used to seeing it.
-o saves in obj format.
-g removes any object groupings.
Image
Image
PW0DA
Private
Private
Posts: 1
Joined: Tue Apr 29, 2008 1:15 am

BZW to OBJ

Post by PW0DA »

How do I convert the BZW on my desktop to OBJ ?
THNXS :?:
User avatar
joevano
General
General
Posts: 1863
Joined: Sat Jun 18, 2005 1:08 pm
Location: South Bend, Indiana, USA

Re: BZW to OBJ

Post by joevano »

PW0DA wrote:How do I convert the BZW on my desktop to OBJ ?
THNXS :?:
Create a server, host the map file on it, and follow OD's instructions above...
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
User avatar
Agent West
Private First Class
Private First Class
Posts: 318
Joined: Thu Jan 31, 2008 1:32 pm

Re: .bzw to .obj conversion, the easy way.

Post by Agent West »

will the reverce process work for .obj-.bzw converting?
(host .obj file - /saveworld "filename" - map is saved in .bzw format)
Rest in peace, AliceD (AKA Happy Alice)! miss ya!
User avatar
blast
General
General
Posts: 4931
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: .bzw to .obj conversion, the easy way.

Post by blast »

You can't host an .obj file with bzfs, so no. You can use modeltool to convert an obj to a bzw though. Search the forum.
"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
tobylane
Private First Class
Private First Class
Posts: 130
Joined: Thu Jan 29, 2009 4:21 pm

Re: .bzw to .obj conversion, the easy way.

Post by tobylane »

Do you need to use obj, can you go straight from Blender with plugin to game?
User avatar
blast
General
General
Posts: 4931
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: .bzw to .obj conversion, the easy way.

Post by blast »

Maybe. There is a set of BZW tools for Blender, if you can get them to work. Check on the BZFlag Wiki for more information.
"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
Post Reply