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

Lighthouse

Messages
194
Country
unitedstates
Can anyone tell me how to attach a rotating beam to the lighthouse in Mission objectplacer?

BTW, I notice that the lighthouses come "standard" with seagulls....I like that!
 
I'm not sure at the moment. Isn't there a scenery object for lighthouse beams? If not you'll have to create a new fx (or use the one I created for my EDLM2005-scenery and which I find pretty realistic) and attach it to the lighthouse.
 
Thanks for the reply, Horst.

I tried the scenery object and it was a non-rotating grey cone with a yellow disk on the end.

The correct method I am guessing is to use Attach Effect Action. In the BGL Compiler SDK, the code uses the following example:

<SceneryObject
lat="31.95451772"
lon="-89.23370500"
alt="0F"
altitudeIsAgl="TRUE"
pitch="0"
bank="0"
heading="162"
imageComplexity="VERY_SPARSE" >

<LibraryObject
name="GUID"
scale="1.0" />

<AttachedObject
attachpointName="attachpt_beacon"
pitch=”0”
bank=”0”
heading=”0”>

<Beacon
type="CIVILIAN"
baseType="AIRPORT"/>
</AttachedObject>
</SceneryObject>

Unfortunately the Missions SDK does not give us the attach point names, but assuming it was the same as for other scenery objects, I tried it. But, no luck!

Is there a place where I can see an XML example of your netherlands lighthouse? I might try splicing it into my Missions XML and see what happens. If all else fails, I guess I can make a scenery BGL and put it in a scenery folder, but that defeats the purpose of being able to include new scenery only in the mission. Thanks for any help you can offer.
 
No, that's actually not the way to go.
I'm still not sure how the fx-thing works because I only tried it once a few days ago, but it seems this works:

<SimMission.AttachEffectAction InstanceId="{AFFCFBE9-2DB0-4F11-897B-CC7538A9FC89}">
<Descr>AttachEffectActionDD</Descr>
<EffectName>fx_DDfire.fx</EffectName>
<AttachPointName>attachpt_GenericEffect</AttachPointName>
<ObjectReferenceList>
<ObjectReference id="GEN_SceneryEffect_DD" InstanceId="{071779F9-9B2A-4625-B889-D9FB3E1FC68B}">
</ObjectReference>
</ObjectReferenceList>
</SimMission.AttachEffectAction>

...

<SceneryObjects.LibraryObject InstanceId="{071779F9-9B2A-4625-B889-D9FB3E1FC68B}">
<Descr>GEN_SceneryEffect_DD</Descr>
<MDLGuid>{36D99924-A3B8-420E-A3FD-83ABC2DB6206}</MDLGuid>
<WorldPosition>N43° 58' 43.48",W88° 33' 34.11",+000000.00</WorldPosition>
<Orientation>0.000,0.000,0.000</Orientation>
<AltitudeIsAGL>True</AltitudeIsAGL>
<Scale>10.000</Scale>
</SceneryObjects.LibraryObject>

The thing is that the scenery object called GEN_Sceneryeffect... is some sort of an activator for attachpoints available at objects in a certain range. The SDK says absolutely nothing about that, but I tried it and was able to attach the above effect to all available attachpoints of a generic scenery object.
I hope this helps. ;)
 
Last edited:
Horst, I got that to work. But for some strange reason it works only with a trigger, even though I had it set to active.

I used your beacon effect from EDLM...very nice. Is there also a "glow" that goes with it, to make the lamp appear to be lit? I also noticed a "Lichtkegel" effect....what are those?

So, basically, to sum up for others that might be following the thread:

1. A trigger pointing to the GEN_SceneryEffect
2. An Effects Activation Action referencing the attach point of the object (in this case the GEN_SceneryEffect).
3. The GEN_SceneryEffect (invisable)
4. The Effect and necessary textures in the FSX\Effects folder.

Thanks for the help!
 
Great to see that it worked. Don't know why it only works with a trigger.

I tried a combined effect for the beam, but I couldn't get a good result - synching the two fx was pretty complicated.

The other fx are for the ground-lights - sorry, names are in german. :D
 
Horst: If I upload my mission, do I have your permission to include your effect? If you prefer not, I am sure I can find another.
 
I'd be happy to see my name somewhere in the readme, but given that you're free to do with it what you want. :)
 
Back
Top