Well, to be honest, one missing = in event file can randomly wreck events through rest of event file, so game is quite picky too.
1. Pretty sure it isn't hardcoded.
2. True
3. Job titles can definitely have those. I don't think minor titles can, but I'm not absolutely certain
4. Minor titles can have those. I don't think job titles can, but I'm not absolutely certain
5. I'm not quite sure what you mean? As to the general structure, every county (with land) has to be in a duchy, and every duchy (with land) in a kingdom. Kingdoms don't have to be in empires
1. Pretty sure it isn't hardcoded.
2. True
3. Job titles can definitely have those. I don't think minor titles can, but I'm not absolutely certain
4. Minor titles can have those. I don't think job titles can, but I'm not absolutely certain
5. I'm not quite sure what you mean? As to the general structure, every county (with land) has to be in a duchy, and every duchy (with land) in a kingdom. Kingdoms don't have to be in empires
Great stuff, running through my files now. Already found some issues in my mod.v0.8.21 b RC2 has been released
Download here
NOTE: Currently, there is _no_ validation of triggers and commands; the Validator just skips those parts of the files that it validates. Such validation will come later.
k_sunni = {
color={ 40 160 40 }
color2={ 220 220 0 }
capital = 719 # Mecca
title = "CALIPH"
foa = "CALIPH_FOA"
short_name = yes
religion=sunni
# Controls a religion
controls_religion = sunni
caliphate = yes
}
I was getting error messages for every single color entry, using almost entirely the vanilla values.@steveuk666: It would be difficult for the Validator to do so. However, if you use a text editor like Notepad++ and set it to a language that has brackets, you can soon see where the bracket is missing. Also if you double click on the error, the Validator will show what it managed to parse, and you can see if anything got incorrectly shifted over.
@Meneth: I have fixed your reported issues, except for the following:
* Cultures.txt already uses 0-1 colors, so that wouldn't be the issue.
No, sorry. Search cultures.txt for part of the name I mentioned and you should find it.* Do you know what character that actually is, that the Validator treats as a space?
It works fine, yes.* It's complaining that caliphate isn't allowed at the king level. I guess it actually is allowed at that level? (I have it as allowed only at the empire level).
Yup.* I added galleys, fort_level, naval_organisation, global_defensive, garrison_growth, land as province modifiers. Is that correct?
It seems that land_organisation applies to everything raised by a character if applied on char-level, but only on the units from a specific province if applied on prov-level.* "land_organisation" is currently listed as a province modifier, while triggered modifiers operates on character modifiers. I assume either triggered modifiers operates on province modifiers, or land_organisation works as a char modifier or both. Which case would it be?
I was getting error messages for every single color entry, using almost entirely the vanilla values.
No, sorry. Search cultures.txt for part of the name I mentioned and you should find it.
It works fine, yes.
Yup.
It seems that land_organisation applies to everything raised by a character if applied on char-level, but only on the units from a specific province if applied on prov-level.
color = { 0.4 0.6 0.1 }Can you copy one color entry's error in, please?
Do you know if caliphate works at every level, or just empire and king?
Hmm, I see, that character is 0xa0=160, a non-breaking space. But there is an entry that uses non-breaking spaces that is "Ramon*Berenguer_Raymond*Berengar", that doesn't seem quite correct. Do you know if it is?
Hmm I see. For the 'color', can you copy the error that appears in the Validator? I wonder, is there an advantage to not just using "something with spaces" (i.e. putting quotes around it).color = { 0.4 0.6 0.1 }
Caliphate as simply a namesake works on any level. Caliphate as the actual head of religion doesn't seem to work on county or barony level, but works both as an empire or a kingdom (both the Pope and the Orthodox Patriarch are kings, and the Sunni Caliphate works as a kingdom in my mod). Haven't tested it on duchy level.
"Ramon*Berenguer_Raymond*Berengar"
That's used to make names equivalent to the names of other cultures. For example "Ælaf_Olaf" is the Saxon equivalent of the Norwegian name "Olaf_Olaf". This means that if a Norwegian named Olaf becomes Saxon, his name will become "Ælaf". They're also equivalent for regnal numbering so you won't end up with both "Ælaf I" and "Olaf I", but instead "Ælaf I" and "Olaf II"
@steveuk666: It would be difficult for the Validator to do so. However, if you use a text editor like Notepad++ and set it to a language that has brackets, you can soon see where the bracket is missing. Also if you double click on the error, the Validator will show what it managed to parse, and you can see if anything got incorrectly shifted over.
Well, it should be in the end of the file...?
If it is missing the closing bracket, you know?
Here you go:Hmm I see. For the 'color', can you copy the error that appears in the Validator? I wonder, is there an advantage to not just using "something with spaces" (i.e. putting quotes around it).
Here you go:
![]()