ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

Difference between revisions of "AltNextScenario"

From ModEnc
Jump to: navigation, search
(Update)
(Added some links and stuff.)
 
Line 1: Line 1:
 
{{Flag
 
{{Flag
 
|name={{PAGENAME}}
 
|name={{PAGENAME}}
|files={{Categ|Rules(md).ini}}
+
|files={{Categ|Maps}}
 +
|types={{Categ|Basic}}
 
|values={{Values|STRINGS|Map file name}}
 
|values={{Values|STRINGS|Map file name}}
|default=?
+
|default=none
 
|ts=yes
 
|ts=yes
 
|fs=yes
 
|fs=yes
 
|ets=yes
 
|ets=yes
 +
|hp=yes
 
|ra2=yes
 
|ra2=yes
 
|yr=yes
 
|yr=yes
 +
|ares=yes
 
}}<br />
 
}}<br />
This is used when the game sends you on an alternative secret mission instead of the next one in sequence, usually after the completion of a special objective during the mission. This is achieved by setting the Global Variable number 1 namely <Alternate Next Scenario> as defined in rules(md).ini to a value of 1 by trigger during the mission. Map action 28 (set global  variable) can be used to set this global variable. This causes the game to use the map file defined by the flag AltNextScenario in the map to play rather than following the normal map selection procedure. SkipMapSelect in the map should be set to yes. Note that the file name specified here must match and correspond exactly with the file name for a mission as detailed in the battle.ini, mapsel.ini and mission.ini files. In mapsel.ini, the progression from the current map should have both the entries of the normal mission map and the alternative mission map.
+
Specifies an alternate mission that the player can proceed to after this mission, usually by completing a special objective. This is achieved by setting the [[VariableNames|global variable]] number 1 (namely {{tt|<Alternate Next Scenario>}} as defined in {{ini|rules}}{{arr|r}}{{sl|VariableNames}}) to a value of 1 during the mission, either by [[Actions_(maps)/RA2YR|map trigger action #28 (set global  variable)]] or [[ScriptTypes/ScriptActions|script action #12]]. This causes the game to use the map file defined by this flag as the next mission rather than the map in {{f|NextScenario|link}}. {{f|SkipMapSelect|link}} should be enabled to skip the normal map selection procedure.
 +
 
 +
Note that the file name specified here must match and correspond exactly with the file name for a mission as detailed in the {{ini|mapsel}} and {{ini|mission}} files. In {{ini|mapsel}}, the progression from the current map should have both the entries of the normal mission map and the alternative mission map.
 +
 
 +
==See also==
 +
*[[NextScenario]]
 +
*[[Campaign Progression]]

Latest revision as of 11:29, 4 September 2019

Tiberian Dawn The Covert Operations Red Alert Counterstrike Aftermath Tiberian Sun Firestorm HyperPatch Red Alert 2 Yuri's Revenge Ares Generals Zero Hour Tiberium Wars Kane's Wrath
Flag: AltNextScenario
File(s): Maps
Values: Strings: Normal text. (Limited to: Map file name)
Default: none
Applicable to: Basic



Specifies an alternate mission that the player can proceed to after this mission, usually by completing a special objective. This is achieved by setting the global variable number 1 (namely <Alternate Next Scenario> as defined in rules(md).ini[VariableNames]) to a value of 1 during the mission, either by map trigger action #28 (set global variable) or script action #12. This causes the game to use the map file defined by this flag as the next mission rather than the map in NextScenario. SkipMapSelect should be enabled to skip the normal map selection procedure.

Note that the file name specified here must match and correspond exactly with the file name for a mission as detailed in the mapsel(md).ini and mission(md).ini files. In mapsel(md).ini, the progression from the current map should have both the entries of the normal mission map and the alternative mission map.

See also