| 1 | # MP carriers |
| 2 | |
| 3 | [TOC] |
| 4 | |
| 5 | ## Overview |
| 6 | |
| 7 | There are two settings properties that improve the behaviour of MP carriers. |
| 8 | |
| 9 | Both appear in the "Multiplayer Settings" dialogue, from menu "Multiplayer/Multiplayer Settings". |
| 10 | |
| 11 | * `/sim/mp-carriers/auto-attach` |
| 12 | |
| 13 | This is true by default. |
| 14 | |
| 15 | When an MP carriers appear, we automatically enable the matching AI scenario so that it will |
| 16 | be visible to the user. |
| 17 | |
| 18 | * `/sim/mp-carriers/latch-always` |
| 19 | |
| 20 | This is not enabled by default. |
| 21 | |
| 22 | When enabled we force an AI carrier to exactly follow the position and orientation of the MP carrier; this is done by C++ in each frame (otherwise Flightgear uses Nasal to periodically change the AI carrier's velocity to make it approximately follow the MP carrier). |
| 23 | |
| 24 | This works better as long as multiplayer motion is smooth (e.g. with simple-time). |
| 25 | |
| 26 | And it also improves behaviour when replaying recordings because the carrier position is replayed exactly the same as when recorded. |