Hi Fred,
Thanks for your reply,
I started out by placing a medium radio-mast in a very obvious(ly wrong)
location where I could find it at night to observe its current behaviour.
With 098a it doesn't so much flash as twinkle. (albeit with a 1 sec period
of bright twinkling followed by a 1 sec period of not so bright twinkling
but definitely not an on/off behaviour)
I guessed that this was to simulate some random behaviour was observed from
these type of lights when flying. I started on a section that was originally
<animation>
<type>timed</type>
<object-name>StrobesOn</object-name>
<object-name>StrobesOff</object-name>
<use-personality type="bool">true</use-personality>
<branch-duration-sec>
<random>
<min>0.9</min>
<max>1.1</max>
</random>
</branch-duration-sec>
<branch-duration-sec>
<random>
<min>0.9</min>
<max>1.1</max>
</random>
</branch-duration-sec>
</animation>
I adjusted the min/max numbers up and down both synchronously and
asynchronously but couldn't observe any logical pattern to the way the
lights behaved in intensity or timing.
My guess is that the <random> function has something to do with this.
Looking at it though, I think the random-ness is more to do with a slight
variation in on/off duty cycle.
Should I be able to observe a distinct on/off behaviour of the lights?
Regards
:=D ene
From: Frederic Bouvier <[EMAIL PROTECTED]>
Dene,
Quoting dene maxwell :
> Hi
> I want to make a light in an object flash at night (at the moment it is
lit
> steady)
>
> I don't know XML at all, but guess it would apply a conditional
statement
> around the light and use a "time" property tree value.
>
> Can anyone please either point me to an object they know has a flashing
> light at night I can study, or provide a sample of xml code to achieve
this.
Radio towers have flashing lights. See
http://cvs.flightgear.org/cgi-bin/viewcvs/viewcvs.cgi/data/Models/Structures/radio-medium.xml?rev=1.11&cvsroot=FlightGear-0.9&content-type=text/vnd.viewcvs-markup
Search "RedLight" and "Strobe"
-Fred
_________________________________________________________________
Looking for love? Check out XtraMSN Personals
http://xtramsn.match.com/match/mt.cfm?pg=channel&tcid=200731
-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-users