Meh, I drew it from scratch. Thanks tho.One tip: open up the vanilla file and your altered file in Gimp. Just copy from the altered to vanilla, export it, and the index order is restored.
Meh, I drew it from scratch. Thanks tho.One tip: open up the vanilla file and your altered file in Gimp. Just copy from the altered to vanilla, export it, and the index order is restored.
create_title = {
tier = KING
[...]
temporary = yes
}
any_ruler = {
limit = {
capital_scope = {
region = <whatever region>
}
}
# Do whatever you want here
}
Is there any way that country capitals can build city buildings too?
Only in the capital of the county, its possible?Do you want to be able to build city buildings in all castles, or just castles that are the capital of their county? In the former case, just copy all the buildings from the city block into either the castle block or into a castle block in a new file. In the latter, you might be able to do it by creative use of the build conditions.
Major = yes will make an event appear for everyone in the game.How do I make an event happening somewhere create a notification for other characters? I thought I knew how, but was wrong.
You can fire a delayed event x number of days later by using days = whatever in the call. So have your global flag applied on the delayed event.How to I make it so there is a minimum of time between two events firing? The first event sets up a global flag which the second event requires. I don't think it's possible to make that flag temporary.
Major = yes will make an event appear for everyone in the game.
You can fire a delayed event x number of days later by using days = whatever in the call. So have your global flag applied on the delayed event.
Sysntax might not be 100% as working off memory but you get the just.
E.g. character_event = { id = myevent.1 days = 100}
Actually, the second event should fire at a random time. Just not within ten years after the first.
Have the first event call a 3rd event 10 years later that sets the flag. Then have the 2nd event fire randomly if the flag is active.Actually, the second event should fire at a random time. Just not within ten years after the first.
No, I want the event to fire for only one character and for certain other rulers to get a notification that it happened.
This is a known bug with on_startup + Ruler Designer. I haven't seen any way around it. :/When using the 'on_startup' on_action, is there any way to scope to the Ruler Designed Player character prior to the game starts?
For what I'm doing, I (ideally) need to grab the Player before the first turn, but it seems that 'ai = no' during the on_startup scopes to the historical ruler I'm replacing, not the actual character I am playing as.
When using the 'on_startup' on_action, is there any way to scope to the Ruler Designed Player character prior to the game starts?
For what I'm doing, I (ideally) need to grab the Player before the first turn, but it seems that 'ai = no' during the on_startup scopes to the historical ruler I'm replacing, not the actual character I am playing as.
From the wikiThis is a known bug with on_startup + Ruler Designer. I haven't seen any way around it. :/
on_startup
Fires on game load (game start and loading from saves) for ALL characters (not only the player). BUG (as of version 3.2.1): at the start of the new game, it does not fire for courtiers that are not defined in the history files. It will fire for these character upon loading a save.
Note: not called for ruler designed characters. Also see on_chronicle_start.
on_chronicle_start
Fires for the player character, when the game starts (but not when loading from saves). Also works when Charlemagne DLC is not active.
Note: for ruler designed characters, fires twice (for the historical character and player ruler designed character).
Have the first event call a 3rd event 10 years later that sets the flag. Then have the 2nd event fire randomly if the flag is active.
had_global_flag = { flag = hebrew_revived days = 3650 }
I think having the event call another event for the rulers you want to notify would work.
option = {
name = "EVTOPTA55005"
any_vassal = {
limit = {
OR = {
culture = saxon
culture = norman
}
}
score_value = { #Prioritizes selecting an interesting courtier...
value = 10
interesting_courtier_selection_score = yes
}
culture = english
hidden_tooltip = {
character_event = { id = 55006 days = 3 }
}
}
}
}
option = {
name = "EVTOPTA_HEB_55012"
culture = hebrew
random_demesne_province = {
limit = {
region = custom_israel
religion_group = jewish_group
OR = {
culture = ashkenazi
culture = sephardi
culture = mizrahi
culture = kalimi
}
}
culture = hebrew
}
any_ruler = {
limit = {
religion_group = jewish_group
capital_scope = {
region = custom_israel
}
}
hidden_tooltip = {
character_event = { id = HEB.55022 days = 3 }
}
}
}
}