Skip to content

Custom turret issues #803

Description

@gmm89m

Describe the bug
I have found several bugs all about custom turrets. I'm going to list those:

  1. Guns stop firing and the turret soft locks, this happens when the last non-modular missile has been fired out of the turret, the issue is that that turret may contain guns which still have the ammo to fire.
  2. Turret doesn't works properly when it's used with the modular missiles, it doesn't follows the cursor, its behaviour is very inconsistent.

To Reproduce

  1. Make the turret, test it with the guns, ensure that it works as expected. > Arm it with the missiles > Test, on that stage the bug should appear after conditions described early.
  2. Make the turret, test it with the guns, ensure that it works as expected. > Arm it with the modular missiles > Test, on that stage the bug should appear.

Expected behaviour
Turret follows the cursor when equipped with the guns or missiles.

Logs
KSP.log

Screenshots
This one works as it should.
Image

This is where the issues appear (for bug 1 just imagine that there is a regular missiles).
Image

Additional context
It would be nice to have the ability to base the direction in which the turret should follow the cursor with the additional part, and the lead for the turret could be taken from selected guns.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions