Turret Engagement Range?

Place to get help with not working mods / modding interface.
reaperrar
Burner Inserter
Burner Inserter
Posts: 16
Joined: Mon Mar 14, 2016 5:47 am
Contact:

Turret Engagement Range?

Post 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.
User avatar
aubergine18
Smart Inserter
Smart Inserter
Posts: 1264
Joined: Fri Jul 22, 2016 8:51 pm
Contact:

Re: Turret Engagement Range?

Post 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.
Better forum search for modders: Enclose your search term in quotes, eg. "font_color" or "custom-input" - it prevents the forum search from splitting on hypens and underscores, resulting in much more accurate results.
Post Reply

Return to “Modding help”