aliens

Author Topic: Adjust stats for enemies used in FMP?  (Read 3697 times)

Offline keyboarder

  • Sergeant
  • **
  • Posts: 14
    • View Profile
Adjust stats for enemies used in FMP?
« on: April 02, 2018, 03:32:46 pm »
An openxcom noob here, but can anyone advise me on how i can modify/adjust the stats of some of the enemies? Example; the tanks for MiB tolerates more than Cyberdisc, which IMO is just wrong. So, I would like to adjust its stats so Cyberdisc can take more damage than MiB tanks... any ideas on how i can do that?

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9105
    • View Profile
Re: Adjust stats for enemies used in FMP?
« Reply #1 on: April 02, 2018, 04:45:34 pm »
Open "armors_FMP.rul" and look for:

Code: [Select]
  - type: CYBERDISC_ARMOR
    spriteSheet: CYBER.PCK
    allowInv: false
    corpseBattle:
      - CYBERDISC_CORPSE_1
      - CYBERDISC_CORPSE_2
      - CYBERDISC_CORPSE_3
      - CYBERDISC_CORPSE_4
    corpseGeo: STR_CYBERDISC_CORPSE
    frontArmor: 34
    sideArmor: 34
    rearArmor: 34
    underArmor: 34
    drawingRoutine: 3
    constantAnimation: true
    movementType: 1
    size: 2
    damageModifier:
      - 1.0
      - 0.8
      - 1.0
      - 0.6
      - 1.0
      - 1.0
      - 1.0
      - 1.0
      - 0.7
      - 0.0
    loftempsSet: [ 92, 89, 90, 91 ]

...you can update either armor values ("frontArmor", "rearArmor", etc.) or damage resistances under "damageModifier".

See also: https://www.ufopaedia.org/index.php/Ruleset_Reference_Nightly_(OpenXcom)#Armor

Offline keyboarder

  • Sergeant
  • **
  • Posts: 14
    • View Profile
Re: Adjust stats for enemies used in FMP?
« Reply #2 on: April 02, 2018, 05:18:27 pm »
Thank you! much appreciated !!

what are the highest values i can set for armor?

Offline ohartenstein23

  • Commander
  • *****
  • Posts: 1933
  • Flamethrowers fry cyberdisk circuits
    • View Profile
Re: Adjust stats for enemies used in FMP?
« Reply #3 on: April 02, 2018, 05:20:51 pm »
what are the highest values i can set for armor?

Whatever the limit for the largest integer number your computer can store is, so basically whatever you want.

Offline keyboarder

  • Sergeant
  • **
  • Posts: 14
    • View Profile
Re: Adjust stats for enemies used in FMP?
« Reply #4 on: April 05, 2018, 03:03:50 am »
i only have /common, /standard and /ufo folder.. where do i find this file where i can edit those values? i cannot find the "armors_FMP.rul" anywhere...

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9105
    • View Profile
Re: Adjust stats for enemies used in FMP?
« Reply #5 on: April 05, 2018, 09:19:30 am »
Whereever you have installed FMP... usually under Documents/OpenXcom/mods/