Skip to content

[Map] SkipMapSelect Enhancement - #2329

Open
Fly-Star-him wants to merge 10 commits into
Phobos-developers:developfrom
Fly-Star-him:skipmapselect
Open

[Map] SkipMapSelect Enhancement#2329
Fly-Star-him wants to merge 10 commits into
Phobos-developers:developfrom
Fly-Star-him:skipmapselect

Conversation

@Fly-Star-him

@Fly-Star-him Fly-Star-him commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Using SkipMapSelect=yes in the map file allows you to bypass the restriction in mapselmd.ini—which requires that the player's faction in the current campaign must match the faction in the next new campaign. You can use NextScenario and AltNextScenario to specify the map names required to enter a new campaign, thereby forcing the game to proceed to the next campaign.
现在在地图文件中使用SkipMapSelect=yes可以绕过mapselmd.ini中的限制——该限制要求当前战役中玩家所属的阵营必须与下一个新战役中的阵营一致。你可以使用NextScenarioAltNextScenario来指定进入新战役所需的地图名称强制游戏进入下一个战役。

Now, setting a local variable named <Alternate Next Scenario> will also trigger AltNextScenario.
现在启用一个名为<Alternate Next Scenario>的局部变量也可以触发AltNextScenario


611 Set Next Scenario

  • Set the next campaign to load after winning the current one.
    • Works only in Campaign Mode and requires setting [Basic]>SkipMapSelect=yes.

In mycampaign.map:

[Actions]
...
ID=ActionCount,[Action1],611,4,[Map Filename],0,0,0,0,A,[ActionX]
...

@phoboscn-bot

Copy link
Copy Markdown

To Chinese users:
This pull request has been mentioned on Phobos CN. There might be relevant details there:

致中文用户:
此拉取请求已在 Phobos CN 上被提及。那里可能有相关详细信息:

https://www.phoboscn.top/t/topic/697/1

@github-actions

github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown

Nightly build for this pull request:

This comment is automatic and is meant to allow guests to get latest nightly builds for this pull request without registering. It is updated on every successful build.

Comment thread src/Ext/Scenario/Hooks.Variables.cpp Outdated
Comment thread src/Ext/Scenario/Hooks.Variables.cpp
@Coronia Coronia added the Will be merged in 24h This PR will be merged in 24 hours if no one has further instructions. label Aug 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Tested Will be merged in 24h This PR will be merged in 24 hours if no one has further instructions.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants