OpenXcom Forum

Modding => Released Mods => Topic started by: bloodman123726 on March 20, 2015, 10:06:19 pm

Title: [ARMOR] Alloy Armor
Post by: bloodman123726 on March 20, 2015, 10:06:19 pm
Hey openxcom fans!  ;) This is my FIRST EVER MOD i've made and guess what? it works  8)

RESEARCH COMPLETE: Alloy Armor


Down to the point, Alloy Armor is a new research tree and armor mod. This mod is designed to work perfectly with: https://www.openxcom.com/mod/combat-armor as it's meant to be an upgraded version apon that and all credits go to him as this is how i made this mod especially the sprites provided. The research tree is changed like this, Alien Alloys -> Alloy Armor -> Personal Armor. This as it is shown, only affects the armor tree. The armor itself is a cheaper variation requiring 2 Alien Alloys and 20,000 dollars to produce and sold for 40,000. Making 20,000 profit when sold. The stats are what i'd call between Combat Armor and Personal Armor with 90% stun and 90% incendiary damage.

I hope you enjoy this as it took me a while to figure this out. I'm surprised i actually did it first go. Works with the recent nightly build.

If the picture below doesn't work then an attachment has been made so you can view it instead.

(https://file:https:///C:/Users/Lewissmallwoods/Documents/OpenXcom/screen008.png)
Title: Re: [ARMOR] Alloy Armor
Post by: Solarius Scorch on March 20, 2015, 11:24:32 pm
Congrats on your first mod! If you want, you can use my recolour of Warboy's armour (to make it look more alloyish):
Title: Re: [ARMOR] Alloy Armor
Post by: mrxian on March 21, 2015, 12:01:22 am
I like the concept, but isn't this basically what personal armor is supposed to be? (Both lorewise and gameplaywise)

Still, awesome that you made a mod.
Title: Re: [ARMOR] Alloy Armor
Post by: bloodman123726 on March 21, 2015, 12:36:04 am
Congrats on your first mod! If you want, you can use my recolour of Warboy's armour (to make it look more alloyish):

sweet going to try and implent it now
Title: Re: [ARMOR] Alloy Armor
Post by: bloodman123726 on March 21, 2015, 12:39:08 am
I like the concept, but isn't this basically what personal armor is supposed to be? (Both lorewise and gameplaywise)

Still, awesome that you made a mod.

it's sort of like Xenonauts did, you made a crude replication of the aliens material to make a vest that could just do the job as well add variety but the main reason i would say is that it's a balance between the armor as i'd say the alloy armor is cheaper to make than personal armor allowing you to make a tight budget and focus on other pressing matters
Title: Re: [ARMOR] Alloy Armor
Post by: bloodman123726 on March 21, 2015, 01:02:40 am
Congrats on your first mod! If you want, you can use my recolour of Warboy's armour (to make it look more alloyish):

I tried and i just ended up screwing up the mod.  :P
Title: Re: [ARMOR] Alloy Armor
Post by: Solarius Scorch on March 21, 2015, 10:39:08 am
I tried and i just ended up screwing up the mod.  :P

That's normal. :P Ask away if you have any trouble, we'll help (probably).
Title: Re: [ARMOR] Alloy Armor
Post by: bloodman123726 on March 21, 2015, 02:44:55 pm
That's normal. :P Ask away if you have any trouble, we'll help (probably).

yeah it just takes fiddling, that's how modders are born  :D i'll give you a shout-out if i can't get it handled today, if it does work it'll be an optional release
Title: Re: [ARMOR] Alloy Armor
Post by: bloodman123726 on March 21, 2015, 03:08:28 pm
That's normal. :P Ask away if you have any trouble, we'll help (probably).

i can get everything to work apart from the sprites as it crashes when i start a new battle after the inventory set-up screen, i dunno how to make it work
Title: Re: [ARMOR] Alloy Armor
Post by: bloodman123726 on March 21, 2015, 03:29:58 pm
That's normal. :P Ask away if you have any trouble, we'll help (probably).

i'm now getting a sudden issue of vector::_M_range_check when i use the armor in combat, if an alien goes to shoot them the error pops up and i dunno why this just started happening. Help?
Title: Re: [ARMOR] Alloy Armor
Post by: Solarius Scorch on March 21, 2015, 04:31:15 pm
i'm now getting a sudden issue of vector::_M_range_check when i use the armor in combat, if an alien goes to shoot them the error pops up and i dunno why this just started happening. Help?

You probably haven't linked the floorob for the body with the armour.

Here's how it looks like in my mod:

Code: [Select]
armors:
  - type: STR_ALLOY_VEST_UC
    spriteSheet: XCOM_11.PCK
    spriteInv: MAN_11
    corpseBattle:
      - STR_ALLOY_VEST_CORPSE
    storeItem: STR_ALLOY_VEST
    frontArmor: 44
    sideArmor: 20
    rearArmor: 26
    underArmor: 15
    damageModifier:
      - 1.0
      - 0.8
      - 1.0
      - 1.0
      - 0.8
      - 1.0
      - 0.9
      - 1.0
      - 1.0
      - 1.0
    loftempsSet: [ 3 ]

Note the STR_ALLOY_VEST_CORPSE part, which tells the game what groundob to use if the soldier dies/is unconscious.

Of course, STR_ALLOY_VEST_CORPSE must be defined in the items section.