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

Panoramic361

Private
77 Badges
Jul 11, 2013
11
5
  • Crusader Kings II: Charlemagne
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Mare Nostrum
  • Cities: Skylines - Snowfall
  • Europa Universalis IV: Cossacks
  • Cities: Skylines - After Dark
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Semper Fi
  • Europa Universalis IV: Res Publica
  • Magicka
  • Heir to the Throne
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III
  • For the Motherland
  • Europa Universalis IV: Conquest of Paradise
  • Crusader Kings II
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Art of War
  • Divine Wind
  • Europa Universalis III: Chronicles
  • Europa Universalis III
  • Crusader Kings II: Reapers Due
  • Hearts of Iron IV: Death or Dishonor
  • Victoria 2
  • Europa Universalis IV: Mandate of Heaven
  • Cities: Skylines - Mass Transit
  • Hearts of Iron IV: No Step Back
  • Crusader Kings II: Monks and Mystics
  • Hearts of Iron IV: Together for Victory
  • Cities: Skylines - Natural Disasters
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Europa Universalis IV: Rights of Man
  • Mount & Blade: Warband
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV
  • Crusader Kings II: Conclave
  • Cities: Skylines
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
TL;DR -- How can I set the piety & gold costs for a specific handful of titular titles to be lower than default? I want to encourage successful Lodbroking invaders to form these titular k_ titles instead of the dejure ones by making them cheaper. I want something more limited than KING_GOLD_CREATION_COST or TITULAR_TITLE_CREATION_COST_MULT

[I've been searching on the forums for a while fruitlessly, so apologies if this has already been answered. Thanks for any advice]

So I'm just getting into modding & I'm trying to make some personal tweaks to 867 England gameplay (well-trodden ground) and I'm starting with Halfdan/Ubbi/Bersi/other Norse invaders of feudal England. I want the invaders to create and hold onto new (titular) k_ titles that correspond to Northumbria/Jorvik, East Anglia, Mercia, and Wessex. I'm thinking that the invaders should only lay claim to the Anglosaxon kingdoms if they become closer to their subjects, so if they adopt Anglosaxon, Anglonorse/Englisc, or English cultures (I'm working off Erilaz's excellent NHO which tweaks the meltingpots).

I don't like the high costs of the Charlemagne-decision so I'm making new titular titles in a /common/landed_titles file and editing the existing dejure k_ titles to only allow certain cultures to form them -- I think I have a handle on title modding, but I'm not sure how to lower the gold and piety costs to incentivize their creation.

I see from this 2-yr-old thread that KING_GOLD_CREATION_COST and KING_PIETY_CREATION_COST in defines.lua are the variables to tinker with, but I don't want to change creation costs for all k_ titles. TITULAR_TITLE_CREATION_COST_MULT is also a factor, but again I don't want to lower costs for all titular titles. Is it even possible to define a specific creation cost for my new titular k_ title? Do I have to create a new variable in defines? Thx for any help/advice.

If anyone is interested in critiquing my code, this is what I have for a new titular East Anglian invader kingdom

Code:
k_east_anglia_norse_titular = {
        #color = { 60 109 121 } #taken from swmh_landed_titles.txt
        #color2 = { 255 255 255 } #taken from swmh_landed_titles.txt

        #cultural names taken from Erilaz's 00_NHO_landed_titles_England
        #TODO: should come up with a name to make it distinguishable from dejure k_east_anglia
        norse = "Austrængla"
        runedanish = "Østrængla"
        runeswedish = "Østrængla"
        runegothic = "Østrængla"
        danish = "Østængla"
        swedish = "Østængla"
        gothic = "Østrængla"
        norwegian = "Austrængla"
        gutnish = "Austraingla"
        icelandic = "Austrængla"

        #Should still need to hold relevant territory, so define capital
        #capital = 70           #Norfolk
        #culture = norse     #for randomly-created characters, esp. liberation revolts

        #Only allow Norse/middleScandinavian/Scandinavian rulers to create
        #might only allow pagans to form? or non-christians? idk
        allow = {
           AND = { c_norfolk = { owner_under_ROOT = yes } #Make sure actually own relevant territory!
                         c_suffolk = { owner_under_ROOT = yes }
            }
            NOT = { has_landed_title = k_england }
            OR = {     culture = norse       #Cultural restrictions to Norse invaders
                    culture = runedanish
                    culture = runeswedish
                    culture = runegothic
                    culture = danish
                    culture = swedish
                    culture = gothic
                    culture = norwegian
                    culture = gutnish
                    culture = icelandic 
            }
            #Lowered creation cost than normal to encourage duke-tier invaders to actually create it?
            prestige = 500 #prestige threshold for creation, not actual cost
            title_king_basic_allow = yes
        } #end allow

        # Creation Effect
        gain_effect = {
            prestige = 200
            wealth = 400 # crude way to recoup vanilla creation costs
            piety = 200  # crude way to recoup vanilla creation costs
        }
    } # end k_east_anglia_norse_titular
 
Last edited: