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

Effect sound continues playing when attach point is hidden

Messages
466
Country
us-california
I'm not sure if this is an issue with my attach point, effect file, or just a limitation/bug in FSX/P3D. As a test, I have attached a default SFX .fx file to an object that's linked to another object on my aircraft. The parent object has a visibility attach point. When initially loaded, the object is hidden and no sound plays, which is correct. When the object is shown, the sound plays. However, when hiding the object again, the sound continues to play.

Any ideas? For what it's worth, the default .fx I used was sfx_RumbleLoop.fx.
 
The effect/associated sound is designed to loop, but I want this to happen only when the object is showing. It continues to do so while hidden.
 
Sadly I don't know the best about this topic but I had bad experience myself with sound effects attached to aircraft.
Also I'm not sure if visibility tags actually affect child objects.

If it just doesn't work out, maybe it's possible to achieve the same effect using Doug Dawson's XML sound module?
 
Why not use Doug Dawson's XML sound gauge and a 2D gauge trigger and play "RumbleLOOP.wav" directly?
 
Sadly I don't know the best about this topic but I had bad experience myself with sound effects attached to aircraft.
Also I'm not sure if visibility tags actually affect child objects.

Child objects are at least partially effected, as the sound does start playing when the parent object is shown. It just doesn't stop when hidden again.

Using the built in sound system was preferable, as sound direction and distance are rather important in my scenario.
 
Try assigning both the effect and visibility tag to the dummy.

Just tried this as per your suggestion. Same result, unfortunately.

This is the XML that the attachpoint tool generates for the attachpoint, in case it gives any ideas:

Code:
FSXML = <?xml version="1.0" encoding="ISO-8859-1" ?> <FSMakeMdlData version="9.0"> <Attachpoint name="attachpt_RumbleLoop_5"> <AttachedObject> <Effect effectName="sfx_RumbleLoop" effectParams=""/> </AttachedObject> </Attachpoint> <Visibility name="test_visibility"> </Visibility> </FSMakeMdlData>
 
Hi! I have the exact same problem... Hiding/showing of visual part of the fx works fine, but the sound continues to play. Did you ever find the solution?
 
Back
Top