Is it possible to specify for create_character to create a lowborn character instead of one with a dynasty?
create_character = { dynasty = random }
What does your mod do? what files did you touch?
Well my mod is set in the days of the Roman EmpireIts the Warrior of Rome mod. The localisation files,history files,dynasty file,changed the map a little and a few other gfx changes.
Ah, sorry - I assumed that if it was a public mod you'd be advertising it in your signature, so it must be something private. It's possible you've got some misattributed calls to the localisation file? I recall butchering my ability to declare war in EU3: DW that way.
I keep getting noculture and noreligion in a bunch of provinces at start. I have completely new provinces, cultures, and religions. Does anyone know what's causing this?
I keep getting noculture and noreligion in a bunch of provinces at start. I have completely new provinces, cultures, and religions. Does anyone know what's causing this?
"remove_minor_title" ?
decisions = {
#Formation of the Most Serene Republic of Genoa
serene_republic_of_genoa = {
is_high_prio = yes
potential = {
ai = yes
is_republic = yes
is_ruler = yes
has_landed_title = c_genoa
NOT = {
num_of_king_titles = 1
}
OR = {
ALLOW = {
num_of_duke_titles = 2
NOT = { num_of_duke_titles = 3}
piety = 100
treasury = 800
war = no
}
ALLOW = {
num_of_duke_titles = 3
NOT = { num_of_duke_titles = 4}
piety = 100
treasury = 600
war = no
}
ALLOW = {
num_of_duke_titles = 4
piety = 100
treasury = 400
war = no
}
}
}
effect = {
k_genoa = { gain_title = ROOT }
OR = {
ALLOW = {
num_of_duke_titles = 2
NOT = { num_of_duke_titles = 3}
treasury = -800
}
ALLOW = {
num_of_duke_titles = 3
NOT = { num_of_duke_titles = 4}
treasury = -600
}
ALLOW = {
num_of_duke_titles = 4
treasury = -400
}
}
prestige = 250
piety = -100
}
revoke_allowed = {
always = no
}
ai_will_do = {
factor = 100
}
}
}
Went right over my head (Well king of, I know what if-statements are in a programming sense anyways. Just not in CK2 engine purposes). Guess it's time to scurry the forums for an example of what you said. Thanks for the guideline
namespace = doge
character_event = {
desc = "EVTDESC_doge.0"
picture = GFX_evt_council
is_triggered_only = yes
option = {
name = "EVTOPTA_doge.0"
prestige = 500
if = {
limit = { num_of_duke_titles = 2 NOT = num_of_duke_titles = 3 }
scaled_wealth = -40.0
k_genoa = { grant_title = ROOT }
}
if = {
limit = { num_of_duke_titles = 3 NOT = num_of_duke_titles = 4 }
scaled_wealth = -20.0
k_genoa = { grant_title = ROOT }
}
if = {
limit = { num_of_duke_titles = 4 }
scaled_wealth = -10.0
k_genoa = { grant_title = ROOT }
}
} #close option
} #close event
decisions = {
serene_republic_of_genoa = {
is_high_prio = yes
potential = {
ai = yes
is_republic = yes
is_ruler = yes
has_landed_title = c_genoa
NOT = {
num_of_king_titles = 1
}
}
allow = {
OR = { AND = { scaled_wealth = 40.0 num_of_dukes = 1 NOT = { num_of_dukes = 2 } AND = { num_of_duke_titles = 3 NOT = { num_of_duke_titles = 4 } scaled_wealth = 20.0 } AND = { num_of_duke_titles = 4 scaled_wealth = 10.0 }
}
effect = {
character_event = { id = doge.0 days = 1 }
add_trait = ambitious #for a bonus?
}
} #End decision genoa...
} #END OF FILE
Well I was kind of on the right track after your first post (was peeking at Wiz's custom empires).
That should work great in theory, I'll give it a whirl in a little bit.
Also thank you for explaining what scaled_wealth means exactly. I had asked it before but got no reply. I like your idea with the scaled wealth a lot better than rigid numbers.
What is the difference then between wealth and treasury?
serene_republic_of_genoa = {
is_high_prio = yes
potential = {
ai = yes
is_republic = yes
is_ruler = yes
has_landed_title = c_genoa
NOT = {
num_of_king_titles = 1
}
}
allow = {
OR = {
AND = {
scaled_wealth = 40.0
num_of_duke_titles = 2
NOT = { num_of_duke_titles = 4 }
}
AND = {
scaled_wealth = 30.0
num_of_duke_titles = 4
NOT = { num_of_duke_titles = 6 }
}
AND = {
num_of_duke_titles = 6
treasury = 350
}
}
}
effect = {
character_event = { id = doge.0 days = 1 }
#add_trait = ambitious #for a bonus?
}
}
namespace = doge
character_event = {
desc = "EVTDESC_doge.0"
picture = GFX_evt_council
is_triggered_only = yes
option = {
name = "EVTOPTA_doge.0"
prestige = 250
piety = -100
k_genoa = { grant_title = ROOT }
if = {
limit = {
num_of_duke_titles = 2
NOT = {
num_of_duke_titles = 4
}
}
scaled_wealth = -40.0
}
if = {
limit = {
num_of_duke_titles = 4
NOT = {
num_of_duke_titles = 6
}
}
scaled_wealth = -30.0
}
if = {
limit = {
num_of_duke_titles = 6
}
treasury = -350.0
}
}
}
Rooster, did you have any luck with that remove_minor_title command?