• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.
Actually it seems like a blunder on our part.
any_dejure_liege and any_de_jure_liege_title seems to be equivalent apart from the fact that any_dejure_liege will auto-resolve a character on the left-hand-side as that characters primary title.
Minor inconsistencies might also occur in between since they have a little bit differing way to traverse the de jure structure.
 
  • 1
Reactions:
False positive that's so minor that it's barely worth a mention:
Code:
--- Error 1 of 2 ---
At <mod>\common\graphicalculturetypes\00_graphicalculturetype.txt [nomadgfx] (Line 172, column 1):
The required "skin_tone" entry was not found.
--- Error 2 of 2 ---
At <mod>\common\graphicalculturetypes\00_graphicalculturetype.txt [tribalgfx] (Line 171, column 1):
The required "skin_tone" entry was not found.

This is from the code:
Code:
# Hard coded government graphical cultures
tribalgfx = {}
nomadgfx = {}
...those two are hard coded, and don't require skin tones.
 
False postive, I think:

Code:
--- Error 1 of 1 ---
At <mod>\events\anglo_saxon_migration_events.txt [character_event] (Line 1475, column 1):
The event is set to be triggered only, but it is never called.

In this case the event is called only from the on_invalidation block of a particular cb.

Also:

Code:
--- Error 1 of 1 ---
At <mod>\events\britannia_storyline_events.txt [character_event\option\add_spouse] (Line 350, column 3):
"27" is not a valid MaybeEventTarget(Char).

Using character ids directly where a character scope would otherwise be expected as an argument is allowed, I think.

Edit: A couple other things:

Code:
--- Error 1 of 1 ---
At <mod>\events\roman_empire_events.txt [character_event\option\hidden_tooltip\any_army\limit\location] (Line 5029, column 6):
Invalid node "location" in scope UnitTrigger (value is: <a complex type>)

I believe this scope is allowed and works properly.

Code:
--- Error 1 of 2 ---
At <mod>\events\roman_empire_events.txt [character_event\option\hidden_tooltip\any_army\morale] (Line 5039, column 5):
Invalid node "morale" in scope UnitMaybeLimitCommand (value is: -0.2)
--- Error 2 of 2 ---
At <mod>\events\roman_empire_events.txt [character_event\option\hidden_tooltip\any_army\troops] (Line 5038, column 5):
Invalid node "troops" in scope UnitMaybeLimitCommand (value is: -0.2)

Both of these commands do work and properly lower the morale and troop number of the scoped army.

Code:
--- Error 1 of 1 ---
At <mod>\events\roman_empire_events.txt [character_event\option\hidden_tooltip\any_army\if] (Line 4838, column 5):
Invalid node "if" in scope UnitMaybeLimitCommand (value is: <a complex type>)

Shouldn't if be available in all effect blocks?
 
Last edited:
I need some clarification on omitting errors from my files. I'm using a copy of the birth_events file and it's giving me several errors saying:
"This hidden event option has a name."

I want to ignore these, so at the top of my file, according to the DidYouKnow.pdf file, I put:
# Audax Validator "!" Ignore_ALL

It doesn't work. What am I overlooking? Hell, I don't even care about that specific error. I'd just like the Validator to ignore the file entirely, if it makes it any easier, but it's not doing that.
 
I need some clarification on omitting errors from my files. I'm using a copy of the birth_events file and it's giving me several errors saying:
"This hidden event option has a name."

I want to ignore these, so at the top of my file, according to the DidYouKnow.pdf file, I put:
# Audax Validator "!" Ignore_ALL

It doesn't work. What am I overlooking? Hell, I don't even care about that specific error. I'd just like the Validator to ignore the file entirely, if it makes it any easier, but it's not doing that.
You can do that in the settings file.
Code:
# Disables checks that an event with hide_window=yes
#AddFlag = Events.DisableSpecialHideWindowChecks
 
  • 1
Reactions:
Can't for the life of me figure out why I'm getting this error report:
Code:
--- Error 1 of 1 ---
At <mod>\decisions\SELIN_scholarly_decision.txt [decisions\scholarly_claim\effect\add_character_modifier] (Line 207, column 4):
"scholarly_totalwar" is not a valid AddModifier.
 

Attachments

  • SELIN_scholarly_modifiers.txt
    658 bytes · Views: 1
  • SELIN_scholarly_decision.txt
    3,5 KB · Views: 1
Can't for the life of me figure out why I'm getting this error report:
Code:
--- Error 1 of 1 ---
At <mod>\decisions\SELIN_scholarly_decision.txt [decisions\scholarly_claim\effect\add_character_modifier] (Line 207, column 4):
"scholarly_totalwar" is not a valid AddModifier.


Validator's expecting RHS to be something like
Code:
={
  name = X
  duration = Y
}
 
Yes, another member of the team pointed that out. Could you improve the error message?
 
Code:
--- Error 1 of 1 ---
At <mod>\events\job_lord_spiritual.txt [character_event\mean_time_to_happen\modifier\location\is_hard_to_convert] (Line 107, column 17):
Invalid node "is_hard_to_convert" in scope ProvTrigger (value is: yes)
New trigger, should be valid anywhere religion is. There is also a new hard_to_convert switch in the religion file.
Code:
--- Error 1 of 1 ---
At <mod>\events\on_action_events.txt [narrative_event\desc\trigger\new_character\NOT\religion] (Line 5505, column 30):
"FROM" is not a valid Religion or MaybeEventTargetCharProvReligionTitle or NewChar.
MaybeEventTargetCharProvReligionTitle or NewChar: cannot be because MaybeEventTargetCharProvReligionTitle: cannot be because ThisChar: cannot be because FROM points to <null>.
       However, a Char was expected.
       This scope has no FROM due to the fact that <mod>\common\on_actions\00_on_actions.txt [on_crusade_invalid\events\534] (Line 3170, column 3) has no scope.
     ThisProv: cannot be because FROM points to <null>.
       However, a Prov was expected.
       This scope has no FROM due to the fact that <mod>\common\on_actions\00_on_actions.txt [on_crusade_invalid\events\534] (Line 3170, column 3) has no scope.
     ThisReligion: cannot be because FROM points to <null>.
       However, a Religion was expected.
       This scope has no FROM due to the fact that <mod>\common\on_actions\00_on_actions.txt [on_crusade_invalid\events\534] (Line 3170, column 3) has no scope.
     ThisTitle: cannot be because FROM points to <null>.
       However, a Title was expected.
       This scope has no FROM due to the fact that <mod>\common\on_actions\00_on_actions.txt [on_crusade_invalid\events\534] (Line 3170, column 3) has no scope.
From the vanilla event:
Code:
narrative_event = {

   # ROOT is the target title
   # new_character is the Enemy
   # FROM is the Pope/Caliph
  
   id = 534
   title = "EVTNAME534"
   picture = "GFX_evt_battle"
   border = "GFX_event_narrative_frame_religion"
  
   desc = {
     picture = GFX_evt_battle
     text = EVTDESC534_converted
     trigger = {
       new_character = { religion = FROM }
     }
   }
   desc = {
     picture = GFX_evt_battle
     text = EVTDESC534_coup
     trigger = {
       new_character = { NOT = { religion = FROM } }
     }
   }
Code:
--- Error 1 of 1 ---
At <mod>\events\rip_flavor_events.txt [character_event\immediate\if\create_character\immortal_age] (Line 12098, column 5):
Invalid node "immortal_age" in scope CharCreation (value is: 40)
New field in character creation
 
Last edited:
I need some clarification on omitting errors from my files. I'm using a copy of the birth_events file and it's giving me several errors saying:
"This hidden event option has a name."

I want to ignore these, so at the top of my file, according to the DidYouKnow.pdf file, I put:
# Audax Validator "!" Ignore_ALL

It doesn't work. What am I overlooking? Hell, I don't even care about that specific error. I'd just like the Validator to ignore the file entirely, if it makes it any easier, but it's not doing that.
Fixed in upcoming version, then the ignore should work.

Code:
--- Error 1 of 1 ---
At <mod>\events\job_lord_spiritual.txt [character_event\mean_time_to_happen\modifier\location\is_hard_to_convert] (Line 107, column 17):
Invalid node "is_hard_to_convert" in scope ProvTrigger (value is: yes)
New trigger, should be valid anywhere religion is. There is also a new hard_to_convert switch in the religion file.
I'm curious where these are described? Are those strings in the exe?

Code:
--- Error 1 of 1 ---
At <mod>\events\rip_flavor_events.txt [character_event\immediate\if\create_character\immortal_age] (Line 12098, column 5):
Invalid node "immortal_age" in scope CharCreation (value is: 40)
New field in character creation
Where are these described? Would "immortal_age" be in the exe?
 
I'm curious where these are described? Are those strings in the exe?

Where are these described? Would "immortal_age" be in the exe?

I imagine he's referring to the CK2 changelog, where they're listed.
 
There was an open beta for 2.6.2 released yesterday.
Ah I see.

Since betas can change before release and modders probably aren't building on it anyways, and it seems a bad idea to build on a beta, lets wait to add 2.6.2 stuff until its released.

Unless there are strong reasons to do differently?
 
  • 6
Reactions:
ask.jpg


Have any idea what has happened here in the picture?

Any advice much appreciated.
 
A vanilla localization uses immortal_horse_victim, which is set in event RIP.30301 in rip_flavor_events.txt.
 
A vanilla localization uses immortal_horse_victim, which is set in event RIP.30301 in rip_flavor_events.txt.

Awesome! Thank you!

But why the validator didn't pick up the location?
And I haven't done nothing with immortal_horse_victim, nor modded the rip_flavor_events.txt or localization.
A false positive? Vanilla bug? Any suggestions I could do?