Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

I think just appending Hair or Skin should be sufficient. I'm thinking in that case, it'd be best to instead read through the file list once, cache it, and then do more complicated analysis on the name to capture out attributes.  BrownHair BrownSkin = specific attributes, Brown without a qualifier however is treated as hair.  As long as everything is consistent, I'm sure I can make something to match it. Biggest thing is to make sure the body matches the portrait path.

I also noticed there's an issue with Elf vs DarkElf. where Elf will match all DarkElf currently.  Also wondering how best to handle DarkElf vs. Drow.  Visually I'm not aware of any difference between the two? Thinking it makes sense for DarkElf and Drow to accept protraits named for either. Or should that be left up to the portrait pack to name the file with both?

Drow's have blue, paleblue or purple skin while Dark elves have tan, brown or dark. So I'd leave it to the portrait pack to name both.

Sorting DarkElf from Elf.... I'm not sure it's worth it. Their eyes have slightly different color ranges, but surely that's not a big deal. Maybe just work on adding sorting by skin tone, and leave that to sort them. Any DarkElf labeled with brown or dark skin color wouldn't be assigned to a normal Elf, because they never spawn with that skin tone.