# Functions for XML-based tutorials # --------------------------------------------------------------------------------------- # # # Each tutorial consists of the following XML sections # # - Tutorial Name # - description # - Optional: Directory to pick up audio instructions from. # Relative to FG_ROOT # - Optional: Time of day setting for tutorial: # dawn/morning/noon/afternoon etc. # - Optional: set of presets to used for start position. # See commit-presets and gui/dialog/location-*.xml for details. # # # # # # # # # # # - scenery object definition # - path to model (relative to $FG_ROOT) # # # # # # - optional; define targets with arbitrary names # - for each target "foo" the tutorial will keep properties # /sim/tutorial/targets/foo/{direction-deg,distance-m} # up-to-date # # - Optional: Initialization section consist of one or more # set nodes, and optionall a view node: # # - Property to set # / - value or property to set from # # # - Tutorial step - a segment of the tutorial, consisting of # the following: # - Text instruction displayed when the tutorial reaches # this step, and when neither the exit nor any error. # criteria have been fulfilled #