Skip to content

How To Assign DNAs (Portraits) To Characters

zumbak04 edited this page May 20, 2021 · 15 revisions

On this page, we will explain how to copy DNAs from the Ruler Designer and move them into the game files so the historical characters have pre-scripted look:

  1. Open the Ruler Designer and create the look of a historical character.
  2. Once done, hit Copy DNA.
Images

  1. Open any text editor like Notepad++.
  2. Paste your DNA there. You will see something like this:
Images

  1. Copy the genes enclosed block. If you use Notepad++, it will highlight where this block opens and closes once you click near a brace like on the screenshot above. YOU MUST COPY THE ENTIRE BLOCK, FROM THE genes TO THE CLOSING BRACE.
  2. Open suitable file (each race has its own file there) in Crusader Kings III\mod\Warcraft-Guardians-of-Azeroth-2\common\dna_data with any text editor.
  3. Create a new enclosed block there and copy the genes block inside the portrait_info block. Here is its basic template:
<Character_name_here>_dna = {
	portrait_info = {
		<Copy genes block here>
	}
	enabled=yes
}
Images

  1. Scroll down to the end of the genes block, you will find the clothes line there. Delete it. Otherwise, your character may end up wearing bedchamber clothes.
Images

  1. <Character_name_here>_dna is the name of your DNA data, we will use it soon. Open mod\Warcraft-Guardians-of-Azeroth-2\history\characters. That's where all the characters are listed. Search for your character name in these files either using Windows search or Total Commander.
  2. Find the block of your character and put dna = <Character_name_here>_dna inside.
  3. Done! Open the game to see if the character looks right.
Clone this wiki locally