Re: [Flightgear-devel] livery handling (& MP updates)

2008-03-01 Thread Melchior FRANZ
* 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

Re: [Flightgear-devel] livery handling (& MP updates)

2008-02-29 Thread Melchior FRANZ
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

[Flightgear-devel] livery handling (& MP updates)

2008-02-29 Thread Melchior FRANZ
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