• 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.
See the CK modding guide

Creating dynasties
An example of a dynasty :


Code:
dynasty = {
	id = ( type = 12 id = 111125 }
	name = "von Winterthur"
  	province = { 241 242 244 245 246 247 }
}
The first line just says that there is a dynasty coming. The ID line gives a unique ID. The type should always be 12. Again, IDs over 200000 tend to be okay. The next line gives the name in quotes. The province = {} line specifies which provinces the dynasty appears in randomly.

The dynasties file can be found in

Crusader kings/db/dynasties.txt, make sure that every dynastie you create has an unique ID-number