Allow control of whether to auto-attach to multiplayer carriers.
gui/dialogs/multiplayer.xml: added checkbox. defaults.xml: default /sim/mp-carriers/auto-attach to false with userarchive="y". Multiplayer carrier auto-attach is implemented in fgaddon/MPCarrier/Systems/MPCarriers.nas.
This commit is contained in:
parent
466b4e2915
commit
05ee53dea8
2 changed files with 17 additions and 0 deletions
|
@ -887,6 +887,9 @@ Started September 2000 by David Megginson, david@megginson.com
|
||||||
<adress type="string" userarchive="y">127.0.0.1</adress>
|
<adress type="string" userarchive="y">127.0.0.1</adress>
|
||||||
<port type="int" userarchive="y">45003</port>
|
<port type="int" userarchive="y">45003</port>
|
||||||
</swift>
|
</swift>
|
||||||
|
<mp-carriers>
|
||||||
|
<auto-attach type="bool" userarchive="y"></auto-attach>
|
||||||
|
</mp-carriers>
|
||||||
</sim>
|
</sim>
|
||||||
<!-- accelerations -->
|
<!-- accelerations -->
|
||||||
<accelerations>
|
<accelerations>
|
||||||
|
|
|
@ -167,6 +167,20 @@
|
||||||
</binding>
|
</binding>
|
||||||
</checkbox>
|
</checkbox>
|
||||||
|
|
||||||
|
<checkbox>
|
||||||
|
<row>2</row>
|
||||||
|
<col>1</col>
|
||||||
|
<colspan>2</colspan>
|
||||||
|
<halign>left</halign>
|
||||||
|
<name>mpcarrier-auto-attach</name>
|
||||||
|
<label>Automatically enable AI scenarios and attach to multiplayer carriers</label>
|
||||||
|
<property>/sim/mp-carriers/auto-attach</property>
|
||||||
|
<binding>
|
||||||
|
<command>property-toggle</command>
|
||||||
|
<property>/sim/mp-carriers/auto-attach</property>
|
||||||
|
</binding>
|
||||||
|
</checkbox>
|
||||||
|
|
||||||
<checkbox>
|
<checkbox>
|
||||||
<row>4</row>
|
<row>4</row>
|
||||||
<col>1</col>
|
<col>1</col>
|
||||||
|
|
Loading…
Add table
Reference in a new issue