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

vertinox

Field Marshal
75 Badges
Aug 10, 2002
3.742
271
twitch.tv
  • Mount & Blade: Warband
  • Europa Universalis: Rome
  • Rome Gold
  • Semper Fi
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Rome: Vae Victis
  • 500k Club
  • Cities: Skylines
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Victoria: Revolutions
  • Mount & Blade: With Fire and Sword
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Achtung Panzer
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Hearts of Iron IV Sign-up
  • Stellaris Sign-up
  • Prison Architect
  • Europa Universalis IV
  • 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
  • Deus Vult
  • Europa Universalis III
  • Divine Wind
  • Arsenal of Democracy
  • 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
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
  • Europa Universalis III Complete
  • March of the Eagles
  • Europa Universalis III Complete
I was curious about this, but I was thinking on modding my CK to have events based on laws to tweak a rulers Diplo and Intrigue.

Say if you have Feudal Contract you get an event that takes away all your intrigue but give you bonus Diplomacy and if you have Royal Perog then you get a bonus in intrigue but little Diplomacy.

The idea was to encourage large demesnes with RP and very small demesnes with FC.

Now a player will of course know which route to take based on his laws but will an AI willingly give up his count titles if he has low intrigue? I've seen it happen but its not something I see constantly (i could be mistaken).

Any ideas?
 
Though its been a while, I found a round about way to force overly expanded demesnes across continents... Through revolts. I changed my static modifiers to make revolts status on a province to be 10x as harsh for peasant and noble loyalty

Code:
###############################################
# Demesne Breaker                             #
###############################################

province_event = { #You need to install rulers overseas in order to control foreign lands

	id = 1980002
	picture = "event_rebellion"

	trigger = {
			
			condition = { type = or

			condition = { type = and #Begin Spain
					condition = { type = region value = spain }
					condition = { type = owner
						condition = { type = capital
							condition = { type = not value = { type = region value = spain } }
						}
					}
				}

			condition = { type = and #Begin britain
					condition = { type = region value = britain }
					condition = { type = owner
						condition = { type = capital
							condition = { type = not value = { type = region value = britain } }
						}
					}
				}

			condition = { type = and #Begin netherlands
					condition = { type = region value = netherlands }
					condition = { type = owner
						condition = { type = capital
							condition = { type = not value = { type = region value = netherlands } }
						}
					}
				}

			condition = { type = and #Begin scandinavia
					condition = { type = region value = scandinavia }
					condition = { type = owner
						condition = { type = capital
							condition = { type = not value = { type = region value = scandinavia } }
						}
					}
				}

			condition = { type = and #Begin france
					condition = { type = region value = france }
					condition = { type = owner
						condition = { type = capital
						condition = { type = and
							condition = { type = not value = { type = region value = france } }
							condition = { type = not value = { type = region value = netherlands } }
						}
						}
					}
				}

			condition = { type = and #Begin germany
					condition = { type = region value = germany }
					condition = { type = owner
						condition = { type = capital
							condition = { type = not value = { type = region value = germany } }
						}
					}
				}

			condition = { type = and #Begin italy
					condition = { type = region value = italy }
					condition = { type = owner
						condition = { type = capital
							condition = { type = not value = { type = region value = italy } }
						}
					}
				}

			condition = { type = and #Begin russia
					condition = { type = region value = russia }
					condition = { type = owner
						condition = { type = capital
							condition = { type = not value = { type = region value = russia } }
						}
					}
				}


			condition = { type = and #Begin eastern_europe
					condition = { type = region value = eastern_europe }
					condition = { type = owner
						condition = { type = capital
							condition = { type = not value = { type = region value = eastern_europe } }
						}
					}
				}
				
			condition = { type = and #Begin balkan
					condition = { type = region value = balkan }
					condition = { type = owner
						condition = { type = capital
							condition = { type = not value = { type = region value = balkan } }
						}
					}
				}

			condition = { type = and #Begin asia_minor
					condition = { type = region value = asia_minor }
					condition = { type = owner
						condition = { type = capital
							condition = { type = not value = { type = region value = asia_minor } }
						}
					}
				}

			condition = { type = and #Begin north_africa
					condition = { type = region value = north_africa }
					condition = { type = owner
						condition = { type = capital
							condition = { type = not value = { type = region value = north_africa } }
						}
					}
				}

			condition = { type = and #Begin middle_east
					condition = { type = region value = middle_east }
					condition = { type = owner
						condition = { type = capital
							condition = { type = not value = { type = region value = middle_east } }
						}
					}
				}
			}

	}

	mean_time_to_happen = {	months = 2 }
	
		action_a = { #Damn!
		ai_chance = 99
		effect = { type = add_province_effect value = revolt }
		effect = { type = add_province_effect value = looted }
		effect = { type = peasant_loyalty value = -0.9 }
		effect = { type = burgher_loyalty value = -0.75 }
		effect = { type = clergy_loyalty value = -0.5 }
		effect = { type = noble_loyalty value = -0.9 }
	}

}
 
Ok. I finished up the mini-mod and it seems to work pretty good keeping the AI (and the player) from having implausible demesnes that defy logic across great distances.

You can download it here .
 
jordarkelf said:
Nice work on this one. I'll give it a try in-game.

Thanks!

I'm still thinking maybe I should be a bit more fair to Pagans and Muslims with the event, but so far my play testing seems to have worked as intended.

In my last game when the revolter finally go independent they'll usually pledge anyways and reform a country with vassals. The Muslim king of Egypt had capitol in North Africa and then his demesne revolted in some provinces east of Jerusalem which revolted and then joined up with the nearest Muslim ruler which turned out to be a vassal of the King of Egypt.

And maybe Italy should be an acceptable capital for North Africa, but I'll have to play around with it a bit more.
 
jordarkelf said:
If you want to lift the region checks from the break_free.txt checktree, feel free. I've added most bordering regions to the areas.

Thanks, though I think the second half of the event covers most of the bordering regions (I realized I didn't include Scandinavia with Britain, but I'm kind of torn on that) but I don't think there is much to add at this point other than catching the odd bits that pop up that I forgot about.