Repository navigation
feat(config): MM config template, recommended over inline DO SCRIPT - #71
Merged
Merged
Conversation
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
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
templates/DynamicMission_Config.lualisting the 13 already-documented overridableDM.Configfields (commented, with defaults) - no change tosources/DynamicMission.luaGUIDE_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 settingsCloses #70 (ticket), implements #69 (PRD)
Test plan
dofileof the template (withIDLE_LIMITuncommented) changesDM.Config.IDLE_LIMITfrom 300 to 600 in a connected mission