You could use a province-modifier: levy_size = xIs there a chance to edit the amount of levys you can get from one province?
I did not find it ^.-
You could use a province-modifier: levy_size = xIs there a chance to edit the amount of levys you can get from one province?
I did not find it ^.-
I have a modifier triggered by being the defender in a religious war, giving some more levies. Works pretty well to help out the pagans, and make religious warfare in general a bit more drawn out.Can anyone explain triggered_modifiers.txt to me? I have worked up some nice ones for characters, but is it possible for provinces? Also, what have you done with this powerful little file?
To have a province act like Siberia and the Sahara does, simply don't mention them in landed_titles, and don't give them a history file.What controls the Terra Incognita? The land provinces are in definition.csv but I don't know how to keep it as PTI, and the 255,255,255 sea terra incognita isn't in definition.csv at all.
They're all in landed_titles, in the common folder. Some titles (E.G., Andalusia, France) have a section called allow, which gives the conditions for creating the title.Hello all - I've scrolled through most of the pages in this thread looking for an answer to my question, and haven't seen it yet. It's a pretty basic sort of question so I imagine it's answered somewhere, but so far no luck for me in finding it.
How do you remove cultural/religious requirements for forming a kingdom-level title? For example, Al-Andalus can only be formed by Muslims, or (in All the Way to Timbuktu) African kingdoms can only be formed by native cultures. I'd like to alter this so that anyone can form any kingdom to which they hold the requisite lands. Is there a way (simple or otherwise) to do this?
If this has already been answered I apologize (and would appreciate directions to the answer) - I'm unfamiliar with modding the game and don't trust myself enough yet to draw conclusions from related data and apply it to my specific question! Thanks in advance.
Namespace IDs should containt periods, but that isn't a namespace event, yeah.Your trigger is missing a closing bracket.
There are some missing at the end as well but those are probably lost in the copy&paste?
And I'm not sure event-ids should contain points.
Try if this works:
Code:#coronation in Milan character_event = { id = [COLOR=#FF0000]1000040000[/COLOR] desc = "EVTDESC2002000" picture = "GFX_evt_holy_emperor" border = "GFX_event_narrative_frame_religion" min_age = 16 only_men = yes capable_only = yes prisoner = no trigger = { has_landed_title = e_hre location = { province_id = 235 } [COLOR=#FF0000]}[/COLOR] option = { name = "EVTDESC2002000" # Let it be done. effect = { k_italy = { gain_title = FROM } prestige = 250 piety = 100 [COLOR=#FF0000] } } }[/COLOR]
"num_of_duke_titles = 2" This means 2 or above, so "num_of_duke_titles = 3" is redundant.Well as previously suggested I am trying to make an event (never made one before) to trigger the creation of the Most Serene Republic of Genoa and wanted to see if you guys think the event code looks ok. The event should only trigger for the AI when it is a republic and hold the ducal title of Genoa and at least one other. Additionally it requires 800g and 100 piety. If all these conditions are true, the title of k_genoa is given to that AI and it loses 800g and 100 piety. Should I also put a mtth in there too to keep it from spamming it everyday (and slowing it down?)
Code:#Formation of the Most Serene Republic of Genoa character_event = { id = 999999001 min_age = 16 only_men = yes culture = italian ai = yes is_republic = yes independent = yes trigger = { has_landed_title = d_genoa OR = { num_of_duke_titles = 2 num_of_duke_titles = 3 #In case AI makes multiple ducal titles at the same time } piety = 100 wealth = 800 } effect = { k_genoa = { gain_title = ROOT } prestige = 250 piety = -100 wealth = -800 } }
Just stick this in a new file in the decisions folder, and add localization.So like this?
etc.Code:#Formation of the Most Serene Republic of Genoa decision = { id = 999999001 min_age = 16 only_men = yes trigger = { ai_will_do = 1 culture = italian ai = yes
And decisions don't use MTTH?
decisions = {
serene_republic_of_genoa = {
potential = {
ai = yes
is_republic = yes
independent = yes
has_landed_title = d_genoa
num_of_duke_titles = 2
piety = 100
wealth = 800
}
effect = {
k_genoa = { gain_title = ROOT }
prestige = 250
piety = -100
wealth = -800
}
revoke_allowed = {
always = no
}
ai_will_do = {
factor = 1
}
}
}
You need to define them.I didn't know CK2 allows the use of namepsaces. Very interesting.
Do I have to define them seperately before using them or will the game automatically define the namespace affenklaus if I give an event the ID 'affenklaus.0'?
I think it hides who sent you an event. Useful for things like assassination attempts where the attacker is unknown.Ok, I may look like a fool asking this but --
what "hides_from = yes" does? I'm failing to see its purpose... :unsure:
You'll find that in one of the logfiles, as the traits are assigned numbers in order when launching the game.Also, is there a glossary of how traits are coded in the savefile (which number represents which trait)?
Use notepad++, it'll display where a section starts and end, so mismatched brackets are easy to find.Is there a utility that can pinpoint where I'm missing a bracket in my landed_titles.txt?? I've been scrolling through it looking for 20min and cannot find my mistake, so Ethiopia is de jure empire for much for the world. Audax Validator only tells me its not closed properly but not where it is.
Also, Audax Validator says my positions.txt has a "illegal closing bracket." What does this mean? I've an extra bracket that don't belong?
Nope.Is there any way to have different starting tech levels among completely new religions?
Terrain movement time is defined in the terrain.txt file in map.Hrm. I guess I can live with that.
Is there any way to change unit movement speed, though?
That's not how movement works, though. Movement is faster the shorter you have to move, regardless of how many provinces you pass through. Going through 5km one km at a time is equally fast to going through 5km 2.5 km at a time.one turnaround can be be to add more sea provinces. more provinces to go through = more time to cross.
where we have now :
_______ _______
|___1___|___2___|
you can try to draw something like this :
___ ___ ___ ___ ___
|_1_|_2_|_3_|_4_|_5_|
Just have the e_austrian_empire entry after the entires for Austria, Bohemia, and Hungary.Hmm, that might be a bit of a problem. Since the empire is titular it has no de jure holdings. Also, Austria is titular. I kind of wanted to get around the issue of removing Bavaria's de jure territory by making Austria titular. With de jure drift, after creating the title, it wouldn't be an issue. It'd eventually become de jure Austrian.
How would I define the title? If it's a complicated process I may need to make a separate thread for this...
Yup. You can even link names that are the same, but differently spelled (E.G., the Saxon Harold and the Scandinavian Harald) by appending _GroupName.Last question, the commentary says that each culture must be "unique", but can they use the same names?