--- Cyprien <> wrote:
> Hello,
> I've read the thread of Paul Surgeon <Tying scenario specific code to 
> aircraft> and i think it could be good to do something like this :
> It's hard for me to explain what i'm thinking about with my poor 
> english, so i've made a example and draw a GUI : 
> http://j2rpg.photos.free.fr/scenario/start.png
> Each lesson is divided into stages (Take Off, Climbing Out, First 
> Corner... etc) and each stage have a flag (White = stage is not 
> finished, Green = successfull, Yellow = Small mistake, Orange = Medium 
> mistake, Red = Retry)
> Instructions are displayed only for the current stage (in my example, 
> the current stage is First Corner...).

<snip>

Yes, Paul's thread got me thinking too...

I think having direct in-sim tutorials would be great, and possibly a bit
easier than attaching an external program.

Not sure how easy the flags would be to create. Personally I think I'd
find it a bit distracting to have a dialog box open while flying.

However, it should be quite straight-forward to implement a slightly
simpler version in Nasal using the printScreen patch I submitted earlier.

Specifically, you could have
- a dialog to select a tutorial
- Nasal code controlling the tutorial through either a simple FSM (finite
state machine) written directly in Nasal, or building the FSM from a set
of properties in a XML file as you suggested.
- the current instructions ("turn to heading 090") displayed on the
screen.
- A dialog pop-up at the end of the tutorial indicating pass/failure for
each stage.

As you suggest, the real value would be in being able to create the FSM
from an XML file, allowing additional tutorials to be created easily.
However, that is a much bigger project, and I think it might be very
difficult to provide enough flexibility.

-Stuart


                
___________________________________________________________ 
Yahoo! Photos – NEW, now offering a quality print service from just 8p a photo 
http://uk.photos.yahoo.com


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to