1) This is actually possible, you just need to copy ValidatorSettings.txt and edit it to disable localization. Instructions are available in DidYouKnow.pdf.
2) Can you explain why the Validator is wrong and what the engine is actually doing? In that case these checks can be made to work correctly and everyone will be happy. Also if you happen to know if this stuff would work in Eu4 the same way.
Thanks I will try to figure it out, a lot of times I don't care about localization stuff until I'm working just on that.
As for why the Validator is wrong, I must admit I only have demonstrated results in the game. The Mongol event that I referenced actually spawns the armies correctly, creates the leaders and then wardecs someone. The old_gods_adventures also pop a lot of errors as well with province based scopes, but the adventurers are doing their wars and finding their targets correctly. I think the province scopes in the game have a failsafe default that the Validator doesn't account for, but I'm not sure exactly what that is.
Some false positives (I think) for the new patch:
Under Traits -
--- Error 1 of 1 ---
At <mod>\common\traits\02_traits.txt [sympathy_zoroastrianism\tolerates_zoroastrian_group] (Line 347, column 2):
Invalid node "tolerates_zoroastrian_group" in scope Trait (value is: yes)
tolerates_christian = yes
tolerates_muslim = yes
tolerates_pagan_group = yes
tolerates_zoroastrian_group = yes
tolerates_jewish_group = yes
--- Error 1 of 1 ---
At <mod>\events\achievement_events.txt [character_event\trigger\killer\rightful_religious_head_scope\ROOT\likes_better_than] (Line 175, column 6):
Invalid node "likes_better_than" in scope CharTrigger (value is: <a complex type>)
--- Error 1 of 1 ---
At <mod>\events\adventures_the_old_gods.txt [character_event\immediate\random_independent_ruler\limit\any_realm_province\OR\AND\NOT\capital_scope] (Line 772, column 9):
Invalid node "capital_scope" in scope ProvTrigger (value is: <a complex type>)
--- Error 1 of 1 ---
At <mod>\events\battle_events.txt [character_event\weight_multiplier] (Line 2535, column 2):
Invalid node "weight_multiplier" in scope CharEvent (value is: <a complex type>)
--- Error 1 of 1 ---
At <mod>\events\birth_events.txt [character_event\option\death\death_reason] (Line 1815, column 4):
"death_childbirth" is not a valid DeathReason.
--- Error 1 of 1 ---
At <mod>\common\landed_titles\02_holy_orders.txt [d_knights_templar\monthly_income] (Line 26, column 2):
Invalid node "monthly_income" in scope DukeTitleDef (value is: 10)
--- Error 1 of 1 ---
At <mod>\common\traits\02_traits.txt [sympathy_zoroastrianism\tolerates_zoroastrian_group] (Line 347, column 2):
Invalid node "tolerates_zoroastrian_group" in scope Trait (value is: yes)
tolerates_christian = yes
tolerates_muslim = yes
tolerates_pagan_group = yes
tolerates_zoroastrian_group = yes
tolerates_jewish_group = yes
--- Error 1 of 1 ---
At <mod>\events\achievement_events.txt [character_event\trigger\killer\rightful_religious_head_scope\ROOT\likes_better_than] (Line 175, column 6):
Invalid node "likes_better_than" in scope CharTrigger (value is: <a complex type>)
--- Error 1 of 1 ---
At <mod>\events\adventures_the_old_gods.txt [character_event\immediate\random_independent_ruler\limit\any_realm_province\OR\AND\NOT\capital_scope] (Line 772, column 9):
Invalid node "capital_scope" in scope ProvTrigger (value is: <a complex type>)
--- Error 1 of 1 ---
At <mod>\events\battle_events.txt [character_event\weight_multiplier] (Line 2535, column 2):
Invalid node "weight_multiplier" in scope CharEvent (value is: <a complex type>)
--- Error 1 of 1 ---
At <mod>\events\birth_events.txt [character_event\option\death\death_reason] (Line 1815, column 4):
"death_childbirth" is not a valid DeathReason.
--- Error 1 of 1 ---
At <mod>\common\landed_titles\02_holy_orders.txt [d_knights_templar\monthly_income] (Line 26, column 2):
Invalid node "monthly_income" in scope DukeTitleDef (value is: 10)
I thought I would mention that I used the Validator to find syntax errors in the SoA event files, missing equal signs. Props to you for that, maybe Paradox needs to license your tool. >
Last edited: