* Melchior FRANZ -- Friday 29 February 2008:
> (3) initialize the livery class somewhere in a Nasal context (but *not*
> embedded in the animation XML file!)
>
> aircraft.livery.init("Aircraft/foo/Models/Liveries");
BTW: you can attach a listener to /sim/model/livery/file if you want
to
What I forgot ...
(5) add a binding for opening/closing the livery dialog, for example
a menu entry, putting this into foo-set.xml:
...
Foo
Select Livery
I've just enhanced the aircraft.livery class with methods for
easier livery handling over MP. (You also need to update fgfs
to make it work).
Livery HOWTO
(1) add a livery dir, let's say $FG_ROOT/Aircraft/foo/Models/Liveries/
and put an XML file fore every livery in it. For exa
3 matches
Mail list logo