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

xcrissxcrossx

Lt. General
95 Badges
Nov 23, 2010
1.466
22
  • March of the Eagles
  • Europa Universalis IV: Wealth of Nations
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Cities: Skylines - Snowfall
  • Heir to the Throne
  • Knights of Pen and Paper +1 Edition
  • Majesty 2
  • Pillars of Eternity
  • Arsenal of Democracy
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Europa Universalis: Rome
  • Semper Fi
  • Sengoku
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Europa Universalis IV: Pre-order
  • Crusader Kings II: Sunset Invasion
  • A Game of Dwarves
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sword of Islam
  • Darkest Hour
  • East India Company Collection
  • Europa Universalis IV: Conquest of Paradise
  • Stellaris - Path to Destruction bundle
  • Europa Universalis III Complete
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis III: Collection
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Common Sense
  • Mount & Blade: Warband
  • Crusader Kings II: Way of Life
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Holy Knight (pre-order)
  • Hearts of Iron IV: No Step Back
  • 500k Club
  • War of the Roses
  • Victoria 2
  • Europa Universalis III Complete
  • Europa Universalis IV: Cossacks
  • Europa Universalis III Complete
I am asking a developer if there is a trigger like "has_title = d_poitou" or an effect like "give_title = k_naples" that can be used to make decisions to form kingdoms. Possibly something like "number_of_duke_titles = 3"?

I would like to mod a way to make a titular kingdom of Occitania, along with others, like a Latin Empire. There are no examples in the code provided and I was wondering if a dev could give a list of triggers and effects that could be helpful when attempting this.
 

Ruwaard

Imperial Vicar of the HRE
69 Badges
Oct 4, 2010
4.242
738
  • Stellaris: Federations
  • Stellaris: Necroids
  • Stellaris: Nemesis
  • Europa Universalis 4: Emperor
  • Europa Universalis IV
  • Crusader Kings II: Holy Knight (pre-order)
  • Crusader Kings III
  • 500k Club
  • Crusader Kings II: Holy Fury
  • Crusader Kings II
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Jade Dragon
  • Crusader Kings II: Conclave
  • Crusader Kings II: Way of Life
  • Crusader Kings II: Reapers Due
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings II: The Republic
  • Stellaris: Galaxy Edition
  • Stellaris: Synthetic Dawn
  • Stellaris: Leviathans Story Pack
  • Stellaris: Megacorp
  • Stellaris: Distant Stars
  • Stellaris: Humanoids Species Pack
  • Stellaris - Path to Destruction bundle
  • Stellaris: Lithoids
  • Stellaris: Ancient Relics
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Apocalypse
  • Age of Wonders: Planetfall Deluxe edition
  • Cities: Skylines
  • Imperator: Rome Deluxe Edition
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Rights of Man
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Golden Century
  • Europa Universalis IV: Dharma
  • Europa Universalis IV: Cradle of Civilization
In a different thread (modding help wanted) I came up with two decisions (one for independent and one for an imperial vassal). Although ideally it should be part of some sort of event chain.

That's why I made two versions myself, even though due to issues related to balance, this could give vassals of the HRE and ERE a too big advantage. Note that I used Cyprus as an example an to test whether such a decision would work.

Independent:

Code:
decisions = {
    Kingdom = {
        potential = {
            min_age = 16
            prisoner = no
            independent = yes
            NOT = { trait = incapable }
            NOT = { FROM = { 
                    tier = emperor 
                    tier = king
                    } 
                }# Is no Emperor or king                        
            } 

        allow = {
            FROM = {
                AND = {    
                    piety = 200
                    wealth = 400
                    prestige = 400                
                    religion = catholic
                    is_heretic = no
                    prisoner = no                    
                    primary_title = { title = d_cyprus }    # Is duke of Cyprus
                    AND = {            
                        OR = {                        
                            is_liege_of = 757 #c_famagusta                                    
                            owns = 757 #c_famagusta
                                    }
                        OR = {
                            is_liege_of = 756 #c_limisol
                                  owns = 756 #c_limisol
                                }
                            }
                        }
                    }              
                }

        effect = {
                piety = -200
                wealth = -400
                k_cyprus = {
                    gain_title = FROM
                    }
                }

        ai_will_do = {
            factor = 100                # AI will always do
            }
    }        
}

Imperial vassal (not a king)

Code:
decisions = {
    Kingdom = {
        potential = {
            min_age = 16
            prisoner = no
            top_liege = {
                        primary_title = {
                            title = e_hre
                            }            
                    } 
            NOT = { trait = incapable }
            NOT = { FROM = { 
                    tier = emperor 
                    tier = king
                    } 
                }# Is no Emperor or king                        
            } 

        allow = {
            FROM = {
                AND = {    
                    piety = 200
                    wealth = 400
                    prestige = 400            
                    religion = catholic
                    is_heretic = no
                    prisoner = no                    
                    primary_title = { title = d_cyprus }    # Is duke of Cyprus
                    AND = {            
                        OR = {                        
                            is_liege_of = 757 #c_famagusta                                    
                            owns = 757 #c_famagusta
                                    }
                        OR = {
                            is_liege_of = 756 #c_limisol
                                  owns = 756 #c_limisol
                                }
                            }
                        }
                    }              
                }

        effect = {
                piety = -200
                wealth = -400
                k_cyprus = {
                    gain_title = FROM
                    FROM = { set_defacto_liege = e_hre }
                    }
                }

        ai_will_do = {
            factor = 100                # AI will always do
            }
    }        
}
 

Hystarea

Major
108 Badges
Apr 6, 2010
545
2
  • Stellaris: Galaxy Edition
  • Knights of Pen and Paper +1 Edition
  • March of the Eagles
  • Europa Universalis IV: Rights of Man
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Rome Gold
  • Semper Fi
  • Stellaris: Galaxy Edition
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Rome: Vae Victis
  • Cities in Motion
  • Europa Universalis IV: Third Rome
  • Cities: Skylines - Snowfall
  • Stellaris - Path to Destruction bundle
  • Crusader Kings II: Jade Dragon
  • Europa Universalis IV: Pre-order
  • Stellaris: Synthetic Dawn
  • Tyranny: Archon Edition
  • Pillars of Eternity
  • Europa Universalis IV: Mare Nostrum
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Heir to the Throne
  • 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: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Europa Universalis III Complete
  • Divine Wind
  • 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
  • For the Motherland
  • Hearts of Iron III
  • Stellaris: Necroids
  • Crusader Kings II: Horse Lords
  • Europa Universalis III Complete
I don't really understand this but if what you mean is like forming kingdoms in EU3 where it was done through a decision, this is impossible. The devs have told us in an old thread when the game was still in development that the engine does not allow for this.
 

Ruwaard

Imperial Vicar of the HRE
69 Badges
Oct 4, 2010
4.242
738
  • Stellaris: Federations
  • Stellaris: Necroids
  • Stellaris: Nemesis
  • Europa Universalis 4: Emperor
  • Europa Universalis IV
  • Crusader Kings II: Holy Knight (pre-order)
  • Crusader Kings III
  • 500k Club
  • Crusader Kings II: Holy Fury
  • Crusader Kings II
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Jade Dragon
  • Crusader Kings II: Conclave
  • Crusader Kings II: Way of Life
  • Crusader Kings II: Reapers Due
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings II: The Republic
  • Stellaris: Galaxy Edition
  • Stellaris: Synthetic Dawn
  • Stellaris: Leviathans Story Pack
  • Stellaris: Megacorp
  • Stellaris: Distant Stars
  • Stellaris: Humanoids Species Pack
  • Stellaris - Path to Destruction bundle
  • Stellaris: Lithoids
  • Stellaris: Ancient Relics
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Apocalypse
  • Age of Wonders: Planetfall Deluxe edition
  • Cities: Skylines
  • Imperator: Rome Deluxe Edition
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Rights of Man
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Golden Century
  • Europa Universalis IV: Dharma
  • Europa Universalis IV: Cradle of Civilization
I checked it and these decisions do work. However it will work just as the already existing titular kingdoms, so all their vassals will follow their de jure crown laws.
 

unmerged(436066)

Banned
1 Badges
Jan 17, 2012
138
0
  • Crusader Kings II
That's what I wanted anyways. That's why I did not want to make a landed kingdom.

Thanks for the help everyone.

Can you upload your Occitanian stuff when you've finished? I'd really like to add this to my own collection. It won't ever be released, it's just for some friends and I. :)

Thanks in advance!
 

Orinsul

Absent Minded
115 Badges
Feb 7, 2008
8.934
2.434
  • Victoria 2: Heart of Darkness
  • Stellaris
  • Cities: Skylines - Snowfall
  • 500k Club
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Stellaris: Distant Stars
  • Europa Universalis IV: Mare Nostrum
  • Stellaris Sign-up
  • Hearts of Iron IV: Cadet
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Tyranny: Archon Edition
  • Tyranny: Archon Edition
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Cities: Skylines - Natural Disasters
  • Hearts of Iron IV: Together for Victory
  • Europa Universalis IV: Art of War
  • Crusader Kings II: Jade Dragon
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Europa Universalis IV: Rule Britannia
  • Surviving Mars: Digital Deluxe Edition
  • BATTLETECH - Digital Deluxe Edition
  • Cities: Skylines - Parklife Pre-Order
  • Cities: Skylines - Green Cities
  • Europa Universalis IV: Dharma
  • Cities: Skylines - Mass Transit
  • Europa Universalis IV
  • Europa Universalis IV: Cradle of Civilization
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Third Rome
  • Hearts of Iron IV: No Step Back
  • Surviving Mars
  • Europa Universalis IV: Res Publica
  • Hearts of Iron IV: Death or Dishonor
  • Cities: Skylines - Parklife
  • Hearts of Iron IV: Expansion Pass
so for example, this line
e_latin_empire = {
gain_title = FROM
}
in an event/decision would create that titular title? [being the example of an vinilla titular.
And to make a new title do you just add it to the landed titles.txt and give it a Flag and localisation or is it more complicated than that?

Edit : ive tested and yes that does work
 
Last edited:

Trovador

First Lieutenant
59 Badges
Dec 23, 2009
225
24
  • Europa Universalis III: Chronicles
  • Victoria: Revolutions
  • Magicka
  • Heir to the Throne
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Divine Wind
  • Europa Universalis III Complete
  • Europa Universalis III
  • Deus Vult
  • Crusader Kings II: Sword of Islam
  • Cities in Motion
  • Crusader Kings II: The Republic
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Charlemagne
  • Crusader Kings II
  • Europa Universalis IV: Rights of Man
  • Shadowrun Returns
  • Crusader Kings II: Reapers Due
  • Stellaris Sign-up
  • Stellaris
  • Europa Universalis IV: Mare Nostrum
  • Imperator: Rome Sign Up
  • Europa Universalis IV: Cossacks
  • Age of Wonders III
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Crusader Kings II: Monks and Mystics
  • Stellaris - Path to Destruction bundle
  • Cities: Skylines - Mass Transit
  • Crusader Kings Complete
  • Surviving Mars
  • Cities: Skylines - Parklife
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV
  • Crusader Kings II: Holy Fury
  • Stellaris: Megacorp
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Crusader Kings III
  • Victoria 2
  • Warlock: Master of the Arcane
  • 500k Club
  • Stellaris: Federations
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis IV: El Dorado
  • Cities: Skylines Industries
  • Crusader Kings II: Way of Life
  • Crusader Kings II: Horse Lords
Thank you for the examples, Ruwaard!

Do you mind if I use them as a base to create another decisions like this (and eventually include your k_cyprus decisions in it)?

I couldn't find the expression to give a title to someone - it seems that, instead, you give an owner to a title, and not the other way around.
 

Ruwaard

Imperial Vicar of the HRE
69 Badges
Oct 4, 2010
4.242
738
  • Stellaris: Federations
  • Stellaris: Necroids
  • Stellaris: Nemesis
  • Europa Universalis 4: Emperor
  • Europa Universalis IV
  • Crusader Kings II: Holy Knight (pre-order)
  • Crusader Kings III
  • 500k Club
  • Crusader Kings II: Holy Fury
  • Crusader Kings II
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Jade Dragon
  • Crusader Kings II: Conclave
  • Crusader Kings II: Way of Life
  • Crusader Kings II: Reapers Due
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings II: The Republic
  • Stellaris: Galaxy Edition
  • Stellaris: Synthetic Dawn
  • Stellaris: Leviathans Story Pack
  • Stellaris: Megacorp
  • Stellaris: Distant Stars
  • Stellaris: Humanoids Species Pack
  • Stellaris - Path to Destruction bundle
  • Stellaris: Lithoids
  • Stellaris: Ancient Relics
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Apocalypse
  • Age of Wonders: Planetfall Deluxe edition
  • Cities: Skylines
  • Imperator: Rome Deluxe Edition
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Rights of Man
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Golden Century
  • Europa Universalis IV: Dharma
  • Europa Universalis IV: Cradle of Civilization
Thank you for the examples, Ruwaard!

Do you mind if I use them as a base to create another decisions like this (and eventually include your k_cyprus decisions in it)?

I couldn't find the expression to give a title to someone - it seems that, instead, you give an owner to a title, and not the other way around.

I won't mind at all, if you look at the thread where I originally posted that reply, I also based my decision on a decision made by the_legion. I made some adaptations, so that it would only be available if certain conditions are met. IMHO just having 'grant me a crown for free decision button' is not much fun nor really gratifying. Hence similar gold and piety conditions for a titular kingdom and an ordinary kingdom; and I based the required prestige on the level you ordinarily gain from a royal crown, so I took that amount as a basis to be considered prestigious enough for a crown. Other conditions like being no prisoner, no heretic and not being incapable for me made sense too; a crown needed to be recognized by the pope, the emperor and other kings.
Some required territorial conditions makes sense too, the kingdom needs to based on some territory.
 
Last edited: