Thank you for your help, but now I see my post was not clear enough.
What I want is to use the content that already exists in the CEP 2.60. There are several open face helmets already defined in the visualeffect.2da.
I've been thinking on how to use this content, and I've come to a possible solution:
- Create a real helmet
- Attach a script for the OnEquip event.
- If the player equip the helmet: unequip the helmet, copy the helmet properties to the player skin, add the helm visual effect. Set a local flag "I have the helmet on my head"
- If the player equip the helmet again: unequip and remove all the effects, skin properties and flag
- If the player drop/sell the helmet: remove all the effects, skin properties and flag
- Change polymorph script to take into account this new kind of helmets
But I'm not sure this content is intended to work that way.
Regards