I'm new to genenerals modding and I just have this little problem that I cant manage to find out how to make a new ButtonImage work in game.
I added a selfmade .tga file to the textures folder and wrote the code into the factionUnit but it just won't work... :mad:
Please help if ya can and want to
I didn't add any code to the HandCreatedMappedImages Ini file :cya: ... But could any one explain thees lines: TextureWidth = 85 TextureHeight = 72 Coords = Left:0 Top:0 Right:85 Bottom:72
Here it goes:
Let's say your tga picture is (like the one I do) Width=122 by Height=98 PIXELS (photoshop is create using this image rize function) so you got to have those same margins fixed at Coords.
See a real example with my AC130h - Spectre Gunship:
MappedImage C130Spectre Texture = C130Spectre.tga TextureWidth = 122 TextureHeight = 98 Coords = Left:0 Top:0 Right:122 Bottom:98 Status = NONE End
It's workin perfectly now! :dance:
thanks you so much!