OpenXcom Forum

Modding => Released Mods => Topic started by: Solarius Scorch on June 24, 2020, 10:53:21 pm

Title: [ARMOUR] Layered armour - easy example (requires OXCE)
Post by: Solarius Scorch on June 24, 2020, 10:53:21 pm
Recently I made a small mod to test something in OXCE and Meridian had the nice idea to share it with the community as a proof of concept.

This mod does two things:
1) Changes the vanilla Personal Armour from static to layered. This means that you don't have to make a paperdoll for every face/armour combination in the mod, you just make a naked soldier body and appropriate armour parts that covers it by code;
2) Replaces soldier's rank image in battlescape with their portrait (also using Personal Armour).

The first function isn't useful on itself, since Personal Armour is a vanilla armour and there are no extra faces, so everything is already provided by vanilla. I'm just putting it here as a proof of concept to show how layered armours work.
Title: Re: [ARMOUR] Layered armour - easy example (requires OXCE)
Post by: gaffer on June 25, 2020, 08:54:49 am
Thanks for sharing Sol.
Been debating migrating my growing faces and paperdoll sets to layered style and had looked at other mods for examples.   This simplifies things!
Title: Re: [ARMOUR] Layered armour - easy example (requires OXCE)
Post by: Finnik on June 25, 2020, 01:11:57 pm
Thanks! I was going to dive in that soon but had no idea where to start, now should be much easier!
Title: Re: [ARMOUR] Layered armour - easy example (requires OXCE)
Post by: The Reaver of Darkness on July 03, 2020, 01:32:13 pm
It's a bit too late for my mod, but I might get around to incorporating it anyway, to save some space. Great work!
Title: Re: [ARMOUR] Layered armour - easy example (requires OXCE)
Post by: Solarius Scorch on July 03, 2020, 03:11:28 pm
Yeah, it was too late for me as well, since most of my armours had hard-baked avatars already. But as long as you're going to add new armours, I still really recommend switching, since it makes adding new outfits a breeze.