Aller au contenu

Photo

TGA vs PLT


  • Veuillez vous connecter pour répondre
3 réponses à ce sujet

#1
dusty.lane

dusty.lane
  • Members
  • 135 messages
I was wondering, while working on my project. It is surprisingly favorable if I have my armor part (a belt) that doesn't use PLT coloring. I tried to use tga, but it doesn't seem to accept the texture that way. Is there a way to get it so I choose the coloring of the belt without it being changed by the ingame color channels? (Such as cloth1, cloth2)

#2
B_Harrison

B_Harrison
  • Members
  • 180 messages
You can have .plt-based models use .tga or .dds textures:

Change the internal name (not filename!) of your .mdl to something different (ie, not matching any accompanying .plt's filename), and fill its bitmap field(s) with your .tga or .dds texture's filename.

Modifié par B_Harrison, 18 septembre 2012 - 09:01 .


#3
dusty.lane

dusty.lane
  • Members
  • 135 messages
Alright! Thanks, that seems like it'll solve my problems. Also welcome back! ;P

#4
OldTimeRadio

OldTimeRadio
  • Members
  • 1 400 messages
I came up with a different method to basically do the same thing but it also allows you to have a mesh which uses PLT and a mesh which uses TGA in the same body part.  I use it all the time now and haven't had any problems with it.  Just search down for "Here is how the solution works:" for the particulars.