SC4 Devotion Forum Archives

Sim City 4 Devotion Tools => Tools - General Discussion => SC4 Tool => Topic started by: Zanza on March 15, 2010, 06:57:44 AM

Title: Textures show correctly in Lot Editor, but ingame only the first texture works
Post by: Zanza on March 15, 2010, 06:57:44 AM
I created a dat file with a couple of textures using the Texture Creator. These textures show correctly in the Maxis Lot Editor, iLives Reader and the PIM-X tool. When I plop a building using the textures, only the first texture I put into the file is used for all the squares regardless of which texture I assigned to a particular square in Lot Editor or PIM-X. If I use Maxis textures as well, they show correctly on the building.

Here is an example. As you can see, the textures in the Lot Editor show correctly. In the game, only the sand texture (the first in the dat file) shows for all three of my custom textures. The Maxis texture (lower right) is show correctly in the game.
(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fwww.abload.de%2Fimg%2Floteditor_gameads1.jpg&hash=72fa3f9d34d60ae90fbaa343c69a46ae9224bb7c)

Here is the dat file in question: http://zanza.funpic.de/zanza_textures.dat

What's my mistake?  ()what()
Title: Re: Textures show correctly in Lot Editor, but ingame only the first texture works
Post by: BarbyW on March 15, 2010, 07:42:06 AM
Your problem stems from your use of 0 in the fifth position of the IID. You should avoid using 0 to 3 for any textures which have no alternatives for wealth settings. Try changing the IIDs from 0xf580000x ( where x is the final number in the IID) to f580400x for the complete set. Test them again once you have done that.
Title: Re: Textures show correctly in Lot Editor, but ingame only the first texture works
Post by: Zanza on March 15, 2010, 04:35:11 PM
Thanks. That worked.  :)