Jump to content

Placed ADF Beacons only transmit briefly


Recommended Posts

It seems that recently something has broken/changed with user placed beacons. When tuning to an ADF that is on the map already, you get continuous transmission and bearing from the ADF needle with accompanying Morse of the emitter. However, when using a beacon placed via scripting (for example with CTLD or CSAR scripts) the beacon only transmits for 2 seconds, then stops. The ADF needle starts to move, but before it can steady on a bearing, the ADF transmitter stops, and the needle returns to default.

This occurs regardless of map and has been tested on Persian Gulf, Caucasus, and NTTR. It has been tested in the Huey, Gazelle, as well as the UH-60L mod. It seems to be broken the same way whether in a client slot or a player slot.

Here is some simple code to test this out as not working.
 

local Sound = "l10n/DEFAULT/beacon.ogg"
local Frequency = 0.820 * 1000000 -- 820kHz AM
local unit = Unit.getByName("Ground-1-1")
local Vec3 = unit:getPoint()

trigger.action.radioTransmission(Sound, Vec3, 0, false, Frequency, 1000)

Attached is a track with the Huey on the Caucasus. At Batumi, the ADF at 430Mhz is working fine. However, a beacon placed on a downed pilot just a few miles away (in LOS) only transmits for 2 seconds every 30 seconds. Also attached is a beacon.ogg for testing purposes if needed, and the .miz file.

ADF Beacon.trk

testCSAR.miz


Edited by patpatpowercat
  • Like 2
Link to comment
Share on other sites

From my testing, ADF beacons aka trasnmission must have a name now, i.e. the last paramter which was kind of optional until now, must be there:

trigger.action.radioTransmission(Sound, Vec3, 0, false, Frequency, 1000, nameofbeacon)

Then you can "renew" the ADF beacon with another trigger of the same or another name. Without name - no dice on renewal. Why do we "renew" beacons? Because in Multiplayer it was running only 30 seconds straight, then stopped, no matter if loop was true or false or how long the actual sound file was. But preliminary testing shows the looping is working now in MP, too. Cool, Good Job - but why didn't anyone tell us?


Edited by Apple
Link to comment
Share on other sites

On 1/5/2023 at 12:43 PM, Apple said:

 But preliminary testing shows the looping is working now in MP, too. Cool, Good Job - but why didn't anyone tell us?

It was fixed in March 2022.

 

Don't accept indie game testing requests from friends in Discord. Ever.

Link to comment
Share on other sites

  • 10 months later...

It's the way the CTLD JTACs talk over the radio

Zip - VEAF :pilotfly:

 

If you want to learn, talk and fly with french-speaking friends, the Virtual European Air Force is here for you ! Meet us on our Discord and our forum

If you're a mission creator, you may want to check the VEAF Mission Creation Tools (and its GitHub repository) a set of open-source scripts and tools that make creating a dynamic mission a breeze !

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...