ParadoxGameConverters/CK2ToEU4

(Reminder) War creation

IohannesIohannium opened this issue · 2 comments

name = "<string>"           # Name of the war in the war screen
war_goal = {
    type = <wargoal>        # The wargoal to use from 00_wargoals.txt
    casus_belli = <cb>      # The cb to use from 00_cb_types.txt
}

# Used to start the war at the specified date
<year>.<month>.<day> = {
    add_attacker = <tag>    # Adds a country to the attackers side
    add_defender = <tag>    # Adds a country to the defenders side
}

# Used to add ongoing battles 
<year>.<month>.<day> = {
    batle = { 
        name = "<string>"   # Name of province
        location = <id>     # Province the battle is in
        
        attacker = {
            commander = "<string>"  # Leader of the attacker's army
            infantry = <int>        # Number of infantry. 1 equals 1 soldier
            cavalry = <int>         # Number of cavalry
            artillery = <int>       # Number of artillery
            losses = <float>        # How many of the forces are already dead
            country = <tag>         # The country that is attacking
        }
        
        defender = {
            commander = "<string>"  # Leader of the defender's army
            infantry = <int>        # Number of infantry. 1 equals 1 soldier
            cavalry = <int>         # Number of cavalry
            artillery = <int>       # Number of artillery
            losses = <float>        # How many of the forces are already dead
            country = <tag>         # The country that is defending
        }
        
        result = yes    # Show result
    }
}

# Used to end the war at the specified date
<year>.<month>.<day> = {
    rem_attacker = <tag>    # Removes a country to the attackers side
    rem_defender = <tag>    # Removes a country to the defenders side
}

This feature will be restricted to Holy Wars (Crusades) and possibly Revolts

I think we're going to skip this.