Assuming you're using Notepad++, you could make a custom language which would highlight whatever you wanted to.
I was kidding. It's just a habit to write them in caps, it doesn't actually offer any real advantages.
Assuming you're using Notepad++, you could make a custom language which would highlight whatever you wanted to.
Problem is that even Paradox doesn't have any standardization for this.I wish people would also use brackets, spacing and new lines appropriately
having =
{
a
}
file = {
that
reads
like
}
this =
{
is
annoying }
when you could just = { put one thing }
AND = {
then have = { something else }
}
But! that's not a bug, just personal preference :ninja:
FROM is valid for use in minor_titles btw
*edit* Nvm it wasn't minor_titles that was giving that error, not sure where it was now, so disregard I guess.
ROOT = {
NOT = { religion_group = pagan_group }
}
can_use = {
ROOT = {
NOT = { religion_group = pagan_group }
NOT = {
AND = {
OR = {
AND = {
religion = orthodox
culture = ethiopian
}
religion = monophysite
religion_group = muslim
}
FROM = {
OR = {
AND = {
religion = orthodox
culture = ethiopian
}
religion = monophysite
religion_group = muslim
}
}
}
}
}
}
--- Error 1 of 1 ---
At <mod>\events\job_lord_spiritual.txt [character_event[1]\option\location] (349, 3):
Invalid node "religion_authority" in scope ProvCommand (value is: -0.001)
--- Error 1 of 1 ---
At <mod>\events\province_prosperity_events.txt [province_event[9]\trigger] (757, 2):
Invalid node "has_siege" in scope ProvTrigger (value is: yes)
can_use = {
ROOT = {
NOT = { religion_group = pagan_group }
NOT = {
AND = {
OR = {
AND = {
religion = orthodox
culture = ethiopian
}
religion = monophysite
religion_group = muslim
}
FROM = {
OR = {
AND = {
religion = orthodox
culture = ethiopian
}
religion = monophysite
religion_group = muslim
}
}
}
}
NOT = { same_realm = FROM }
OR = {
NOT = { religion_group = FROM }
is_heresy_of = FROM
is_parent_religion = FROM
}
top_liege = {
religion = PREV
}
NOT = { has_law = empire_centralization_0 }
OR = {
any_realm_province = {
any_neighbor_province = {
owner = {
top_liege = {
character = FROM
}
}
}
}
AND = {
NOT = { has_law = centralization_0 }
NOT = { has_law = empire_centralization_1 }
}
}
NOT = {
AND = {
has_law = empire_centralization_1
any_vassal = {
OR = {
primary_title = { tier = KING }
primary_title = { tier = DUKE }
}
NOT = { opinion = { who = ROOT value = -10 }}
prisoner = no
}
}
}
NOT = {
AND = {
has_law = centralization_0
any_vassal = {
primary_title = { tier = DUKE }
NOT = { opinion = { who = ROOT value = -10 }}
prisoner = no
}
}
}
NOT = {
AND = {
FROM = { religion_group = pagan_group }
has_law = centralization_1
any_vassal = {
primary_title = { tier = DUKE }
NOT = { opinion = { who = ROOT value = -10 }}
prisoner = no
}
}
}
NOT = {
AND = {
has_law = centralization_0
FROM = { religion_group = pagan_group }
}
}
OR = {
NOT = { trait = content }
trait = brave
trait = wroth
trait = zealous
trait = lunatic
trait = possessed
}
OR = {
NOT = { trait = craven }
trait = wroth
trait = ambitious
trait = zealous
trait = lunatic
trait = possessed
}
OR = {
NOT = { trait = cynical }
trait = wroth
trait = ambitious
trait = brave
trait = lunatic
trait = possessed
}
OR = {
NOT = { trait = stressed }
trait = wroth
trait = ambitious
trait = brave
trait = lunatic
trait = possessed
trait = zealous
}
OR = {
trait = lunatic
trait = possessed
AND = {
NOT = { trait = depressed }
NOT = { trait = infirm }
NOT = { trait = incapable }
NOT = {
OR = {
AND = {
trait = content
OR = {
trait = craven
trait = cynical
trait = stressed
}
}
AND = {
trait = craven
OR = {
trait = cynical
trait = stressed
}
}
AND = {
trait = stressed
trait = cynical
}
}
}
}
}
piety = 100
}
}
Right, made an IRC channel: http://forum.paradoxplaza.com/forum/showthread.php?606862-CKII-Modding-IRC-Channelirc would work, though I don't have a client right now.
--- Error 1 of 1 ---
At <mod>\events\province_prosperity_events.txt [province_event[8]\mean_time_to_happen\modifier[9]\owner] (800, 4):
Invalid node "realm_learning" in scope CharTrigger (value is: 40)
--- Error 1 of 1 ---
At <mod>\decisions\loan_decisions.txt [decisions\ai_take_loan\allow] (Line 103, Column 3):
Invalid node "monthly_income" in scope DecisionTrigger (value is: 1)
--- Error 1 of 1 ---
At <mod>\events\province_prosperity_events.txt [province_event[5]\trigger\OR\owner\ROOT] (Line 449, Column 5):
Invalid node "controller" in scope ProvTrigger (value is: <a complex type>)
--- Error 1 of 1 ---
At <mod>\common\technology.txt [TECH_GROUP_MILITARY\TECH_CASTLES\5\modifier] (Line 232, Column 4):
Invalid node "SUPPLY_LIMIT" in scope JunkModifiers (value is: 10)
--- Error 1 of 1 ---
At <mod>\events\newevents.txt [character_event[2]\option\hidden_tooltip] (Line 96, Column 3):
Invalid node "father_even_if_dead" in scope CharCommand (value is: <a complex type>)
--- Error 1 of 1 ---
At <mod>\events\traits_effects_events.txt [character_event[306]\option[2]\FROM\prisoner] (Line 17363, Column 4):
"yes" is not a valid ThisChar or No.
--- Error 1 of 1 ---
At <mod>\decisions\loan_decisions.txt [decisions\ai_take_loan\potential] (Line 266, Column 3):
Invalid node "difficulty" in scope DecisionTrigger (value is: 2)
Have you accounted for the exporting of various common files done in 1.06?1.0 Release Candidate 10 is available: Download here
This version is somewhat compatible with 1.06, but there are also some potential false positives that I'm not sure about. So please tell me about any issues that there are.
You can tweak a number of validation settings by copying a text file from the SettingsFiles folder into the game directory or mod directory, and naming it ValidatorSettings.txt. Then just open it and modify. This is where many of the former settings got moved to.
Also, comment ignore is here! Simply putin front of the node causing the error that you want to ignore. XXXX is an error code, found in Information/errorCodes.txt. So far only a few errors are supported, so tell me which ones you really want to be able to ignore. For more information, see DidYouKnow.pdf, in the dowload.Code:# Audax Validator "." Ignore_XXXX
name = "Balansegang" # name of your mod, shown in launcher
archive = "mod/balansegang" # location of your mod files
replace_path = "history\provinces" # optional. if you want to repalce a path instead of just extend the files already in the base game (liek if you want to have completely new technologies)
user_dir = "Balansegang" # optional. creates a sub directory where settings/map cache/savegames etc can be safely written for your mod and not get mixed up