erdelf / AlienRaces

Rimworld mod alien race framework
MIT License
103 stars 69 forks source link

Need a RenderSkipFlag fot bodyaddon #108

Open EoralMilk opened 3 months ago

EoralMilk commented 3 months ago

I hope you can add RenderSkipFlag support for BodyAddon, so that the clothing can be more selective to cover the body parts.

erdelf commented 3 months ago

so that the clothing can be more selective to cover the body parts

I am.. very unsure what you mean with that.

EoralMilk commented 3 months ago

Maybe there is something wrong with my presentation, but I hope the body addon can have the skipflag param like the pawn render tree node,

erdelf commented 3 months ago

there are only seven skip flags. Can you give an example of how that would be beneficial compared to the controls you have now?

EoralMilk commented 3 months ago

When I looked up the original xml, I found that RenderSkipFlagDef can be customized define, which should not limit the number of types?

erdelf commented 3 months ago

technically, sure. Bit.. annoying to do but possible. Still waiting on a usecase.

EoralMilk commented 3 months ago

I wanted the helmet to hide the cat's ears, so I added it to hide the cat's ears when wearing a helmet corresponding to the appreal tag. But doing so I found that if the player uses the showhair mod to hide the helmet, the cat ears won't show up. So I wondered if I could use skipflag to avoid this problem, because according to my observation the showhair mod hides the helmet and also lets the character's beard and hair and other parts show. But I haven't actually seen the source code for show hair, and I'm not sure exactly how it works.