Posted by: NewNightmare - Wednesday, August 17, 2011 3:10:16 PM
Hey, I've been looking for a while, and I found these large .TGA images that have different commandbuttons on, but they are all on 1 image. how the hell should I know for example, what is the name of a Chinese POW Truck Commandbutton if it's just a small part of a bigger image?
Posted by: glumurr - Wednesday, August 17, 2011 3:54:53 PM
if you look at the ini file "SAUserInterface512" you can see that there are coords that tell you where the picture is.
like this dozer for example
[code]MappedImage SACDozer_L
Texture = SAUserInterface512_001.tga
TextureWidth = 512
TextureHeight = 512
Coords = Left:123 Top:393 Right:243 Bottom:489
Status = NONE
End[/code]
the coords "tell" the game where the picture is located in the "big" picture
---------------------------------------------
if you are looking for the chinese pow truck codes here they are
[code]MappedImage SNPOWTruck_L
Texture = SNUserInterface512_002.tga
TextureWidth = 512
TextureHeight = 512
Coords = Left:245 Top:393 Right:365 Bottom:489
Status = NONE
End[/code]
[code]MappedImage SNPOWTruck
Texture = SNUserInterface512_003.tga
TextureWidth = 512
TextureHeight = 512
Coords = Left:249 Top:297 Right:309 Bottom:345
Status = NONE
End[/code]
Posted by: NewNightmare - Wednesday, August 17, 2011 4:16:01 PM