Modding Instructions for Flavorizations - Gr770/CK3-Community-Title-Project GitHub Wiki

This page details the structure of the file used in the mod along with modding instructions for better compatibility and organisation.

Description of the structure present in 00_CTP.txt file with examples

Variables in '[ ]' bracket are to be filled out according to particulars of the flavourisation


The Paradox defined variables that can be assigned are listed below. Please keep in mind that only certain values, listed further down in the document can be assigned to these particular variables.

  • type: gives the required scope for the game. Can be only character or Title. You cannot define flavorisations without this.
  • tier: tier level of the character or title.
  • gender: gender of the character.
  • special: specifies special scopes/conditions for additional flavourisaiton options
  • government: the type of government the title or character has
  • culture_groups: culture group of the character/title
  • cultures: culture of the character/title
  • religion: religion of the character/title
  • faith: faith of the character/title
  • only_holder: Decides whether to apply title only to holder and not his spouse. Can take values of yes or no
  • only_independent: Decides whether to apply title only to independent ruler (no liege). Can take values of yes or no
  • top_liege: Decides whether to Check conditions of culture and religion based on top_liege or current character/title. Can take values of yes or no
  • priority: Number to resolve clashes of similar definitions. The higher number takes prio over lower. A system for this is discussed further down.
  • holding: Braony Only. Used to define the name of the town, temple, castle, or tribe.

Note : variables can be skipped over if no conditions apply i.e, is generic type. Please be aware that non-specific/blanket definitions might cause performance issues.


There are two types of flavourizations, one for the Character and another for the Title. The localization structure is mixture of various values that can be assigned. These are listed below

  • [title] = baron, count, duke, king, emperor, title_prince(used for ruler child)
  • [tier] = unlanded, barony, county, duchy, kingdom, empire
  • [special] = holder, ruler_child, queen_mother, councillor, head_of_faith
  • [government] = feudal, republic, clan, tribal, theocratic, holy_order, mercenary
  • [gender] = male, female
  • [culture_group] = name of culture or culture group used
  • [culture] = name of culture used
  • [religion] = name of the religion used
  • [faith] = name of the faith used

Note: It is usually convention when defining cultures and faiths to skip over culture_group and religion as the culture/faith is unique anyway


Character type


[title]_[government]_[sex]_[culture_group]_[culture]_[religion]_[faith]_[independent] = {
        type = character
	gender = [gender]
	special = [special]
        tier = [tier] 
	priority = based on various factors ( listed below )
	top_liege = no
	governments = { [government]_government }
	culture_groups = { [culture_group] }
        cultures = { [culture] }
	religion = { [religion] }
        faith = { [faith] }
        only_independent = yes
    }

For example,


king_tribal_arabic_group_male = {
	type = character
	gender = male
	special = holder
	tier = kingdom
	priority = 143
	top_liege = no
	governments = { tribal_government }
        culture_group = { arabic_group }
}

This code block is valid even though skips over the culture, religion and faith variables. Do NOT forget the _group in culture group descriptions (i.e. { arabic } for { arabic_group } would not work in the example)!


Title Type


[tier]_[government]_[culture_group]_[culture]_[religion]_[faith]_[independent] = {
        type = title
	tier = [tier] 
	priority = based on various factors ( listed below )
	top_liege = no
	governments = { [government]_government }
	culture_groups = { [culture_group] }
        cultures = { [culture] }
	religion = { [religion] }
        faith = { [faith] }
        only_independent = yes
    }

For example,


duchy_tribal_saxon = {
	type = title
	tier = duchy
	top_liege = no
	priority = 123
	governments = { tribal_government }
        cultures = { saxon }
}

This code block is valid even though skips over the culture_group, faith and religion variables. Same as above for _group.


Priority Allocation

This system suggested here is a general guideline on how to give priority numbers to titles so that they don't clash with pre-existing paradox titles. They are a few outliers within the original game folder which can potentially upset this system. These are listed out at the end of this section.

The system follows a method of increasing the priority value based on the additional conditions assigned to it.

Base priority values based on tier of title/holding

  • barony : 100
  • county : 110
  • duchy : 120
  • prince/queen mother 130
  • kingdom : 140
  • empire : 150

Additions based on condition. These do not depend on the number of additions within that condition.


[government]    : priority + 1  
[culture_group] : priority + 1  
[culture]       : priority + 2   
                     (or)    
                  priority + 1 if [culture_group] is already specified    
[religion]      : priority + 1   
[faith]         : priority + 2    
                     (or)   
                  priority + 1 if [religion] is already specified   
[independent]   : priority + 1   
[only_holder]   : priority + 1 if there is a non-holder type defined, otherwise no changes

For other conditions, like [special], [gender] etc. there are formally no changes to priority.

Note: For special titles, like prince_ruler and queen_mother, the priority should be increased by +1 based on the tier. This is done because those titles can apply to multiple tiers.

Examples


baron_[government_type] : 101  
baron_[government_type]_[culture_group] : 102  
baron_[government_type]_[culture_group]_[culture] : 103   
baron_[government_type]_[culture] : 103    
baron_[government_type]_[religions] : 102       
baron_[government_type]_[religions]_[faith] : 103    
baron_[government_type]_[faith] : 103
baron_[government_type]_[independent] : 102  
baron_[government_type]_[culture]_[faith]_[independent] : 104  

The priority values for special titles is usually 300, it's used very sporadic and shouldn't be a problem.

Please understand the priority is a very fickle system. There can be instances where an independent culture group definition can have the same as an cultures definition due to how the system works. This might cause problems. The above detailed system is just a guideline, please use your own judgement based on the system to make sure there are no errors.


Outliers in Paradox Game Folder [1.1.2]

  • duke_feudal_female_hausan_independent
  • count_feudal_female_hausan_independent
  • count_feudal_male_norse
  • count_feudal_female_norse
  • county_feudal_norse

Guidelines followed for Grouping of Cultures that share Titles

There may be many instances where a title will be shared among culture that are usually in the same culture groups. Rarely, it may even be shared across cultural group. This section outlines a system of naming conventions to be followed in those scenarios for compatibility reasons. These conventions are based on the priority system detailed above and assume you are following those guidelines

There may three type of issues you may run into:

  • If there is only one repeating title shared among all of the , you just define it directly by the [culture_group] name directly. Looks like this

duchy_male_tribal_[culture_group] = {
type = character
tier = duchy
gender = male
government = { tribal_government }
culture_groups = { [culture_group] }
}

  • If there is only one repeating title shared among all of the except for a few cultures (lets say [culture_1] and [culture_2]). Then you can define the [culture_group] followed by the [culture_1] and [culture_2]. Following the priority system outlined above will make sure the [culture_1] and [culture_2] takes precedence over [culture_group]. This need not be restricted to 2 cultures and can be as many as you like.

duchy_male_tribal_[culture_group] = {
type = character
tier = duchy
gender = male
government = { tribal_government }
culture_groups = { [culture_group] }
}

duchy_male_tribal_[culture_1] = {
type = character
tier = duchy
gender = male
government = { tribal_government }
cultures = { [culture_1] }
}

duchy_male_tribal_[culture_2] = {
type = character
tier = duchy
gender = male
government = { tribal_government }
cultures = { [culture_2] }
}

  • If there is more than repeating title shared among all of the . For example, [culture_1],[culture_2],[culture_3] share one title while [culture_4] and [culture_5] share another. Then you can define the new [cultural_group_1],[culture_group_2] where these can defined in comments for clarification. This need not be restricted to this, you can add individual cultures beyond this as above.

### Comment [culture_group_1] is made up of [culture_1],[culture_2],[culture_3] 
duchy_male_tribal_[culture_group_1] = {
type = character
tier = duchy
gender = male
government = { tribal_government }
cultures = { [culture_1],[culture_2],[culture_3] }
}

### Comment [culture_group_2] is made up of [culture_4],[culture_5]
duchy_male_tribal_[culture_group_2] = {
type = character
tier = duchy
gender = male
government = { tribal_government }
cultures = { [culture_4],[culture_5] }
}

  • If there is names shared across different culture groups, do not group them. The whole structure is based upon culture groups. Doing this will not crash the mod but will make debugging a big issue. Therefore, it is not recommended to follow that method. Rather try to split them up even if it may cause repetition.
⚠️ **GitHub.com Fallback** ⚠️