Page 1 of 1

Turret Engagement Range?

Posted: Mon Oct 17, 2016 9:47 pm
by reaperrar
I'm looking at this mod:
https://mods.factorio.com/mods/Buhamut/Artillery

I notice the the turrets will not start engaging enemies unless I am nearby even though they have super far range.

Is there some sort of engagement range variable? I see nothing in the entity declaration body that I'd be looking for.

Re: Turret Engagement Range?

Posted: Mon Oct 17, 2016 9:55 pm
by aubergine18
It's done via the prototype, another good mod to look at for reference is the Additional Turret mod. https://mods.factorio.com/mods/sore68/Additional-Turret

Check the stuff in the /prototypes folder and compare to how the turrets work in game.

From vague memory the ammo type also has an effect on what options are available, but not sure as I've not done much with turrets myself.