- Messages
- 34,981
- Country

I have been looking at placement of effects using xml. So far I have managed to get most of the parameters to work (I notice that the compiler will let a badly formed parameter string through) The code below is supposed to set the effect for 15 seconds
<FSData version="9.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="bglcomp.xsd" >
<SceneryObject lat="26.0261904166771" lon="-81.0352165997028" alt="0"
altitudeIsAgl="TRUE" pitch="0" bank="0" heading="0"
imageComplexity="NORMAL" >
<Effect effectName="fx_ForestFire.fx"
effectParams="DURATION=15;" />
</SceneryObject>
</FSData>
But the effect just stays on. I assume I have done something wrong
<FSData version="9.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="bglcomp.xsd" >
<SceneryObject lat="26.0261904166771" lon="-81.0352165997028" alt="0"
altitudeIsAgl="TRUE" pitch="0" bank="0" heading="0"
imageComplexity="NORMAL" >
<Effect effectName="fx_ForestFire.fx"
effectParams="DURATION=15;" />
</SceneryObject>
</FSData>
But the effect just stays on. I assume I have done something wrong

