淵源修改

本頁面適用於最新的版本(2.0)。


Ethnicities

Ethnicities can be found in the /game/common/ethnicities/ folder. They define the way in which characters within said ethnicity are generated, using proportions to randomly generate different values within a gene. Not all the gene proportions need to be specified as the game will use a standard (2-5-86-5-2) distribution if said proportions are left undefined. Said ethnicities are then referenced in the culture groups.

An example of an ethnicity found in-game:

celtic = {
	template = "ethnities_template"

	skin_color = {
		10 = { 0.45 0.35 0.65 0.5 }
	}
	eye_color = {
		#Blue
		30 = { 0.0 0.35 0.33 0.65 }
		#Green
		10 = { 0.33 0.35 0.67 0.65 }
		#Brown
		60 = { 0.67 0.5 1.0 1.0 }				
	}
	hair_color = {
		# Blonde
		15 = { 0.25 0.2 0.75 0.3 }
		# Dark Blonde
		25 = { 0.25 0.3 0.45 0.5 }
		# Brown
		25 = { 0.45 0.5 0.7 0.8 }		
		# Dark Brown
		15 = { 0.15 0.8 0.45 0.9 }
		# Auburn
		#5 = { 0.8 0.5 1.0 0.8 }
		# Red
		5 = { 0.95 0.0 1.0 0.4 }
		# Black
		15 = { 0.0 0.9 0.15 1.0 }
		## # Gray
		# 5 = { 0.0 0.3 0.15 0.5 }
		## # White
		# 5 = { 0.0 0.0 0.25 0.25 }										
	}

	
### Morph gene overrides
gene_nose_tip_angle = {
    2 = { name = nose_tip_angle_low    range = { 0.1 0.3 }    }
    5 = { name = nose_tip_angle_midLow    range = { 0.3 0.4 }    }
    86 = { name = nose_tip_angle_normal    range = { 0.4 0.6 }    }
    15 = { name = nose_tip_angle_midHigh    range = { 0.6 0.7 }    }
    5 = { name = nose_tip_angle_high    range = { 0.7 0.9 }    }
}
	
gene_bs_nose_concavity = {
    8 = { name = bs_nose_concavity_none    range = { 0.0 1.0 }    }
    2 = { name = bs_nose_concave_low    range = { 0.0 0.5 }    }
    1 = { name = bs_nose_concave_high    range = { 0.5 1.0 }    }  
    2 = { name = bs_nose_convex_low    range = { 0.0 0.5 }    }
    1 = { name = bs_nose_convex_high    range = { 0.5 1.0 }    }           
}

gene_bs_nose_hawk = {
    16 = { name = bs_nose_hawk_none    range = { 0.0 1.0 }    }
    2 = { name = bs_nose_hawk_low    range = { 0.0 0.5 }    }
    1 = { name = bs_nose_hawk_high    range = { 0.5 1.0 }    }         
}

###########################	
	
hairstyles = {
    10 = { name = celtic_hairstyles          range = { 0.0 1.0 } }
}

eyebrows = {
    10 = { name = caucasian_eyebrows        range = { 0.0 1.0 } }
}

beards = {
    10 = { name = germanic_beards          range = { 0.0 1.0 } }
}

clothes = {
    10 = { name = celtic_clothes            range = { 0.0 1.0 } }
    #2 = { name = no_clothes            range = { 0.0 1.0 } }
}

clothes_layer2 = {
    10 = { name = celtic_top_layer            range = { 0.0 1.0 } }
}

complexion = {
    10 = { name = roman_1            range = { 0.0 1.0 } }
    10 = { name = roman_2            range = { 0.0 1.0 } }
    10 = { name = roman_3            range = { 0.0 1.0 } }
    10 = { name = roman_4            range = { 0.0 1.0 } }
    10 = { name = roman_5            range = { 0.0 1.0 } }
}

}