On Thu, 2007-09-06 at 11:44 +0200, Holger Wirtz wrote:
> Hi,
> 
> I will expand the ATC "aircraft" with one (or two) COMs. because I had
> never done this before I have some problems and questions for the
> experts:
> 
> - I want to set the properties for /instrumentation/nav[1]/serviceable
>   to false. If I write some XML code like the following in
>   Aircraft/ATC/MP-ATC-panel.xml it wroks fine for
>   /instrumentation/nav/serviceable but not for
>   /instrumentation/nav[1]/serviceable because of the brackets in the XML
>   code.
> 
> --- cut here ---
> <instrumentation>
> ...
>         <comm>
>             <serviceable>true</serviceable>
>         </comm>
> 
>         <nav>
>             <serviceable>false</serviceable>
>         </nav>
> 
> </instrumentation>
> --- cut here ---
> 
>   What must be done to fix this?

You can either have multiple nav sections:
        <nav> <!-- This in nav[0] -->
            <serviceable>false</serviceable>
        </nav>
        <nav> <!-- This is nav[1] -->
            <serviceable>false</serviceable>
        </nav>

Or set the nav to 1 directly:
        <nav n=1>
            <serviceable>false</serviceable>
        </nav>


> - Is there a description around how to build 2d or 3d panels?

See $fgroot/Docs/README.xmlpanel.html for 2d panels.  3d panels are just
animated models, so $fgroot/Docs/model-howto.html might help.

> - How can I fix the 2D-Panel even when looking around with the mouse?

Good question...  Anyone?

Ron



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to