hardcoding the rocketdistance is not a good thing.
Maybe (at least in the long run) you should ask the weapons / hardpoints / ship for the lock-on range (considering different weapons may have different ranges as well)
The oculus-PR defines a property for the rocket launcher range. Depending on merge order, please use that as an intermediary solution