Inspired !!! :-) ... saves struggling with Blender (not that i'm giving up on it :-/) this method allows me to maintain progress without relying on Blender until I come to grips with it while using documented xml methods...

...Thanks Mechior

:-D ene

From: Melchior FRANZ <[EMAIL PROTECTED]>
Reply-To: flightgear-users@lists.sourceforge.net
To: flightgear-users@lists.sourceforge.net
Subject: [Flightgear-users] Re: Flashing a light
Date: Mon, 24 Apr 2006 22:21:51 +0200

* dene maxwell -- Monday 24 April 2006 21:19:
> I have confirmed that removing these place holders stops the *flashing*
> animation from working.

The following works -- without placeholder madness. I only added added
an empty LampOff object to the *.ac file:

  AC3Db
MATERIAL "Material" rgb 1 0.042834 0 amb 0.5 0.5 0.5 emis 1 0 0 spec 0 0 0 shi 72 trans 0
  OBJECT poly
  kids 2
  OBJECT poly           \
  name "LampOff"        |-----empty object
  kids 0                /
  OBJECT poly
  name "LampOn"
  numvert 42
  0 0 -2.045871
  1.480392 -1.075556 -0.914944



<?xml version="1.0"?>

<PropertyList>

    <path>generic-lighthouse.ac</path>

    <animation>
        <type>range</type>
        <min-m>0</min-m>
        <max-m>20000</max-m>
    </animation>

    <animation>
        <type>timed</type>
        <object-name>LampOn</object-name>
        <object-name>LampOff</object-name>
        <use-personality type="bool">true</use-personality>
        <branch-duration-sec>1</branch-duration-sec>
        <branch-duration-sec>1</branch-duration-sec>
    </animation>

    <animation>
        <type>select</type>
        <object-name>Lamp</object-name>
        <condition>
            <greater-than>
                <property>/sim/time/sun-angle-rad</property>
                <value>1.5</value>
            </greater-than>
        </condition>
    </animation>

</PropertyList>



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Flightgear-users mailing list
Flightgear-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-users

_________________________________________________________________
Read the latest Hollywood gossip  @  http://xtramsn.co.nz/entertainment



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Flightgear-users mailing list
Flightgear-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-users

Reply via email to