0 of 0

File information

Last updated

Original upload

Created by


Uploaded by


Virus scan

Safe to use

About this mod

Tired of seeing interstellar distances measured in astronomical units (AU)? See them in light years (LY) instead.

Permissions and credits
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) value 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 to be 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";

private static const MetersInAU:Number = 9460730777119560;
private static const MaxLightSecondsDisplay:Number = 500000 * MetersInLightSeconds;
_loc2_ = FormatNumberToString(param1 / MetersInAU,AUPrecision) + " LY";

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.

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.

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.

A 60/120 FPS version is NOT needed. The smoothness of buttons is not actually controlled by this file. You can safely override any mod which simply increases menu framerate.

Known Issues
Nothing. “It just works!”