Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » limitation discovered with regard to textures
limitation discovered with regard to textures [message #214802] Wed, 23 August 2006 22:44 Go to previous message
jonwil is currently offline  jonwil
Messages: 3557
Registered: February 2003
Karma:
General (3 Stars)

Basicly, when the game starts up for the first time (or if they have been deleted), it creates .thu files for each mix file (including always.dat and always2.dat). Each file contains information about textures including the width and height.
When the game loads a texture, if its in the thu file, it uses the width and height from there instead of from the texture file itself.

What this means is that if you have a texture in your renegade data folder with the same name as a texture in a mix file and the texture has a different size to the one in the mix file, you get texture errors/issues. The same may also happen if there is a change to the mix file where a texture inside changes size but the .thu file is not deleted so it can be regenrated with the new size.


Jonathan Wilson aka Jonwil
Creator and Lead Coder of the Custom scripts.dll
Renegade Engine Guru
Creator and Lead Coder of TT.DLL
Official member of Tiberian Technologies
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Spawners
Next Topic: help me
Goto Forum:
  


Current Time: Sat Oct 19 05:08:38 MST 2024

Total time taken to generate the page: 0.01269 seconds