"No-target" artillery turret

Place to get help with not working mods / modding interface.
KaraUL!
Inserter
Inserter
Posts: 23
Joined: Sat Mar 21, 2015 7:59 pm
Contact:

"No-target" artillery turret

Post by KaraUL! »

Hi all, i tried to add artillery turret in game and have some problems. Need to say, that turret syntax was fully copied from ammo gun-turret, and projectile syntax was fully copied from explosive rocket (changed only number values, like damage, area effect, cooldown, rotation speed, health...). It works great but projectiles was targeting on enemies like base turrets. Targeting artillery projectile looks unreal i thought.
After that i changed projectile syntax and copied it from tank cannon-shell. Good, projectiles become non-target and fly single direction. But another problem appears, i ll try to illustrate it. 1st image shows laser turrets, they works as usually (no artillery built). Image
2nd image shows the problem: when i place artillery turrets on map - laser turrets start to ignore some enemies (red circles), who comes too close. But they are still shooting enemies in further distance. Image
I have a proposal that laser turrets "think" that these closest enemies will be killed by artillery (cause turrets know how many projectiles they need to shoot to kill all enemies within attack range and dont make extra shots). I ll be glad to hear any ideas to solve this. Sorry for my english)
Koub
Global Moderator
Global Moderator
Posts: 7955
Joined: Fri May 30, 2014 8:54 am
Contact:

Re: "No-target" artillery turret

Post by Koub »

Maybe you'd want to have a look to that mod :
https://forums.factorio.com/forum/vie ... ery#p78375
Koub - Please consider English is not my native language.
KaraUL!
Inserter
Inserter
Posts: 23
Joined: Sat Mar 21, 2015 7:59 pm
Contact:

Re: "No-target" artillery turret

Post by KaraUL! »

Koub wrote:Maybe you'd want to have a look to that mod :
https://forums.factorio.com/forum/vie ... ery#p78375
In this mode artillery projectiles is still targeting, not "direction only". However it helps, thanks
Post Reply

Return to “Modding help”