Page 1 of 1

Adding Plating to Sparks?

Posted: Mon Jan 23, 2017 1:08 am
by wadeanthony
Is it possible to add plating to Sparks in the ini? I see where I can add armor ( [SparkSoldier X2SparkCharacterTemplate_DLC_3] in xcomgamedata_characterstats.ini at least i think) but that may be too powerful early on.

Re: Adding Plating to Sparks?

Posted: Mon Jan 23, 2017 3:19 am
by Arcalane
Try Metal over Flesh. It allows you to upgrade SPARKs with improved armour/mobility/etc. via the Proving Grounds as you complete autopsies and other research topics.

Re: Adding Plating to Sparks?

Posted: Tue Jan 24, 2017 4:00 pm
by Sentenryu
the stat you're looking for is eStat_ShieldHP, you can try to add it the same way you add armor:


CharacterBaseStats[eStat_ShieldHP]=X


Where X is however much you want to add. From the change log, the next release will add that too, so you can modify the added value if you want.

Re: Adding Plating to Sparks?

Posted: Tue Jan 24, 2017 7:33 pm
by wadeanthony
Thank you that's why I wanted to add it.

Re: Adding Plating to Sparks?

Posted: Wed Jan 25, 2017 12:52 am
by foreverdead
I wonder could we add this to armour? If so where would we find it?

Re: Adding Plating to Sparks?

Posted: Wed Jan 25, 2017 2:23 pm
by JLtheking
foreverdead wrote:I wonder could we add this to armour? If so where would we find it?
Go to LW2's mod config folder, open XComGameData_CharacterStats.ini

Search for SPARK and there you'll find the relevant entries.

Re: Adding Plating to Sparks?

Posted: Wed Jan 25, 2017 2:57 pm
by johnnylump
Sentenryu wrote:the stat you're looking for is eStat_ShieldHP, you can try to add it the same way you add armor:


CharacterBaseStats[eStat_ShieldHP]=X


Where X is however much you want to add. From the change log, the next release will add that too, so you can modify the added value if you want.
Unfortunately, this doesn't regenerate between missions.

The fix in 1.1 adds the points in an ability attached to their armor, iirc.

Re: Adding Plating to Sparks?

Posted: Wed Jan 25, 2017 3:07 pm
by JLtheking
johnnylump wrote: Unfortunately, this doesn't regenerate between missions.

The fix in 1.1 adds the points in an ability attached to their armor, iirc.
Oh no! Guess I didn't know about that interaction :(

And IIRC there is no way to edit armor values without the SDK, as they aren't exposed in the configs to my knowledge.

Re: Adding Plating to Sparks?

Posted: Wed Jan 25, 2017 3:16 pm
by johnnylump
It depends on the armor; I'd have to look up how they did it on Sparks. We moved a bunch of stuff to the inis but didn't get everything.

Re: Adding Plating to Sparks?

Posted: Wed Jan 25, 2017 3:22 pm
by JLtheking
johnnylump wrote:It depends on the armor; I'd have to look up how they did it on Sparks. We moved a bunch of stuff to the inis but didn't get everything.
Well I see the vanilla and Alien Hunters armors exposed in XGC.ini, and some vests and Alien Hunter armor ability settings in LW_Overhaul.ini (great job, btw!)

nope for SPARKS though :(

Re: Adding Plating to Sparks?

Posted: Wed Jan 25, 2017 7:36 pm
by foreverdead
johnnylump wrote:It depends on the armor; I'd have to look up how they did it on Sparks. We moved a bunch of stuff to the inis but didn't get everything.
Would it be possible to have all the armour in the game have an exposed hpshield in the ini? (even if it's set to 0 by default). I want to torture myself with armour that is pure ablative no HP bonus. I apologise if that is asking a little too much.