2009-05-04 11:20:44 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<PropertyList>
|
|
|
|
|
2009-05-06 11:27:10 +00:00
|
|
|
<name>pushback</name>
|
|
|
|
<layout>vbox</layout>
|
2009-11-01 17:05:59 +00:00
|
|
|
|
2009-05-06 11:27:10 +00:00
|
|
|
<nasal>
|
|
|
|
<open>
|
2009-05-05 14:17:36 +00:00
|
|
|
var pushback_position = aircraft.door.new("sim/model/pushback", 10.0);
|
|
|
|
pushback_position.setpos(pushback_position.getpos());
|
2009-05-06 17:03:40 +00:00
|
|
|
props.globals.getNode("/sim/model/pushback/enabled", 1 ).setBoolValue(1);
|
2009-05-06 11:27:10 +00:00
|
|
|
props.globals.initNode("/sim/model/pushback/target-speed-fps", 0.0 );
|
2009-11-01 17:05:59 +00:00
|
|
|
</open>
|
|
|
|
<close>
|
2009-05-06 17:03:40 +00:00
|
|
|
pushback_position.setpos(0);
|
|
|
|
setprop("/sim/model/pushback/enabled", 0 );
|
2009-11-01 17:05:59 +00:00
|
|
|
</close>
|
2009-05-06 11:27:10 +00:00
|
|
|
</nasal>
|
2009-05-04 11:20:44 +00:00
|
|
|
|
2009-05-06 11:27:10 +00:00
|
|
|
<group>
|
|
|
|
<layout>hbox</layout>
|
|
|
|
<text>
|
2009-05-04 11:20:44 +00:00
|
|
|
<label>Pushback</label>
|
2009-05-06 11:27:10 +00:00
|
|
|
</text>
|
2009-05-04 11:20:44 +00:00
|
|
|
|
2009-05-06 11:27:10 +00:00
|
|
|
<empty>
|
|
|
|
<stretch>true</stretch>
|
|
|
|
</empty>
|
2009-05-04 11:20:44 +00:00
|
|
|
|
2009-05-06 11:27:10 +00:00
|
|
|
<button>
|
|
|
|
<legend/>
|
2009-05-04 11:20:44 +00:00
|
|
|
<key>Esc</key>
|
|
|
|
<pref-width>16</pref-width>
|
|
|
|
<pref-height>16</pref-height>
|
|
|
|
<border>2</border>
|
|
|
|
<binding>
|
2009-05-06 11:27:10 +00:00
|
|
|
<command>dialog-close</command>
|
|
|
|
</binding>
|
|
|
|
</button>
|
|
|
|
</group>
|
2009-05-04 11:20:44 +00:00
|
|
|
|
2009-05-06 11:27:10 +00:00
|
|
|
<hrule/>
|
2009-05-04 11:20:44 +00:00
|
|
|
|
2009-05-06 11:27:10 +00:00
|
|
|
<group>
|
|
|
|
<stretch>true</stretch>
|
|
|
|
<layout>vbox</layout>
|
|
|
|
<halign>center</halign>
|
|
|
|
<valign>top</valign>
|
2009-05-04 11:20:44 +00:00
|
|
|
|
|
|
|
<checkbox>
|
|
|
|
<halign>left</halign>
|
2009-11-01 17:05:59 +00:00
|
|
|
<label>(Dis)Connect pushback</label>
|
2009-05-04 11:20:44 +00:00
|
|
|
<property>/sim/model/pushback/position-norm</property>
|
|
|
|
<binding>
|
2009-05-06 11:27:10 +00:00
|
|
|
<command>nasal</command>
|
|
|
|
<script>pushback_position.toggle();</script>
|
2009-05-04 11:20:44 +00:00
|
|
|
</binding>
|
|
|
|
</checkbox>
|
|
|
|
|
2009-05-06 11:27:10 +00:00
|
|
|
<group>
|
|
|
|
<layout>hbox</layout>
|
|
|
|
|
|
|
|
<text>
|
|
|
|
<label>Speed:</label>
|
|
|
|
</text>
|
|
|
|
|
|
|
|
<slider>
|
|
|
|
<row>0</row>
|
|
|
|
<col>2</col>
|
2009-11-01 17:05:59 +00:00
|
|
|
<min>-25</min> <!-- +/- 15kts -->
|
|
|
|
<max>25</max>
|
2009-05-06 11:27:10 +00:00
|
|
|
<property>/sim/model/pushback/target-speed-fps</property>
|
|
|
|
<binding>
|
|
|
|
<command>dialog-apply</command>
|
|
|
|
</binding>
|
|
|
|
</slider>
|
|
|
|
|
|
|
|
<text>
|
|
|
|
<pref-width>16</pref-width>
|
|
|
|
<property>/sim/model/pushback/target-speed-fps</property>
|
|
|
|
<format>%2.0f</format>
|
|
|
|
<live>true</live>
|
|
|
|
</text>
|
|
|
|
|
|
|
|
<text>
|
|
|
|
<label>fps</label>
|
|
|
|
</text>
|
|
|
|
|
|
|
|
</group>
|
|
|
|
|
2009-11-01 17:05:59 +00:00
|
|
|
</group> </PropertyList>
|