From: Stewart A. <san...@sy...> - 2007-04-27 17:10:23
|
Hi Melchior, I had tried getting the ufo from cvs last month, had trouble, and didn't have time to dive in... From the ufo_20060710.zip dated 2006-Jul-11 25134 bytes: Using arrow keys gives Nasal runtime error: non-objects have no members at /usr/local/FlightGear/data/Aircraft/ufo/ufo.nas, line 717 Failed to execute command nasal And clicking gives Nasal runtime error: non-objects have no members at /usr/local/share/FlightGear/data/Aircraft/ufo/ufo.nas, line 579 if (KbdCtrl.getBoolValue()) { I think the problem is at line 875 thru 877, these nodes have not been created. Need arg[1] to be true. But after fixing that, I still can't get anything to happen (when clicking or keypress up and down.) except it does bring up the textbox above (0) Models/fgfsdb/RAFTower.xml Browsing the internal properties, I see the new nodes are still undefined. If I set them to 0 or false, then things start working. But it still ignores the modifier keys. Ctrl, Shift don't function. Is 0.9.10 missing something here, or what else could it be? Stewart Looking at my directory: Apr-27 9:45:55 [0[pts/7:41]sandreas /<4>Aircraft/ufo> ls total 44 -rw-r--r-- 1 sandreas 471 Jan 5 2004 ufo-sound.xml -rw-r--r-- 1 sandreas 3667 Jan 17 2005 thumbnail.jpg -rw-r--r-- 1 sandreas 3636 Jun 19 2006 ufo-set.xml -rw-r--r-- 1 sandreas 29705 Jul 10 2006 ufo.nas drwxr-xr-x 2 sandreas 2048 Mar 28 18:59 Models/ Apr-27 9:45:55 [0[pts/7:42]sandreas /<4>Aircraft/ufo> ls Models total 88 -rw-r--r-- 1 sandreas 33775 Mar 18 2004 ufo.ac -rwxr-xr-x 1 sandreas 699 Apr 5 2004 ufo.xml* -rw-r--r-- 1 sandreas 2117 Mar 14 2006 cursor.rgb -rw-r--r-- 1 sandreas 31620 Mar 14 2006 cursor.ac -rw-r--r-- 1 sandreas 8637 Apr 11 2006 sign.rgb -rw-r--r-- 1 sandreas 1786 May 1 2006 sign.ac Melchior FRANZ wrote: > * Stewart Andreason -- Saturday 10 March 2007: >> Perhaps the improvements I made, regarding VTOL or vertical hovering, with >> bindings to joystick and now keyboard, could be integrated into your ufo? >> Would I check out the current cvs to make proposed patches? > > It's not really "my" UFO, although I kind-of maintain it ATM. It's more > a common project property. But yes, for submitting a patch you should > check out the CVS version, and make a "cvs diff" against it. You should > be aware that the UFO is primarily a means to explore the scenery, to take > screenshots, for scenery object placement etc. An UFO cockpit and fancy > "realistic" flight behavior might not be compatible with this purpose. > We'd have to take a look at this first. In the end it might be desirable > to have two *-set.xml files: one boring development version, and one "real" > UFO. > > > >> Also, the formula to make the shadow shrink with altitude could be >> a useful idea. > > Er ... what? > > > >> Many new screenshots available, (but only 4 Mb per hour) > > Some of them look really nice. :-) > > m. > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Flightgear-devel mailing list > Fli...@li... > https://lists.sourceforge.net/lists/listinfo/flightgear-devel > |