Change turret modes to be priority based instead of single conditions.
Priorities are:
Attack capital ships = L/XL ships > any target
Attack fighters = S/M ships > any target
Defend (defensive PD) = Missiles > target attackers
Missile defense (offensive PD) = Missiles > Fighters > any target
Manual download:
https://drive.google.com/file/d/1N8e2dd ... sp=sharing
On Steam:
https://steamcommunity.com/sharedfiles/ ... 2590504748
Changelog:
- version 3: Improved target selection and responsiveness when player is controlling the ship. Should feel much better now when player is flying.
- version 4: Improved target selection some more. Renamed defence and missile defence to better reflect new functionality.
Note, this is still subject to some target switching limitations in X4, in particular that I noticed:
* refreshing targets takes between 0.5s - 65s depending on pilot skill. If someone just shot a missile 100m behind you and Jonny Newguy the 1 star pilot is in command, he's probably not going to react to it.
* if you set a medium turret on a large ship to attack capital ships and you're in range of the large ship with your large guns, your medium turret will just sit there and not shoot at other, closer targets, because there's a capital ship it wants to shoot at.