Scenario: Difference between revisions
Nighthawk200 (talk | contribs) Forgot bottom example |
Fixed and updated. |
||
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 | {{Flag | ||
|name= | |name=Scenario | ||
|files={{Categ|Battle(md).ini}} | |files={{Categ|Battle(md).ini}} | ||
|values={{Values|string|Map filenames}} | |||
|default=none | |default=none | ||
|types={{Categ| | |types={{Categ|Battles}} | ||
|ts=yes | |ts=yes | ||
|fs=yes | |fs=yes | ||
| | |hp=yes | ||
|ra2=yes | |ra2=yes | ||
|yr=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: | |||
In [[Battle.ini|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. {{tt|GDI1A}}: | |||
Scenario=GDI1A.MAP | |||
The file extension is required for this flag. | The file extension is required for this flag. | ||
==In Theme(md).ini== | ==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 09: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.
In Battle(md).ini
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Flag: | Scenario |
File(s): | Battle(md).ini |
Values: | Strings: Normal text. (Limited to: Map filenames) |
Default: | none |
Applicable to: | Battles |
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 |
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.