You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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`中的限制——该限制要求当前战役中玩家所属的阵营必须与下一个新战役中的阵营一致。你可以使用`NextScenario`和`AltNextScenario`来指定进入新战役所需的地图名称强制游戏进入下一个战役。
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`:
```ini
[Actions]
...
ID=ActionCount,[Action1],611,4,[Map Filename],0,0,0,0,A,[ActionX]
...
```
---------
Co-authored-by: Fly-Star <100747645+a851903106@users.noreply.github.com>
Co-authored-by: Noble_Fish <1065703286@qq.com>
Copy file name to clipboardExpand all lines: docs/AI-Scripting-and-Mapping.md
+19Lines changed: 19 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -159,6 +159,12 @@ In `RA2MD.INI`:
159
159
ShowBriefing=true ; boolean
160
160
```
161
161
162
+
### SkipMapSelect Enhancement
163
+
164
+
- 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.
165
+
- 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.
166
+
- Now, setting a local variable named `<Alternate Next Scenario>` will also trigger `AltNextScenario`.
607=Clear hate-value... (Phobos),0,2,0,0,0,0,0,0,0, Clear the hate-value that trigger houses to other houses. -1 works for all houses.,0,1,607
257
258
608=Set force enemy... (Phobos),0,0,2,0,0,0,0,0,0, Force an enemy, it will not change with the change of hate-value. -1 will remove the forced enemy, -2 will never have any enemies.,0,1,608
258
259
609=Set radar mode... (Phobos),0,0,15,0,0,0,0,0,0, Trigger's house can modify the current radar mode. 0 for requires full-power and building, 1 for free radar, 2 for forced enable, 3 for forced disable.,0,1,609
259
-
610=Set team delay... (Phobos),0,0,6,0,0,0,0,0,0, Trigger's house can customize TeamDelay. When the value is less than 0 in `[General]>TeamDelays`.,0,1,610
260
+
610=Set team delay... (Phobos),0,0,6,0,0,0,0,0,0, Trigger's house can customize TeamDelay. When the value is less than 0 in [General] ->TeamDelays.,0,1,610
261
+
611=Set next scenario... (Phobos),-4,105,0,0,0,0,0,0,0, Set the next campaign to load after winning the current one. Works only in Campaign Mode and requires setting [Basic] -> SkipMapSelect=yes.,0,1,611
260
262
800=Display banner and local variable... (Phobos),-4,101,104,102,103,3,0,0,0,Draw banner on screen and replace banner with same ID,0,1,800
261
263
801=Display banner and global variable... (Phobos),-4,101,104,102,103,35,0,0,0,Draw banner on screen and replace banner with same ID,0,1,801
262
264
802=Delete banner... (Phobos),0,104,0,0,0,0,0,0,0,Delete banner with ID,0,1,802
0 commit comments