I was surprised to find evidence of SFB's scanners in SFC. Indeed, with shiplist.txt tinkering, the combat modifier for damaged scanners can be detected. A ship with solely center warp can take damage on scanners readily, like the F-DD. (Most ships' right and left warp engines and bridges completely protect scanners/sensors on the DAC, so we don't see the effects of scanner damage in typical combat.)
As scanner damage accumulates, a range penalty is imposed that increases from 1 to 9.
Specifically like this: 0, 1, 3, 5, 9
Just like SFB. Pretty neat! So disruptors, for example, fired from range 15 are calculated at range 16 for a slightly damaged scanner. Quite a difference for a precise saber dancer.
A Scanner entry of "3" works well, but something very weird happens for shiplist.txt scanner entries greater than 3. (Most ships have a 5 or 6.)
After exhaustive testing with an AI opponent armed with PPD's, here's the penalty summary for scanner 4,5,and 6:
0,1,3,5,-99
What does -99 mean? It is a range bonus! A Ph2 fired from range 49 will do 5 or 6 damage. A Disruptor fired from range 30 will do 5 damage. It's wild. Maybe this was a programmer's sense of humor? Practically, most ships are highly crippled before their scanners are hit for an 8th time. Why not give them a brief mystical bonus before they explode?
Scanner entry "7" (found on K-C7) is weirder. It goes:
0,0,3,22,-7,-11,-99
That means it can suffer a severe range penalty of 22. In that case, disruptors never do more than 2, and they simply cannot hit beyond range 8 (for a Dis3).
The C7, for example, then gets a range bonus of 7. Disruptors will do 5 points at range 0-8, and 4 points at range 9-11, and 3 points at range 12-22.
Scanner entry "8" (found on F-BCE) is odder:
0,0,3,22,-11,-99,99
Which means it ends up with a +99 penalty. It can't do any damage. From invincible to feeble in one volley.
This is in 2.036. I don't know about Orion Pirates.
Of course, sensors/scanners can be repaired. But why fix a broken scanner if it is providing an effective range of zero?
My Ancient Era Mod that I'm working on, makes scanner/sensor damage far more prominent, so I stumbled across what I call a bug.