In the marriage event that on_action fires, add 'not = { has_character_flag = no_marriage_event }' to the trigger.
Many thanks.
In the marriage event that on_action fires, add 'not = { has_character_flag = no_marriage_event }' to the trigger.
I'm very new to modding and I am planning to make a do-over on a republic, but before I start I want to know if it even possible to do the changes I am after.
-Can I take away the ability to build tradeposts?
-Change the name of titles such as Patrician into Priest and instead of calling it House I want it to say Clan.
-Put in a requirment that you need a specific trait to be the head of your House and the same for the designated heir.
-Increase the likehood of Patricians plotting against eachother. I don't want to put in negative opinion values because I want the plotting to increase, not the revolts.
title_patrician_heir = {
dignity = 0.05
realm_in_name = yes
grant_limit = 1
opinion_effect = 50
patrician_heir = yes
monthly_salary = 0.01
monthly_prestige = 0.002
allow = {
is_female = no
dynasty = FROM
NOT = { trait = bastard }
FROM = {
is_patrician = yes
}
trait = YOUR_TRAIT
}
gain_effect = {
}
lose_effect = {
}
message = yes
}
modifier = {
factor = 3.0
plot_target_char = {
is_patrician = yes
same_realm = FROM
}
FROM = {
is_patrician = yes
}
}
Is there a mod-able ranking system for the Great Holy Wars?
how whould i go about creating an event that activates upon the creation of a certain title? (with a culture condition)
on_create_title = {
events = {
MY_NAMESPACE.1
CM.1501
}
}
NoIs there anyway to create more level of title? Ex: I want to create playable title under level of count different from baron.
Is there anyway to mod baron playable?
Is there anyway to create a different set of title that parallel exist with vanilla title set?
Is title always tick with a province even it is titular?
Sum of what I want to know: Can we mod how the title work?
Did you put namespace=slann at the top of that event file?I have been wrirting an event , but it keeps crashing when it loads. Idk why , anyone wanne help?
Code:character_event = { id = slann.1 title = APPRENTICE desc = slann1desc picture = "GFX_evt_lustria_slann" only_rulers = yes option = { name = OK create_character = { random_traits = yes dynasty = ROOT religion = ROOT culture = lizardman female = no age = 800 trait = creature_slann trait = lizardman_sleepingslann } new_character = { set_father = ROOT dynasty = ROOT } } }
I'm not aware of any such duchies. Do you have some reason to believe they exist?Is there a way to quickly check are there one county duchies?
I see no point having them so i want to merge them to a nearest duchy.
And I'm hoping to have better way to check them than going through the landed_titles file![]()
You could set up you own landed titles file that extends the vanilla one, just adding CoAs to baronies. This would take the coat_of_arms data format, as b_cluny does in vanilla.Is there a way to change coats of arms if baronies? It annoys me that they are all randomly generated and have weird colors and such. I would like to mod a few baronies/cities/temples with actual historical coa's for my playthroughs.
Did you put namespace=slann at the top of that event file?
Did you define traits creature_slann & lizardman_sleepingslann?
Did you define culture lizardman?
Did you make the APPRENTICE & slann1desc localizations?
namespace = indep
character_event = { # Contingent Territory Check Part 1
id = indep.1
hide_window = yes
trigger = {
independent = yes
capital_scope = {
NOT = { has_province_modifier = contingent_territory }
}
}
mean_time_to_happen = {
days = 1
}
immediate = {
set_global_flag = contingent_territory1
any_realm_province = {
remove_province_modifier = contingent_territory
}
capital_scope = {
add_province_modifier = { name = contingent_territory duration = -1 }
}
any_independent_ruler = {
random_realm_province = {
limit = {
NOT = { has_province_modifier = contingent_territory }
any_neighbor_province = {
owner = {
OR = {
character = PREVPREVPREV
same_realm = PREVPREVPREV
}
}
has_province_modifier = contingent_territory
}
}
add_province_modifier = { name = contingent_territory duration = -1 }
}
}
}
}
character_event = { # Contingent Territory Check Part 2
id = indep.2
hide_window = yes
trigger = {
independent = yes
}
mean_time_to_happen = {
days = 1
}
immediate = {
set_global_flag = contingent_territory2
any_independent_ruler = {
random_realm_province = {
limit = {
NOT = { has_province_modifier = contingent_territory }
any_neighbor_province = {
owner = {
OR = {
character = PREVPREVPREV
same_realm = PREVPREVPREV
}
}
has_province_modifier = contingent_territory
}
}
add_province_modifier = { name = contingent_territory duration = -1 }
}
}
}
}
character_event = {
id = indep.3
hide_window = yes
trigger = {
independent = yes
has_global_flag = contingent_territory1
has_global_flag = contingent_territory2
any_realm_province = {
NOT = { has_province_modifier = contingent_territory }
}
}
mean_time_to_happen = {
days = 1
}
immediate = {
save_event_target_as = independent_ruler
any_realm_province = {
limit = {
NOT = { has_province_modifier = contingent_territory }
}
province_event = { id = indep.5 }
clear_event_target = independent_ruler
}
}
}
character_event = {
id = indep.4
hide_window = yes
trigger = {
independent = yes
any_realm_province = {
has_province_modifier = enclaved_territory
OR = {
has_province_modifier = contingent_territory
any_neighbor_province = {
owner = {
OR = {
character = PREVPREVPREV
same_realm = PREVPREVPREV
}
}
has_province_modifier = contingent_territory
}
}
}
}
mean_time_to_happen = {
days = 1
}
immediate = {
any_realm_province = {
limit = {
OR = {
has_province_modifier = contingent_territory
any_neighbor_province = {
owner = {
OR = {
character = PREVPREVPREV
same_realm = PREVPREVPREV
}
}
has_province_modifier = contingent_territory
}
}
}
remove_province_modifier = enclaved_territory
}
}
}
province_event = {
id = indep.5
hide_window = yes
is_triggered_only = yes
immediate = {
if = {
limit = {
NOT = {
sea_zone = {
always = yes
}
}
}
add_province_modifier = { name = enclaved_territory duration = -1 }
break = yes
}
if = {
limit = {
owner = {
any_liege = {
is_merchant_republic = yes
character = event_target:independent_ruler
}
}
has_trade_post = yes
trade_post_owner = {
any_liege = {
is_merchant_republic = yes
character = event_target:independent_ruler
}
}
}
add_province_modifier = { name = contingent_territory duration = -1 }
break = yes
}
if = {
limit = {
sea_zone = {
any_neighbor_province = {
NOT = {
province = ROOT
}
owner = {
same_realm = FROM
}
has_province_modifier = contingent_territory
}
}
}
add_province_modifier = { name = contingent_territory duration = -1 }
break = yes
}
if = {
limit = {
sea_zone = {
any_neighbor_province = {
is_land = no
any_neighbor_province = {
NOT = {
province = ROOT
}
owner = {
same_realm = FROM
}
has_province_modifier = contingent_territory
}
}
}
}
add_province_modifier = { name = contingent_territory duration = -1 }
break = yes
}
if = {
limit = {
sea_zone = {
any_neighbor_province = {
is_land = no
any_neighbor_province = {
is_land = no
any_neighbor_province = {
NOT = {
province = ROOT
}
owner = {
same_realm = FROM
}
has_province_modifier = contingent_territory
}
}
}
}
}
add_province_modifier = { name = contingent_territory duration = -1 }
break = yes
}
add_province_modifier = { name = enclaved_territory duration = -1 }
}
}
character_event = {
id = indep.6
hide_window = yes
trigger = {
independent = yes
any_realm_province = {
has_province_modifier = contingent_territory
OR = {
has_province_modifier = contingent_territory
any_neighbor_province = {
owner = {
OR = {
character = PREVPREVPREV
same_realm = PREVPREVPREV
}
}
NOT = { has_province_modifier = contingent_territory }
}
}
}
}
mean_time_to_happen = {
days = 1
}
immediate = {
any_realm_province = {
limit = {
OR = {
has_province_modifier = contingent_territory
any_neighbor_province = {
owner = {
OR = {
character = PREVPREVPREV
same_realm = PREVPREVPREV
}
}
NOT = { has_province_modifier = contingent_territory }
}
}
}
remove_province_modifier = contingent_territory
}
}
}
Did you put namespace=slann at the top of that event file?
Did you define traits creature_slann & lizardman_sleepingslann?
Did you define culture lizardman?
Did you make the APPRENTICE & slann1desc localizations?
You could set up you own landed titles file that extends the vanilla one, just adding CoAs to baronies. This would take the coat_of_arms data format, as b_cluny does in vanilla.
Alternately, you could add a b_xxx.TGA file to gfx/flags, as most custom county thru empire CoAs are done. Paradox didn't do this simply because there are thousands of baronies, but I know the AGOT mod does it.