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

Sounds

Messages
179
Country
unitedkingdom
In the xml I create for my sound in FSX how can I set a time say if I want a sound to play between 6pm and 6 am. I don't know if anyone remembers but there used to be a programme called FSE from Lago that you could do this quite easly as well as placing AI Traffic.
thanks

Neil
 

arno

Administrator
Staff member
FSDevConf team
Resource contributor
Messages
32,883
Country
netherlands
Can you specify a bit more what you are doing and which xml file you mean?

This is probably not related to the FXEditor tool, in which forum it's posted now.
 
Messages
179
Country
unitedkingdom
High Arno, Attached is the xml file I use (I have changed it into a .txt file). I use these xml's to creat smoke from the houses etc; Sorry if I have poseted it in the wrong forum.
 

Attachments

  • sounds-buttermere.txt
    866 bytes · Views: 275

arno

Administrator
Staff member
FSDevConf team
Resource contributor
Messages
32,883
Country
netherlands
Did you try to add effect parameters to your xml file?
 
Messages
5,214
First thing to do, Neil, is to get rid of those flies:).
Then (instead of an xml?) use a controller.fx (pointing to your effect.fx) where you can add the wanted hours of the day, etc. to make your effect show up when you want it to.
Unless I am wrong of course:eek:?
 
Messages
7,450
Country
us-illinois
Hi Neil:

[EDITED]

Of particular interest might be:

https://www.fsdeveloper.com/forum/threads/sound-effects.424400/

...which demonstrates what "minimum" of code (plain ACSII Text in ex: Windows NotePad) ...may be all that is needed for a sound effect *.Fx file.


To set FS Effect *.Fx display / play parameters for time of day etc,, one must work around a reported 'bug' in FS that requires placing the *.Fx (2) times: see:

https://www.fsdeveloper.com/forum/threads/seagull-sounds.433045/post-700669


You may also wish to explore the threads linked from this Google search: :pushpin:

https://www.google.com/search?source=hp&ei=M76kWuoGgpGPBPeVv9AE&q=site:https://www.fsdeveloper.com+GaryGB+sound+Effect+FX&oq=site:https://www.fsdeveloper.com+GaryGB+sound+Effect+FX&gs_l=psy-ab.3...3773.27404.0.31586.29.29.0.0.0.0.103.1959.28j1.29.0....0...1c.1.64.psy-ab..0.5.424...0j0i131k1j0i131i46k1j46i131k1.0.omf0dJBmwKs

[END_EDIT]


If you need more assistance, feel free to inquire further. :)

GaryGB
 
Last edited:
Messages
5,214
I have to rectify. The controller file is one thing (attenuation distance) but to play the effect at certain moments in time, then you do need an xml in which month, day, hour etc. are defined.
For instance:
<Effect
effectName=".................." (either the effect or the controller for the effect)
effectParams="HOD=16,16;MOH=00,60;"/>
where the effect will be played every day (because the days are not specified) at 16:00 hours during 60 minutes.
Of course you have to compile the xml into a bgl and put the bgl in the scenery folder of your scenery, the effect in the effects folder and the sound in the sound folder..
 
Top