• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

Titan79

War is over! if you want it
48 Badges
Sep 11, 2005
3.377
302
  • Victoria 2: Heart of Darkness
  • Europa Universalis III Complete
  • Majesty 2
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Rome Gold
  • Sengoku
  • Sword of the Stars
  • Supreme Ruler 2020
  • Victoria 2
  • Victoria 2: A House Divided
  • Heir to the Throne
  • Warlock 2: The Exiled
  • 500k Club
  • Mount & Blade: Warband
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Conclave
  • Achtung Panzer
  • Crusader Kings II: Reapers Due
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings II: Jade Dragon
  • Darkest Hour
  • Hearts of Iron II: Armageddon
  • Cities in Motion
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Arsenal of Democracy
  • Deus Vult
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Europa Universalis III Complete
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For The Glory
  • Hearts of Iron III
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!
 

Attachments

  • Air_missions  [marked].bmp
    Air_missions [marked].bmp
    10,4 KB · Views: 35
Last edited:
Upvote 0