• 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.

Beastro

Sergeant
22 Badges
May 17, 2012
88
5
  • Dungeonland
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Europa Universalis III Complete
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Call to arms event
  • Heir to the Throne
  • Crusader Kings II
  • Leviathan: Warships
  • Pillars of Eternity
  • Victoria 2
  • Cities: Skylines Deluxe Edition
  • Shadowrun Returns
  • Mount & Blade: Warband
  • Europa Universalis IV: Pre-order
  • Cities: Skylines
  • War of the Roses
  • Warlock: Master of the Arcane
  • The Showdown Effect
  • Europa Universalis III Complete
  • Europa Universalis III Complete
Don't want the AI to make kingdoms and empires on its own so I tried going into the realms decision file and making the money req for creating a kingdom and empire huge to keep them from doing so, only the values aren't changing when I play the game and remain 300 gold for kingdoms, for instance, then I'd set the file value to 1000000.

Is there something I'm missing somewhere else? I know I've changed this before in the past, I'd recently reformatted and started a refresh install of CK2 and it was awhile ago so I don't recall exactly what I did.

I've changed the values in both the CK2 and main game realm decisions files to see if there was any difference, there wasn't.
 
that's realm decision, AI rarely uses that.

first restore default values.
now, under form_new_kindom in the ai_will_do section set factor to 0.
do the same for form_new_empire (just factor, rest is irrelevant).

you may also do this for form_the_hre and form_carolingian_empire, create_israel, create_aragon, create_portugal, create_castille, create_leon, create_hungary, but i don't think you should.

now you need to change landed titles. that is a lot of work, but i'll explain what you need to do. this option is used more commonly by the AI.
go under common/landed_titles

open CK2Plus_titles.txt

under every e_ or k_ entry you need to add "ai = no". That will prevent the AI from creating these titles.
Now, the problem is, there are 81 empires in that file, and 125 kingdoms.

you need to do the same for landed_titles.txt where there are 94 kingdoms.

if you know regex, you can do this fairly quickly. If not, you may want to wait for someone else to respond, as there may be a simpler way to do this.
 
that's realm decision, AI rarely uses that.

first restore default values.
now, under form_new_kindom in the ai_will_do section set factor to 0.
do the same for form_new_empire (just factor, rest is irrelevant).

you may also do this for form_the_hre and form_carolingian_empire, create_israel, create_aragon, create_portugal, create_castille, create_leon, create_hungary, but i don't think you should.

now you need to change landed titles. that is a lot of work, but i'll explain what you need to do. this option is used more commonly by the AI.
go under common/landed_titles

open CK2Plus_titles.txt

under every e_ or k_ entry you need to add "ai = no". That will prevent the AI from creating these titles.
Now, the problem is, there are 81 empires in that file, and 125 kingdoms.

you need to do the same for landed_titles.txt where there are 94 kingdoms.

if you know regex, you can do this fairly quickly. If not, you may want to wait for someone else to respond, as there may be a simpler way to do this.

I just want to disable the custom kingdoms/empires since they break up and mess with the normal. If I want to allow one to be made fr the AI to model historycal kingdom I'll just use console to make it myself.

Do I have to go through all of those for only the custom titles? I'll try without it since I doubt I do.

Thank you.
 
Oh, you should have said you're interested in custom kingdoms only.

Custom kingdoms/empires is just form_new_empire and form_new_kingdom.
under ai_will_do set factor to 0.

then ai will not do.
 
Dang, sorry, thought I mentioned that in OP. I'm treating TMJ problems atm, makes me a spacey idiot at times.

BTW, do you have any idea why my original edits didn't take? Like I said in the OP ages ago I did the same thing and set my gold req to something like 10,000 pieces and it went though.

I ask because I'm paranoid this modification won't work, though it has so far a couple in game months going.

Edit, btw where would I put "ai = no" under titles if I decide to use it down the line? Would you be able to provide an little example? I recall a previous game where, IIRC, England is large enough to turn into an empire straight away with two options given, an Anglo-Saxon one and Norman one (Dragon or Lion COA) and I don't want that to happen.
 
Last edited:
idk, did you change values under allow (that's the condition shown) and under effect (money that's actually taken)?

anyway, this *will* work. AI will still be able to create titular kingdoms and empires.
 
idk, did you change values under allow (that's the condition shown) and under effect (money that's actually taken)?

anyway, this *will* work. AI will still be able to create titular kingdoms and empires.

Yup I did both and hand them matching values.

It really stumped me because last time I edited it in like 5 minutes and was back to playing.
 
under every e_ or k_ entry you need to add "ai = no". That will prevent the AI from creating these titles.

Like this:

k_england = {
"ai = no"
color = { 202 26 26 }
color2 = { 255 255 255 }

culture = saxon
capital = 32 # Middlesex
dignity = 10 # Counted as having this many more counties than it does

Or is it somewhere else?

Well I guess not, relaunched the game after doing so and Jorvik is making it. :/

I also failed to find a "create england" under realm, actually anything to do with england.
 
Last edited:
oh god no...

Code:
e_gaul = {
    color = { 255 128 0 }
    capital = 119 # Koln
    short_name = yes
 
    allow = {
        ai = no
        is_title_active = FROM
        is_adult = yes
        has_regent = no
        war = no
        lower_tier_than = emperor
        ruled_years = 5
        OR = {
            FROM = { has_holder = yes }
            FROM = { is_titular = no }
            ROOT = {
                culture_group = celtic
                custom_tooltip = {
                    text = HAS_SIZE_EMPIRE
                    hidden_tooltip = {
                        OR = {
                            realm_size = 150
                            num_of_count_titles_in_realm = 50
                        }
                    }
                }
            }
        }
    }
}

it has to go in allow block. no quotes.
 
  • 1
Reactions:
oh god no...

Code:
e_gaul = {
    color = { 255 128 0 }
    capital = 119 # Koln
    short_name = yes

    allow = {
        ai = no
        is_title_active = FROM
        is_adult = yes
        has_regent = no
        war = no
        lower_tier_than = emperor
        ruled_years = 5
        OR = {
            FROM = { has_holder = yes }
            FROM = { is_titular = no }
            ROOT = {
                culture_group = celtic
                custom_tooltip = {
                    text = HAS_SIZE_EMPIRE
                    hidden_tooltip = {
                        OR = {
                            realm_size = 150
                            num_of_count_titles_in_realm = 50
                        }
                    }
                }
            }
        }
    }
}

it has to go in allow block. no quotes.

Thxies again!
 
My liege is making the titular kingdom of Kent despite me doing thr ai = no to all minor English kingdoms/

What it looks like:

k_kent = {
color = { 115 42 199 }
capital = 73 # Kent
culture = saxon
allow = {
ai = no
is_adult = yes
has_regent = no
war = no
ruled_years = 5
hidden_tooltip = {
OR = {
ai = no
NOT = {
has_landed_title = e_byzantium
top_liege = { has_landed_title = e_byzantium }
}
}
}
OR = {
AND = {
OR = {
culture = saxon
culture = english
culture = english_norse
}
lower_tier_than = king
}
k_kent = {
OR = {
is_titular = no
has_holder = yes
}
}
}
}
}
.
 
the only way this can happen is if the file you changed is not used. where is the file you edited?

or there is a bug with ai condition.