-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
47 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,4 +32,4 @@ for _, r in pairs(keyMatrix) do | |
x = x + width | ||
end | ||
y = y + width | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,15 @@ | ||
-- Degree Decimal formatted to be used in NS430 navaid.dat file for flight planning purposes. Just edit the %PlaceHolderName | ||
-- Degree Decimal formatted to be used in NS430 navaid.dat file for flight planning purposes. Just | ||
-- edit the %PlaceHolderName. | ||
-- With this extension active, hitting the `+L/L` button inserts a line that looks like: | ||
-- `FIX;-88.245167;36.117167;%PlaceholderName`. | ||
-- The `%PlaceholderName` must be changed to a 1-5 character long alpha-numeric string (e.g. `1A`, | ||
-- `1B`, `2`, `3`, `WILLO`). This can then be added into the `navaids.dat` in the main DCS folder | ||
-- (`DCS World OpenBeta\Mods\aircraft\NS430\Cockpit\Scripts\avionics\terrain\navaids.dat`). You need | ||
-- to respawn for the `navaids.dat` changes to take effect. The waypoint can then be loaded into the | ||
-- NS430 via the Flight Plan Page or Direct-To page. | ||
|
||
addCoordinateListener(function(text, lat, lon, alt) | ||
text:insertBelow( | ||
"FIX;" .. formatCoord("DD", true, lon) .. ";" .. formatCoord("DD", false, lat) .. ";%PlaceHolderName\n" | ||
) | ||
end) | ||
end) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,4 @@ | |
|
||
addButton(0, 0, 80, 30, "+ SITREP", function(text) | ||
text:insertTop(DCS.getMissionDescription()) | ||
end) | ||
end) |