So I was just casually trying to improve my ciws, I made the gun function in a way that it disables when target is beyond the effective range, I'm too lazy to explain specifics so here's a video for now demonstrating the thing
https://youtu.be/PM3KZbDxNrc
@UnderScore what I meant was it didn't need human input
it automatically aims the turret and the gun just fires by itself, hence fully automatic