Sniper Turret


A powerful long-range ammo turret extracted from the Planet Rubia mod. Now available for both 2.0 and 2.1

Content
10 days ago
2.0 - 2.1
622
Combat Enemies

b Space Age required?

12 days ago
(updated 12 days ago)

Hi,
Why does this require Space Age to be active? On startup without SA it says "Freezing is disabled and cannot be used", which doesn't happen with SA active, so I assume it somehow requires the freezing mechanic. Can that not be disabled so it works without SA?

Edit: Found a solution, if anyone is interested, open the mods Zip file, then open \sniper-turret_1.0.1\prototypes\entity\sniper-turret.lua
In there, delete line 56 "heating_energy = "50kW"," and save it.
Will work like a charm without SA then.

11 days ago

Oh, thank you for report. This turret is not mine, I just love this turret very much that I extract it from Rubia mod. Thank again, fix should be up in short time!

11 days ago

Fix for both 2.0 and 2.1 is up. Also now range and attack speed adjustable in mod settings. Cheers!

11 days ago

Oh sweet, that was quick. Thanks!

11 days ago
(updated 11 days ago)

Not to be naggy, but I noticed that the flat range multiplier that is applied to the turret does not extend to the Ammo, but they both have their own max ranges. The total range of the turret comes out as 36 with a multiplier of 2, but the maximum range of the Ammo projectiles is only 30, which means that the turret can aim and shoot at targets it cannot actually hit, as the projectile expires before reaching the target.
Don't know if the original mod had a separate part where a multiplier is also applied to the ammo, but right now any multiplier above ~ 1.9 is prone to waste some Ammo ^^'

Edit: Also, the Attack speed setting doesn't appear to be doing anything?
Edit2: Found the problem, the cooldown was preventing the attack speed to be higher.

10 days ago

Hey, you're not naggy at all friend. We all have limited time so your contribution is very very much appreciated. And about the bug, after I do full check of the original code base, the bug was some compatibility code between "Rubia" and "Krastorio 2 Spaced Out".
Cheers.

10 days ago

Awesome, I'll check it out!

10 days ago

Everything appears to be working now, good job ^^

New response