Jump to content
The Dark Mod Forums

Skin problem


charisma

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.

  • Recent Status Updates

    • Ansome

      Finally got my PC back from the shop after my SSD got corrupted a week ago and damaged my motherboard. Scary stuff, but thank goodness it happened right after two months of FM development instead of wiping all my work before I could release it. New SSD, repaired Motherboard and BIOS, and we're ready to start working on my second FM with some added version control in the cloud just to be safe!
      · 0 replies
    • Petike the Taffer  »  DeTeEff

      I've updated the articles for your FMs and your author category at the wiki. Your newer nickname (DeTeEff) now comes first, and the one in parentheses is your older nickname (Fieldmedic). Just to avoid confusing people who played your FMs years ago and remember your older nickname. I've added a wiki article for your latest FM, Who Watches the Watcher?, as part of my current updating efforts. Unless I overlooked something, you have five different FMs so far.
      · 0 replies
    • Petike the Taffer

      I've finally managed to log in to The Dark Mod Wiki. I'm back in the saddle and before the holidays start in full, I'll be adding a few new FM articles and doing other updates. Written in Stone is already done.
      · 4 replies
    • nbohr1more

      TDM 15th Anniversary Contest is now active! Please declare your participation: https://forums.thedarkmod.com/index.php?/topic/22413-the-dark-mod-15th-anniversary-contest-entry-thread/
       
      · 0 replies
    • JackFarmer

      @TheUnbeholden
      You cannot receive PMs. Could you please be so kind and check your mailbox if it is full (or maybe you switched off the function)?
      · 1 reply
×
×
  • Create New...