Detecting cloaked ships sadly has nothing to do with the Hardpoint. The only way to do that is via scripting.
There are already certain mods which do something like Cloak Detect.
Eg.:
- The BCS - The Beginning mod includes an "Intensive scan" ability which lets the Player find (with a fail chance, i think) cloakers.
- KobMaru features the Blind-fire Option (I'm not sure if there is a standalone mod of that)
- There is a nice "Seeker Torpedo" Script available on BCfiles which simulates the Torpedo Bones and Spock adjusted in ST6
(There is a variant of this Seeker Torpedo script included in the last KM, with a Restriction of which Ships can use it,
so maybe this is the closest to what you are looking for)
-Oh, the DS9FX features 3 dominion Bugs with the ability to detect cloaked ship, on the other side of the Wormhole. I'm not sure how they did that,
but you could try to look into that.
Those are all I remember at the moment.