How to modify artillery range?

Post Reply
Adebar
Sergeant First Class - Elite Panzer IIIL
Sergeant First Class - Elite Panzer IIIL
Posts: 400
Joined: Tue Oct 14, 2014 10:39 pm
Location: HRR

How to modify artillery range?

Post 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.
Image
rbodleyscott
Field of Glory 2
Field of Glory 2
Posts: 28323
Joined: Sun Dec 04, 2005 6:25 pm

Re: How to modify artillery range?

Post 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)
Richard Bodley Scott

Image
Adebar
Sergeant First Class - Elite Panzer IIIL
Sergeant First Class - Elite Panzer IIIL
Posts: 400
Joined: Tue Oct 14, 2014 10:39 pm
Location: HRR

Re: How to modify artillery range?

Post by Adebar »

Ok, thanks for the hint, Richard!
Image
Post Reply

Return to “Field of Glory II: Modding”