[0.14.22] Turret attack parameters bug
Posted: Mon Apr 24, 2017 7:28 am
When you add this to a turret in its attack_parameters:
it works as expected, like the flamethrower turret (where this code is from).
It fires in its arc, and when enemies get to close, it stops firing like it should.
But here is the bug:
when you place a turret facing the north side, and an enemy moves from north to east side, the turret automatically switches from north side to east as well, even though it shouldnt (aka, it changes it arc from north to east).
i know that it wasnt really intended for a gun-turret type entity, just a fluid-turret type, but still it sounds like a bug
i have tried it with smaller arcs as well, same result. it can always switch sides.
Code: Select all
range = 25,
min_range = 5,
turn_range = 1.5/3.0,
It fires in its arc, and when enemies get to close, it stops firing like it should.
But here is the bug:
when you place a turret facing the north side, and an enemy moves from north to east side, the turret automatically switches from north side to east as well, even though it shouldnt (aka, it changes it arc from north to east).
i know that it wasnt really intended for a gun-turret type entity, just a fluid-turret type, but still it sounds like a bug
i have tried it with smaller arcs as well, same result. it can always switch sides.