Problematic Paths in Models: Difference between revisions

From The DarkMod Wiki
Jump to navigationJump to search
No edit summary
 
Tels (talk | contribs)
re-org
 
Line 31: Line 31:
  *BITMAP "//darkmod/models/props/misc/bowl"
  *BITMAP "//darkmod/models/props/misc/bowl"


[[Category:Models]]
{{models}}
[[Category:Problems]]
{{troubleshooting}}

Latest revision as of 17:15, 7 October 2007

Originally written by New Horizon on http://forums.thedarkmod.com/topic/739

This is in regards to black models. We traced this to an issue with the material paths inside the models. By opening up an ase file in a text editor you would have seen something like this....

*MATERIAL_NAME "//DarkMod/models/props/misc/bowl"

and

*BITMAP "//DarkMod/models/props/misc/bowl"

The suggestion was to change this to the following....

*MATERIAL_NAME "//base/models/props/misc/bowl"

and

*BITMAP "//base/models/props/misc/bowl"

This works, however it causes frobbable items to be at full brightness ...at all times. Not good. So, I dug a little deeper.

I don't know why I didn't notice this all along, but everything needs to be in lower caps. Currently the path names were like this....

*MATERIAL_NAME "//DarkMod/models/props/misc/bowl"

and

*BITMAP "//DarkMod/models/props/misc/bowl"

As you can see, d and m are in upper caps. I changed it to all lower caps as it should be and everything works great.

So, just to make sure everyone is aware of this.

Always use Lower Caps

*MATERIAL_NAME "//darkmod/models/props/misc/bowl"

and

*BITMAP "//darkmod/models/props/misc/bowl"