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

lothar_82

King of the Pennines
48 Badges
Apr 11, 2018
12
5
  • Crusader Kings II
  • Cities: Skylines - After Dark
  • Cities: Skylines Deluxe Edition
  • Cities: Skylines
  • Cities: Skylines - Mass Transit
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Rights of Man
  • Europa Universalis IV: Cradle of Civilization
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Dharma
  • Europa Universalis IV: Golden Century
  • Europa Universalis 4: Emperor
  • Victoria: Revolutions
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Victoria 3 Sign Up
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris: Megacorp
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Stellaris - Path to Destruction bundle
  • Stellaris: Synthetic Dawn
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Stellaris: Distant Stars
  • Stellaris: Ancient Relics
  • Stellaris: Lithoids
  • Stellaris: Federations
  • Stellaris: Necroids
  • Stellaris: Nemesis
I've been trying to create a title decision that would allow me to change a kingdom's prefix to Principality. I haven't been able to get the decision to change the prefix, so any help would be appreciated.

Code:
designate_principality = {
    from_potential = {
        ai = no
        independent = yes
    }
    
    potential = {
        real_tier = KING
        holder_scope = {
            same_realm = FROM
        }
        
        NOT = {
            ROOT = {
                has_title_flag = designated_principality
            }
        }
    }
    
    allow = {
        FROM = {
            primary_title = {
                real_tier = EMPEROR
            }
            wealth = 200
            prestige = 500
        }
    }
    
    effect = {
        ROOT = {
            title = KINGPRINCE
            title_prefix = KINGPRINCE_OF
            foa = KINGPRINCE_FOA
            set_title_flag = designated_principality
        }
        
        FROM = {
            wealth = -200
            prestige = -500
        }
    }
}
 

Whizzer

CKPlus Triumvirate
77 Badges
Jun 17, 2014
1.617
789
  • Semper Fi
  • Hearts of Iron III Collection
  • Heir to the Throne
  • King Arthur II
  • Knights of Pen and Paper +1 Edition
  • Leviathan: Warships
  • The Kings Crusade
  • Magicka
  • Victoria: Revolutions
  • Rome Gold
  • Cities in Motion
  • Sengoku
  • Sword of the Stars
  • Sword of the Stars II
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Rome: Vae Victis
  • Warlock: Master of the Arcane
  • Europa Universalis IV: Mare Nostrum
  • Hearts of Iron III
  • A Game of Dwarves
  • Cities in Motion 2
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • 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: Sword of Islam
  • Dungeonland
  • Crusader Kings II: Sunset Invasion
  • Europa Universalis III
  • Divine Wind
  • Hearts of Iron III: Their Finest Hour
  • For the Motherland
  • Europa Universalis IV: Rights of Man
  • Crusader Kings II: Reapers Due
  • Crusader Kings II: Conclave
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Magicka: Wizard Wars Founder Wizard
  • Europa Universalis IV: El Dorado
  • Cities: Skylines
  • War of the Roses
  • Crusader Kings III
  • Europa Universalis IV
You can't change these title aspects this way. Your only bet is using customisable localisation, selecting the desired localisation key depending on which flag is set.
 

Metanetwork

Major
36 Badges
Jul 7, 2016
514
16
  • Europa Universalis IV: Cradle of Civilization
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Mare Nostrum
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Crusader Kings II: Monks and Mystics
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Third Rome
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Jade Dragon
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Dharma
  • Crusader Kings II: Holy Fury
  • Europa Universalis IV: Golden Century
  • Crusader Kings III
  • Crusader Kings III: Royal Edition
  • Europa Universalis 4: Emperor
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Way of Life
  • Crusader Kings II
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Charlemagne
I wouldn't recommend customizable localisation for a title's name because the title window does not recognize it. I did not test for customisation localisation in the general localisation for title prefixes l but I would expect the same behavior. However, customizable localisation for character titles seems to work anywhere except on the call-to-war pop-up.

Your goal can possibly be accomplished by swapping the original kingdom title with a dynamic kingdom-tier "principality" title that copies the original title's name, history, laws, de jure vassals and de jure liege. To see how this is done you can read the code that turns the Byzantine Empire (e_byzantium) into the Roman Empire (e_roman_empire). To see how to create dynamic titles based on an existing title's name you can analyze what the devs did in event HFP.42100.