-
-
Notifications
You must be signed in to change notification settings - Fork 67
Ethnicity Guidelines
On this page, we will explain everything you need to know to edit ethnicities.
The ethnicity files are located in mod\Warcraft-Guardians-of-Azeroth-2\common\ethnicities
and sorted in files by race.
The first thing to mention, these files update on the change, so you don't have to reload the game to see them affect the Ruler Designer.
- Height Conversion, a spreadsheet that converts a lore height into a relative height that can be used in CK3 genes.
When you open such a file in any text editor like Notepad++, the first lines you will see are scripted values. They always start with @
.
Images
Usually, these values are color coordinates the races share across the files like the shades of the blue eye color.
There may be a few ethnicities in the file, but all ethnicities share the same template:
<Ethnicity_Name> = {
template = "ethnicity_template"
<Color_Name> = {
<Color Chance> = { <X Min (0-1)> <Y Min (0-1)> <X Max (0-1)> <Y Max (0-1)> }
}
<Gene_Name> = {
<Gene Chance> = { name = <Gene_Variation> range = { <Min Number (0-1)> <Max Number (0-1)>
}
<More Genes and Colors Here>
}
ethnicity_template
is a basic template that looks like a human, but you can put any ethnicity you want. It's useful when you create a race variation of some original race.
If you wonder how to find out Gene_Name
and Gene_Variation
, open mod\Warcraft-Guardians-of-Azeroth-2\common\ethnicities\00_ethnicities_templates.txt
. That's the file of the basic human template we talked about. It has one nice feature, it has ALL genes listed. So it's possible to find out the real gene name. Usually, it has the same keywords the gene has in the Ruler Designer so it should be easy.
Need to mention that many genes have 2 gene variations: one for positive and one for negative.
Images
In this case, if you want the gene to be in 0-50% of the Ruler Designer's slider, pick the negative. If you want the gene to be in 50-100% of the Ruler Designer's slider, pick the positive.
Such genes may have a weird range
, so you must know what you deal with. There are 2 behaviors:
- Both positive and negative variations vary from
-1
to1
.-1
means 0% of the Ruler Designer's slider.1
means 100% of the Ruler Designer's slider. In00_ethnicities_templates.txt
these genes have@neg3_min
,@pos1_min
,@pos1_max
, in theirrange
s.
Images
- Both positive and negative variations vary from
0
to1
.1
of the negative means 0% the Ruler Designer's slider.1
of the positive means 100% the Ruler Designer's slider.0
of both variations means 50% of the Ruler Designer's slider. In00_ethnicities_templates.txt
these genes have@blend3min
,@blend1max
,@blend2min
, in theirrange
s.
Images
After you set the gene, its variation, and name, randomize a few characters in the Ruler Designer to see if the gene varies the way you want.
There are 3 color genes: skin_color
, eye_color
, hair_color
.
Every color is actually a set of coordinates of the pallet you see in the Ruler Designer. 0 X and 0 Y will pick the color of the top-left corner. 1 X and 1 Y will pick the color of the bottom-right corner.