BZFlag models and textures

All things BZFlag - no [OT] here please
Post Reply
WorldOfTanks23
Private First Class
Private First Class
Posts: 70
Joined: Sat Jun 20, 2009 8:27 pm

BZFlag models and textures

Post by WorldOfTanks23 »

Where can i download the tank models and textures used by BZFlag?
User avatar
clarahobbs
Private First Class
Private First Class
Posts: 272
Joined: Thu Jan 10, 2008 1:45 am
Location: The Fourth Dimension

Re: BZFlag models and textures

Post by clarahobbs »

If you have BZFlag, then you already have the textures. On Linux, they'd be saved in /usr/share/bzflag/ . I have no idea what it would be on otherOSs. The 3D models are hard-coded into BZ in C++ code, so it might not be easy to import to something like Blender or Wings3D.
FKA Ratfink
User avatar
joevano
General
General
Posts: 1863
Joined: Sat Jun 18, 2005 1:08 pm
Location: South Bend, Indiana, USA

Re: BZFlag models and textures

Post by joevano »

Tank model page on the wiki http://my.bzflag.org/w/Tank
Tank object file: http://my.bzflag.org/resources/models/Tank.obj

As Ratfink said, the tank in bzflag is hard coded (for now), but the obj file above is based on it.
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
WorldOfTanks23
Private First Class
Private First Class
Posts: 70
Joined: Sat Jun 20, 2009 8:27 pm

Re: BZFlag models and textures

Post by WorldOfTanks23 »

Thanks. Imported the tank into Blender with no problems. :D
User avatar
Mopar Madness
Private First Class
Private First Class
Posts: 169
Joined: Mon Jul 03, 2006 3:31 am

Re: BZFlag models and textures

Post by Mopar Madness »

I thought I heard 3.0 will allow custom tanks, does that mean it won't be hard coded on 3.0?
User avatar
Crallion
Private First Class
Private First Class
Posts: 201
Joined: Mon Mar 09, 2009 6:26 am
Location: The USA
Contact:

Re: BZFlag models and textures

Post by Crallion »

It might be like how you can edit your client by changing the files in your BZFlag resources directory.
Time is a great teacher, but unfortunately, it kills all its pupils ... - Louis Hector Berlioz

To err is human. To really foul up requires the root password.
User avatar
joevano
General
General
Posts: 1863
Joined: Sat Jun 18, 2005 1:08 pm
Location: South Bend, Indiana, USA

Re: BZFlag models and textures

Post by joevano »

That code has currently been disabled, so initially the tanks will be the same as before. The plan is to get 3.0 stable and then do that in a minor release, I think.
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
Crallion
Private First Class
Private First Class
Posts: 201
Joined: Mon Mar 09, 2009 6:26 am
Location: The USA
Contact:

Re: BZFlag models and textures

Post by Crallion »

Would it be possible to put the tank .obj file into the "Resources" folder?

(So that you can edit it in your client)
Time is a great teacher, but unfortunately, it kills all its pupils ... - Louis Hector Berlioz

To err is human. To really foul up requires the root password.
User avatar
joevano
General
General
Posts: 1863
Joined: Sat Jun 18, 2005 1:08 pm
Location: South Bend, Indiana, USA

Re: BZFlag models and textures

Post by joevano »

Uhm... HUH? Your BZFlag resources folder? BZFlag is not an editor...
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
Crallion
Private First Class
Private First Class
Posts: 201
Joined: Mon Mar 09, 2009 6:26 am
Location: The USA
Contact:

Re: BZFlag models and textures

Post by Crallion »

You know how there is a resources folder in the BZFlag package? Well, guess what... If you change the images, it will change the images in BZ, if you change the .wav, it changes some of the sounds.

(I changed what my flags and shots look like)
Time is a great teacher, but unfortunately, it kills all its pupils ... - Louis Hector Berlioz

To err is human. To really foul up requires the root password.
User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5196
Joined: Fri Dec 13, 2002 4:11 am

Re: BZFlag models and textures

Post by JeffM »

The model is not used by the game, so it would be silly to ship data that is unused. The obj is also only an approximation of an older version of the tank model. We are looking into doing away with the hardcoded model and using external files, but that will be a feature for a later date.
ImageJeffM
Post Reply