• 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.
Dynasties have coat_of_arms field at the dynasties.txt file.
coat_of_arms structure are described at intrface/coat_of_arms.txt
Characters (at least some of them) have dna and properties fields at the history files. But unfortunately I don't know how to change them in any sane way.
 
Dynasties have coat_of_arms field at the dynasties.txt file.
coat_of_arms structure are described at intrface/coat_of_arms.txt
Characters (at least some of them) have dna and properties fields at the history files. But unfortunately I don't know how to change them in any sane way.

for dna do a search. someone recently listed the different dna elements.
 
Yes, that's well and good, but where is all the information stored? For instance, I can't find any entry for coat_of_arms for the dynasty I'm playing in the save file, or the dynasty file. Is it procedural for the dynasty number, or what? I just want to change the CoA for my dynasty right now.
 
If you have a random dynasty it will be in the top of the savegame file and looks like this:

Code:
8005156=
	{
		name="of Mishkino"
		culture="cuman"
		coat_of_arms=
		{
			data=
			{
2 2 0 17 12 0 10 2 0 17 12 0 10 			}
			religion_group="pagan_group"
		}
	}

The data code is the code of arms
First number is template
then the next six will be the first layer, the next six the second etc.


In the dynasty text file you can set it up like this

Code:
8000500 = {
	name="von Drachburg"
	culture = german
	coat_of_arms = {
		template = 3
		layer = {
			texture = 0
			texture_internal = 22
			emblem = 21
			color = 5
			color = 6
			color = 0
		}
		layer = {
			texture = 0
			texture_internal = 22
			emblem = 5
			color = 5
			color = 6
			color = 0
		}
		layer = {
			texture = 0
			texture_internal = 22
			emblem = 11
			color = 5
			color = 6
			color = 0
		}
		layer = {
			texture = 0
			texture_internal = 22
			emblem = 21
			color = 5
			color = 6
			color = 0
		}
	}
}

The coats_of_arms.txt file under interface explains how to use this and the images are under gfx

Whitey''
 
Alright, but my dynasty isn't random. How does the game know what the CoA should look like every time? No CoA data for my dynasty in dynasty.txt, and no CoA data in the Save game. This is what doesn't make sense to me.

I'm playing as dynasty=100336, or "di Salerno", which I renamed to Scannapieco because I didn't feel like ctrl+H-ing a new dynasty number into the save file. So, how do I change the CoA for 100336?

I will add the above to the dyansty.txt for 100336 to see if that changes it...
 
I think it should look like this for your dynasty if you want to copy my CoA type :)


Code:
100336 = {
	name="di Salerno"
	culture = italian
	coat_of_arms = {
		template = 3
		layer = {
			texture = 0
			texture_internal = 22
			emblem = 21
			color = 5
			color = 6
			color = 0
		}
		layer = {
			texture = 0
			texture_internal = 22
			emblem = 5
			color = 5
			color = 6
			color = 0
		}
		layer = {
			texture = 0
			texture_internal = 22
			emblem = 11
			color = 5
			color = 6
			color = 0
		}
		layer = {
			texture = 0
			texture_internal = 22
			emblem = 21
			color = 5
			color = 6
			color = 0
		}
	}
}

You need to look in the coats_of_arms.gfx and coats_of_arms.txt uder interface for the specific ways to use/change the code.
I can try to explain the different things if you want it when I got some time ;)

Whitey''
 
DNA wouldn't be so hard if not for the fact that so many characters have hoods and helmets that almost completely obscure their hair. I eagerly look forward to some editor to view and edit DNA outside of the game.