They have practice.
It took me time to learn to do like them, too.
So you have a military laser (25 km range), most (vanilla Oolite) NPC ships don't - this means most times you can stay outside their laser range (15 km I think) and practice sniping them from far away.
The very small ships are indeed hardly visible from that distance, but if you manage to target them, then your scanner targeting enhancement thingy will tell you in which direction you need to correct your aiming. (targeting is a lot easier if your ship is at full stop.)
Targeting is also very framerate-dependant : at a framerate of ~15 fps or lower I can not really target anymore, because even the smallest correction jumps too far to the other side.
Check your framerate with Shift+F and
if it is too low, take countermeasures :
- update / tweak graphics driver,
- kill unnecessary background processes - JazHaz provided a link to some tool that will do this for you everytime you play Oolite, I am sure he will post it again if needed.
- remove some too demanding OXPs.
Playing without shaders, some (OXP) ships for me
were invisible at distances >~10km. Not much I could do about it, so I uninstalled them.
Almost all ships are hardly visible to me when I try to play with the room bright from sunshine - no use playing Oolite then.
I have just started trying to dogfight pirates in anarchy systems.
I hope you have shield boosters AND military shield enhancement before you attempt this ?
And a witchdrive fuel injector AND enough fuel, so you can speed-close-in on them offenders ?
Doing a 6.8 lightyears jump into an anarchy system is calling for trouble.
My tactics :
With big bunches of pirates, I try to come to a full stop before they start closing in on me.
Then I try to snipe those ships I can easily target from this far away - with my aft laser.
When that one overheats, I switch to front view again, (try to) target someone and witchdrive-speed up to that target extinguishing it from close. Then (if necessary) I witchdrive-flee and while doing that, try to target (+ kill) the next one with the rear laser once again.
And so on, it can take quite a while until everything is taken care of.
If necessary I use a missile (ECM hardened) against one or two of the opponents, that keeps them busy / out of the fight for a while.
uh, late, good night.