3e268e394c
An IRC discussion about shavlir's (really nice) harrier model showed that it had its own version of something like the Fuel & Weight dialog, developed because the existing subsystem only supported sliders and not "combo box" style selection for specific external stores. That seemed sub-optimal, so I spent a few hours extending the F&W dialog to do this and forward-ported the harrier to use it. Check the harrier-set.xml file for an example. Basically, the weight dialog reads a list of options for each weight listed under /sim/weight[n] and manages a "selected" proprty telling us which one is in use. The FDM code can then read out the weight-lb property as before, and the model animations can use the selected option to predicate drawing the appropriate 3D content. It seems to work pretty well. |
||
---|---|---|
.. | ||
aircraft.nas | ||
atc-chatter.nas | ||
controls.nas | ||
dynamic_view.nas | ||
fuel.nas | ||
globals.nas | ||
gui.nas | ||
lead_target.nas | ||
material.nas | ||
props.nas | ||
screen.nas | ||
track_target.nas | ||
tutorial.nas | ||
view.nas |