aliens

Author Topic: [ARMOUR] Layered armour - easy example (requires OXCE)  (Read 3394 times)

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 11408
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
[ARMOUR] Layered armour - easy example (requires OXCE)
« 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.
« Last Edit: June 24, 2020, 10:59:50 pm by Solarius Scorch »

Offline gaffer

  • Captain
  • ***
  • Posts: 60
    • View Profile
Re: [ARMOUR] Layered armour - easy example (requires OXCE)
« Reply #1 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!

Offline Finnik

  • Colonel
  • ****
  • Posts: 490
  • Finnik#0257
    • View Profile
Re: [ARMOUR] Layered armour - easy example (requires OXCE)
« Reply #2 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!

Offline The Reaver of Darkness

  • Commander
  • *****
  • Posts: 1510
    • View Profile
Re: [ARMOUR] Layered armour - easy example (requires OXCE)
« Reply #3 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!

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 11408
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: [ARMOUR] Layered armour - easy example (requires OXCE)
« Reply #4 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.