Jump to content
The Dark Mod Forums

Recommended Posts

Posted (edited)

Noob question: In the following wiki page Material_Files#Create_a_new_Texture_Definition it states:

Quote

 First, specify the name of your new material. If it is not a model texture, then the name should include the path to the texture files used

Why would you need the path in the name? I see this a lot in material files, but technically this doesn't seem to be needed. If you use material name "dirty_water" for example, tdm and DR load it fine.

Edited by datiswous
Posted

It's just a convention. It can cause trouble when the name is so long it doesn't fit inside Blender's character limit. But material names can be whatever, except they should be original so they don't conflict with each other.

  • Like 1
  • Thanks 2

It's only a model...

Posted (edited)

Like Arcturus said materials names do not need to be a real path to a texture.  Thou afaik Radiant (and probably DR?) uses it to display it in a virtual folder tree in the editor, meaning if is a single word, it shows up in the root of the media window.

Spoiler

idSoftware afaik used that convention because that is what they probably did since idTech1 or 2, in those days a "material" (or "shader" in Quake 3 parlance), was really a single texture in the base folder and ingame for the most part (not sure about Quake 3), so made sense for the path to point to the real texture.

Doom 3 and idTech4 changed all of that but the convention just stuck. 

 

Edited by HMart
  • Like 1
  • Thanks 2

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

    • jaxa

      Talk GabeCube:
      https://forums.thedarkmod.com/index.php?/topic/18055-2016-cpugpu-news/page/39/#findComment-508710
      · 1 reply
    • The Black Arrow

      Things have been so bad these days for me...
      Just a year ago, I've been feeling dizzy, I thought it was nothing, today's stress, that type of thing, went to sleep...Still dizzy! 9 more days dizzy, went to doctor (I would have gone on the first day if NOT for the long appointment time)
      Said it may be Neck Dizziness...I did exercises for 6 months, no changes.
      Went to a Physical Therapist, went to another, no changes.
      I've asked my doctor for a full check this time.
      I hated yesteryear so much due to personal reasons, this year might be the same.
      To be brutally honest, I'd rather have cancer or/and chronic pain than suffer dizziness any second longer, especially when nothing helps.
      Hard to enjoy Thief when you're dizzy so I was hoping this year, Winter will be best for me.
      · 7 replies
    • JackFarmer

      Hello mappers and taffers! 

      Are you still out there? It is so calm here these days and I am afraid this is no good sign.
      Proof me wrong, tell your best friend (=me), that you are still here and that you will not go away!
      · 5 replies
    • JackFarmer

      Happy Labour Day, my taffing taffers & hard working mapping friends!
      And remember the poor souls who, within the Inventors’ organization, labor under Jonus’s yoke to ensure the success of that very guild! Always remember the hard workers!
      · 2 replies
    • datiswous

      Is there a script command to make a screenshot?
      I just though it could be interesting to be able to create a screenshot at a certain point in time. Then use that screenshot possibly in a debrief.
      I guess the second question is: Can you use a (in-game made) screenshot in a (debrief) gui?
      · 1 reply
×
×
  • Create New...