ParadoxGameConverters / Vic2ToHoI4

Converts Victoria 2 saves into Hearts of Iron 4 mods.
MIT License
28 stars 21 forks source link

Furtherly detailed leader creation #269

Open IohannesIohannium opened 6 years ago

IohannesIohannium commented 6 years ago

The converter currently generates just one country leader, traitless and without a description.

The ideal would be to generate all the country leaders for the country (random sub-ideologies to be chosen for not-ruling ones) and to give them all at least a trait and a localized description.

The traits to choose among are:

Although, a new one could be generated, based on the original "Dislikes Germany":

Leader descriptions, instead, would be hard to be created, implying the use of complex algorithms and pre-made localisations.

(EDIT) Ideally, I'd suggest creating a combination of descriptions based on a political sub-ideology, power size (great power, secondary, civilized, uncivilized), and culture group combo, for each combination 4 random to choose within (3 male descs, 1 female desc).

IohannesIohannium commented 6 years ago

But we should first solve this problem: image

When turning names uppercase for the desc string:

In the example above, we should get the string POLITICS_ALI_BEJ_BICAKCIU_DESC, which will then later be localized normally, while current one would break the localisation file making it unreadable.