Hi,
You can also just open the property tree in-sim with /, browse to the
desired property, shift-click on it, and it'll be on screen for that
session. Convenient when you just need to check a few values that are not in
your script(s) :)
Ctrl-click toggles booleans from true to false.
Cheers,
Nic
On Sat, Aug 15, 2009 at 8:56 AM, Anders Gidenstam
<[email protected]>wrote:
> On Sat, 15 Aug 2009, Behlül UÇAR wrote:
>
> Hi, I'm researching for weeks to understand FlightGear system.
>>
>> Actually what i want to do is that I want to print some logging properties
>> directly on the FlightGear screen. I couldn't see any information how to
>> print something directly on the FlightGear screen. I can handle properties
>> with Nasal and show them on terminal but as i said i want them to show up
>> on
>> gamescreen.
>>
>
> Hi,
>
> It's is easy to do that from Nasal via the module screen.nas.
> Example for a JSBSim aircraft (you can e.g. run it in the Nasal console
> available from the debug menu):
>
> var left = screen.display.new(20, 10);
> left.add("/orientation/pitch-deg");
> var right = screen.display.new(-200, 10);
> right.add("/fdm/jsbsim/propulsion/engine[0]/propeller-rpm");
> right.add("/fdm/jsbsim/propulsion/engine[0]/power-hp");
> right.add("/fdm/jsbsim/propulsion/engine[0]/thrust-lbs");
> right.add("/fdm/jsbsim/propulsion/engine[0]/boost-psi");
>
> With the developer extensions enabled (also in the debug menu) you can also
> find any property via the '/' key and display its value by pressing enter,
> or put it on-screen by pressing '!' (or open the propert browser by pressing
> ':').
>
> Cheers,
>
> Anders
> --
> ---------------------------------------------------------------------------
> Anders Gidenstam
> WWW: http://www.gidenstam.org/FlightGear/
>
> ------------------------------------------------------------------------------
>
>
>
--
Be Kind.
Remember, everyone is fighting a hard battle.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Flightgear-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel