Game Development Community

Help please: Possibility for two textures?

by theraptorlightly · in Artist Corner · 02/21/2002 (10:43 am) · 4 replies

As far as I know most or all playermodels featured in Tribes2 just used one 512x512 texture. We however would like to use two seperate textures for the whole model (one being slightly smaller for the head,the other one for the body)
Is this possible without making changes to the code and if not do you happen to know the nature of these changes?
Of course it would be easiest if the modeller just had to create two skinmeshes that get exported the normal way.....
Thank you in advance!

#1
02/21/2002 (2:38 pm)
Yes, that is what I am doing and it works fine with the engine code as is. The model will reference the separate .png texture files without a problem.

The only real issue is that right now you can only use one texture per mesh. So no lightmaps, bumpmaps, etc. At least, that is the way it appears to be behaving.
#2
02/21/2002 (3:16 pm)
Yep, since the model refers to external skin files, just use two different textures and make sure the model has teh correct path to them.

So if you wanted to change the face texture, just swap out the texure of the face. there's a good thread explaining how skin swapping can be done (done via c++ and written to be accessed by scripting)

I am currently fiddling around with it because the system the project I'm working on will allow users to customize their player by changing the face texture.
#3
02/22/2002 (9:41 am)
thank you both
@matt:
any chance you will let us all know about how this is done? :P
#4
02/23/2002 (10:54 am)
Matt Webster:
I cant find the thread you mentioned... care to post a link or point me in the right direction?

Thank you