• 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.
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?
 
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?
Use notepad++, it'll display where a section starts and end, so mismatched brackets are easy to find.
The illegal closing bracket error means you've got one or more closing brackets too many, or you're missing one or more opening brackets.
 
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?
Go to the end of the Ethiopia entry and begin your search from there. Illegal closing bracket usually means too many brackets.
Best thing to do to make things easier, is download Notepad++, set it as your preferred text editor in the options menu in validator, and then set {0} -n{1} as the command line. Then when you right click on the error and choose correct error, it'll take you straight to the problem line in Notepad++, so you won't need to search.
 
Thanks, I managed to fix both errors, but now Validator says my positions.txt "was not properly closed by a closing bracket" and clicking edit doesn't jump to the spot like did before using your command line.
 
Okay, here's my problem. I created a new event series, with an objective to have one of your unlanded courtiers take the cross. I launched the game as France in 1166 to see how it plays.
Alright. Here's the problem (other than a very female princess wanting to become a Templar that is, and a missing flag causing the event to spam). This particular event is supposed to do maybe too much at one time. I increase the pope's opinion of me, send the novice Templar to the Grandmaster of the order, and pay the initiation fee, which is <scaled_wealth = 0.25> (kind of steep, but it was in those days).

scaled.php

Here is the event:

Code:
#Son or ward asks permission to join the Temple
character_event = {
    id = rr.8
    desc = "EVTDESC_rr.8"
    picture = GFX_evt_emissary
    
    is_triggered_only = yes
    
    option = {
        name = "EVTOPTA_rr.8"
        prestige = 30
        random_playable_ruler = {
            limit = { has_landed_title = d_knights_templar }
            reverse_banish = FROM
        }
        transfer_scaled_wealth = {
                to = PREVPREV
                value = 0.25
        }
        religion_head = {
            opinion = {
                who = ROOT
                modifier = opinion_paragon
                months = 1200
            }
        }
        FROM = { character_event = { id = rr.9 days = 90 random = 30 } }
    }
    option = {
        name = "EVTOPTB_rr.8"
        prestige = -10
        FROM = { 
            cancel_objective = yes 
            set_character_flag = { name = denied_templar_join duration = 1200 } }
    }
}

The Templars do exist in 1166, so that's not the problem (she could not take the objective if they did not). I think the problem is referencing the Templars. They are not my vassal so I can't use "any_realm_lord" or something similar. Any help would be appreciated. So that my 16-year-old daughter can make it to Jerusalem with 30-odd gold from my treasury and maybe become grandmaster (that'll come later).
 
I guess I will also post this here. Is this right:
Code:
id = 99001
desc = "The authority of the crown has ben reduced so much, your title has no real meaning anymore."
picture = "pic"

mean_time_to_happen = {
months = 120
modifier = {
factor = 0.1
NOT = { wealth = 0 }
NOT = { prestige = 0 }
NOT = { piety = 0 }
}
}

trigger = { 
 random_demesne_title = {
 limit = { 
 tier = kingdom
 has_law = centralization_0
}
 }
 }


option = {
name = "May the realm bleed."
random_demesne_title = {
limit = { 
tier = kingdom
 has_law = centralization_0
 }
destroy_dejure_title = ROOT
}
 }
 
Terrain movement time is defined in the terrain.txt file in map.
Does CK2 differentiate between ocean and inland sea? I'd love to make deep waters take longer to traverse.
 
Alright, and how do I go about that? I don't see an option. I checked "trace flags" but it says 0 flags in 0 names. I don't know.
Those are scripting flags, not gfx files. Uncheck hide vanilla errors.
 
Is it possible to add a new settlement type? I tried looking in the interface files but can't seem to figure out how to do this. Thanks.
Unless someone is made of magic, no. There are loose threads that would give one hope, but too many things are hardcoded.