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

Things that we aren't going to implement
Post Reply
billbo99
Fast Inserter
Fast Inserter
Posts: 131
Joined: Fri Nov 02, 2018 9:19 am
Contact:

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

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

JD-Plays
Burner Inserter
Burner Inserter
Posts: 19
Joined: Thu Mar 16, 2017 10:13 pm
Contact:

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

Post 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!

Rseding91
Factorio Staff
Factorio Staff
Posts: 13171
Joined: Wed Jun 11, 2014 5:23 am
Contact:

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

Post by Rseding91 »

I don't want to complicate the artillery logic with a bunch of extra logic the base game will not use.
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Won't implement”