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