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

the_legion

Colonel
68 Badges
Aug 8, 2009
948
194
  • Victoria 2: A House Divided
  • Europa Universalis III Complete
  • The Kings Crusade
  • Europa Universalis III Complete
  • Victoria: Revolutions
  • Europa Universalis: Rome
  • Semper Fi
  • Sengoku
  • Crusader Kings II: Monks and Mystics
  • Europa Universalis IV: Res Publica
  • Victoria 2: Heart of Darkness
  • Rome: Vae Victis
  • Cities: Skylines Deluxe Edition
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Cossacks
  • Cities: Skylines - After Dark
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: The Republic
  • Crusader Kings II
  • Heir to the Throne
  • Darkest Hour
  • Deus Vult
  • Divine Wind
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • For the Motherland
  • Hearts of Iron III
  • Steel Division: Normandy 44
  • Europa Universalis IV: Rights of Man
  • Crusader Kings II: Reapers Due
  • Hearts of Iron IV: Field Marshal
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Cities: Skylines - Mass Transit
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Mount & Blade: With Fire and Sword
  • Mount & Blade: Warband
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Mandate of Heaven
  • 500k Club
  • War of the Roses
  • Victoria 2
  • Europa Universalis IV
1.) In the games before there was a "event_effects" list or something. This would really help me out.
Anyone has one / made one?

2.) Following situation. I want a decision that fires if someone is King of Germany but not emperor (not western and not eastern).
I removed the HRE title from the starting scenario to test it, but it doesn't work.

Code:
decisions = {
	kaiser = {
		potential = {
		NOT = { FROM = { tier = emperor } }		# Is no Emperor	
		}

		allow = {
		FROM = { title = k_germany } 			# Is King of the Romans
		FROM = { piety = 1 }				# Must be "holy"
		}

		effect = {
			scaled_wealth = -0.01			# BLAH
			}

		ai_will_do = {
			factor = 100				# AI will always do
		}
}
The line which is wrong is obviously " FROM = { title = k_germany } " because it says ingame
* King Heinrich IV von Deutschland:
Title is: 'Kingdom of Germany'

The red star indicates that the game does not undestand what I wanted ^-^

Any help would be nice.
 
Nevermind, I solved my own problem. I needed to add " primary_title = { ... } ".

Code:
decisions = {
	become_HRE = {
		potential = {
		NOT = { FROM = { tier = emperor } }		# Is no Emperor	
		}

		allow = {
			FROM = {
				AND = {
				piety = 1 				
				religion = catholic 			
				primary_title = { title = k_germany }	# Is King of the Romans
					}
				}  			
			}

		effect = {
				e_hre = {
				gain_title = FROM
				}
			}

		ai_will_do = {
			factor = 100				# AI will always do
		}
}
 
Last edited:
I'm interested to know, whether this decision works.
It works now. The King of Germany (renamed to King of the Romans) can now grab the emperor-title.
Just to give the historical titles (King of the Romans/Burgundy/Italy) to the emperor without
the fear of both titles loosing connection. Need to do some other things to ensure everything
isn't bugged but the decission itself works now...
 
I adjusted your decision for a decision to (re-) create the kingdom of Cyprus (could be used for other titular kingdoms too). I wonder if this will work. Although maybe recreating a titular kingdom should be more expensive in terms of wealth and piety. I also may need to add something, which checks if the title doesn't exist already. Furthermore not only the ducal title is needed, but the actual land also has to be controlled directly or indirectly.

Code:
decisions = {
    become_k_cyprus = {
        potential = {
        NOT = { FROM = { tier = emperor tier = king } }        # Is no Emperor    or king
        }

        allow = {
            FROM = {
                AND = {
                is_feudal = yes 
                independent = yes
                NOT = { trait = incapable }
                prisoner = no
                war = no
                age = 16
                is_heretic = no
                piety = 200     
                wealth = 400     
                prestige = 400       
                religion = catholic             
                primary_title = { title = d_cyprus }    # Is duke of Cyprus
                    }
                }              
            }

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

        ai_will_do = {
            factor = 100                # AI will always do
        }
}
 
Last edited:
Nice to see that some guys think the same ^^
I know myself- I'll mess arround all kingdoms, titular or not ...

-------------
Right now I'm messing arround with alpine region and italy.
(Work in progress, so don't say it looks ugly -g-)

5c6k28t8.jpg


tb3tyzly.jpg


BTW:
THANKS FOR MAKING MAP-MODDING SO INCREDIBLY EASY :cool:
 
Question: Have you tried implementing Duchies across Kingdom-lines? All the Duchies in Vanilla seem to be exclusively inside a specific Kingdom, but that doesn't really make sense for the thing I'm doing. At the moment I simply included two listings for each of the respective Kingdoms (so Kingdom A has provinces 1+2 of the Duchy and Kingdom B has #3), but not entirely sure that's supported.
 
Not possible. When I made Trent to be a part of Tyrol (which it obviously was) it automatically became part of the Kingdom of the Romans and "left" Italy.
The only possibility to "workarround" is to make 2 duchies with the same (ingame displayed) name. One belonging to Kingdom A, one belonging to Kingdom B
and maybe making a decission to automatically destroy the other one if someone holds "both" duchies and one to allways give a claim on the "other" duchy if
both happen to exist.

One duchy, one Kingdom, one Empire. It's like Highlanders- there shall be only one.
 
Not possible. When I made Trent to be a part of Tyrol (which it obviously was) it automatically became part of the Kingdom of the Romans and "left" Italy.
The only possibility to "workarround" is to make 2 duchies with the same (ingame displayed) name. One belonging to Kingdom A, one belonging to Kingdom B
and maybe making a decission to automatically destroy the other one if someone holds "both" duchies and one to allways give a claim on the "other" duchy if
both happen to exist.

One duchy, one Kingdom, one Empire. It's like Highlanders- there shall be only one.

Oh. Rats. No frontier-land Jarls for me, then. :(
 
Would adding something like this help, so that it is only possible to make this decision, if you actually control the land directly and/or indirectly?

Code:
holder_scope = OR {
                                        {
                                        is_liege_of = c_famagusta
                                                          c_limisol
                                        }                                    
                                        {
                                        owns = c_famagusta
                                                   c_limisol
                                        }
                    }
 
I edited the decision a bit more:

Code:
decisions = {
    become_k_cyprus = {
        potential = {
        NOT = { FROM = { tier = emperor 
                                  tier = king 
                                } 
                  } # Is no Emperor  or king 
        NOT = { is_title_active = k_cyprus }             
        }

        allow = {
            FROM = {
                AND = {
                is_feudal = yes 
                OR = { independent = yes
                          liege = { title = e_hre } 
                        } # Historically the royal crown was granted by the Holy Roman Emperor
                NOT = { trait = incapable }
                prisoner = no
                war = no
                age = 16
                is_heretic = no
                piety = 200     
                wealth = 400  
                prestige = 400
                religion = catholic             
                primary_title = { title = d_cyprus }    # Is duke of Cyprus
                AND = {
                                        OR = {
                                        is_liege_of = c_famagusta                                    
                                        owns = c_famagusta                                              
                                        }
                                        OR = {
                                        is_liege_of =  c_limisol      
                                        owns = c_limisol  
                                    }

                    }
                }              
            }

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

        ai_will_do = {
            factor = 100                # AI will always do
        }
}
 
Last edited:
I might consider removing any possible liege, since it seems that this decision grants you independence anyway.

Code:
decisions = {
    Kingdom = {
        potential = {
            min_age = 16
            prisoner = no
            NOT = { trait = incapable }
            NOT = { FROM = { 
                    tier = emperor 
                    tier = king
                } 
            }# Is no Emperor or king
            OR = {
                top_liege = {
                    primary_title = {
                        title = e_hre
                        }
                independent = yes
                    } # historically the HRE granted the crown                
                } 

        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
            }
    }        
}
 
Ah superb! Ive been trying to figure out how to do this but never came across the effect "gain_title". Thanks for sharing this discovery. That decision looks good, I may have to borrow it if you dont mind :)
 
Ah superb! Ive been trying to figure out how to do this but never came across the effect "gain_title". Thanks for sharing this discovery. That decision looks good, I may have to borrow it if you dont mind :)

The_legion did all the hard work, I only borrowed and adjusted it (I used Cyprus as example). After a few attempts it finally worked, except that also vassals of an emperor become independent with this decision.

I did make one small change (again ;)):

Edit: I solved the liege issue too.

Code:
effect = {
                piety = -1
                wealth = -1
                k_cyprus = {
                    gain_title = FROM
                    [COLOR=#ff0000]FROM = { set_defacto_liege = e_hre }[/COLOR]
                    }
                }
 
Last edited: