David,

Looks good, does this tie into the electrical system model at all, or
does it just respond to "switch" position ?

Curt.


David Megginson writes:
> The C172P model now has fixed navigation lights and a flashing red
> beacon on the tail.  The beacon is on by default and the nav lights
> are off.  Here's a screenshot of a long final approach to CYOW 07 at
> night:
> 
>   http://www.megginson.com/flightsim/night-approach.png
> 
> (It's more dramatic when you actually see the beacon flashing.)
> 
> You can control both lighting systems using properties:
> 
>   /controls/lights/beacon
>   /controls/lights/navigation
> 
> The beacon uses a new timed animation that switches among objects at a
> selected framerate (duration-sec):
> 
>  <animation>
>   <name>BeaconFlasher</name>
>   <type>timed</type>
>   <object-name>BeaconOff</object-name>
>   <object-name>BeaconOn</object-name>
>   <duration-sec>1.0</duration-sec>
>  </animation>
> 
> I created two versions of each light, one with emission enabled and
> one with emission disabled.  The nav light animations look like this:
> 
>  <animation>
>   <type>select</type>
>   <object-name>LeftNavLightOn</object-name>
>   <object-name>RightNavLightOn</object-name>
>   <condition>
>    <property>/controls/lights/navigation</property>
>   </condition>
>  </animation>
> 
>  <animation>
>   <type>select</type>
>   <object-name>LeftNavLightOff</object-name>
>   <object-name>RightNavLightOff</object-name>
>   <condition>
>    <not>
>     <property>/controls/lights/navigation</property>
>    </not>
>   </condition>
>  </animation>
> 
> I'll have to tweak this a bit for strobes, but it shouldn't be too
> hard.
> 
> 
> All the best,
> 
> 
> David
> 
> -- 
> David Megginson, [EMAIL PROTECTED], http://www.megginson.com/
> 
> _______________________________________________
> Flightgear-devel mailing list
> [EMAIL PROTECTED]
> http://mail.flightgear.org/mailman/listinfo/flightgear-devel

-- 
Curtis Olson   IVLab / HumanFIRST Program       FlightGear Project
Twin Cities    [EMAIL PROTECTED]                  [EMAIL PROTECTED]
Minnesota      http://www.menet.umn.edu/~curt   http://www.flightgear.org

_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to