• 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.

MSFS has beacon

rhumbaflappy

Administrator
Staff member
Resource contributor
Messages
4,776
Country
us-wisconsin
You might have noticed that there is an option in the object properties for 'has beacon'. This beacon is a bright disk, constant turned to face the viewer, that has some characteristics like military or sea base... The problem is it always shows at the exact same height when attached. 31 meters.

My solution is to make a dummy library object, attach the beacon, and subtract 31 meters from the placement altitude. Then I can put one wherever I want.

XML:
    <!--SceneryObject name: rhumba_dummy (Beacon)-->
    <SceneryObject lat="42.62942143728868" lon="-88.60285952615611" alt="-31.0" pitch="0.000000" bank="0.000000" heading="-179.999995" imageComplexity="VERY_SPARSE" altitudeIsAgl="TRUE" snapToGround="FALSE" snapToNormal="FALSE">
        <NoShadow/>
        <LibraryObject name="{188F9549-BCB3-497E-BF58-199917786EFA}" scale="1.000000"/>
        <AttachedObject attachpointName="point" instanceId="{CC17F1B5-9ACB-4244-8922-E58868D076F1}" pitch="0.000000" bank="0.000000" heading="0.000000">
            <Beacon type="CIVILIAN" baseType="SEA_BASE"/>
        </AttachedObject>
    </SceneryObject>

The above code puts it a ground level, with the dummy buried 31 meters underground.

Attached is the dummy gltf code.
 

Attachments

  • rhumba_dummy.zip
    954 bytes · Views: 101

rhumbaflappy

Administrator
Staff member
Resource contributor
Messages
4,776
Country
us-wisconsin
Types and bases of beacons:

<xs:simpleType name="stBeaconType">
<xs:restriction base="xs:string">
<xs:enumeration value="CIVILIAN"/>
<xs:enumeration value="MILITARY"/>
<xs:enumeration value="CANADIAN"/>
</xs:restriction>
</xs:simpleType>

<xs:simpleType name="stBeaconBase">
<xs:restriction base="xs:string">
<xs:enumeration value="AIRPORT"/>
<xs:enumeration value="SEA_BASE"/>
<xs:enumeration value="HELIPORT"/>
</xs:restriction>
 
Messages
106
Country
greece
It seems to be working fine. There are nine different beacons green white or yellow white flashing slower or faster. A similar and more simple addition from ASOBO for steady lights (i.e. red hazard lights) would be great...
 
Messages
6
Country
unitedstates
I am trying to figure out how to do this now, I am editing an airport and the beacon is right where a building is supposed to be, I know how to get rid of the beacon and add one, is this what I need to get it to flash like the one I’m removing? And how would I use the code? I am very new at this
 
Messages
620
Country
ca-quebec
I use your tip on my lighthouses and they now have flashing lignts, but they start to flash only if I am very very close then they flash afar...
 
Messages
620
Country
ca-quebec
Hi,
I am in the process of adding a light to my lighthouses. As Blender's rotating fire is only visible for a mile I use the editor's "has beacon" function instead. I use a cube and attach the effect to it. I name the attachment point according to the lighthouse and the editor assigns a different GUI for each effect, and substract 31 m to the cube's position. My scene covers the river, the estuary and the Gulf of St. Lawrence.
Since I am using the same cube, then all the cubes have the same GUI.
It works for several lighthouses but not for others. I added the effect in the same way for all the lighthouses. So I don't see why it works for some but not for others.
A colleague pointed out that the cubes all have the same GUI. Is there a limit on the number of objects with the same GUI to integrate into a scene?
Others ideas, cues...?
Thank you.
 
Messages
6,629
Country
us-illinois
AFAIK, you may be referring to "InstanceId" for a Visual Effect XML definition block ? :scratchch



Assuming a non-rotating "Cube" is an attached 3D model with an attached Visual Effect, the 'Cube' may also have its own GUID:



GaryGB
 
Last edited:
Messages
620
Country
ca-quebec
I try a new cube with its own GUID (yes GUID instead of GUI) and it not works. Very strange issue.
 
Top