Ludeon Forums

RimWorld => Mods => Help => Topic started by: pwndemic on August 21, 2017, 01:11:31 PM

Title: How to add a new apparel layer?
Post by: pwndemic on August 21, 2017, 01:11:31 PM
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.
Title: Re: How to add a new apparel layer?
Post by: Shinzy on August 21, 2017, 01:13:34 PM
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
Title: Re: How to add a new apparel layer?
Post by: pwndemic on August 21, 2017, 01:22:58 PM
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 :\