# 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) # # # # # # # - the tutorial will always keep properties # /sim/tutorial/targets/target[*]/{direction-deg,distance-m} # up-to-date for each # # - Optional: Initialization section consist of one or more # set nodes: # # - Property to set # - value # # - 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 #