Skip to content

Commit

Permalink
Fixed Tacan problem in RAD-010-Beacons.miz
Browse files Browse the repository at this point in the history
  • Loading branch information
kaltokri committed Feb 24, 2024
1 parent 2390d09 commit d4946f0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions Core/Beacon/010-Beacons/RAD-010-Beacons.lua
Original file line number Diff line number Diff line change
Expand Up @@ -27,22 +27,18 @@
-- 2. Switch UHF mode to ADF
-- 3. Needle 1 will move to ~ 150° on HSI.
-- 4. Switch back to BOTH and frequency 252 to avoid the beacon sound.
-- 5. Set TACAN to A/A REC and channel to 67Y (4 + 63).
-- 5. Set TACAN to A/A REC and channel to 4Y.
-- 6. On NMSP activate TCN.
-- 7. HSI should point to the moving aircraft (but this seems to be brocken at the moment).

-- Activates tracing if you want to see in the log what BEACON does.
BASE:TraceClass("BEACON")
BASE:TraceLevel(3)
-- 7. HSI should point to the moving aircraft.

-- Create our UNIT objects on which we'll attach a BEACON.
local Aircraft = UNIT:FindByName("Unit1")
local LandUnit = UNIT:FindByName("Unit2")

-- Now, let's start with the TACAN Beacon.
-- Note that they are limited to Y band. Notice also that this particular TACAN can be homed on.
-- This particular TACAN can be homed on.
local BeaconAircraft = Aircraft:GetBeacon()
BeaconAircraft:AATACAN(4, "UNIT1", true)
BeaconAircraft:ActivateTACAN(4, "Y", "UNIT1", true)

-- And let's setup the ground based radio beacon (ADF).
-- Notice how this beacon will stop in 320 sec (last parameter).
Expand Down
Binary file modified Core/Beacon/010-Beacons/RAD-010-Beacons.miz
Binary file not shown.

0 comments on commit d4946f0

Please sign in to comment.