--- Curtis Olson wrote: > Hi Stuart, > > I can't quite get out of the starting gate with this. > Preferences.xmlreferences files in the ATC subdir, but the > tar.gz puts this all in the chatmenu subdir. And even when I try to patch > up the paths, I get a Dialog: chat-menu not defined when I try to bring up > the dialog box. So something is definitely missing or not self consistent > at the moment.
Rather than have a sparse set of directories, the original instructions indicated where the various files should go, but obviously weren't clear enough. Here are the file locations: multiplayer.nas -> Nasal/ chat-menu.xml -> gui/dialogs/ chat-menu-entries.xml -> ATC/ To address Melchior's comment about the keyboard bindings, I've changed the description for the '-' key to "Chat Menu", which is consistent with the menubar item. Updated diffs below. Thanks -Stuart Index: preferences.xml =================================================================== RCS file: /var/cvs/FlightGear-0.9/data/preferences.xml,v retrieving revision 1.256 diff -u -r1.256 preferences.xml --- preferences.xml 4 Dec 2007 13:12:15 -0000 1.256 +++ preferences.xml 5 Dec 2007 07:58:48 -0000 @@ -472,6 +472,7 @@ <chat type="string">Hello</chat> <transmission-freq-hz type="string">118500000</transmission-freq-hz> <chat-display type="bool" userarchive="y">true</chat-display> + <chat-menu include="ATC/chat-menu-entries.xml"/> </multiplay> <user> Index: menubar.xml =================================================================== RCS file: /var/cvs/FlightGear-0.9/data/gui/menubar.xml,v retrieving revision 1.68 diff -u -r1.68 menubar.xml --- menubar.xml 4 Dec 2007 10:51:45 -0000 1.68 +++ menubar.xml 5 Dec 2007 07:57:44 -0000 @@ -162,6 +162,14 @@ </binding> </item> + <item> + <label>Chat Menu</label> + <binding> + <command>dialog-show</command> + <dialog-name>chat-menu</dialog-name> + </binding> + </item> + </menu> <menu> Index: keyboard.xml =================================================================== RCS file: /var/cvs/FlightGear-0.9/data/keyboard.xml,v retrieving revision 1.103 diff -u -r1.103 keyboard.xml --- keyboard.xml 26 Nov 2007 17:55:28 -0000 1.103 +++ keyboard.xml 1 Dec 2007 10:08:51 -0000 @@ -352,7 +352,17 @@ </mod-up> </key> - <key n="46"> + <key n="45"> + <name>-</name> + <repeatable type="bool">false</repeatable> + <desc>Chat Menu</desc> + <binding> + <command>dialog-show</command> + <dialog-name>chat-menu</dialog-name> + </binding> + </key> + + <key n="46"> <name>.</name> <desc>Right brake</desc> <binding> @@ -773,6 +783,16 @@ </mod-up> </key> + <key n="95"> + <name>_</name> + <repeatable type="bool">false</repeatable> + <desc>Compose Chat</desc> + <binding> + <command>nasal</command> + <script>multiplayer.compose_message()</script> + </binding> + </key> + <key n="97"> <name>a</name> <desc>Increase speed-up.</desc> ___________________________________________________________ Yahoo! Answers - Got a question? Someone out there knows the answer. Try it now. http://uk.answers.yahoo.com/ ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel