2003-04-01 14:28:35 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
|
2005-10-02 19:56:44 +00:00
|
|
|
<!-- General ATC/AI options -->
|
2003-04-01 14:28:35 +00:00
|
|
|
|
2005-10-02 19:56:44 +00:00
|
|
|
<PropertyList>
|
2003-04-01 14:28:35 +00:00
|
|
|
<name>atc-ai</name>
|
|
|
|
<modal>false</modal>
|
2005-10-02 19:56:44 +00:00
|
|
|
<layout>vbox</layout>
|
2003-04-01 14:28:35 +00:00
|
|
|
|
|
|
|
<text>
|
|
|
|
<label>ATC/AI Options</label>
|
|
|
|
</text>
|
|
|
|
|
2007-03-26 15:25:27 +00:00
|
|
|
<hrule/>
|
2004-03-09 13:18:23 +00:00
|
|
|
|
2005-10-02 19:56:44 +00:00
|
|
|
<group>
|
|
|
|
<layout>hbox</layout>
|
|
|
|
<empty>
|
|
|
|
<pref-width>10</pref-width>
|
|
|
|
</empty>
|
|
|
|
|
|
|
|
<group>
|
|
|
|
<layout>vbox</layout>
|
|
|
|
|
|
|
|
<checkbox>
|
|
|
|
<halign>left</halign>
|
|
|
|
<label>Enable ATC</label>
|
|
|
|
<property>/sim/atc/enabled</property>
|
|
|
|
</checkbox>
|
|
|
|
|
|
|
|
<checkbox>
|
|
|
|
<halign>left</halign>
|
|
|
|
<label>Enable AI traffic</label>
|
|
|
|
<property>/sim/ai-traffic/enabled</property>
|
|
|
|
</checkbox>
|
|
|
|
|
|
|
|
<group>
|
|
|
|
<layout>hbox</layout>
|
|
|
|
|
|
|
|
<text>
|
|
|
|
<halign>left</halign>
|
|
|
|
<label>AI traffic density:</label>
|
|
|
|
</text>
|
|
|
|
|
|
|
|
<combo>
|
|
|
|
<halign>left</halign>
|
|
|
|
<property>/sim/ai-traffic/level</property>
|
|
|
|
<value>1</value>
|
|
|
|
<value>2</value>
|
|
|
|
<value>3</value>
|
|
|
|
</combo>
|
|
|
|
</group>
|
|
|
|
|
|
|
|
</group>
|
|
|
|
|
|
|
|
<empty><stretch>true</stretch></empty>
|
|
|
|
</group>
|
2005-10-02 09:57:35 +00:00
|
|
|
|
2007-03-26 15:25:27 +00:00
|
|
|
<hrule/>
|
2005-10-02 09:57:35 +00:00
|
|
|
|
|
|
|
<text>
|
2005-10-02 19:56:44 +00:00
|
|
|
<halign>left</halign>
|
2005-11-05 13:59:06 +00:00
|
|
|
<label>AI Carrier</label>
|
2005-10-02 19:56:44 +00:00
|
|
|
<color>
|
|
|
|
<red>0.5</red>
|
|
|
|
<green>0.5</green>
|
|
|
|
<blue>0.5</blue>
|
|
|
|
<alpha>1</alpha>
|
|
|
|
</color>
|
2005-10-02 09:57:35 +00:00
|
|
|
</text>
|
|
|
|
|
2005-10-02 19:56:44 +00:00
|
|
|
<group>
|
|
|
|
<layout>hbox</layout>
|
|
|
|
<empty>
|
|
|
|
<pref-width>10</pref-width>
|
|
|
|
</empty>
|
|
|
|
|
|
|
|
<group>
|
|
|
|
<layout>vbox</layout>
|
|
|
|
|
|
|
|
<checkbox>
|
|
|
|
<halign>left</halign>
|
|
|
|
<label>Turn into wind</label>
|
2006-02-23 17:31:08 +00:00
|
|
|
<property>/ai/models/carrier/controls/turn-to-launch-hdg</property>
|
|
|
|
<binding>
|
|
|
|
<command>dialog-apply</command>
|
|
|
|
</binding>
|
|
|
|
<binding>
|
|
|
|
<command>nasal</command>
|
|
|
|
<script>
|
|
|
|
var v = getprop("/ai/models/carrier/controls/turn-to-launch-hdg");
|
|
|
|
foreach (carrier; props.globals.getNode("/ai/models").getChildren("carrier")) {
|
|
|
|
carrier.getNode("controls/turn-to-launch-hdg").setBoolValue(v);
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
</binding>
|
|
|
|
</checkbox>
|
|
|
|
|
|
|
|
<checkbox>
|
|
|
|
<halign>left</halign>
|
|
|
|
<label>Operate Deck Elevators</label>
|
|
|
|
<property>/ai/models/carrier/controls/elevators</property>
|
|
|
|
<binding>
|
|
|
|
<command>dialog-apply</command>
|
|
|
|
</binding>
|
|
|
|
<binding>
|
|
|
|
<command>nasal</command>
|
|
|
|
<script>
|
|
|
|
var v = getprop("/ai/models/carrier/controls/elevators");
|
|
|
|
foreach (carrier; props.globals.getNode("/ai/models").getChildren("carrier")) {
|
|
|
|
carrier.getNode("controls/elevators").setBoolValue(v);
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
</binding>
|
2005-10-02 19:56:44 +00:00
|
|
|
</checkbox>
|
|
|
|
|
|
|
|
</group>
|
|
|
|
|
|
|
|
<empty><stretch>true</stretch></empty>
|
|
|
|
</group>
|
2005-10-02 09:57:35 +00:00
|
|
|
|
2003-04-01 14:28:35 +00:00
|
|
|
<group>
|
2005-10-02 19:56:44 +00:00
|
|
|
<layout>hbox</layout>
|
|
|
|
<default-padding>6</default-padding>
|
|
|
|
<empty><stretch>true</stretch></empty>
|
2003-04-01 14:28:35 +00:00
|
|
|
|
|
|
|
<button>
|
|
|
|
<legend>OK</legend>
|
2005-10-02 09:57:35 +00:00
|
|
|
<default>true</default>
|
|
|
|
<equal>true</equal>
|
2003-04-01 14:28:35 +00:00
|
|
|
<binding>
|
|
|
|
<command>dialog-apply</command>
|
|
|
|
</binding>
|
|
|
|
<binding>
|
|
|
|
<command>dialog-close</command>
|
|
|
|
</binding>
|
|
|
|
</button>
|
|
|
|
|
|
|
|
<button>
|
|
|
|
<legend>Apply</legend>
|
2005-10-02 09:57:35 +00:00
|
|
|
<equal>true</equal>
|
2003-04-01 14:28:35 +00:00
|
|
|
<binding>
|
|
|
|
<command>dialog-apply</command>
|
|
|
|
</binding>
|
|
|
|
</button>
|
|
|
|
|
|
|
|
<button>
|
|
|
|
<legend>Reset</legend>
|
2005-10-02 09:57:35 +00:00
|
|
|
<equal>true</equal>
|
2003-04-01 14:28:35 +00:00
|
|
|
<binding>
|
|
|
|
<command>dialog-update</command>
|
|
|
|
</binding>
|
|
|
|
</button>
|
|
|
|
|
|
|
|
<button>
|
|
|
|
<legend>Cancel</legend>
|
2005-10-02 09:57:35 +00:00
|
|
|
<equal>true</equal>
|
2005-11-05 18:42:28 +00:00
|
|
|
<key>Esc</key>
|
2003-04-01 14:28:35 +00:00
|
|
|
<binding>
|
|
|
|
<command>dialog-close</command>
|
|
|
|
</binding>
|
|
|
|
</button>
|
|
|
|
|
2005-10-02 19:56:44 +00:00
|
|
|
<empty><stretch>true</stretch></empty>
|
2003-04-01 14:28:35 +00:00
|
|
|
</group>
|
|
|
|
</PropertyList>
|