aliens

Author Topic: EXTENDER ACCURACY  (Read 2408 times)

Offline SIMON

  • Commander
  • *****
  • Posts: 642
    • View Profile
    • Email
EXTENDER ACCURACY
« on: November 25, 2014, 04:51:27 pm »
I was wondering if it's possible to amend the accuracy distance for the advanced option "UFO EXTENDER ACCURACY". Personally I wud like to change the auto shot from 7 to 10 and the snap shot to 20 (limit of visual range). I have looked @ the attached file but can only amend it to false or true. Please advise.

Offline Arthanor

  • Commander
  • *****
  • Posts: 2488
  • XCom Armoury Quartermaster
    • View Profile
Re: EXTENDER ACCURACY
« Reply #1 on: November 25, 2014, 05:25:40 pm »
snap and auto shot ranges are properties of weapons. If you use the option, it looks into the ruleset to find what the ranges are (or defaults to the values you stated). The easiest way, if a bit time consuming, is to create a mod that changes the snapRange and autoRange of weapons to your desired values. Something like:

Code: [Select]
items:
  - type: STR_RIFLE
    snapRange: 20
    autoRange: 10
  - type: STR_PISTOL
    snapRange: 20
    autoRange: 10

repeat for every weapon.