Enhanced Tank Texturing

Make suggestions for improving one of the best games on the net!
Post Reply
User avatar
Bentusi Elite
Private First Class
Private First Class
Posts: 26
Joined: Sat May 06, 2006 9:09 pm

Enhanced Tank Texturing

Post by Bentusi Elite »

I posted this on Sourceforge but seeing how ancient the last bit of activity there is, I thought I'd come here too.

What do you guys think of making it so that certain sections of the tank texture images are mapped onto the tanks? With this people could make their own custom tank skins and make them look however they like instead of using the repeating army uniform pattern. Wheels, treads and turret could all look different and a lot cooler.
User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5196
Joined: Fri Dec 13, 2002 4:11 am

Post by JeffM »

it's been discussed a number of times. just noone has done the work, or remapped the model.

If you'd like to do the work to remap it, please feel free.

custom skins are an interesting issue, as we have a number of flag effects that work on the "color" of a tank ( color blind, and the like ), so there would have to be a way to enforce the actual color of the tank. But there are probably reasonable solutions to those issues.

A start would be getting at tank with a better UV mapping. Or even a better tank.
ImageJeffM
User avatar
Grace F
Sergeant
Sergeant
Posts: 978
Joined: Sun Oct 01, 2006 12:29 pm
Location: Adelaide, AUSTRALIA

Post by Grace F »

If this was done, i hope it will be because it sounds like a really cool idea, would it come out in the next BZflag, 2.10... or whatever the next 1 is?
Image
Image
User avatar
Ratatosk
Private First Class
Private First Class
Posts: 277
Joined: Sun Nov 05, 2006 2:04 am
Location: Chicago, IL

Post by Ratatosk »

this ctualy sounds like a

1 possible idea

2 okay idea
Courage is the magic that turns dreams into reality.
Image
User avatar
Bentusi Elite
Private First Class
Private First Class
Posts: 26
Joined: Sat May 06, 2006 9:09 pm

Post by Bentusi Elite »

Thanks Jeff, I'd love to do it but I don't know the dimensions of the tank models or their size relative to the textures... So it may take a while.

Unless of course anybody here knows what they are? :D
User avatar
ducatiwannabe
Private First Class
Private First Class
Posts: 3258
Joined: Tue Aug 10, 2004 3:55 pm
Location: Planet Earth
Contact:

Post by ducatiwannabe »

I think this would also be a good idea for clans and leagues, only have it done in a slightly different way. Perhaps people could attach their own logo or team logo to their tank in an area if they wanted to :P Only problem then is that we have no idea what pics they'll put up. :(

This original idea sounds cool too...
User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5196
Joined: Fri Dec 13, 2002 4:11 am

Post by JeffM »

http://my.bzflag.org/w/Tank

that has the dimensions, the size to the texture is irrelevant, as you'd be replacing the texture ( you can make the texture larger if you wish ).
ImageJeffM
User avatar
CannonBallGuy
Private First Class
Private First Class
Posts: 2083
Joined: Wed Apr 12, 2006 1:31 am
Contact:

Post by CannonBallGuy »

Grace F wrote:If this was done, i hope it will be because it sounds like a really cool idea, would it come out in the next BZflag, 2.10... or whatever the next 1 is?
The next version will be 2.2.0 - assuming no huge new bug is found before then.
Image

Merry Christmas!

"Look, if I don't buy booze for the kids, I don't get any incriminating pictures to show to their parents, my business goes down the sink, my girlfriend leaves me and the baby goes on ebay. So help me search..."

"go Play With Toys urself in a dark alley u donkey ******" - Lt-Kirby2007
User avatar
BinarySpike
Corporal
Corporal
Posts: 735
Joined: Mon Mar 28, 2005 11:58 pm
Contact:

Post by BinarySpike »

Even if Bentus creates a new model, would what he says need code modifications over the tank animation in the actual source?
User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5196
Joined: Fri Dec 13, 2002 4:11 am

Post by JeffM »

CannonBallGuy
even if we find a bug, it'll be 2.2.0 ;) if we find one after that then we'll have 2.2.2, but 2.2.0 would still be the 'next' release.

BinarySpike
I think your trying to say he'd need code modifications, but I'm not sure, it's worded oddly.

yes he would, or we'd convert his model into the C code used by the game. Ether way would work.
ImageJeffM
User avatar
CannonBallGuy
Private First Class
Private First Class
Posts: 2083
Joined: Wed Apr 12, 2006 1:31 am
Contact:

Post by CannonBallGuy »

JeffM2501 wrote:CannonBallGuy
even if we find a bug, it'll be 2.2.0 ;) if we find one after that then we'll have 2.2.2, but 2.2.0 would still be the 'next' release.
I meant, if a huge bug is found in the 2.0 branch tonight, say, and 2.2 is nowhere near ready for release...
Image

Merry Christmas!

"Look, if I don't buy booze for the kids, I don't get any incriminating pictures to show to their parents, my business goes down the sink, my girlfriend leaves me and the baby goes on ebay. So help me search..."

"go Play With Toys urself in a dark alley u donkey ******" - Lt-Kirby2007
User avatar
Bentusi Elite
Private First Class
Private First Class
Posts: 26
Joined: Sat May 06, 2006 9:09 pm

Post by Bentusi Elite »

Hey I'm looking at the version 2.1.11 S-P-A and it seems we're going to have each team represent a different card suit... should I do this with the tank meshes?


Also a random idea I had was if we could have a hollow diamond/arrow pointing to the location of the team base(s) in addition to the one pointing to the team flag? I want to keep my radar low when playing Pillbox but then I can't always tell where my base is! :|
User avatar
Grace F
Sergeant
Sergeant
Posts: 978
Joined: Sun Oct 01, 2006 12:29 pm
Location: Adelaide, AUSTRALIA

Post by Grace F »

You keep your radar low? You mean small? When playing Pillbox or hepcat, people usually have their radars maximized to increase their dodging capabilities. Since you cant jump, nor have any superflags, radar (in my opinion) is the only thing you need to see.

As for the arrow idea, i think that has been dicussed before :P If not something similar. Try the "search" tab and if it hasn't been discussed, start a new topic. :)
Image
Image
User avatar
Bentusi Elite
Private First Class
Private First Class
Posts: 26
Joined: Sat May 06, 2006 9:09 pm

Post by Bentusi Elite »

By low I mean closer to the ground of course (zoomed in)... :|
User avatar
biggeruniverse
Sergeant
Sergeant
Posts: 30
Joined: Sat Mar 19, 2005 2:59 am
Contact:

Post by biggeruniverse »

What's all this about C code? What's Tupone working on then because it seems like all new, Crystal Space-based, render code to me. Wouldn't it be better to just throw a new tank model in with that?
User avatar
BinarySpike
Corporal
Corporal
Posts: 735
Joined: Mon Mar 28, 2005 11:58 pm
Contact:

Post by BinarySpike »

JeffM2501 wrote:I think your trying to say he'd need code modifications, but I'm not sure, it's worded oddly.

yes he would, or we'd convert his model into the C code used by the game. Ether way would work.
Yeah that's what I meant, I didn't know much about how the tank was rendered.

biggeruniverse wrote:What's all this about C code? What's Tupone working on then because it seems like all new, Crystal Space-based, render code to me. Wouldn't it be better to just throw a new tank model in with that?
BZFlag has nothing to do with crystal space O.o o.O
Crystal Space is a game engine, not a render'er. BZFlag uses OpenGL to do hardware accelerated rendering. Crystal Space also uses OpenGL.
But again Crystal Space is a game engine, has nothing to do with any underlying elements of BZFlag.

Tupone could be grabbing things from Crystal Space, or another dev for that matter.

I was asking if Bentus would need to change the source code to reflect his model. If the answer was no, then I would assume bzflag loaded a file (.obj) and displayed it as the tank model and it was... Primitive. I can tell bzflag is not "primitive" because Jeff answered Yes.
Bentus wrote:Also a random idea I had was if we could have a hollow diamond/arrow pointing to the location of the team base(s) in addition to the one pointing to the team flag? I want to keep my radar low when playing Pillbox but then I can't always tell where my base is! Neutral
That's Cake if you know OpenGL :lol:
User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5196
Joined: Fri Dec 13, 2002 4:11 am

Post by JeffM »

BinarySpike
once again you are wrong, Tupone is working on a crystal space version of bzflag, but it is still an experimental work in progress ( based on 2.0.9). We also have a an applicant for the Google Sumer of Code, that may do an ogre implementation as there project.

biggeruniverse
the CS port is not ready for "prime time", and as stated is simply an experment, but if we do go with a 3rd party engine that can read external models, then yes we will not need new models to be hard coded. The CS and other engine work has a lot to go before it's ready, I expect it to not be ready in time for 2.2, as it will take months of testing and tweaking once it's even feature complete. As for right now, we will need a model to be hardcoded ( or the model code in BZ to be changed to read from a file ), but any model made in a modeler can be converted to any number of needed formats, the art is the important bit.

Bentus
we had hud markers in a testing branch that showed the flag, like a fighter pilot lock-on marker, similar to what you are talking about I think. it would just need to be moved into the CVS head mainline.
ImageJeffM
User avatar
Bentusi Elite
Private First Class
Private First Class
Posts: 26
Joined: Sat May 06, 2006 9:09 pm

Post by Bentusi Elite »

Thank you Jeff.

We're clear here that I'm only redoing the texture first and not the model or coding right? I'm not as experienced at coding as I am at fooling around with Photoshop... :|



I might actually write code for mapping it onto the tank someday... but not for a while.
User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5196
Joined: Fri Dec 13, 2002 4:11 am

Post by JeffM »

you can do what you wish. if you wish to redo the model, we can work it into the code. your not alone.

we are more of an open "do what you feel like doing" project. So do whatever you feel comfortable doing.
ImageJeffM
Post Reply