Tired of seeing interstellar distances measured in astronomical units? See them in light years instead.
Does what it says on the tin. Makes your ship’s HUD display interstellar distances in light years (LY) instead of astronomical units (AU).
Also increases the maximum light second (LS) distance from 50,000 to 500,000. If anything is further than that, distance will start being measured at 0.02 LY.
Personally, I found AU illegible for these sort of distances. LY is much easier to interpret at a glance, especially if you are used to other space games.
How does it work?
In the GlobalFunc script within the buttonclips.swf file, the following lines have been changed from:
private static const MetersInAU:Number = 149597870700;
private static const MaxLightSecondsDisplay:Number = 50000 * MetersInLightSeconds;
_loc2_ = FormatNumberToString(param1 / MetersInAU,AUPrecision) + ” AU”;
to:
private static const MetersInAU:Number = 9460730777119560;
private static const MaxLightSecondsDisplay:Number = 500000 * MetersInLightSeconds;
_loc2_ = FormatNumberToString(param1 / MetersInAU,AUPrecision) + ” LY”;
Installing
Can be installed mid-save and should work immediately. No special steps required. Either use your favorite mod manager to install automatically, or manually install it by putting buttonclips.swf into your “Data/Interface” folder.
Uninstalling
Can be removed at any time, doesn’t matter. It’s just a flash file, so it’s completely safe. You will immediately see AU again upon loading a save which previously had this mod.
Compatibility
Modifies buttonclips.swf. Any other mod which makes specific changes to this file will be incompatible without a patch.
Of the mods I personally use, the only mod which touches this file is Undelayed Menus. However, I noticed no ill-effects by simply replacing that mod’s version of the file with this one.
Generally speaking, just load this mod after any other ones which touch this file.
Credits:
Deebz96