OpenXcom Forum

OpenXcom => Open Feedback => Topic started by: SIMON on November 25, 2014, 04:51:27 pm

Title: EXTENDER ACCURACY
Post by: SIMON 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.
Title: Re: EXTENDER ACCURACY
Post by: Arthanor 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.