• 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.

Fürstbischof

General
17 Badges
Jan 25, 2009
1.765
92
  • Arsenal of Democracy
  • Deus Vult
  • Europa Universalis III
  • Europa Universalis III Complete
  • Divine Wind
  • For The Glory
  • Heir to the Throne
  • Hearts of Iron Anthology
  • 500k Club
  • Europa Universalis: Rome
  • Victoria 2: A House Divided
  • Europa Universalis III: Collection
  • 200k Club
  • Rome: Vae Victis
  • Victoria 2
  • Europa Universalis III Complete
  • Europa Universalis III Complete
AOD allows you to change all the names of newly built units to your liking. You can simply add/change the entries in the unitnames.csv file or rename them by clicking at the name of the unit itself. But there are some limitations: Although you can freely rename a unit by choosing a name which has less than 64 characters, the corps'/flotilla's tooltip will show you only up to 49 characters. And the unit panel itself shows you only the first 25 characters - to prevent a spill over effect ofc.

But the main problem are units which are under construction: unlike the clickable unit panel a simple hard cut is made. Although you can have longer names for your divisions/ships the code handling the build queue cuts the unit's name after the 39th character. That leads to an annoying bug: all units of the same type which are added to the build queue - while this unit is under construction - will have the same name! The engine simply thinks that this unitname hasn't been used before... Once the unit is build you can see that the rest of the unit's name was indeed simply cut off.

This bug is already present since HOI and has never been fixed. It's the main reason why so many unitnames have been sometimes mindlessly abbreviated. It would be nice if the unitnames' length could be standardised so that it'll always be properly displayed. My choice would be a maximum length of 49 characters so that you don't have to rework the tooltip windows, too. If the engine could be aware of the width of the unit panel which is actually used in the game - and could be changed by modders - then the unitname could be shortened for optical reasons while keeping the full name in the background. Or we can simply tolerate an even larger spill over of the rare longer unitnames on the build screen...
 
Upvote 0
I suppose this happens only when there are only single units in production (not serial) as the computer try to generate a historical name at the moment a single unit is added to building queue, while if there is a serial production, the generic unit type name is displayed and the unit is renamed the moment is ready to be deployed.

The solution is to display the generic unit name even if there is only one unit build, and let the computer generate the historical name at the moment of deployment.
 
Thanks for the suggestion. Not setting a personalized name of the division when it is placed in the production queue seems to be the least invasive method. I don't think it's a big deal since the serial lines don't have names either.