• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

Beacon Code Help. Video Link attached

  • Thread starter Thread starter Tristan Morales
  • Start date Start date
T

Tristan Morales

Guest
I need help getting my beacon to blink faster. This is the current code

<PartInfo>
<Name>BeaconTimingBulb</Name>
<Visibility>
<Parameter>
<Code>
(A:LIGHT BEACON,bool)
(A:ELECTRICAL MASTER BATTERY,bool)
and
if{
(P:Absolute time,seconds) 2 % 0.5 > !
if{
(P:Absolute time,seconds) 1 % 0.3 > !
if{ 0 } els{ 1 }
}
}
</Code>
</Parameter>
</Visibility>
</PartInfo>

I think my problem lies with the time it takes for the bulb to illuminate vs flash cycle. I'm not taking the FSX star light/beam route, I rather illuminate the bulbs as per....:cool: real life.

Apologies for the loss of quality as the original vid was 3.2GB :banghead:

Link for video
 
I used the flashing strobe as a starting point but anything "faster" and the lit bulb does not show. I was hoping someone would recommend a timing that makes it constantly blinking per the real lighting. Apologies for the sloppy code pasting.
 
Try this for a flash every second:

Code:
<Name>BeaconTimingBulb</Name>
<Visibility>
<Parameter>
<Code>
(A:LIGHT BEACON,bool)
(A:ELECTRICAL MASTER BATTERY,bool)
and
if{
(P:Absolute time,seconds) 1 % 0.1 > !
if{ 1 } els{ 0 }
}
</Code>
</Parameter>
</Visibility>
</PartInfo>

You might want to change the 0.1 for the length of the flash (higher value=longer flash)


(Reference:
)
 
Depends on if you are looking for a beacon strobe type or a mechanical rotating beacon. A decent amount of these have a rotating beacon on the belly and red strobe beacon on the top of the fuselage. Not disputing the video you linked though...those are both strobe type.

Greg
 
The video above is a IV with 2 beacons, I'm working on 450 with 1 beacon. I'm going for the beacon strobe type. I will try what's suggested and post an update.
 
I went with 1 % 0.2 but I'm going to make two bulbs and work on creating the effect found on the Batman 462 video (Youtube it). Thanks for the responses and suggestions all noted off course. I'm done with lights for now lol. VC time :)

 
Back
Top