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

Difference between revisions of "Scenario"

From ModEnc
Jump to: navigation, search
(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=Scanario
+
|name=Scenario
|files={{Categ|Battle(md).ini}} / {{Categ|Theme(md).ini}}
+
|files={{Categ|Battle(md).ini}}
|values=filename / integer
+
|values={{Values|string|Map filenames}}
|default=none / 0
+
|default=none
|types={{Categ|Battle(md).ini}} / {{Categ|Theme(md).ini}}
+
|types={{Categ|Battles}}
 
|ts=yes
 
|ts=yes
 
|fs=yes
 
|fs=yes
|ets=yes
+
|hp=yes
 
|ra2=yes
 
|ra2=yes
 
|yr=yes
 
|yr=yes
|rp=yes
+
|ares=yes
}}<br />
+
}}
{{tocleft}}{{clr}}
 
  
==In Battle(md).ini==
+
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:<br>
+
Scenario=*.MAP
<pre>Scenario=*.MAP</pre>.  
+
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==
In [[Theme.ini|Theme(md).ini]], this flag denotes at what scenario this theme becomes available. It uses an integer format, i.e, 1 is Mission 1. It is not, by default, campaign specific, i.e. the theme will become available after Mission 1 of any campaign. You can use the [[Side]] tag to provide a form of this though. It defaults to 0, i.e. the theme will always be available if it has <tt>[[Normal|Normal=yes]]</tt> set.
+
{{Flag
It is used in this convention:
+
|name=Scenario
<pre>Scenario=x</pre>
+
|files={{Categ|Theme(md).ini}}
Where x is a positive integer.
+
|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.


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.