.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: 966
Joined: Sat Sep 25, 2004 2:29 pm
Location: Planet MoFo
Contact:

.bzw to .obj conversion, the easy way.

Post by optic delusion » Sat Feb 17, 2007 6:34 am

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 » Sat Feb 17, 2007 11:56 pm

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 » Sun Feb 18, 2007 12:37 am

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 » Sun Feb 18, 2007 12:46 am

ok thanks, but what other editors are there?

User avatar
blast
General
General
Posts: 4682
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Post by blast » Sun Feb 18, 2007 5:38 am

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: 575
Joined: Mon Mar 07, 2005 10:00 pm
Location: The North Block
Contact:

Post by Teppic » Sun Feb 18, 2007 10:15 am

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: 966
Joined: Sat Sep 25, 2004 2:29 pm
Location: Planet MoFo
Contact:

Post by optic delusion » Sun Feb 18, 2007 1:32 pm

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: 575
Joined: Mon Mar 07, 2005 10:00 pm
Location: The North Block
Contact:

Post by Teppic » Wed Feb 21, 2007 10:46 pm

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: 966
Joined: Sat Sep 25, 2004 2:29 pm
Location: Planet MoFo
Contact:

Post by optic delusion » Thu Feb 22, 2007 12:04 am

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: 966
Joined: Sat Sep 25, 2004 2:29 pm
Location: Planet MoFo
Contact:

sticky

Post by optic delusion » Wed Mar 28, 2007 6:23 pm

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 » Wed Jun 13, 2007 4:18 am

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 » Wed Jun 13, 2007 4:45 am

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 » Wed Jun 13, 2007 6:41 am

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 » Wed Apr 30, 2008 3:36 pm

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 » Wed Apr 30, 2008 4:14 pm

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 » Fri Jan 30, 2009 4:30 pm

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: 4682
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

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

Post by blast » Fri Jan 30, 2009 7:24 pm

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 » Sat Jan 31, 2009 4:29 pm

Do you need to use obj, can you go straight from Blender with plugin to game?

User avatar
blast
General
General
Posts: 4682
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

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

Post by blast » Sat Jan 31, 2009 6:11 pm

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

Who is online

Users browsing this forum: No registered users and 2 guests