autoconfig-file-spec.html: add TeamAllowed/TeamCount to example; fix caveat #3
This commit is contained in:
@@ -43,7 +43,7 @@
|
||||
<div class="meta">
|
||||
Feature: Console Lobby “Load File” button |
|
||||
Commit: <code>c3346561</code> (branch <code>5.1.0b-in-progress</code>) |
|
||||
Date: 2026-07-24
|
||||
Date: 2026-07-24, updated 2026-07-24 (commit <code>cd2fe73c</code>)
|
||||
</div>
|
||||
|
||||
<h2>1. Overview</h2>
|
||||
@@ -117,6 +117,7 @@ The system operates with <strong>two separate files</strong>:
|
||||
<pre><span class="section">[mission]</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">TeamAllowed</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">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.
|
||||
</li>
|
||||
<li>
|
||||
<strong>Team vs. FFA assignment uses the lobby’s state at the moment Load File is clicked,
|
||||
not the <code>GameType</code> written in the file.</strong>
|
||||
The game type change from <code>[mission]</code> is processed asynchronously (next frame).
|
||||
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.
|
||||
<strong>Team vs. FFA display is correct on the first click</strong> provided <code>TeamAllowed=</code> is set correctly in the file.
|
||||
The game updates <code>team_allowed</code> synchronously from this field before processing slots.
|
||||
If <code>TeamAllowed</code> is absent, it defaults to <code>0</code> (FFA) regardless of <code>GameType</code>.
|
||||
</li>
|
||||
<li>
|
||||
<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> — <code>CTCL_LoadAutoFile</code>,
|
||||
<code>CTCL_GetAutoSlotName/Mech/Int</code> |
|
||||
<code>ConLobby.script</code> — <code>o_load_file</code> handler |
|
||||
Commit c3346561 | 2026-07-24
|
||||
<code>ConLobbyMission.script</code> — <code>MAIL_LOAD_AUTO_MISSION</code> |
|
||||
Commit cd2fe73c | 2026-07-24
|
||||
</p>
|
||||
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user