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

Static Race Models #948

Merged
merged 92 commits into from
Mar 17, 2023
Merged

Static Race Models #948

merged 92 commits into from
Mar 17, 2023

Conversation

ercarp
Copy link
Contributor

@ercarp ercarp commented Aug 20, 2022

Changelog:

  • Added 6 Hozen skin color variants.
    • Added 1 Hozen armor type to be used by Hozen who are count tier or higher.
      • Added 4 color variations of this armor type.
    • Added 1 Hozen armor type to be used randomly by some (~50%) Hozen below count tier.
      • Added 4 color variations of this armor type.
  • Added 7 Jinyu skin color variants.
    • Added 4 Jinyu armor color variants.
  • Added 11 Mogu skin color variants (6 Male, 5 Female).
    • Added 9 Mogu armor color variants (4 Male, 5 Female).
    • Added 5 Mogu hair color variants (Male only).
  • Added 9 Centaur skin color variants (6 Male, 3 Female).
  • Added 5 Harpy skin color variants (Female only).
  • Added 4 Dryad skin color variants (2 Male, 2 Female).
    • Added 2 Dryad armor color variants (Male only).
    • Note: Male Dryads here refer to Keepers of the Grove.
  • Added 5 Sethrak skin color variants.
    • Added 4 Sethrak armor color variants.
  • Added 4 Magnataur skin color variants.
  • Added 4 Wolvar skin color variants.
  • Added 8 Gorloc skin color variants.
  • Added 8 Gnoll skin color variants (4 Male, 4 Female).
    • Added 1 Gnoll undead skin color variation for both genders.
  • Added 8 Giant skin color variants.
    • Added 4 Northrend Stone Giant skin color variants.
      • Assigned a custom skin color to Archavon (ID: archavon).
    • Added 1 Northrend Frost Giant skin color variant.
      • Added 1 Northrend Frost Giant armor color variant.
      • Assigned custom skin colors to Toravon (ID: toravon) and Jokkum (ID: 290000).
      • Added cultural requirements to the modifiers in wc_race_portrait_modifiers.txt so Hodirson culture Giants use the Frost Giant models and Gymerir use the Stone Giant models.
    • Added 1 Northrend Fire Giant skin color variant.
      • Added 1 Northrend Fire Giant armor color variant.
      • Assigned custom skin color to Koralon (ID: koralon).
    • Added 1 Northrend Iron Giant skin color variant.
      • Assigned custom skin color to Emalon (ID: emalon).
    • Added 1 Northrend Storm Giant skin color variant.
      • Added 1 Northrend Storm Giant armor color variant.
      • Assigned custom skin color to Gymer (ID: 440001).
  • Added 10 Titan Watcher skin color variants (4 Male, 6 Female).
    • Assigned custom skin color to Loken (ID: 400501).
    • Added custom model for Freya (ID: 400504).
    • Added custom model for Thorim (ID: 400502).
    • Added custom model for Hodir (ID: 400503).
  • Added 5 Frost Nymph skin color variants (1 Male, 4 Female).
    • Added 4 Frost Nymph armor/hair color variants (1 Male, 3 Female).
  • Added 27 Pandaren skin color variants (14 Male, 13 Female).
    • Added 4 Male Pandaren eyebrow types with 5 color variations.
    • Added 9 Pandaren eye colors for both genders.
      • Added blind eyes that are used by Pandaren with the Blind trait.
    • Added 42 Pandaren hairstyles for each of the 4 skin colors (22 Male, 20 Female).
      • Added 13 Female Pandaren color variations for each of the 4 skin colors, for every single haircut (1040 possible hairstyle/color variations).
    • Added 19 Pandaren beards for each of the 4 skin colors (Male only).
    • Added 6 Pandaren mustaches for each of the 4 skin colors (Male only).
    • Added a belt model for both genders.
    • Added 5 Pandaren Child skin color variants (3 Male, 2 Female).
      • Added 4 Pandaren Child hair color variants (2 Male, 2 Female).
  • Added 4 Mechagnome skin color variations.
    • Added 4 Mechagnome hairstyles.
    • Added 3 Mechagnome hair color variations.
    • Assigned a custom skin and hair color to Mimiron (ID: 400505).
  • Added 14 Vulpera skin color variations (7 Male, 7 Female).
    • Added 12 Vulpera eye color variations (both genders).
    • Added 14 Vulpera ear types (6 Male, 8 Female).
    • Added 2 Vulpera Child models.
      • Added 6 Vulpera Child skin color variations (both genders).
  • Added 10 Naga skin color variations (5 Male, 5 Female).
    • Added a Baby Naga model with 4 skin color variations (used by both genders).
  • Added 2 Saurok body types (1 Male, 1 Female).
    • Added 5 Saurok skin color variations (used by both genders).
    • Added 1 Saurok armor type (used by both genders).
      • Added 4 Saurok armor color variations (used by both genders).
  • Added 7 Tuskarr skin color variations.
    • Added 7 Tuskarr hair styles with 7 color variations.
    • Added 7 Tuskarr tusk types.
    • Tuskarr aged 50 or above use gray hair colors. Edit: Reverted this change in 682a309 as it was also causing them to change their hairstyle entirely instead of just the color.
    • Disabled facial hair for Female Tuskarr.
  • Added 36 Tauren skin color variations (22 Male, 14 Female).
    • Added 37 Tauren horn styles, each with 3 color variations (17 Male, 20 Female).
    • Added 24 Tauren hairstyles, each with 8-9 color variations (10 Male, 14 Female).
    • Added 12 Male Tauren beards, each 9 color variations.
    • Added 7 Tauren eye color variations (used by both genders).
      • Added blind eyes that are used by Tauren with the Blind trait.
    • Added 7 Tauren foremane variations (4 Male, 3 Female).
    • Added custom appearance modifiers for some notable Tauren characters:
  • Added 3 Male Taunka model types, each with 4 color variations.
    • Added 4 Female Taunka color variations.
      • Note: Female Taunka uses the Tauren model with a different set of horns and hairstyles. This is also what Blizzard does in WoW as there is no Female Taunka model we could use.
    • Gave both genders shoulderpads.
  • Added 2 Grummle body types with 3 color variations (used by both genders).
    • Added 2 Grummle clothes sets with 3 color variations (used by both genders).
      • Note: The second set of clothes is attached to grummlebody2 due to how the mesh is structured.
    • Added 7 Male Grummle beard types with 3 color variations.
    • Added a backpack model with 3 color variations to be used randomly by some Grummles of both genders.
    • Disabled facial hair for Female Grummles and Male Grummle Children.
    • Grummle Children use the first body type (grummlebody1) without the attached clothes.
  • Added 6 Male Yaungol skin color variations.
    • Added 3 Male Yaungol hairstyles with 6 color variations.
    • Added 4 Male Yaungol horn types with 6 color variations.
    • Added 1 Male Yaungol armor type with 4 color variations.
    • Made a custom model for Female Yaungol using assets from the Male Yaungol model.
      • Added 3 Female Yaungol skin color variations.
      • Added 4 Female Yaungol eye color variations.
      • Added 1 Female Yaungol hairstyle with 6 color variations.
      • Added 1 Female Yaungol armor with 2 color variations.
      • Added 2 Female Yaungol horn types with 6 color variations.

To-do list:

Static Models

Player Races

  • Pandaren
    • Male Pandaren
      • Eyebrows
    • Female Pandaren
      • Add the remaining skin colors.
      • Add more options for the colored part of their hairstyle.
    • Male Pandaren Child
    • Female Pandaren Child
    • Add the remaining eye color options.
  • Tauren
    • Male Tauren
      • Hairstyles
      • Beards
    • Female Tauren
      • Hairstyles
  • Vulpera
    • Male Vulpera
    • Female Vulpera
    • Male Vulpera Child
    • Female Vulpera Child

NPC Races

  • Gnoll
  • Pygmy (Doesn't have a proper female model in WoW, so it might be better to make this one as an ethnicity.)
  • Centaur
  • Taunka
    • Male Taunka
      • Shoulderpads
    • Female Taunka
      • Shoulderpads
  • Tuskarr
  • Magnataur
  • Giant
    • Northrend Stone Giants
    • Northrend Fire Giants
    • Northrend Iron Giants
    • Northrend Frost Giants
    • Northrend Storm Giants
  • Titan Watcher
    • Loken
    • Thorim
    • Hodir
    • Freya
    • Default
  • Hozen
  • Mechagnomes
    • Mimiron
  • Sethrak
  • Grummle
  • Mogu
  • Yaungol
    • Male Yaungol
    • Female Yaungol
  • Dryad/Keeper of the Grove
  • Frost Nymph
  • Satyr
  • Harpy
  • Wolvar
  • Gorloc
  • Jinyu
  • Naga
  • Saurok

Other Tasks

  • Disable Male Harpies or think of some other solution to this issue (see 3. under ⚠️Known issues).
  • Disable Hunchback visual effect for static models (see 6. under ⚠️Known issues). Fixed in 7c93a3d!
  • Investigate and fix the bug causing floating eyeballs to happen (see 11. under ⚠️Known issues).
  • Fix the bug causing human clothes to clip through Male Frost Nymphs under the age of 18 (see 13. under ⚠️Known issues). Fixed in 298cf0b!
  • Assign Female Mogu armor properly so you don't get strange color combinations (see 1. under ⚠️Known issues). Fixed in 70d739a!
  • Investigate and fix the bug causing some Female Pandaren to not use their static_eyes (see 15. under ⚠️Known issues). Fixed in 6a5f5f8!
  • Investigate and fix the bug causing some Female Pandaren Children to not use their static_hairstyles (see 16. under ⚠️Known issues). Fixed in 6a5f5f8!
  • Find a way to restrict certain hairstyles being used by Tuskarr if their tusks are incompatible (or vice versa) (see 19. under ⚠️Known issues). Fixed in 3d4fe5c!
  • Get some armor for Vulpera and Tauren (see 18. under ⚠️Known issues).
    • If we manage to get heritage armor sets working, remember to update the Female Tauren model to use the version with 3D belt geometry (see 20. under ⚠️Known issues). Fixed in f047bd2!
  • Remove the fourth Female Tauren horn color (it's a repeat of horn color 1). Fixed in 8f0d7c3!
  • Adjust the blue Female Mogu armor's .dds file a bit to make it darker. It looks a bit too "reflective". Fixed in 4d7ec9a!
  • Make Female Yaungol eyes less bright/saturated.
  • Fix Tuskarr hair color shader. (see 23. under ⚠️Known issues).
  • Create folders for hairstyles and beards inside the static_races\pandaren directory and move all of the necessary files in their respective folders. Added in 12c22cd!

⚠️Known issues:

  • 1. Due to the way female Mogu models are structured, you can end up with some very strange-looking color combinations. Fixed in 70d739a!
Click to expand

image
image
image

  • 2. Some armor and skin textures look washed out. Not sure if this is a PDX issue or something that went wrong in the exporting process. Fixed in 8dc0d67!
  • 3. ❗ Critical: Male Harpies currently have no model at all but seeing as they don't exist in the lore at all, maybe we should find a way to disable them?
Click to expand

image

  • 4. Some races may be positioned incorrectly (either too high or too low). This can be changed depending on feedback.
  • 5. Gnoll models seem to be bugged (possibly because of how old they are). Saving their texture files with alpha enabled results in gnolls that are missing teeth and knees and have see-through mouths. A "workaround" was to save with alpha disabled, which results in certain parts of their model being blocky. This is not a big deal as we will replace them with the new DF models as soon as possible.
  • 6. Critical: The visual effect of Hunchback needs to be disabled for Giants, and perhaps for all the other static models as well (since it doesn't actually make them hunchbacked and most of the time it just cuts them off instead). Fixed in 7c93a3d!
Click to expand

image

  • 7. The error.log is displaying a lot of Failed to create material with shader (in gfx/FX/court_scene.shader) for mesh [gorlocShape] in gfx/models/portraits/static_races/giant/stonegiant.mesh errors for all of the races I've added. Probably something wrong in either the .asset file or the mesh names used in Blender.
  • 8. Some Northrend Frost Giants (frostgiant.asset) have a pile of snow (?) in front of their model. This pile is not visible in Blender, so I'm not sure where it's coming from or how to delete it. This was caused by an incompatibility with Fullscreen Barbershop mod.
Click to expand

image

  • 9. Parts of the Northrend Fire Giant (firegiant.asset) model are see-through when viewed from the side. This is not visible from the front. Fixed in d27fd6d!
Click to expand

image

  • 10. Certain races (such as Giants and Satyr) use male models for both genders. This is because a female model of said race simply does not exist in the game files.
Click to expand

image
image

  • 11. ❗ Critical: Some models have human eyeballs floating in front of them. This was caused by an incompatibility with Fullscreen Barbershop mod.
Click to expand

image

  • 12. Some models appear partly transparent in the character window. This seems to be also affecting regular models, so it could be a Paradox bug?
  • 13. ❗ Critical: Human clothes are clipping through some Male Frost Nymphs. This issue only happens with Male Frost Nymphs under the age of 18. Fixed in 298cf0b!
Click to expand

image
image

  • 14. @kaldrskegg noted that some of the models looked a bit "shinier" than they're supposed to, which may be due to the wrong texture color on one of the files. Worth looking into in case this is an issue. Fixed in 8dc0d67!
Click to expand

image
image

  • 15. Critical: Some Female Pandaren have missing eyes. Fixed in 6a5f5f8!
Click to expand

image

  • 16. Some Female Pandaren Children are not using their hairstyles. Fixed in 6a5f5f8! Note: This may be worth adding back as a feature.
Click to expand

image

  • 17. This branch seems to crash occasionally, but this may not necessarily be an issue related to any of the models as the branch it was created on was also known to crash.
  • 18. ❗ Critical: Vulpera and Tauren are supposed to use their heritage armor but WoW Model Viewer is currently bugged and is exporting the armor with multiple meshes stacked on top of each other, resulting in very buggy visuals. For this reason, the Vulpera and Tauren are not using any armor for the time being.
  • 19. Some Tuskarr hairstyles are incompatible with certain tusk types and thus cause clipping to occur. Fixed in 3d4fe5c!
Click to expand

image
image

  • 20. Female Tauren are using the wrong models currently as they lack the 3D geometry for the belt used by the Heritage armor. If we get the heritage armor working, they will need to be replaced with the correct version, but I'm not doing this yet in case we have to decide on an entirely different set of armor. Fixed in f047bd2!
  • 21. It seems to be impossible (as far as I know) to make older characters use gray hair variations of their hairstyles/facial hair without the AI swapping to a completely different set of hair or facial hair. The problem with this is that some races have very young characters with gray hair.
Click to expand

image

  • 22. There are a bunch of weight sum exceeds 255. The system can't guarantee that all entries can be picked. errors in error.log relating to static_hairstyles and static_hairstyles2 genes. I suspect this is because of the extreme amount of Female Pandaren hairstyle genes, so it may be worth thinking of a solution that doesn't require as many separate genes for their hair color variations.
  • 23. The hair color shader for Tuskarr isn't working properly. Some of the Tuskarr are ignoring the portrait modifiers designated in wc_race_portrait_modifiers.txt and have gray hair (even at age 20).

Tests:

  • There are no errors in wc files in Documents\Paradox Interactive\Crusader Kings III\logs\error.log except portrait_decals.cpp:101
  • The mod takes less than 5.5 GB in the Task Manager (Windows)

How to test:

  1. Downgrade your Crusader Kings III to 1.5.0.1 and disable both Fate of Iberia and Royal Court.
  2. Look for the new static models in-game on the map or by using the Character Finder.
  3. Provide feedback on the following aspects of the new models:
    a. The position of the model. Are they too high or too low? Too small or too big?
    b. Look for visual bugs and other errors and report them. (Make sure they aren't already reported under ⚠️Known issues before you do!)
    c. Other general feedback and suggestions are also welcome.

ercarp and others added 4 commits August 20, 2022 16:10
- Added a static race for Hozen with 6 color variations.
Added 1 color variation of Jinyu including 1 color variation of their clothes.
- Applied fixes.
- Renamed files.
- Added 6 more skin color variants and 3 more belt color variants.
@ercarp ercarp added priority medium ❕ Shows priority 3D graphics 📐 Involves tweaking/adding 3D models labels Aug 20, 2022
@ercarp ercarp self-assigned this Aug 20, 2022
@ercarp ercarp linked an issue Aug 20, 2022 that may be closed by this pull request
- Added static models for Male and Female Mogu.
- 1 set of armor for Female Mogu.
- 1 set of clothes for Male Mogu.
- 1 hairstyle for Male Mogu.
- 5 skin color variants for Female Mogu.
- 6 skin color variants for Male Mogu.
- 5 hair color variants for Male Mogu.
- 4 clothes color variants for Male Mogu.
- 5 clothes color variants for Female Mogu.
- Added 6 skin color variations for Male Centaurs.
- Added 3 skin color variations for Female Centaurs.
- Added 5 skin color variants for Harpy.
- Commented out night_elven ethnicity for the Harpy culture as it was causing them to have eyebrows overlayed on top of the static model.
- Added 4 skin color variants for Dryads/Keepers of the Grove (2 Male, 2 Female).
- Added 2 belt color variants for Keepers of the Grove.
- Commented out night_elven ethnicity for the Harpy culture as it was causing them to have eyebrows overlayed on top of the static model.
- Added 5 skin color variants for Sethrak.
- Added 4 armor color variants for Sethrak.
- Fixed a spelling error in the female centaur file.
- Added 4 skin color variants for Magnataurs.
- Added 4 skin color variations for Wolvar.
- Added 8 skin color variations for Gorlocs.
- Added 8 skin color variations for Gnolls (4 Male, 4 Female).
- Added 1 undead skin color variant for both Male and Female Gnolls.
- Added 2 skin color variants for Northrend Stone Giants.
- Added 1 color variation of Northrend Frost Giants.
- Added 1 color variation of Northrend Frost Giant armor.
- Renamed static_giant to static_stonegiant.
- Added culture requirements for the Giant race_portrait_modifiers so the right culture uses the right type of model.
- Added 1 color variation of Northrend Fire Giants.
- Added 1 color variation of Northrend Fire Giant armor.
- Assigned the Northrend Fire Giant model to Koralon the Flame Watcher (ID: koralon).
- Added 1 color variation for Northrend Storm Giant.
- Assigned the Northrend Storm Giant model to Emalon the Storm Watcher (ID: emalon).
- Added 2 more color variants to Northrend Stone Giants.
- Added 1 Northrend Stone Giant color variation.
- Added 1 Northrend Stone Giant armor color variation.
- Assigned a custom model to Gymer (ID: 440001).
- Added 4 skin color variants for Male Titan Watchers.
- Added 6 skin color variants for Female Titan Watchers.
- Assigned the correct color model to Loken (ID: 400501).
- Added a custom static model for Freya (ID: 400504).
- Slight adjustment to Female Titan positioning.
- Added a custom static model for Thorim (ID: 400502).
- Added a custom static model for Thorim (ID: 400503).
- Added 9 skin color variants for Satyr.
- Added 5 Forst Nymph skin color variations (1 Male, 4 Female).
- Added 4 Frost Nymph armor/hair color variations (1 Male, 3 Female).
- Added 8 skin color variations for Pandaren (4 Male, 4 Female).
- Added 3 eye colors for both genders.
- Added a belt model for both genders.
zumbak04 and others added 3 commits September 5, 2022 02:19
Forced to use different hairstyles with tusks if they cause clipping
- Removed dashes from code, replacing them with underscores.
- Meshes (and some .dds files) still retain the dashes as it would be more complicated to fix them.
- Split wc_races.txt into 4 separate files: wc_static_beards.txt, wc_static_hairstyles.txt, wc_static_tusks_and_horns.txt and wc_static_races.txt.
- Moved Tuskarr modifiers to the correct file.
-
@ercarp ercarp changed the base branch from master to 1.5.0-preview-adaptation September 5, 2022 16:07
- Tried to give Tuskarr the portrait_hair shader and apply modifiers for the different hair colors, but it doesn't seem to be working properly.
@Grekopithikos Grekopithikos mentioned this pull request Sep 6, 2022
- Added 4 Male Pandaren eyebrow types with 5 color variations.
- Added blind eyes for Male Tauren as well as a modifier to activate them when the character has the Blind trait.
- Made cyan and blue Female Mogu armor and skin color less bright.
@ercarp ercarp requested a review from zumbak04 October 7, 2022 13:56
zumbak04 and others added 9 commits October 12, 2022 01:57
Added tuskarr as ethnicity.
Cleaned up male pandaren hairs using shaders. Created pandaren ethnicities.
- Assigned values to Male Pandaren ethnicity hair colors.
- Added gray Female Pandaren to the static_pandaren_white model so the white fur ethnicity doesn't spawn invisible Female Pandaren.
- Added portrait_hair shader to Male Pandaren eyebrows.
- Created folders and sub-folders to make it easier to navigate.
- Desaturated the hair on malepandabeard-white.dds.
- Made small adjustments to the hair color used by pandaren_red_ethnicity and pandaren_brown_ethnicity.
Base automatically changed from 1.5.0-preview-adaptation to master March 5, 2023 22:35
Eye color is used as additinal hair color for female pandaren.
Female pandaren hairs take hair color.
Removed extra entities.
@zumbak04 zumbak04 marked this pull request as ready for review March 6, 2023 22:48
@zumbak04 zumbak04 marked this pull request as draft March 6, 2023 22:49
@Gaben1025 Gaben1025 marked this pull request as ready for review March 17, 2023 16:33
@Gaben1025 Gaben1025 self-requested a review March 17, 2023 16:33
@Gaben1025 Gaben1025 merged commit 64e4561 into master Mar 17, 2023
@Gaben1025 Gaben1025 deleted the static-races branch March 17, 2023 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3D graphics 📐 Involves tweaking/adding 3D models priority medium ❕ Shows priority
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Static Race Models
4 participants