Skip to content

Add [RecommendedOptions] section for maps and game modes - #1022

Open
11EJDE11 wants to merge 1 commit into
CnCNet:developfrom
11EJDE11:feat-recommended-options
Open

Add [RecommendedOptions] section for maps and game modes#1022
11EJDE11 wants to merge 1 commit into
CnCNet:developfrom
11EJDE11:feat-recommended-options

Conversation

@11EJDE11

Copy link
Copy Markdown
Member

Maps and game modes can now suggest default option values that apply when the map is selected, without locking the controls.

[RecommendedOptions]
chkCrates=true
chkMultiEng=true

Works identically to [ForcedOptions] syntax but leaves checkboxes and dropdowns editable. Values persist when switching to a map that has no recommendation for that option - the last-set value is kept.

Supports both official maps (via MPMaps.ini) and custom maps.

(revival of #643 with the RecommendedOptions as suggested by kerbiter.)

@github-actions

Copy link
Copy Markdown

Nightly build for this pull request:

  • artifacts.zip
    This comment is automatic and is meant to allow guests to get latest automatic builds without registering. It is updated on every successful build.

@Metadorius

Metadorius commented May 23, 2026

Copy link
Copy Markdown
Member

Works identically to [ForcedOptions] syntax but leaves checkboxes and dropdowns editable. Values persist when switching to a map that has no recommendation for that option - the last-set value is kept.

I think this behavior will be confusing to players. Imagine tweaking settings, changing the map to something else and back, and now your settings are screwed.

Also have you thought of any way to do some indication that this setting was changed? With forced options it's obvious as they are blocked, but not here.

@CnCRAZER

Copy link
Copy Markdown
Contributor

Works identically to [ForcedOptions] syntax but leaves checkboxes and dropdowns editable. Values persist when switching to a map that has no recommendation for that option - the last-set value is kept.

I think this behavior will be confusing to players. Imagine tweaking settings, changing the map to something else and back, and now your settings are screwed.

Also have you thought of any way to do some indication that this setting was changed? With forced options it's obvious as they are blocked, but not here.

I share the same thoughts regarding this. As a map maker it would be cool to suggest settings instead of forcing them but I can already imagine the amount of posts or comments saying their options keep changing and it being a nuisance to them

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants