8,571
edits
(Prepare for publishing) |
m (→Aircraft Checklists: argh, stupid red link) |
||
Line 12: | Line 12: | ||
=== Aircraft Checklists === | === Aircraft Checklists === | ||
{{Main article|Aircraft Checklists}} | {{Main article|Aircraft Checklists}} | ||
Stuart has pushed a further enhancement to the [[Aircraft | Stuart has pushed a further enhancement to the [[Aircraft Checklists|checklist feature]]. Aircraft authors may now add one or more [[Bindings|<binding>]] elements to a checklist <item>. Conceptually, these are the actions that the user should execute to complete the item. The checklist GUI displays items with such <binding> elements with an additional [>] button. Clicking on the button executes the bindings, allowing the user to watch as the computer/co-pilot/instructor executes the checklist item. Due to the power of Nasal and properties, this feature only required 13 lines of code to write, most of which is displaying the button! | ||
The <binding> element is exactly as you would expect - so property-assign, nasal etc. works. It's a good moment to highlight the property-interpolate command which provides a very convenient way to interpolate a property to a new value. See <tt>[[$FG_ROOT]]/Docs/README.commands</tt> if you were unaware of this. | The <binding> element is exactly as you would expect - so property-assign, nasal etc. works. It's a good moment to highlight the property-interpolate command which provides a very convenient way to interpolate a property to a new value. See <tt>[[$FG_ROOT]]/Docs/README.commands</tt> if you were unaware of this. | ||
Line 18: | Line 18: | ||
The [[Cessna 172P]] has been updated to use this feature, including some rather cute interpolations of the throttle, mixture and trim controls. | The [[Cessna 172P]] has been updated to use this feature, including some rather cute interpolations of the throttle, mixture and trim controls. | ||
Stuart is planning to extend this function so that checklists with one or more items containing a <binding> element can have an (optional) button to execute the entire checklist. | Stuart is planning to extend this function so that checklists with one or more items containing a <binding> element can have an (optional) button to execute the entire checklist. | ||
=== Transponder === | === Transponder === |