Retex Troubleshooting

Revision as of 04:00, 15 April 2006 by imported>JOG (Retexture troubleshooting: normal maps)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Missing Normal Map

A quite common problem with retexturing is the disapearance of bodyparts when you use an retextured armor. This is caused by a missing normal map. For some reason the game seems to mix up an object's axes when the normal map is missing.

  • Retextured static object without a normal map suddenly flip around one axe when you turn them on another axe in the Render Window.
  • Retextured Armor seems to have invisible bodyparts, this is the same symptom, the game tries to turn them around one axis and they flip over on the other, out of the player's view.
  • You can see it very nice when retexturing amulets: When you equip a retextured amulet that has no normal map it's displayed on your back in the inventory screen. When you turn your character around, the amulet moves to the opposite direction.


How to solve the problem:

Every texture needs anormal map, a file with the texture-name and an "_n" appended. This file can be found in the same folder as the original textures, and most of the time you just need to copy/rename it.


There is another thing you need to keep in mind, though: The game is designed to have similar textures (like shop signs) share one normal map. To realize this, the normal map's filename is determined by textures filename symply by truncating it at the position of the first underscore ("_") and appending "_n.dds".


So either avoid using the underscore in filenames (and paths) or make sure your normal map is named correctly:


Textures\Mymod\NewArmor\myGreatCuirass.dds
Textures\Mymod\NewArmor\myGreatCuirass_n.dds


Textures\Mymod\NewArmor\myGreat_Cuirass.dds
Textures\Mymod\NewArmor\myGreat_n.dds


Textures\Mymod\NewArmor\my_Great_Cuirass.dds
Textures\Mymod\NewArmor\my_n.dds


Textures\Mymod\New_Armor\my_Great_Cuirass.dds
Textures\Mymod\New_n.dds


Textures\My_mod\New_Armor\my_Great_Cuirass.dds
Textures\My_n.dds