How to add a new apparel layer?

Started by pwndemic, August 21, 2017, 01:11:31 PM

Previous topic - Next topic

pwndemic

Hello!
I'm working on a mod right now that wouldn't be complete without shields. I know there are a few mods out there with shields already, but I just can't let it go.
The most logical way seems to be adding a new apparel layer and putting the shield on it, which is what others did as well.
Can anyone please tell me how to add a new layer?
I guess this might take some C# coding, at which I'm a sorta advanced beginner, so I'll do my best.

Shinzy

it would require C#
and your best bet is to grab the said mods that do what you want already and do something similar
using their code as a reference

pwndemic

#2
Yep I tried looking at the code for the shield mods, but it didn't mention anything about layers, neither did the xml files aside from referencing the added "Accessories" layer. I just can't see it in the code :\