1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

ObjectPlacer_Xml + Effects

Discussion in 'ObPlacer and ObPlacer XML' started by bahri, 18/4/05.

  1. bahri

    bahri

    Joined:
    18/4/05
    Messages:
    9
    Country:
    malta
    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
  2. arno

    arno Administrator Staff Member FSDevConf team Resource contributor

    Joined:
    28/5/04
    Messages:
    21,237
    Country:
    netherlands
  3. bahri

    bahri

    Joined:
    18/4/05
    Messages:
    9
    Country:
    malta
    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.

Share This Page