While reworking ...\gfx\interface\air_missions.bmp, I noticed the file is somehow "corrupted", i.e. the air mission symbols don't display properly. The only two that seem to be shown correctly are the first two in the .bmp file (Ground attack and Interdiction) but all the following ones are clearly off-centered, with the situation getting worse the more a mission is closer to the right part of the .bmp.
Here's an example:

While the first two are ok, further ones like "Naval strike" look totally out of place (and they actually are).
I tried to fix this myself by adding (or subtracting) some pixels to the .bmp's total width but it didn't work: either all the air missions became corrupted and unrecognizable or they just showed too much in comparison to what they should.
I'm attaching an updated air_missions.bmp file with the pattern I've discovered the game uses to display the single missions (18 pixels for each mission type, starting from the very first pixel on left), to make it easier to fiddle with it.
In any case, I reworked the file so that now it displays the corresponding air missions written in the unit panel window (the new file can be downloaded from this link). However, there's still a problem which I wasn't able to solve and it is the "Nuke" mission, which keeps showing off-centered no matter how I move the missions' symbols inside the .bmp or how I add/subtract pixels to the file.
Help would be very appreciated - thank you!
Here's an example:

While the first two are ok, further ones like "Naval strike" look totally out of place (and they actually are).
I tried to fix this myself by adding (or subtracting) some pixels to the .bmp's total width but it didn't work: either all the air missions became corrupted and unrecognizable or they just showed too much in comparison to what they should.
I'm attaching an updated air_missions.bmp file with the pattern I've discovered the game uses to display the single missions (18 pixels for each mission type, starting from the very first pixel on left), to make it easier to fiddle with it.
In any case, I reworked the file so that now it displays the corresponding air missions written in the unit panel window (the new file can be downloaded from this link). However, there's still a problem which I wasn't able to solve and it is the "Nuke" mission, which keeps showing off-centered no matter how I move the missions' symbols inside the .bmp or how I add/subtract pixels to the file.
Help would be very appreciated - thank you!
Attachments
Last edited:
Upvote
0