Jump to content
The Dark Mod Forums

Skin problem


charisma
 Share

Recommended Posts

Hello everyone.

 

I recently started to make my own map and it seems I encountered a problem that I can't solve on my own. :blush:

 

I made a skin for a default model (it is an outdoor sign with chains). I used the wood texture that also comes with TDM. The skin looks as it should be in the 'Choose Skin' window, but in-game it is completely black. Does it have something to do with the vertex colours? Or is it because the default model uses two textures? (one for chains and another - for the shield itself)

 

Here's my *.skin file:

//shield shape//

skin sign_shield_lucky_leaf
{
model models/darkmod/decorative/signs/sign_shieldshape01.lwo

tdm_sign_shield01 textures/darkmod/wood/boards/pier_platform
}
  • Like 1
Link to comment
Share on other sites

The skin entry looks fine. Are you using the default textures/darkmod/wood/boards/pier_platform entry, or did you make your own?

Link to comment
Share on other sites

the texture needs to be the dds version, the tga versions don't work on props. it uses the dds folder structure else it cant find the texture and displays it as a black image.

 

if you want to verify it then the city watch shield skin points to a jpg file for the editor and a dds file for the skin and hence the model, there is no tga version of the city watch shield texture.

Link to comment
Share on other sites

the texture needs to be the dds version, the tga versions don't work on props. it uses the dds folder structure else it cant find the texture and displays it as a black image.

 

 

 

Where did you get this information from? All our textures were .tga at one point and they worked fine.

 

 

charisma, if you want to bundle the relevant files together I'll take a look. Since it works in DR but not in TDM, I suspect it's where you've put the skin file.

Link to comment
Share on other sites

I looked in the pk4 files and tried to find the tga versions of some textures that are used on models and just could not find them, I only found the _ed.jpg version for darkradiant and the .dds files for the models.

 

 

 

We replaced most of the .tga files (at least for diffuse and specular stages) because .dds files are smaller than .tga. It has nothing to do with them not working on models.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recent Status Updates

    • jaxa

      Embracer Group is Buying Square Enix Montréal, Eidos, and Crystal Dynamics for “Only” 300 Million USD: https://wccftech.com/embracer-group-square-enix-montreal-eidos-crystal-dynamics/
      · 1 reply
    • duzenko

      Do we want fur in TDM? Like https://duzenko.github.io/webgl/
      · 6 replies
    • Epifire

      Sometimes life throws a curveball - other times it straight up tries to take you outta the game. Been one thing after another lately but I ain't goin without a fight!
      · 2 replies
    • duzenko

      My Uber rating (as a passenger) is 4.71. Is there still hope or should I just kill myself? What's yours?
      · 3 replies
    • kano

      Did I mention how absolutely grateful I am that TDM didn't get (and can never be) assimilated by a huge company like Microsoft, as is what happened to Minecraft?
      · 3 replies
×
×
  • Create New...