OpenXcom Forum

Modding => Released Mods => XPiratez => Topic started by: peirceg on November 21, 2020, 01:00:10 pm

Title: Random Stats on human enemies?
Post by: peirceg on November 21, 2020, 01:00:10 pm
Is it possible within the limits of the engine to mod random stats on existing enemies?
Title: Re: Random Stats on human enemies?
Post by: Meridian on November 21, 2020, 02:04:41 pm
Yes.

Scripts can add random stat buffs/debuffs to units just before the battle.

Small example: https://openxcom.org/forum/index.php/topic,7197.msg116928.html#msg116928
Title: Re: Random Stats on human enemies?
Post by: peirceg on November 23, 2020, 02:39:28 am
With the help of Meridian we made a mini random stats submod for organic enemies. Humans have a 10% variance in stats, and mutants and monsters around 20%. Could not add armor so I had to edit the Piratez_Armors file.