It's sorted, had problems with a bracket in the inc file, it took me soo long to figure out too ...
So whats the problem?
It's sorted, had problems with a bracket in the inc file, it took me soo long to figure out too ...
Is it possible to trigger an event solely based on dissent or do there have to be other factors?
Where can I modify the requirements for a decision? I'm trying to make it so the Molotov-Ribbentrop Pact doesn't have the +50 relationship requirement, but I can't find it in germany.txt. Are the requirements to take the decision in another file?
#########################################################################
# The Molotov-Ribbentrop Pact
#########################################################################
event = {
id = 2050
random = no
country = GER
trigger = {
exists = SOV
exists = POL
NOT = {
OR = {
war = { country = SOV country = GER }
alliance = { country = GER country = POL }
alliance = { country = GER country = SOV }
ispuppet = GER
ispuppet = SOV
ispuppet = POL
}
}
}
name = "EVT_2050_NAME"
desc = "EVT_2050_DESC"
style = 0
picture = "Mol_Rib"
date = { day = 23 month = august year = 1939 }
action_a = {
name = "ACTIONNAME2050A" # Historical Agreement
ai_chance = 95
command = { type = trigger which = 2600 } # SOV
command = { type = relation which = SOV value = 15 }
command = { type = set_relation which = EST value = -75 }
command = { type = set_relation which = LAT value = -75 }
command = { type = set_relation which = LIT value = -75 }
command = { type = trigger which = 51 } # UK Gears up for war
command = { type = trigger which = 52 } # France Gears up for war
}
action_b = {
name = "ACTIONNAME2050B" # Only agree to partition Poland
ai_chance = 4
command = { type = trigger which = 2601 } # SOV
command = { type = relation which = SOV value = 10 }
command = { type = dissent value = 5 }
command = { type = trigger which = 51 } # UK Gears up for war
command = { type = trigger which = 52 } # France Gears up for war
command = { type = sleepevent which = 2620 }
}
action_c = {
name = "ACTIONNAME2050C" # No deals with the Bolsheviks!
ai_chance = 1
command = { type = relation which = SOV value = -20 }
command = { type = relation which = FIN value = 75 }
command = { type = relation which = HUN value = 75 }
command = { type = relation which = ROM value = 50 }
command = { type = end_non_aggression which = GER where = SOV }
command = { type = sleepevent which = 2620 }
command = { type = dissent value = 10 }
}
Use the command:Hi
I was wondering how you change the name of a country.
Use the command:
command = { type = name where = TAG which = "Popular Modern Monarchist Democratic Union of the States From Here"}
event = {
id = 99999988
random = no
country = TRK
style = 2
name = "Autonomy for Centralasian Republic"
desc = "...No one reads this..."
action_a = {
name = "Long live Russia!"
command = { type = name where = TRK which = "Centralasian Republic" }
command = { type = flag_ext where = TRK which = "_RUS" }
command = { type = addcore which = 1103 }
command = { type = addcore which = 1105 }
command = { type = addcore which = 1104 }
command = { type = addcore which = 1106 }
command = { type = addcore which = 1107 }
command = { type = addcore which = 1099 }
command = { type = addcore which = 1100 }
command = { type = addcore which = 1101 }
command = { type = addcore which = 1102 }
command = { type = addcore which = 1097 }
command = { type = addcore which = 1098 }
}
}
What's supposed to be wrong with the event when it fires?Ok, this is getting on my nerves now...what is wrong with this event:
Thanks in advanceCode:event = { id = 99999988 random = no country = TRK style = 2 name = "Autonomy for Centralasian Republic" desc = "...No one reads this..." action_a = { name = "Long live Russia!" command = { type = name where = TRK which = "Centralasian Republic" } command = { type = flag_ext where = TRK which = "_RUS" } command = { type = addcore which = 1103 } command = { type = addcore which = 1105 } command = { type = addcore which = 1104 } command = { type = addcore which = 1106 } command = { type = addcore which = 1107 } command = { type = addcore which = 1099 } command = { type = addcore which = 1100 } command = { type = addcore which = 1101 } command = { type = addcore which = 1102 } command = { type = addcore which = 1097 } command = { type = addcore which = 1098 } } }
ERROR : (Missing = in statement.) '= = technology' Line = 10 file = Mods\Rise of HYDRA\db\events\secret_weapon_events.txt
Use the command:
command = { type = name where = TAG which = "Popular Modern Monarchist Democratic Union of the States From Here"}