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

Attaching default fsx effect to an object

Messages
302
Country
us-virginia
I'm experimenting on attaching either a solid white light or white strobe to either a pole or radio tower - at this point I'm trying to get the attach to work. I've viewed a few default fsx effects choices using fx tools.

Unfortunately, when I add the code below to view the object with attached light in fsx, I only see a default red hazard stobe.

My question is: If my library object that I have added using ADE has an effect associated with it (default fsx) is it possible to overwrite the effect with my own using xml and compiled into my airport scenery bgl?

An example of one effect is below.

<?xml version="1.0"?>

<FSData version="9.0"
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
xsi:noNamespaceSchemaLocation="bglcomp.xsd">

<SceneryObject
lat="N38 57.11070"
lon="W077 26.83839"
alt="0.0000M"
altitudeIsAgl="TRUE"
pitch="0.00"
bank="0.00"
heading="180.65"
imageComplexity="NORMAL">
<LibraryObject
name="{a134eaa9-b11f-42aa-ba09-c34c29a03bc4}"
scale="1.00"/>
<AttachedObject
attachpointName="attachpt_fx_lightObsWhiteFlash60Hi"
pitch="0.00"
bank="0.00"
heading="0.00">
<BiasXYZ
biasX="0.00"
biasY="0.00"
biasZ="0.00"/>
<Effect
effectName="fx_lightObsWhiteFlash60Hi"
/>
</AttachedObject>
</SceneryObject>

I have also attempted to use fx_obslight, fx_obslight2 and a few others but still I can only see a default red hazard light attached.

The library object shown above was added to KLAS using ADE. This is all new to me so I appreciate any advice or help.
 
Hi,

I think it is only possible to specify the attached effect in the XML code when you have an empty attachpoint in your MDL object. So not when an effect has already been attached to it.
 
Thank you Arno. I will give it a try with an object that I know does not have an effect.

kagazi
 
Back
Top