Code:
controls_religion = war_pagan
That's what the code is for the religious title.
controls_religion = war_pagan
The events have nothing to do with xml files, which I have never heard of. =PNow that I've got empires forming in my modded version of your mod I've run into a minor issue that this mod will eventually run into as well. Since de jure drift between kingdoms stops once an empire is formed, that means that even areas that have no kingdom at all (the vast majority) won't ever become dejure part of your kingdom, and thus, won't become de jure part of your empire either.
I have to go to sleep now, so I'll get back to this later, but I was wondering if you happen to know where the rules are for dejure drift in the xml files? I know you've tweaked them since you altered them some with the events.
I'll look into it.Gladdig_kaga about making the player the religious head is possible as done in this mod. If you ignore the immortal part(or maybe not) then I think will be good immortal but the religious head part should be doable without that.... i think.
Yeah, that's how I made my holy seats.Code:controls_religion = war_pagan
That's what the code is for the religious title.
How are the empires forming in your version?
Can you show me the code? I am trying to make it so that it counts number of provinces or the amount of kingdoms, but I can't get it to work. I figure those two conditions work the same way.I changed it so that kingdoms and Empires form based on the number of vassals instead of titles. My main problem is that new territory, territory that isn't part of any de jure kingdom, never get's added to any kingdom once you are in an empire. Also, since only kingdoms appear to become de jure part of an Empire, they never become part of your empire either.
Sounds great. I almost started to think that there are only three persons that actually like the barbarian part of the game. Now I know there are at least four.Thanks to you modmaker! Really enjoyed the fast paced dog eat dog gameplay from the years before civilization starts. Now the map if filled with all these new religions, cultures and Kingdoms and I'm loving it! Ireland with its 2 crowns, the Kingdom of Flanders spreading the Bremish religion over all of Lotheringia and all of Saubi Arabia and the Levant united in the Empire of Damascus. All the while my Agrigentoic Kingdom of Sicily dominates everything south of the Alps
What do you mean with Roman empire?i ran another observation to compare with the beta an well England has given birth to a roman empire of sorts
Can you show me the code? I am trying to make it so that it counts number of provinces or the amount of kingdoms, but I can't get it to work. I figure those two conditions work the same way.
character_event = {
id = 66669
desc = "EVTDESC66669"
trigger = {
num_of_duke_titles = 1
top_liege = {
tier = king
}
any_demesne_title = {
de_jure_liege = k_no_kingdom
tier = DUKE
}
}
mean_time_to_happen = {
months = 6
}
option = {
name = "EVTOPTA66669"
top_liege = {
primary_title = {
ROOT = {
any_demesne_title = {
limit = {
tier = DUKE
de_jure_liege = k_no_kingdom
}
de_jure_liege = PREVPREV
}
}
}
}
}
}
I agree that it should be based on the number of vassals. Does num_of_vassals count all vassal's vassals or only direct vassals? Is there really a big difference between 20 and 35-40? I want empires to form, but not commonly.I already tried getting it to work based on number of provinces. It doesn't work. In fact, I'm pretty sure that the command doesn't do anything at all unless you are talking about a sript of some sort that counts them. As for what I did, I just placed num_of_vassals wherever there was num_of_duke_titles or num_of_king_titles.
For kingdoms to form I made it 20 vassals which seems to be a perfect number and Empires I made 30. Though after forming an empire myself I feel like maybe 35 or 40 would be better. One advantage of this by the way is that they AI won't have to deal with any hits to opinion from it's vassals while on it's quest to claim 4 duchies. It also means that some small kingdoms are possible if the AI ever creates enough holdings. That won't happen until much later though. It also makes it easier for the AI to make kingdoms if it happens to be in an area where duchies are very large. That is a major disadvantage to the AI when it has to form 4 duchies but the only ones nearby consist of 3-4 counties each while other AI's get to make theirs from a bunch of 2 county duchies. After playing a couple of early games I've started to notice that the earliest kingdoms tend to pop up in the same places while others tend to take longer to form. I think the duchy requirement and the fact that some duchies are very large in some areas and small in others is the reason. By using vassals as the determining factor this is alleviated somewhat, since only a single duchy is required and then the necessary vassals.
None of that will work since it doesn't know what kingdom it should choose if you're emperor. And even worse if you're emperor without any kingdomtitle.Btw, is this the script for adding counties to the de jure kingdom? What should I replace top_liege with if I am an emperor and I want counties not part of a kingdom to become dejure part of my kingdom? Emperor instead of king? Would primary_title = { higher_tier_than = DUKE } instead of the top_liege part work better?
Code:character_event = { id = 66669 desc = "EVTDESC66669" trigger = { num_of_duke_titles = 1 top_liege = { tier = king } any_demesne_title = { de_jure_liege = k_no_kingdom tier = DUKE } } mean_time_to_happen = { months = 6 } option = { name = "EVTOPTA66669" top_liege = { primary_title = { ROOT = { any_demesne_title = { limit = { tier = DUKE de_jure_liege = k_no_kingdom } de_jure_liege = PREVPREV } } } } } }
Okay. I just don't like that part of the roman empire. xPi just ment the kingdom was really large in most of my previous games the world is splintered into medium sized kingdoms
I agree that it should be based on the number of vassals. Does num_of_vassals count all vassal's vassals or only direct vassals? Is there really a big difference between 20 and 35-40? I want empires to form, but not commonly.
e_scandinavia = {
color={ 20 120 182 }
color2={ 255 255 255 }
capital = 266 #Sjaelland
allow = {
war = no
not = { tier = emperor }
custom_tooltip = CUSTOMTOOLTIP16
hidden_tooltip = {
OR = {
check_variable = { which = "realm_size" value = 99.5 }
e_scandinavia = { OR = { is_titular = no has_holder = yes } }
}
}
}
short_name = yes
}
realm size is another good way to do it and is probably superior to using vassals. I looked into finding out how to do that myself but never found anything like realm_size so I gave up and used vassals.
I'm not sure what "short_name" does.
This sounds great, I'll try it out. But what realm size should you have to create a kingdom?Here's how CK2+ does its titular empire titles:
The conditions, in plain English:
- Can't be at war (that's true for all CK2+ titles; not a necessary condition for a mod based on vanilla)
- Can't already be an emperor (only way to get multiple titles is to inherit/marry into a 2nd one)
- the "realm_size" is the # of holdings in an empire (i.e., baronies). 100 holdings is substantial (~50-55 counties, based on most counties having a 2nd built holding in the early years), and easily changed.
- if the empire is de jure, then it can be created by the normal rules.
I'm not sure what "short_name" does. With just the 100-holding rule, I think the AI will very rarely create an empire before the year 200. I think only 2 titles in d345f's sample game would be empires, and that's in the year 363.
Comparisons to create vanilla empires:
Britannia = 80% of 67 counties = 54
Francia = 80% of 70 = 56
Hispania = 80% of 59 = 50
Arabia = 80% of 125 = 100 (but that's a huge empire: Morocco to Syria)
Persia = 80% of 71 = 57
Russia = 80% of 81 = 65
Scandinavia = 80% of 67 = 54
So 100-120 holdings would be about as large as the vanilla empires.
Code:e_scandinavia = { color={ 20 120 182 } color2={ 255 255 255 } capital = 266 #Sjaelland allow = { war = no not = { tier = emperor } custom_tooltip = CUSTOMTOOLTIP16 hidden_tooltip = { OR = { check_variable = { which = "realm_size" value = 99.5 } e_scandinavia = { OR = { is_titular = no has_holder = yes } } } } } short_name = yes }
What about later when each county have 7 baronies? It would be rediculous for a kingdom to form with 6 counties and empires at 14.
k_holland = {
creation_requires_capital = no
color = { 235 80 30 }
color2 = { 255 255 255 }
capital = 80
allow = {
OR = {
FROM = {
NOT = { has_horde_culture = yes }
primary_title = { title = d_holland }
NOT = { num_of_realm_counties = 1}
NOT = { num_of_realm_counties = 2}
NOT = { num_of_realm_counties = 3}
NOT = { num_of_realm_counties = 4}
NOT = { num_of_realm_counties = 5}
NOT = { num_of_realm_counties = 6}
NOT = { num_of_realm_counties = 7}
NOT = { num_of_realm_counties = x}
}
k_holland = {
is_titular = no
}
}
}
}