Page 1 of 1

How to modify artillery range?

Posted: Tue Mar 16, 2021 11:16 am
by Adebar
Yes, that's a quite self-explanatory thread title, isn't it?

Just want to modify the range of the Heavy Artillery unit; couldn't find a corresponding entry in the Squads.csv file. Is the range perhaps defined in another file?

Just asking for a friend.

Re: How to modify artillery range?

Posted: Tue Mar 16, 2021 11:55 am
by rbodleyscott
Adebar wrote: Tue Mar 16, 2021 11:16 am Yes, that's a quite self-explanatory thread title, isn't it?

Just want to modify the range of the Heavy Artillery unit; couldn't find a corresponding entry in the Squads.csv file. Is the range perhaps defined in another file?

Just asking for a friend.
Shooting ranges are defined by shooting capability in scripts, not in the unit definitions in the squads file.

In the following functions in CombatTools.BSF:

MaximumRange()
OptimumRange()
IsLongRange()
GetShootingWeaponModifier()

(At least)

Re: How to modify artillery range?

Posted: Tue Mar 16, 2021 12:52 pm
by Adebar
Ok, thanks for the hint, Richard!