-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
More AC and added DDM to F18C #25
Conversation
-Added DMS/DDM and applied it to the hornet (the hornet uses DDM for precise bombing) -Added both F-14 Variants to the coordsType ac list -Added the AV-8B to the AC List with the A10_C2 -Added A-10C because legacy
haha extra space go brrt
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot for the PR! I've added an inline comment regarding the F18 change, the other additions look good to me. 👍
@@ -260,9 +260,11 @@ local function loadScratchpad() | |||
local function coordsType() | |||
local ac = DCS.getPlayerUnitType() | |||
if ac == "FA-18C_hornet" then | |||
return "DMS", true | |||
elseif ac == "A-10C_2" then | |||
return "DMS/DDM", true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that the precisce bombing of the F18 uses DMS. You enter degrees, minutes, seconds and then decimal seconds.
Example:
N 13°35'12.52", E 144°55'54.11"
N 13°35.208', E 144°55.901'
55 P BR 76205 02979
168m, 551ft
Is entered as follows (taking lat as the example):
So I don't think that there is a change necessary for the F18, unless I am missing something?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Scratch that, you were talking about the PRECISE option in the HSI data page. You are correct, this allows to enter DDM coords 👍
FYI, I've added some options to further adjust how DDM coordinates are displayed. This inculdes four decimal places for the F18, and a zero padded 3 width wide longitude for the F16: https://github.com/rkusa/dcs-scratchpad/blob/main/Scripts/Hooks/scratchpad-hook.lua#L277-L292 |
Awesome this works even better 👍 I'm new to coding and was just adding the F14 and changed the F-18 for myself so I figured I'd make a PR to help others out since the F-14 wasn't added yet |
-Added DMS/DDM and applied it to the hornet (the hornet uses DDM for precise bombing)
-Added both F-14 Variants to the coordsType ac list
-Added the AV-8B to the AC List with the A10_C2
-Added A-10C because legacy