ParadoxGameConverters / Vic3ToHoI4

Converts Victoria 3 games to Hearts of Iron 4 mods
MIT License
41 stars 19 forks source link

Convert laws #51

Closed Idhrendur closed 1 year ago

Idhrendur commented 2 years ago

Vic2 to HoI4 did the following:

// mobilization laws are based on the ruling party's war policy
if (rulingParty->getWarPolicy() == "jingoism")
{
    mobilizationLaw = "limited_conscription";
}
else if (rulingParty->getWarPolicy() == "pacifism")
{
    mobilizationLaw = "disarmed_nation";
}

// if at war, more economic mobilization
if (atWar)
{
    economicLaw = "low_economic_mobilisation";
}

// some ideologies have non-default laws
if (governmentIdeology == "fascism")
{
    economicLaw = "partial_economic_mobilisation";
    tradeLaw = "limited_exports";
}
else if (governmentIdeology == "radical")
{
    tradeLaw = "free_trade";
}
RaduM84 commented 1 year ago

Victoria 3 has laws that are somewhat similar to HoI4.

As such, I recommend :

(Vic3->HoI4)

Peasant Levies -> Disarmed Nation Professional Army -> Volunteer Only National Militia -> Limited Conscription Mass Conscription -> Extensive Conscription

Isolationism -> Closed Economy Protectionism -> Limited Exports Mercantilist -> Export Focus Free Trade -> Free Trade

Traditionalism -> Civilian Economy Agrarianism -> Early Mobilization Laissez-Faire -> Partial Mobilization Interventionism -> War Economy Command Economy -> Total Mobilization

Idhrendur commented 1 year ago

One note, the implementer should check vanilla HoI4 to see which laws exist there in 1936. Converter options should be restricted to those ones.

Idhrendur commented 1 year ago

The economic ones are to extremely defaulted in vanilla HoI4 that I'm preserving the old logic. The conscription laws should mostly be volunteer_only, but there's room for a few disarmed_nation and a fair number of limited_conscription.