Page 1 of 1

[Request] Please add “turn_range” support to Artillery Guns

Posted: Tue Nov 05, 2019 10:41 am
by billbo99
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.

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}
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.

Re: [Request] Please add “turn_range” support to Artillery Guns

Posted: Fri Jan 24, 2020 9:11 am
by JD-Plays
This is a great idea then we could have a REAL long range Gustav cannon, which could only fire in a narrow arc forward!

Re: [Request] Please add “turn_range” support to Artillery Guns

Posted: Fri Jan 24, 2020 6:27 pm
by Rseding91
I don't want to complicate the artillery logic with a bunch of extra logic the base game will not use.