Note: LucasForums Archive Project
The content here was reconstructed by scraping the Wayback Machine in an effort to restore some of what was lost when LF went down. The LucasForums Archive Project claims no ownership over the content or assets that were archived on archive.org.

This project is meant for research purposes only.

Skinning Question.

Page: 1 of 1
 Grindel
04-08-2007, 2:13 PM
#1
I'm sure this question has been asked before... I export a skin using kotor tool (in this case PFE02 located in Kotor I + ERFs + TexturePacks + swpc_tex_tpa.erf) Then I use gimp to edit it and save it to Override. This works fin i see the new skin in the game. One problem the original skin is nice and shiny but the modified skin is not. I'm not sure of the problems description is this a uvmaping issue or dose it have something to do with alpha channel?

Apologies if this is an old question and has been addressed before.
 glovemaster
04-08-2007, 2:31 PM
#2
Yeah its the alpha channel. Make sure the areas you want shiney have an element of "transparency" to it. The game reads it and makes those areas shiney. If you look at the sith armour in K1 the Alpha is about 50. (50 on my paint program, your program might scale 0-100. I use Paint.NET and it scales 0-255)
 stoffe
04-08-2007, 2:55 PM
#3
I'm sure this question has been asked before... I export a skin using kotor tool (in this case PFE02 located in Kotor I + ERFs + TexturePacks + swpc_tex_tpa.erf) Then I use gimp to edit it and save it to Override. This works fin i see the new skin in the game. One problem the original skin is nice and shiny but the modified skin is not. I'm not sure of the problems description is this a uvmaping issue or dose it have something to do with alpha channel?


Did you extract the TXI info to a file as well. A TPC file contains both the compressed image data and Texture Info data in the same file. If you use the TGA format instead you'll need to put the texture info in a separate file named the same as the TGA file but with a .TXI extension.

For armors the TXI file usually contains environment map info to make bits of it shiny. Try creating a TXI file (normal text file with TXI extension) with the same name as your texture with content like:

envmaptexture cm_baremetal

This would tell the game to use the shiny metal environment map for the areas of the texture masked off in the alpha channel in the TGA.
Page: 1 of 1