autoconfig-file-spec.html: add TeamAllowed/TeamCount to example; fix caveat #3

This commit is contained in:
2026-07-24 10:37:37 -05:00
parent cd2fe73c88
commit 9a9f2d0df2
+7 -7
View File
@@ -43,7 +43,7 @@
<div class="meta"> <div class="meta">
Feature: Console Lobby &ldquo;Load File&rdquo; button &nbsp;|&nbsp; Feature: Console Lobby &ldquo;Load File&rdquo; button &nbsp;|&nbsp;
Commit: <code>c3346561</code> (branch <code>5.1.0b-in-progress</code>) &nbsp;|&nbsp; Commit: <code>c3346561</code> (branch <code>5.1.0b-in-progress</code>) &nbsp;|&nbsp;
Date: 2026-07-24 Date: 2026-07-24, updated 2026-07-24 (commit <code>cd2fe73c</code>)
</div> </div>
<h2>1. Overview</h2> <h2>1. Overview</h2>
@@ -117,6 +117,7 @@ The system operates with <strong>two separate files</strong>:
<pre><span class="section">[mission]</span> <pre><span class="section">[mission]</span>
<span class="key">MissionName</span>=<span class="value">ScarabStronghold - Attrition</span> <span class="key">MissionName</span>=<span class="value">ScarabStronghold - Attrition</span>
<span class="key">GameType</span>=<span class="value">2</span> <span class="key">GameType</span>=<span class="value">2</span>
<span class="key">TeamAllowed</span>=<span class="value">0</span>
<span class="key">Visibility</span>=<span class="value">0</span> <span class="key">Visibility</span>=<span class="value">0</span>
<span class="key">Weather</span>=<span class="value">0</span> <span class="key">Weather</span>=<span class="value">0</span>
<span class="key">TimeOfDay</span>=<span class="value">0</span> <span class="key">TimeOfDay</span>=<span class="value">0</span>
@@ -532,11 +533,9 @@ Match is exact string equality, case-sensitive. Trailing/leading spaces are stri
Any slot not defined in the file (or defined with <code>Type=0</code>) will be empty in the lobby. Any slot not defined in the file (or defined with <code>Type=0</code>) will be empty in the lobby.
</li> </li>
<li> <li>
<strong>Team vs. FFA assignment uses the lobby&rsquo;s state at the moment Load File is clicked, <strong>Team vs. FFA display is correct on the first click</strong> provided <code>TeamAllowed=</code> is set correctly in the file.
not the <code>GameType</code> written in the file.</strong> The game updates <code>team_allowed</code> synchronously from this field before processing slots.
The game type change from <code>[mission]</code> is processed asynchronously (next frame). If <code>TeamAllowed</code> is absent, it defaults to <code>0</code> (FFA) regardless of <code>GameType</code>.
If you are changing game mode, click Load File a second time to correctly apply team/skin assignments,
or pre-configure the lobby to the correct game type before writing the config file.
</li> </li>
<li> <li>
<strong><code>MissionName</code> and <code>Mech</code> matches are case-sensitive.</strong> <strong><code>MissionName</code> and <code>Mech</code> matches are case-sensitive.</strong>
@@ -568,7 +567,8 @@ Match is exact string equality, case-sensitive. Trailing/leading spaces are stri
Generated from source: <code>MW4Shell.cpp</code> &mdash; <code>CTCL_LoadAutoFile</code>, Generated from source: <code>MW4Shell.cpp</code> &mdash; <code>CTCL_LoadAutoFile</code>,
<code>CTCL_GetAutoSlotName/Mech/Int</code> &nbsp;|&nbsp; <code>CTCL_GetAutoSlotName/Mech/Int</code> &nbsp;|&nbsp;
<code>ConLobby.script</code> &mdash; <code>o_load_file</code> handler &nbsp;|&nbsp; <code>ConLobby.script</code> &mdash; <code>o_load_file</code> handler &nbsp;|&nbsp;
Commit c3346561 &nbsp;|&nbsp; 2026-07-24 <code>ConLobbyMission.script</code> &mdash; <code>MAIL_LOAD_AUTO_MISSION</code> &nbsp;|&nbsp;
Commit cd2fe73c &nbsp;|&nbsp; 2026-07-24
</p> </p>
</body> </body>