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

Scenario

From ModEnc
Jump to navigation Jump to search

A scenario is the current game (match) being played. It contains information about the map being played on, the players in it, and so on. It is also the name of two separate INI flags explained below.


In Battle(md).ini

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: Scenario
File(s): Battle(md).ini
Values: Strings: Normal text. (Limited to: Map filenames)
Default: none
Applicable to: Battles
Warning: One or more numbered subpages exist: Scenario I. These should be merged into this page.


In Battle(md).ini, this flag is used to denote the starting mission for this campaign. It is used in this style:

Scenario=*.MAP

Where * is the name of the map file without the file extension, e.g. GDI1A:

Scenario=GDI1A.MAP

The file extension is required for this flag.

In Theme(md).ini

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: Scenario
File(s): Theme(md).ini
Values: Unsigned integers: All non-negative whole numbers from 0 to either 32767, 2147483647 or 4294967295.
Default: 0
Applicable to: Themes
Warning: One or more numbered subpages exist: Scenario I. These should be merged into this page.


In Theme(md).ini, this flag denotes at what campaign mission this theme becomes available. It defaults to 0, i.e. the theme will always be available as long as it has Normal=yes set.

The flag is used in this convention:

Scenario=#

Where # is a positive integer. For example, Scenario=1 means the theme becomes available in the first mission. This setting is not, by default, campaign specific, i.e. the theme will become available after mission 1 of any campaign. You can use the Side flag to provide a form of this though.