Skip to content

feat(config): MM config template, recommended over inline DO SCRIPT - #71

Merged
FullGas1 merged 2 commits into
mainfrom
feature/mm-config-template
Aug 22, 2026
Merged

FullGas1 merged 2 commits into
mainfrom
feature/mm-config-template

Conversation

@FullGas1

Copy link
Copy Markdown
Owner

Summary

  • Add templates/DynamicMission_Config.lua listing the 13 already-documented overridable DM.Config fields (commented, with defaults) - no change to sources/DynamicMission.lua
  • Update GUIDE_MISSIONMAKER.md (7.1/7.2) to present the template as the recommended method, keeping the inline DO SCRIPT as a fallback for one-off settings

Closes #70 (ticket), implements #69 (PRD)

Test plan

  • Verified live via VEAF-dcs-bridge: dofile of the template (with IDLE_LIMIT uncommented) changes DM.Config.IDLE_LIMIT from 300 to 600 in a connected mission
  • pre-push headless scenarios (3/3 PASS) - no regression, no sources/ change

Add templates/DynamicMission_Config.lua listing the 13 DM.Config fields
already documented as overridable, loaded via a second DO SCRIPT FILE
after DynamicMission.lua. No change to sources/DynamicMission.lua - the
post-load override mechanism already works via direct field assignment.

Update GUIDE_MISSIONMAKER.md to present the template as the recommended
method (versionable, reusable across missions), keeping the inline DO
SCRIPT as a fallback for one-off settings.

Closes #70
@FullGas1
FullGas1 merged commit b3456a3 into main Aug 22, 2026
3 checks passed
@FullGas1
FullGas1 deleted the feature/mm-config-template branch August 22, 2026 20:54
FullGas1 added a commit that referenced this pull request Aug 22, 2026
… le code actuel

Premier commit du fichier (jamais versionne jusqu'ici). Corrige les ecarts
accumules depuis sa redaction initiale : compteurs de lignes et bornes de
classes obsoletes, evenement S_EVENT_BIRTH absent du tableau de la section 3.1,
mention [all][air] perimee (PR #63), RATIO_FORCE_BALANCING encore liste alors
que retire par PR #74, table DM.Config incomplete (DESIGNATED_PLAYER_NAME,
PREFIX_*, BEEP_*, etc.), fichier gabarit templates/DynamicMission_Config.lua
non documente (PR #71). Ajoute les sections 5.3 (restriction menu F10) et 5.4
(config gabarit) ; corrige la section 7 (README remis en coherence par PR #38,
DM_Config.md avait raison sur RATIO_FORCE_BALANCING).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Gabarit de config MM (templates/DynamicMission_Config.lua) + mise a jour du guide

1 participant