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.
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?
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.
effectName=".................." (either the effect or the controller for the effect)
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..