The problem with that(dockable plates) is that it doesn't work. I tried a hundred different ways to get something similar to work and it just doesn't count the turret as a separate entity. So no go on the motion detection. It could work if you destroy/undock the turret, but that's basically the same boat and has the added negative effect of possible misses.. ie. should go off, but doesn't cause it missed the right area. Not to mention it requires player interaction to undock otherwise now you've got even more logic to support logic that enables logic. Kinda pointless no?That automatic drone launching system looks a bit... clumsy? It will most likely eat a missile and be destroyed in most cases.
What is with dockable armour plates? Basically rather thick plates of armoured hull with minimal shields and power docked to a turret port. It then has area triggers behind it. If it gets hit by something big (say, a missile), the area trigger turns on (or off?) and starts the swarm. Added bonus of having bonus defenses that you can even put turrets on if you like. Will hurt mobility though and takes a lot of turret enhancers.
Honestly if you nuke any logic system it will fail. All you can really do is add some redundancy further into the ship. Which is basically what i've been doing for the last few days or so. Getting it perfect won't happen, getting something elegant probably won't happen, but so far this is the only afk system I've seen that can actually work ~90% of the time. It's quite the challenge to get a non-human interacting system to work perfectly. But then, what if anything is ever perfect?