I followed one of the guides on here to a tee but still having issues. Then I noticed the guide was almost 2 years old so may be obsolete with new updates. Can anyone help me with this please?
Which formable?I followed one of the guides on here to a tee but still having issues. Then I noticed the guide was almost 2 years old so may be obsolete with new updates. Can anyone help me with this please?
I'm trying to create a new one for modding purposes.Which formable?
Ok, well then you have to make a decision file, allowing a country to form that country. Most of the work is done in that file. You can actually do a lot from that file alone.I'm trying to create a new one for modding purposes.
country_decisions = {
# Form Armorica
form_armorica = {
potential = {
num_of_cities >= 1
primary_culture = aremorican
is_tribal = yes
NOT = {
tag = ASX
}
OR = {
is_ai = no
num_of_cities >= 10
}
NOR = {
is_tier_1_formable_trigger = yes
is_tier_2_formable_trigger = yes
is_endgame_tag_trigger = yes
}
}
highlight = {
scope:province = {
OR = {
is_in_area = armorica_centralis_area
is_in_area = armorica_maioris_area
is_in_area = armorica_minoris_area
}
}
}
allow = {
custom_tooltip = {
text = formable_not_armorica_exists
NOT = {
any_country = {
tag = ASX
}
}
}
is_tribal = yes
can_form_nation_trigger = yes
owns_or_subject_owns_area = armorica_minoris_area
owns_or_subject_owns_area = armorica_maioris_area
owns_or_subject_owns_area = armorica_centralis_area
}
effect = {
custom_tooltip = "tier_1_formable_tooltip"
change_country_name = "ARMORICA_NAME"
tribal_formable_government_change_effect = yes
hidden_effect = {
change_country_adjective = "ARMORICA_ADJECTIVE"
change_country_color = "armorica_color"
change_country_tag = ASX
change_country_flag = ARMORICA_FLAG
}
custom_tooltip = inherit_armorica_provinces_tooltip
hidden_effect = {
area:armorica_minoris_area = { formable_area_conquest_effect = yes }
area:armorica_maioris_area = { formable_area_conquest_effect = yes }
area:armorica_centralis_area = { formable_area_conquest_effect = yes }
}
capital_scope = {
capital_formable_tribal_large_effect = yes
formable_capital_modifier_tribal_effect = yes
}
hidden_effect = {
random_list = {
10 = {
create_character = {
first_name = "Astyerix"
culture = aremorican
religion = druidism
female = no
birth_province = 2141
age = 30
}
create_character = {
first_name = "Obellixus"
culture = aremorican
religion = druidism
female = no
birth_province = 2141
age = 30
}
}
90 = {}
}
}
add_2_free_province_investments = yes
}
ai_will_do = {
base = 1
}
}
}
I got all of that down but for some reason its still not showing? I must have messed something up in the code.Ok, well then you have to make a decision file, allowing a country to form that country. Most of the work is done in that file. You can actually do a lot from that file alone.
For instance, the Form Aremorica decision annexes all required provinces own by vassals and has a chance to create two easter egg characters.Code:country_decisions = { # Form Armorica form_armorica = { potential = { num_of_cities >= 1 primary_culture = aremorican is_tribal = yes NOT = { tag = ASX } OR = { is_ai = no num_of_cities >= 10 } NOR = { is_tier_1_formable_trigger = yes is_tier_2_formable_trigger = yes is_endgame_tag_trigger = yes } } highlight = { scope:province = { OR = { is_in_area = armorica_centralis_area is_in_area = armorica_maioris_area is_in_area = armorica_minoris_area } } } allow = { custom_tooltip = { text = formable_not_armorica_exists NOT = { any_country = { tag = ASX } } } is_tribal = yes can_form_nation_trigger = yes owns_or_subject_owns_area = armorica_minoris_area owns_or_subject_owns_area = armorica_maioris_area owns_or_subject_owns_area = armorica_centralis_area } effect = { custom_tooltip = "tier_1_formable_tooltip" change_country_name = "ARMORICA_NAME" tribal_formable_government_change_effect = yes hidden_effect = { change_country_adjective = "ARMORICA_ADJECTIVE" change_country_color = "armorica_color" change_country_tag = ASX change_country_flag = ARMORICA_FLAG } custom_tooltip = inherit_armorica_provinces_tooltip hidden_effect = { area:armorica_minoris_area = { formable_area_conquest_effect = yes } area:armorica_maioris_area = { formable_area_conquest_effect = yes } area:armorica_centralis_area = { formable_area_conquest_effect = yes } } capital_scope = { capital_formable_tribal_large_effect = yes formable_capital_modifier_tribal_effect = yes } hidden_effect = { random_list = { 10 = { create_character = { first_name = "Astyerix" culture = aremorican religion = druidism female = no birth_province = 2141 age = 30 } create_character = { first_name = "Obellixus" culture = aremorican religion = druidism female = no birth_province = 2141 age = 30 } } 90 = {} } } add_2_free_province_investments = yes } ai_will_do = { base = 1 } } }
The potential determines whether you can even see the decision. Post your decision so that I can see what's up.I got all of that down but for some reason its still not showing? I must have messed something up in the code.
Snow Crystal Helped me figure it out! Thank you for your info though!The potential determines whether you can even see the decision. Post your decision so that I can see what's up.
So this is what I've come up with but even when i meet the criteria its not letting me enact it. Did i do something wrong?The potential determines whether you can even see the decision. Post your decision so that I can see what's up.
owns = only applies to territories, if you want provinces, you need owns_area =So this is what I've come up with but even when i meet the criteria its not letting me enact it. Did i do something wrong?
country_decisions = {
form_kyrnahan = {
potential = {
num_of_cities >= 1
capital_scope = {
is_in_area = crete_area
}
trigger_if = {
limit = {
is_ai = yes
}
num_of_cities >= 3
}
NOT = {
tag = KY1
}
OR = {
is_ai = no
num_of_cities >= 4
}
NOT = {
is_endgame_tag_trigger = yes
}
}
highlight = {
scoperovince = {
OR = {
is_in_area = sporades_area
is_in_area = crete_area
is_in_area = south_peleponnesos_area
}
}
}
allow = {
custom_tooltip = {
text = "formable_kyrnahan_not_exists"
NOT = {
any_country = {
tag = KY1
}
}
}
can_form_nation_trigger = yes
owns = sporades_area
owns = crete_area
owns = south_peleponnesos_area
}
effect = {
custom_tooltip = "tier_3_formable_tooltip"
change_country_name = "KYRNAHAN_NAME"
hidden_effect = {
change_country_adjective = "KYRNAHAN_ADJECTIVE"
change_country_tag = KY1
change_country_color = "cretan_blue"
change_country_flag = CRETE_FLAG
}
capital_scope = {
capital_formable_medium_effect = yes
formable_capital_modifier_normal_effect = yes
}
custom_tooltip = "form_kyrnahan_claims_tooltip"
hidden_effect = {
region:greece_region = { formable_region_province_effect = yes }
region:asia_region = { formable_region_province_effect = yes }
}
add_4_free_province_investments = yes
}
ai_will_do = {
factor = 1
}
}
}
Thank you i actually noticed that error and fixed it. Thank you!owns = only applies to territories, if you want provinces, you need owns_area =
That's the most immediate problem, but there might be more changes necessary.