Page 1 of 1

Artillery Configs is hiding from me

Posted: Tue Jan 02, 2018 11:48 am
by Cheetah
I've been scouring the .lua files but so far I can't seem to find rules for;
- Artillery min/max range (except "manual_range_modifier = 2.5," in turrets.lua)
- Artillery shell damage and splash damage size
- Artillery cooldown

They do not seem to be coded consistent with regular ammo and turrets.

Can anyone shed some light on where the config for artillery range and shell (splash)damage is?

EDIT: damage/splash size is in projectiles.lua

Re: Artillery Configs is hiding from me

Posted: Tue Jan 02, 2018 12:02 pm
by orzelek
There is a gun definition ("artillery-wagon-cannon") in prototypes/items/gun.lua. It contains both minimum and normal range and also cooldown.
And you can find "artillery-projectile" in prototypes\entity\projectiles.lua where stuff like damage and area of effect are defined.

Re: Artillery Configs is hiding from me

Posted: Tue Jan 02, 2018 12:08 pm
by Cheetah
Thanks for the helpful reply orzelek

Dayum I've been blind. I did full text searches but somehow thought the 7 * 32 referred to shotgun.

Need more coffee... *cough* *shame*