PDA

View Full Version : ObjectPlacer_Xml + Effects


bahri
18 Apr 2005, 09:50
Hi
I have been through the SDK and cannot find what's wrong with this XML file.
bglcomp does not give errors, however this example below works it shows only at Night;
========================================
<FSData version="9.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="bglcomp.xsd">
<!--Light Test-->
<SceneryObject lat="35.8496935750155" lon="14.4962056600221" alt="0.0M" pitch="0.0" bank="0.0" heading="13.7180911494803" altitudeIsAgl="TRUE" imageComplexity="NORMAL">
<Effect effectName="fx_Lichtkegel.fx" effectParams="NIGHT=1"/>
</SceneryObject>
</FSData>
===========================================
while this next one will not show the effect at all, never:
===========================================
<FSData version="9.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="bglcomp.xsd">
<!--Light Test-->
<SceneryObject lat="35.8496935750155" lon="14.4962056600221" alt="0.0M" pitch="0.0" bank="0.0" heading="13.7180911494803" altitudeIsAgl="TRUE" imageComplexity="NORMAL">
<Effect effectName="fx_Lichtkegel.fx" effectParams="NIGHT=1;DUSK=1;"/>
</SceneryObject>

</FSData>
=========================================
I want the effect to show at Night and Dusk.
Any help?
Thanks all

arno
18 Apr 2005, 13:44
Hi,

Check this thread, I think it will answer your question.

http://www.scenerydesign.org/forum/showthread.php?t=581

bahri
18 Apr 2005, 14:24
Hi!
Thanks, The Thread helped.
It's still a bit of a confusion this effects placing but be trial and error it can be managed.