Skip to content

Commit

Permalink
Male Tauren Blind Eyes
Browse files Browse the repository at this point in the history
- Added blind eyes for Male Tauren as well as a modifier to activate them when the character has the Blind trait.
  • Loading branch information
ercarp committed Sep 8, 2022
1 parent 4887c47 commit 8a2b5e0
Show file tree
Hide file tree
Showing 6 changed files with 65 additions and 14 deletions.
2 changes: 2 additions & 0 deletions common/genes/wc_static_eyes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@
1 = maletaureneyes4
1 = maletaureneyes5
1 = maletaureneyes6
1 = maletaureneyes_blind
}
female = {
1 = femaletaureneyes0
Expand All @@ -109,6 +110,7 @@
1 = femaletaureneyes4
1 = femaletaureneyes5
1 = femaletaureneyes6
1 = femaletaureneyes_blind
}
boy = {
1 = empty
Expand Down
12 changes: 12 additions & 0 deletions gfx/models/portraits/static_races/tauren/femaletaureneyes.asset
Original file line number Diff line number Diff line change
Expand Up @@ -99,4 +99,16 @@ entity = {
index = 0
texture_diffuse = "taureneyes6.dds"
}
}

###femaletaureneyes_blind
entity = {
name = "femaletaureneyes_blind_entity"
pdxmesh = "femaletaureneyes_mesh"
meshsettings = {
name = "femaletaureneyesShape"
index = 0
texture_diffuse = "taureneyes_blind.dds"
}
}
12 changes: 12 additions & 0 deletions gfx/models/portraits/static_races/tauren/maletaureneyes.asset
Original file line number Diff line number Diff line change
Expand Up @@ -99,4 +99,16 @@ entity = {
index = 0
texture_diffuse = "taureneyes6.dds"
}
}

###maletaureneyes_blind
entity = {
name = "maletaureneyes_blind_entity"
pdxmesh = "maletaureneyes_mesh"
meshsettings = {
name = "maletaureneyesShape"
index = 0
texture_diffuse = "taureneyes_blind.dds"
}
}
Binary file not shown.
6 changes: 6 additions & 0 deletions gfx/portraits/accessories/wc_static_races.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1248,6 +1248,9 @@ femaletaureneyes5 = {
femaletaureneyes6 = {
entity = { required_tags = "" node = "head_root" entity = "femaletaureneyes6_entity" }
}
femaletaureneyes_blind = {
entity = { required_tags = "" node = "head_root" entity = "femaletaureneyes_blind_entity" }
}

## Male Tauren
maletauren0 = {
Expand Down Expand Up @@ -1338,6 +1341,9 @@ maletaureneyes5 = {
maletaureneyes6 = {
entity = { required_tags = "" node = "head_root" entity = "maletaureneyes6_entity" }
}
maletaureneyes_blind = {
entity = { required_tags = "" node = "head_root" entity = "maletaureneyes_blind_entity" }
}

# Taunka
## Male Taunka
Expand Down
47 changes: 33 additions & 14 deletions gfx/portraits/portrait_modifiers/wc_race_portrait_modifiers.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2105,7 +2105,7 @@
mode = add
gene = static_eyes
template = static_taureneyes
range = { 0 1 } # For the randomness to work correctly
range = { 0 0.847 } # For the randomness to work correctly
}
accessory = {
mode = add
Expand Down Expand Up @@ -2159,7 +2159,7 @@
mode = add
gene = static_eyes
template = static_taureneyes
range = { 0 1 } # For the randomness to work correctly
range = { 0 0.847 } # For the randomness to work correctly
}
accessory = {
mode = add
Expand Down Expand Up @@ -2213,7 +2213,7 @@
mode = add
gene = static_eyes
template = static_taureneyes
range = { 0 1 } # For the randomness to work correctly
range = { 0 0.847 } # For the randomness to work correctly
}
accessory = {
mode = add
Expand Down Expand Up @@ -2267,7 +2267,7 @@
mode = add
gene = static_eyes
template = static_taureneyes
range = { 0 1 } # For the randomness to work correctly
range = { 0 0.847 } # For the randomness to work correctly
}
accessory = {
mode = add
Expand Down Expand Up @@ -2321,7 +2321,7 @@
mode = add
gene = static_eyes
template = static_taureneyes
range = { 0 1 } # For the randomness to work correctly
range = { 0 0.847 } # For the randomness to work correctly
}
accessory = {
mode = add
Expand Down Expand Up @@ -2375,7 +2375,7 @@
mode = add
gene = static_eyes
template = static_taureneyes
range = { 0 1 } # For the randomness to work correctly
range = { 0 0.847 } # For the randomness to work correctly
}
accessory = {
mode = add
Expand Down Expand Up @@ -2429,7 +2429,7 @@
mode = add
gene = static_eyes
template = static_taureneyes
range = { 0 1 } # For the randomness to work correctly
range = { 0 0.847 } # For the randomness to work correctly
}
accessory = {
mode = add
Expand Down Expand Up @@ -2484,7 +2484,7 @@
mode = add
gene = static_eyes
template = static_taureneyes
range = { 0 1 } # For the randomness to work correctly
range = { 0 0.847 } # For the randomness to work correctly
}
accessory = {
mode = add
Expand Down Expand Up @@ -2538,7 +2538,7 @@
mode = add
gene = static_eyes
template = static_taureneyes
range = { 0 1 } # For the randomness to work correctly
range = { 0 0.847 } # For the randomness to work correctly
}
accessory = {
mode = add
Expand Down Expand Up @@ -2592,7 +2592,7 @@
mode = add
gene = static_eyes
template = static_taureneyes
range = { 0 1 } # For the randomness to work correctly
range = { 0 0.847 } # For the randomness to work correctly
}
accessory = {
mode = add
Expand Down Expand Up @@ -2940,7 +2940,7 @@
mode = add
gene = static_eyes
template = static_taureneyes
range = { 0 1 } # For the randomness to work correctly
range = { 0 0.847 } # For the randomness to work correctly
}
accessory = {
mode = add
Expand Down Expand Up @@ -2989,7 +2989,7 @@
mode = add
gene = static_eyes
template = static_taureneyes
range = { 0 1 } # For the randomness to work correctly
range = { 0 0.847 } # For the randomness to work correctly
}
accessory = {
mode = add
Expand Down Expand Up @@ -3038,7 +3038,7 @@
mode = add
gene = static_eyes
template = static_taureneyes
range = { 0 1 } # For the randomness to work correctly
range = { 0 0.847 } # For the randomness to work correctly
}
accessory = {
mode = add
Expand Down Expand Up @@ -3087,7 +3087,7 @@
mode = add
gene = static_eyes
template = static_taureneyes
range = { 0 1 } # For the randomness to work correctly
range = { 0 0.847 } # For the randomness to work correctly
}
accessory = {
mode = add
Expand Down Expand Up @@ -5321,6 +5321,25 @@ static_extra = {
}
}

static_tauren_blind = {
dna_modifiers = {
accessory = {
mode = add
gene = static_eyes
template = static_taureneyes
range = 1 # For the randomness to work correctly
}
}
weight = {
base = 0
modifier = {
add = 5
has_trait = blind
is_race_no_gene_trigger = { RACE = creature_tauren }
}
}
}

static_tuskarr_hairstyles_blonde = {
dna_modifiers = {
accessory = {
Expand Down

0 comments on commit 8a2b5e0

Please sign in to comment.