Author Topic: Random Stats on human enemies?  (Read 2725 times)

Offline peirceg

  • Captain
  • ***
  • Posts: 72
    • View Profile
Random Stats on human enemies?
« on: November 21, 2020, 01:00:10 pm »
Is it possible within the limits of the engine to mod random stats on existing enemies?

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9099
    • View Profile
Re: Random Stats on human enemies?
« Reply #1 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

Offline peirceg

  • Captain
  • ***
  • Posts: 72
    • View Profile
Re: Random Stats on human enemies?
« Reply #2 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.