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

Special Sounds at Specific Times

Messages
1,069
Country
us-northcarolina
I was able to create some really cool sound effects at the NAS Alameda Air base I created over at SOH. We have worked on it for the past 5 months and it is ready to release. I created a bgl to activate the morning and evening colors each day on the base. It was done for a monthly range of 1,12 no problem. BUT and a big one for accuracy: Morning Colors are played each day at 08:00 local time on every U.S. military base in the world. Evening colors though are played at sunset when the flag is lowered ceremoniously. Sunset occurs at a different time every month (each day but I am not that crazy) which I averaged since we are only talking about a few minutes difference and this IS flight simulation.

I can create a bgl from my xml files one month at a time but I do not want to have my users changing the bgl every month. I tried to write a file with the twelve months in it, code below but it will NOT compile. Can anyone here tell me what is wrong with the code. I even created 12 effect files with <effect.../> around each date/time range but that did not work either. Any help greatly appreciated before I release the final version this week. Thank you. Here is my xml code:

<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- Created by Scenery Design Engine (SDE) on 5/16/2016 -->
<FSData
version="9.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="bglcomp.xsd">
<SceneryObject
lat="37.786492027"
lon="-122.300349099"
alt="0.0M"
altitudeIsAgl="TRUE"
pitch="0"
bank="0"
heading="0"
imageComplexity="NORMAL">
<Effect effectName="Cntrl_morningcolors" effectParams="MOY1,12;DOM=01,31;HOD=08,08;MOH=00,10;"/>
</SceneryObject>
<SceneryObject
lat="37.786492027"
lon="-122.300349099"
alt="0.0M"
altitudeIsAgl="TRUE"
pitch="0"
bank="0"
heading="0"
imageComplexity="NORMAL">
<Effect effectName="Cntrl_eveningcolors" effectParams=
"MOY1,1;DOM=01,31;HOD=17,20;MOH=20,10;"
"MOY2,2;DOM=01,29;HOD=17,20;MOH=50,10;"
"MOY3,3;DOM=01,31;HOD=19,20;MOH=00,10;"
"MOY4,4;DOM=01,30;HOD=19,20;MOH=45,10;"
"MOY5,5;DOM=01,31;HOD=20,20;MOH=15,10;"
"MOY6,6;DOM=01,30;HOD=20,20;MOH=25,10;"
"MOY7,7;DOM=01,31;HOD=20,20;MOH=25,10;"
"MOY8,8;DOM=01,31;HOD=20,20;MOH=25,10;"
"MOY9,9;DOM=01,30;HOD=19,20;MOH=25,10;"
"MOY10,10;DOM=01,31;HOD=18,20;MOH=35,10;"
"MOY11,11;DOM=01,30;HOD=17,20;MOH=05,10;"
"MOY12,12;DOM=01,31;HOD=16,20;MOH=55,10;"/>
</SceneryObject>
</FSData>
 
Back
Top