`create_entity(name = "artillery-flare")` can implement it. However, the artillery turret used is uncertain.
I want to create a fire control computer for artillery turrets to automatically fire moving enemies. Therefore, I need to obtain the time from when the turret turns to when it hits the target, the position and velocity of the enemy, and then calculate the shooting lead to ensure accurate targeting.
How to control a artillery turret to fire a specific position?
Re: How to control a artillery turret to fire a specific position?
I think this mod does something very similar :
https://mods.factorio.com/mod/ArtilleryCombinator
https://mods.factorio.com/mod/ArtilleryCombinator
Koub - Please consider English is not my native language.
Re: How to control a artillery turret to fire a specific position?
Thanks for your comment. And it uses `create_entity(name = "artillery-flare")` to fire.Koub wrote: ↑Sat Jul 27, 2024 6:23 amI think this mod does something very similar :
https://mods.factorio.com/mod/ArtilleryCombinator
Re: How to control a artillery turret to fire a specific position?
I found https://mods.factorio.com/mod/ArtilleryFlares is similiar to my idea. But @IngoKnieto also encountered the issue of uncertain turrets.