Code: Select all
local AZIMUTH_SOUTH = true -- false, for default Az
within the "compassBox.lua" and after the string "if display_az_elev then" add:
Code: Select all
if AZIMUTH_SOUTH then
if az > 180 then
az = math.abs(180 - az)
else
az = math.abs(180 + az)
end
az_str = "Azimuth (S=0°):".." "..string.format("%4.2f°", az);
else
az_str = "Azimuth:".." "..string.format("%4.2f°", az);
end
In Celestia the compass' North will point to the 0° degree of the horizontal grid while the azimuth label will mark 180°.