ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
Difference between revisions of "Scenario"
From ModEnc
Nighthawk200 (talk | contribs) (Scenario moved to Scenario I: Creating new page) |
(Fixed and updated.) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | + | 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. | |
+ | {{tocleft}}{{clr}} | ||
+ | |||
+ | ==In Battle(md).ini== | ||
+ | {{Flag | ||
+ | |name=Scenario | ||
+ | |files={{Categ|Battle(md).ini}} | ||
+ | |values={{Values|string|Map filenames}} | ||
+ | |default=none | ||
+ | |types={{Categ|Battles}} | ||
+ | |ts=yes | ||
+ | |fs=yes | ||
+ | |hp=yes | ||
+ | |ra2=yes | ||
+ | |yr=yes | ||
+ | |ares=yes | ||
+ | }} | ||
+ | |||
+ | In [[Battle.ini|Battle(md).ini]], this flag is used to denote the starting mission for this [[Battles|campaign]]. It is used in this style: | ||
+ | Scenario=*.MAP | ||
+ | Where * is the name of the map file without the file extension, e.g. {{tt|GDI1A}}: | ||
+ | Scenario=GDI1A.MAP | ||
+ | The file extension is required for this flag. | ||
+ | |||
+ | ==In Theme(md).ini== | ||
+ | {{Flag | ||
+ | |name=Scenario | ||
+ | |files={{Categ|Theme(md).ini}} | ||
+ | |values={{Values|uint}} | ||
+ | |default=0 | ||
+ | |types={{Categ|Themes}} | ||
+ | |ts=yes | ||
+ | |fs=yes | ||
+ | |hp=yes | ||
+ | |ra2=yes | ||
+ | |yr=yes | ||
+ | |ares=yes | ||
+ | }} | ||
+ | |||
+ | In {{ini|Theme}}, this flag denotes at what [[Battles|campaign]] mission this theme becomes available. It defaults to {{tt|0}}, i.e. the theme will always be available as long as it has {{f|Normal|yes|link}} set. | ||
+ | |||
+ | The flag is used in this convention: | ||
+ | Scenario=# | ||
+ | Where # is a positive integer. For example, {{f|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 {{f|Side|link}} flag to provide a form of this though. |
Latest revision as of 11:01, 9 June 2023
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.
Contents |
In Battle(md).ini
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
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.