1
0
Fork 0

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:
Julian Smith 2020-12-18 16:58:41 +00:00
parent 466b4e2915
commit 05ee53dea8
2 changed files with 17 additions and 0 deletions

View file

@ -887,6 +887,9 @@ Started September 2000 by David Megginson, david@megginson.com
<adress type="string" userarchive="y">127.0.0.1</adress>
<port type="int" userarchive="y">45003</port>
</swift>
<mp-carriers>
<auto-attach type="bool" userarchive="y"></auto-attach>
</mp-carriers>
</sim>
<!-- accelerations -->
<accelerations>

View file

@ -167,6 +167,20 @@
</binding>
</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>
<row>4</row>
<col>1</col>