hi
I'm using the base_clape_03.xml/ac object as a substitute for a local landmark. Today I took a night flight into the airport (NZWN) and noticed the nav light. Examination of the xml file shows it switches on at night.

I want to make it flash at 1 second intervals (50/50 duty cycle) like the local landmark.

I'm not familiar with xml so would appreciate some help.

The xml file is;
<?xml version="1.0"?>

<PropertyList>

<path>base_clape_03.ac</path>

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

<animation>
 <type>select</type>
 <object-name>RedLight.3</object-name>
 <condition>
  <greater-than>
   <property>/sim/time/sun-angle-rad</property>
   <value>1.57</value>
  </greater-than>
 </condition>
</animation>

<animation>
 <type>translate</type>
 <object-name>RedLight.3</object-name>
 <offset-m>39.45</offset-m>
 <axis>
  <x>-2.95</x>
  <y>-1.65</y>
  <z>39.45</z>
 </axis>
</animation>

<animation>
 <type>billboard</type>
 <object-name>RedLight.3</object-name>
 <spherical type="bool">true</spherical>
</animation>

<animation>
 <type>dist-scale</type>
 <object-name>RedLight.3</object-name>
 <interpolation>
  <entry><ind>0</ind><dep>0.1</dep></entry>
  <entry><ind>500</ind><dep>0.2</dep></entry>
  <entry><ind>20000</ind><dep>4</dep></entry>
 </interpolation>
</animation>

</PropertyList>

I'm using 098a/Win Me so any solution needs to be supported by 098a functionality.

Tia
:=D ene

_________________________________________________________________
Need more speed? Get Xtra Broadband @ http://jetstream.xtra.co.nz/chm/0,,202853-1000,00.html



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Flightgear-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-users

Reply via email to