Artillery Configs is hiding from me

Place to post guides, observations, things related to modding that are not mods themselves.
Cheetah
Burner Inserter
Burner Inserter
Posts: 10
Joined: Sat Aug 15, 2015 2:26 pm
Contact:

Artillery Configs is hiding from me

Post 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
Last edited by Cheetah on Tue Jan 02, 2018 12:03 pm, edited 1 time in total.
orzelek
Smart Inserter
Smart Inserter
Posts: 3924
Joined: Fri Apr 03, 2015 10:20 am
Contact:

Re: Artillery Configs is hiding from me

Post 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.
Cheetah
Burner Inserter
Burner Inserter
Posts: 10
Joined: Sat Aug 15, 2015 2:26 pm
Contact:

Re: Artillery Configs is hiding from me

Post 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*
Post Reply

Return to “Modding discussion”