Skip to content
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

Merged
merged 2 commits into from
Jun 28, 2022
Merged

More AC and added DDM to F18C #25

merged 2 commits into from
Jun 28, 2022

Conversation

Wamwod
Copy link
Contributor

@Wamwod Wamwod commented Jun 27, 2022

-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

-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
@Wamwod Wamwod changed the title More AC and fixed F18C not having DDM More AC and added DDM to F18C Jun 28, 2022
Copy link
Owner

@rkusa rkusa left a 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
Copy link
Owner

@rkusa rkusa Jun 28, 2022

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):
image
image

So I don't think that there is a change necessary for the F18, unless I am missing something?

Copy link
Owner

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 👍

@rkusa rkusa merged commit d2cb245 into rkusa:main Jun 28, 2022
@rkusa
Copy link
Owner

rkusa commented Jun 28, 2022

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

@Wamwod
Copy link
Contributor Author

Wamwod commented Jun 29, 2022

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

@Wamwod Wamwod deleted the patch-2 branch June 30, 2022 05:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants