[Request] Please add “turn_range” support to Artillery Guns
Posted: Tue Nov 05, 2019 10:41 am
Could you please allow the settings "turn_range" & "turret_base_has_direction" to be applied to the "Artillery Gun".
I tried to create a gun with a narrow field of fire, but the values were not acted on and the gun was still able to turn in a full 360 degree circle.
I wanted to create a few different types of "Artillery Gun" with extended range and was going to use the "turn_range" / "cooldown" values as counter to the extended range.
I tried to create a gun with a narrow field of fire, but the values were not acted on and the gun was still able to turn in a full 360 degree circle.
Code: Select all
local Gun = table.deepcopy(data.raw["gun"]["artillery-wagon-cannon"])
Gun.name = 'artillery-wagon-cannon-22'
Gun.attack_parameters.turn_range = 22.5 / 360.0
Gun.turret_base_has_direction = true
data:extend{Gun}