hippogamesunity / HeroEditor4DHub

10 stars 0 forks source link

Keep hair & ears when applying helmets #9

Closed Moe-Baker closed 4 years ago

Moe-Baker commented 4 years ago

Hi, We have created some custom sprites to use with your asset for our game, new armor, weapons, hair ... etc, these sprites are meant to be used to create our characters, characters who can have wear custom helmets, hair, and ears at the same time. Currently, any character that has a helmet on will have their ears and hair set to a default sprite, this behavior is counter-productive to what we are trying to achieve, it would be great if you added a feature to fit our workflow, it seems like a reasonable feature that other people would take advantage of.

hippogamesunity commented 4 years ago

Use these tags in your sprite names, like CustomHelmet [ShowEars].png image

hippogamesunity commented 4 years ago

Also you can change this logic, it's public script.

Moe-Baker commented 4 years ago

Thank you for the swift replay, commenting out the suggested lines fixed the ears issue and changing this line: HairRenderer.sprite = Helmet == null || Hair == null ? Hair : HairCut To HairRenderer.sprite = Hair Removes the restrictions on the hair as well