Hi
I fired up FG this morning to explore the property tree......
From: "dene maxwell" <[EMAIL PROTECTED]>
Date: Thu, 18 May 2006 20:09:57 +1200
Hi
I have been exploring what's possible with the AI features of 098a (win32
Binary). By careful substitution in the Nimitz files, have got Roberto's
FerryBoat1 to follow a course across the local harbour. A couple of
questions have arisen about behaviour I don't understand;
- in the <ai> section or preferences.xml I added my scenario
(arahunga_demo) [this is the name of the local interisland ferry
*Arahunga*], for testing purposes I still wanted the nimitz to appear, so
modified the <ai-traffic> value to 2 (as only the first entry in <ai> would
appear).... despite the <ai-traffic> value being increased, only the first
entry in <ai> appears. I created a separate wrapper with an approx 100m
easterly displacement for a second instance of the nimitz (a known good
sim)...but still only the first entry shows.... how do I get more than 1 AI
object to show?
- in the nimitz_demo.xml file is has an entry <type>carrier</type>,
changing "carrier" to anything else kills the AI object. What's the
significance of the <type> value and what values can it take?
- does each ai object have it's own instance of a property tree? ie if I
read a lat and long from the property tree; a) will it be the planes or the
AI object's b) if I have more than one AI object how do I choose between
them(property tree-wise)..... hmmmm can I access ai-object #2's properties
from the animations of ai-object #1?
.........and found the /ai/models branch, answers this question anyway....
any help on the others would still be appreciated
this all based around 098a features as I would hope the answers will be :-}
as I can't test solutions that rely on features in versions later than
098a.
Kind regards
:-D ene
PS new distro of NZ (NZWN) objects and animations out soon for those that
are interested.
_________________________________________________________________
Check out the latest video @ http://xtra.co.nz/streaming
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel