ciribob/DCS-CTLD

Bug: Default JTAC code is 1112 -> invalid code, cannot set in F-14

fhoekstra opened this issue · 4 comments

When picking up a JTAC from a pickup zone, then unloading them, they start lasing with code 1112.

This code is not a valid NATO laser code and cannot be set in DCS: F-14 kneeboard. Second digit must be 4 or higher, cannot be 1.

Is there a workaround to set a minimum or different default laser code for the first helo-deployed JTAC? I would like for the first deployed JTAC to be usable for F-14s too.

In the documentation, I only see the command to spawn a JTAC using a script, but I am talking about JTAC groups dropped by helicopters.

DCS-CTLD/CTLD.lua

Line 5866 in 77b5f60

function ctld.generateLaserCode()

You can edit this function here

I used the A10C for the logic years ago so wasn't aware of the second digit rule

Thanks for pointing that out, I will play around with it and submit a PR when I'm happy

That would be great. Thanks!

Fixed in #76