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

Using SODE to trigger an attached effect

Messages
102
Country
unitedkingdom
Hi all. I am looking for an example (or how to..) trigger an effect with SODE. I have successfully use SODE to open/close hanger doors with:
<!-- Triggerable Animation and Visibility user induced -->
<SimObject Name="H1_Front">
<Placement Lat="55.74250" Lon="-2.3626" Alt="0#AGL" Hdg="225"/>
<Model SimTitle="H1_Ordinance_Front">
<!-- <TriggerableVisibility Input="TextMenu" Action="Show,Hide" VisibleOnLoad="Yes"/> -->
<TriggerableAnimation Input="TextMenu" Action="Open,Close" StartKF="0" EndKF="100" Duration="4">
<Sound FileName="SFX_SirenLoop.wav" Loop="Yes" MinDistance="20" MaxDistance="800"/>
</TriggerableAnimation>
</Model>
</SimObject>

I have now added a red flashing light modelpart (containing the light effect) to the model. At present, though the hanger doors open/close by user control, the red light constantly flashes (would like to flash as a warning only when the door animation is active).
How would I code the (currently commented out) TriggerableVisibility line to trigger the effect? Can it be done? Would an additional <Simobject>... </SimObject> be required with the modelpart as a separate model?
Any pointers would be appreciated.
 
Messages
102
Country
unitedkingdom
Added the following and now I have a Warning Light effect that can be turned on/off via the user interface. BUT, does anyone know how to trigger the effect when the animation is invoked by the user?
<!-- Triggerable Visibility user induced -->
<SimObject Name="Hanger_Warning_Light">
<Placement Lat="55.74089" Lon="-2.36090" Alt="33.871#AGL" Hdg="357.559"/>
<Model SimTitle="Warning_Light">
<TriggerableVisibility Input="TextMenu" Action="Turn On,Turn Off" VisibleOnLoad="No" IgnoreRadiusFilter="Yes"/>
</Model>
</SimObject>
 
Top