OpenXcom Forum

Modding => Help => Topic started by: keyboarder on April 02, 2018, 03:32:46 pm

Title: Adjust stats for enemies used in FMP?
Post by: keyboarder 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?
Title: Re: Adjust stats for enemies used in FMP?
Post by: Meridian 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
Title: Re: Adjust stats for enemies used in FMP?
Post by: keyboarder on April 02, 2018, 05:18:27 pm
Thank you! much appreciated !!

what are the highest values i can set for armor?
Title: Re: Adjust stats for enemies used in FMP?
Post by: ohartenstein23 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.
Title: Re: Adjust stats for enemies used in FMP?
Post by: keyboarder 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...
Title: Re: Adjust stats for enemies used in FMP?
Post by: Meridian on April 05, 2018, 09:19:30 am
Whereever you have installed FMP... usually under Documents/OpenXcom/mods/