Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

High Elf Markings #558

Draft
wants to merge 8 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
143 changes: 143 additions & 0 deletions common/genes/wc_gene_facial_markings.txt
Original file line number Diff line number Diff line change
Expand Up @@ -440,6 +440,149 @@
boy = male
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Localized markings in the Ruler Designer and Barbershop.

Click to expand

image

girl = male
}
facial_highelf_markings_01 = {
index = 15
male = {
decal = {
body_part = head
textures = {
diffuse = "gfx/models/portraits/decals/highelf_markings/decal_highelf_marking_01.dds"
}
blend_modes = { #overlay/replace/hard_light/multiply
diffuse = hard_light
}
alpha_curve = {
{ 0 0 }
{ 1 0.8 }
}
decal_apply_order = post_skin_color
priority = 10
}
}
female = male
boy = male
girl = male
}

facial_highelf_markings_02 = {
index = 16
male = {
decal = {
body_part = head
textures = {
diffuse = "gfx/models/portraits/decals/highelf_markings/decal_highelf_marking_02.dds"
}
blend_modes = { #overlay/replace/hard_light/multiply
diffuse = hard_light
}
alpha_curve = {
{ 0 0 }
{ 1 0.8 }
}
decal_apply_order = post_skin_color
priority = 10
}
}
female = male
boy = male
girl = male
}

facial_highelf_markings_02l = {
index = 17
male = {
decal = {
body_part = head
textures = {
diffuse = "gfx/models/portraits/decals/highelf_markings/decal_highelf_marking_02l.dds"
}
blend_modes = { #overlay/replace/hard_light/multiply
diffuse = hard_light
}
alpha_curve = {
{ 0 0 }
{ 1 0.8 }
}
decal_apply_order = post_skin_color
priority = 10
}
}
female = male
boy = male
girl = male
}

facial_highelf_markings_03 = {
index = 18
male = {
decal = {
body_part = head
textures = {
diffuse = "gfx/models/portraits/decals/highelf_markings/decal_highelf_marking_03.dds"
}
blend_modes = { #overlay/replace/hard_light/multiply
diffuse = hard_light
}
alpha_curve = {
{ 0 0 }
{ 1 0.8 }
}
decal_apply_order = post_skin_color
priority = 10
}
}
female = male
boy = male
girl = male
}

facial_highelf_markings_03r = {
index = 19
male = {
decal = {
body_part = head
textures = {
diffuse = "gfx/models/portraits/decals/highelf_markings/decal_highelf_marking_03r.dds"
}
blend_modes = { #overlay/replace/hard_light/multiply
diffuse = hard_light
}
alpha_curve = {
{ 0 0 }
{ 1 0.8 }
}
decal_apply_order = post_skin_color
priority = 10
}
}
female = male
boy = male
girl = male
}

facial_highelf_markings_04 = {
index = 20
male = {
decal = {
body_part = head
textures = {
diffuse = "gfx/models/portraits/decals/highelf_markings/decal_highelf_marking_04.dds"
}
blend_modes = { #overlay/replace/hard_light/multiply
diffuse = hard_light
}
alpha_curve = {
{ 0 0 }
{ 1 0.8 }
}
decal_apply_order = post_skin_color
priority = 10
}
}
female = male
boy = male
girl = male
}
}
}
# }
5 changes: 5 additions & 0 deletions common/scripted_modifiers/00_portrait_modifiers.txt
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,11 @@ portrait_clean_shaven_clothing_modifier = {
add = 500
scope:culture = { has_graphical_culture = no_beard_gfx }
}
# Shave beard to have this marking
modifier = {
add = 500
has_gene = { category = gene_facial_markings template = facial_highelf_markings_04 }
}
}

portrait_western_beards_clothes_modifier = {
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
140 changes: 140 additions & 0 deletions gfx/portraits/portrait_modifiers/wc_facial_markings.txt
Original file line number Diff line number Diff line change
Expand Up @@ -302,4 +302,144 @@
has_no_portrait_trigger = no
}
}

facial_highelf_markings_01 = {
dna_modifiers = {
morph = {
mode = add
gene = gene_facial_markings
template = facial_highelf_markings_01
range = { 1 1 }
}
}
weight = {
base = 0
modifier = {
add = 50
portrait_high_elven_clothing_trigger = yes
portrait_wear_armor_trigger = yes
}
}

is_valid_custom = {
has_no_portrait_trigger = no
}
}

facial_highelf_markings_02 = {
dna_modifiers = {
morph = {
mode = add
gene = gene_facial_markings
template = facial_highelf_markings_02
range = { 1 1 }
}
}
weight = {
base = 0
modifier = {
add = 50
portrait_high_elven_clothing_trigger = yes
portrait_wear_armor_trigger = yes
}
}

is_valid_custom = {
has_no_portrait_trigger = no
}
}

facial_highelf_markings_02l = {
dna_modifiers = {
morph = {
mode = add
gene = gene_facial_markings
template = facial_highelf_markings_02l
range = { 1 1 }
}
}
weight = {
base = 0
modifier = {
add = 50
portrait_high_elven_clothing_trigger = yes
portrait_wear_armor_trigger = yes
}
}

is_valid_custom = {
has_no_portrait_trigger = no
}
}

facial_highelf_markings_03 = {
dna_modifiers = {
morph = {
mode = add
gene = gene_facial_markings
template = facial_highelf_markings_03
range = { 1 1 }
}
}
weight = {
base = 0
modifier = {
add = 50
portrait_high_elven_clothing_trigger = yes
portrait_wear_armor_trigger = yes
}
}

is_valid_custom = {
has_no_portrait_trigger = no
}
}

facial_highelf_markings_03r = {
dna_modifiers = {
morph = {
mode = add
gene = gene_facial_markings
template = facial_highelf_markings_03r
range = { 1 1 }
}
}
weight = {
base = 0
modifier = {
add = 50
portrait_high_elven_clothing_trigger = yes
portrait_wear_armor_trigger = yes
}
}

is_valid_custom = {
has_no_portrait_trigger = no
}
}

# Male Only
facial_highelf_markings_04 = {
dna_modifiers = {
morph = {
mode = add
gene = gene_facial_markings
template = facial_highelf_markings_04
range = { 1 1 }
}
}
weight = {
base = 0
modifier = {
add = 50
is_female = no
portrait_high_elven_clothing_trigger = yes
portrait_wear_armor_trigger = yes
}
}

is_valid_custom = {
has_no_portrait_trigger = no
}
}
}