Themabewertung:
  • 0 Bewertung(en) - 0 im Durchschnitt
  • 1
  • 2
  • 3
  • 4
  • 5
Axis minor states switch sides
#1
Aus Hoi2.txt


Code:
event = {
    id = 59
    random = no
    country = HUN

    name = EVT_59_NAME
    desc = EVT_59_DESC
        picture = "minor"
    style = 0

    trigger = {
        war = { country = GER country = SOV }
        war = { country = HUN country = SOV }

                control = { province = 457 data = SOV } #Budapest
                control = { province = 491 data = SOV } #Miskloc
                control = { province = 492 data = SOV } #Szeged
    }

        date = { day = 1 month = january year = 1936 }
        offset = 30
    deathdate = { day = 29 month = december year = 1953 }

    action_a = {
        ai_chance = 97
        name = EVT_59_ACTA
        command = { type = end_puppet }
        command = { type = set_domestic which = democratic value = 7 }
        command = { type = set_domestic which = political_left value = 4 }
        command = { type = trigger which = 62 }
        command = { type = secedeprovince which = ROM value = 423 } #Constanza
  ....
        
        command = { type = set_relation which = SOV value = 50 }
        command = { type = set_relation which = GER value = -50 }
        command = { type = domestic which = defense_lobby value = -1 }
        command = { type = headofstate which = 21046 }
        command = { type = headofgovernment which = 21062 }
        command = { type = foreignminister which = 21078 }
        command = { type = armamentminister which = 21091 }
        command = { type = ministerofsecurity which = 21109 }
        command = { type = ministerofintelligence which = 21125 }
        command = { type = chiefofstaff which = 21137 }
        command = { type = chiefofarmy which = 21149 }
        command = { type = chiefofnavy which = 21156 }
        command = { type = chiefofair which = 21166 }
    }
    action_b = {
        ai_chance = 3
        name = EVT_59_ACTB
        command = { type = dissent value = 5 }
        command = { type = domestic which = defense_lobby value = 1 }

    }
}
Code:
event = {
    id = 60
    random = no
    country = ROM

    name = EVT_60_NAME
    desc = EVT_60_DESC
       picture = "minor"
    style = 0

    trigger = {
        war = { country = GER country = SOV }
        war = { country = ROM country = SOV }
[b]
                control = { province = 430 data = SOV } #brasov
                control = { province = 432 data = SOV } #braila
                control = { province = 431 data = SOV } #Ploesti
                control = { province = 436 data = SOV } #tulcea[/b]

    }

        date = { day = 1 month = january year = 1936 }
        offset = 2
    deathdate = { day = 29 month = december year = 1953 }

    action_a = {
        ai_chance = 95
        name = EVT_60_ACTA
        command = { type = end_puppet }
        command = { type = set_relation which = SOV value = 50 }
        command = { type = set_relation which = GER value = -50 }
        command = { type = set_domestic which = democratic value = 3 }
        command = { type = set_domestic which = political_left value = 10 }
        command = { type = domestic which = defense_lobby value = -1 }
        command = { type = trigger which = 63 }
        command = { type = headofstate which = 22037 }
        command = { type = headofgovernment which = 22051 }
        command = { type = foreignminister which = 22080 }
        command = { type = armamentminister which = 22098 }
        command = { type = ministerofsecurity which = 22112 }
        command = { type = ministerofintelligence which = 22121 }
        command = { type = chiefofstaff which = 22131 }
        command = { type = chiefofarmy which = 22144 }
        command = { type = chiefofnavy which = 22153 }
        command = { type = chiefofair which = 22161 }
    }
    action_b = {
        ai_chance = 5
        name = EVT_60_ACTB
        command = { type = dissent value = 5 }
        command = { type = domestic which = defense_lobby value = 1 }
    }
}

Code:
event = {
    id = 61
    random = no
    country = FIN

    name = EVT_61_NAME
    desc = EVT_61_DESC
       picture = "minor"
    style = 0

    trigger = {
        war = { country = GER country = SOV }
        war = { country = FIN country = SOV }
        control = { province = 142 data = SOV } #Helsinki
        control = { province = 145 data = SOV } #Vip
        OR = {
            control = { province = 138 data = SOV } #Vaasa
            control = { province = 141 data = SOV } #Turku
        }
    }

        date = { day = 1 month = january year = 1936 }
        offset = 1
    deathdate = { day = 29 month = december year = 1953 }

    action_a = {
        ai_chance = 97
        name = EVT_61_ACTA
        command = { type = end_puppet }
        command = { type = set_relation which = SOV value = 0 }
        command = { type = set_relation which = GER value = -50 }
        command = { type = set_domestic which = democratic value = 8 }
        command = { type = set_domestic which = political_left value = 2 }
        command = { type = set_domestic which = defense_lobby value = 3 }
        command = { type = set_domestic which = interventionism value = 2 }
        command = { type = trigger which = 64 }
        command = { type = headofstate which = 29034 }
        command = { type = headofgovernment which = 29061 }
        command = { type = foreignminister which = 29077 }
        command = { type = armamentminister which = 29096 }
        command = { type = ministerofsecurity which = 29115 }
        command = { type = ministerofintelligence which = 29128 }
        command = { type = chiefofstaff which = 29137 }
        command = { type = chiefofarmy which = 29145 }
        command = { type = chiefofnavy which = 29150 }
        command = { type = chiefofair which = 29155 }
    }
    action_b = {
        ai_chance = 5
        name = EVT_61_ACTB
        command = { type = dissent value = 5 }
        command = { type = domestic which = defense_lobby value = 1 }
    }
}

Code:
event = {
    id = 62
    random = no
    country = SOV

    name = EVT_62_NAME
    desc = EVT_62_DESC
        picture = "hungarian_tank"
    style = 0

    # Triggered by Hungarian event 59

    action_a = {
        ai_chance = 97
        name = EVT_62_ACTA
        command = { type = make_puppet which = HUN }
        command = { type = alliance which = HUN }
        command = { type = money value = 500 }
    }
    action_b = {
        ai_chance = 3
        name = EVT_62_ACTB
        command = { type = dissent value = 1 }

    }
}

Code:
event = {
    id = 63
    random = no
    country = SOV

    name = EVT_63_NAME
    desc = EVT_63_DESC
         picture = "romanian_soldier"
    style = 0

    # Triggered by Romanian event 60

    action_a = {
        ai_chance = 97
        name = EVT_63_ACTA
        command = { type = addcore which = 230 }
        command = { type = addcore which = 434 }
        command = { type = addcore which = 435 }
        command = { type = make_puppet which = ROM }
        command = { type =    alliance which = ROM }
        command = { type = money value = 500 }
    }
    action_b = {
        ai_chance = 3
        name = EVT_63_ACTB
        command = { type = dissent value = 1 }
    }
}

event = {
    id = 64
    random = no
    country = SOV

    name = EVT_64_NAME
    desc = EVT_64_DESC
        picture = "finish_soldiers"
    style = 0

    # Triggered by Finnish event 61

    action_a = {
        ai_chance = 97
        name = EVT_64_ACTA
        command = { type = addcore which = 132 }
        command = { type = addcore which = 145 }
        command = { type = addcore which = 146 }
        command = { type = make_puppet which = FIN }
        command = { type = money value = 500 }
    }
    action_b = {
        ai_chance = 3
        name = EVT_64_ACTB
        command = { type = dissent value = 1 }
    }
}
Antworten
#2
Bulgarien es reicht die provinz 424 = Bucharest!!!

Code:
########################################################################
#  Bulgaria switches sides
########################################################################

event = {
    id = 2750
    random = no
    persistent = no
    country = BUL

    name = "EVT_2750_NAME"
    desc = "EVT_2750_DESC" #Or find something sexier
    style = 0
    picture = "surrender"

    trigger = {
        NOT = {
            alliance = { country = ENG country = BUL }
            alliance = { country = USA country = BUL }
            alliance = { country = SOV country = BUL }
            }
        AND = {
            OR = {
                event = 63
                control = { province = 424 data = SOV }
                }
            OR = {
                war = { country = BUL country = SOV }
                alliance = { country = GER country = BUL }
                }
            }
        random = 20
        }

    date = { day = 1 month = january year = 1936 }
    offset = 3
    deathdate = { day = 29 month = december year = 1948 }

    action_a = {
        name = "OK"
        ai_chance = 98
        command = { type = leave_alliance }
        command = { type = peace which = SOV value = 1 }
        command = { type = set_relation which = SOV value = 50 }
        command = { type = set_relation which = GER value = -50 }
        command = { type = set_domestic which = democratic value = 2 }
        command = { type = set_domestic which = political_left value = 10 }
        command = { type = set_domestic which = freedom value = 3 }
        command = { type = trigger which = 2751 } #SOV event below
        command = { type = headofstate which = 19050 }
        command = { type = headofgovernment which = 19060 }
        command = { type = foreignminister which = 19074 }
        command = { type = ministerofsecurity which = 19103 }
        command = { type = armamentminister which = 19088 }
        command = { type = ministerofintelligence which = 19113 }
        command = { type = chiefofarmy which = 19135 }
        command = { type = chiefofstaff which = 19123 }
        command = { type = chiefofair which = 19150 }
        command = { type = chiefofnavy which = 19142 }
        command = { type = removecore which = 423 } #Dobruja
        }

    action_b = {
        name = "EVT_2750_ACTB"
        ai_chance = 2
        command = { type = dissent value = 5 }
        command = { type = domestic which = defense_lobby value = 1 }
        command = { type = domestic which = professional_army value = -2 }
        }

    }

event = {
    id = 2751
    random = no
    persistent = no
    country = SOV

    #triggered by BUL event A choice
    
    name = "EVT_2750_NAME"
    desc = "EVT_2751_DESC"  #Or something to that effect
    style = 0

    action_a = {
        name = "OK"
        command = { type = make_puppet which = BUL }
        command = { type = alliance which = BUL }
        command = { type = money value = 250 }
        }

}
Antworten