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

Difference between revisions of "Sides"

From ModEnc
Jump to: navigation, search
 
(Added info on how TS treats this section.)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{DeeZireInclusion}}<br />
+
{{WrongTitle|[{{PAGENAME}}]}}
Each of the countries listed in the [Countries] section is listed here according to their 'side'. This section lists the countries (or 'houses') which each side has as its members. This order has to be kept as GDI first (Allied), Nod second (Soviet) and ThirdSide (Yuri) third, plus you have to keep those names as the game internal tables and triggers rely upon them. The reason for this is to keep order with the side-specific (e.g. sidebar) images and EVA voices - the first side in this list (GDI by default) uses the data loaded by SIDEC01.MIX and the Allied= EVA voices from the EVA file. The second side (Nod by default) uses the data loaded from SIDEC02.MIX and the Soviet= voices from the EVA file. Curiously, the third side (ThirdSide by default) does not use it's own mix file - instead, it uses additions to the second side by use of the SIDEC02MD.MIX file and points to specific, rather than generic, files. Why this is the case is not entirely known (it would have been simpler to use a SIDEC03.MIX) and this is the reason why Yuri cannot be given his own unique sidebar images without over-writing the Soviet ones - unfortunately, each file is loaded into RAM at initialization, meaning anything added to SIDEC02.MIX will over-write the same file in SIDEC02.MIX.<br />
+
 
<br />
+
In this section of [[Rules.ini|rules(md).ini]], the game's side lists are located.
GDI=British,French,Germans,Americans,Alliance<br />
+
 
Nod=Russians,Africans,Confederation,Arabs<br />
+
== In {{ts}} and {{fs}} ==
(YR) ThirdSide=YuriCountry<br />
+
 
Civilian=Neutral<br />
+
This section appears to be largely redundant. The game populates the sides list internally according to this section and the available [[Houses|house types]]. If the game detects a house type with a {{f|Side|link}} that isn't defined in rules.ini, it creates a new side with that name and appends it to the internal sides list. Therefore, even if this section is entirely missing from rules.ini, it has no practical effect in the game. No game element is known to refer to the side indexes, so the order that the sides are ultimately listed internally is irrelevant.
Mutant=Special<br />
+
 
<br />
+
== In {{ra2}} and {{yr}} ==
NOTE: the [MultiplayerDialogSettings] section was formerly known as the [MultiplayerDefaults] section in previous C&C games. This change has been made due to the additional logic and enhanced multiplayer game functionality provided by the new facility to customize multiplayer games through the MPMODES.INI and relevant game mode INI files.
+
 
 +
The default YR section, cleaned, looks like this:
 +
[Sides]
 +
GDI=British,French,Germans,Americans,Alliance
 +
Nod=Russians,Africans,Confederation,Arabs
 +
ThirdSide=YuriCountry
 +
Civilian=Neutral
 +
Mutant=Special
 +
The [[countries]] under GDI are the Allied countries, the Nod list sets the Soviet countries, ThirdSide sets Yuri.
 +
Civilian and Mutant set Neutral and Special, respectively, which are special case countries - Neutral is used for Civilians (hence the side name), while Special is used for combatants not owned by any of the players on a map (originally designed for TS's Tiberium Mutants, hence the name).
 +
 
 +
Note that, according to the rules' comments, GDI, Nod and ThirdSide need to stay in exactly that order, and their names cannot be changed either (i.e. changing the section to Soviet, Allied, Yuri, for example, would break the game). Also note the game ignores the side order at this point, the correct order will be derived from the countries' list.
 +
 
 +
The countries get assigned to graphics-containing .mix-files, depending on the side they are assigned to:
 +
*All GDI countries use sidec01.mix
 +
*All Nod countries use sidec02.mix
 +
*All ThirdSide countries use sidec02md.mix
 +
The .mixes, at least the first two, contain the graphics for the side-specific GUIs. ThirdSide does not get a special GUI and cannot be made to use one in the original game. This problem can be circumvented by using [[RockPatch]].<br>
 +
In addition, GDI countries use the <tt>[[Allied]]</tt> [[EVA]] voices, Nod uses the <tt>[[Russian]]</tt> ones, and ThirdSide uses <tt>[[Yuri]]</tt>.
 +
 
 +
==See also==
 +
*[[RockPatch_Docs:Using sidec03.mix for Yuri's GUI|Using sidec03.mix for Yuri's GUI]] (RockPatch Documentation)
 +
 
 +
[[Category:Rules(md).ini Sections]]
 +
[[Category:General Editing Information]]

Latest revision as of 12:13, 5 April 2024

This page should correctly be named "[Sides]"; it is wrong due to technical restrictions.


In this section of rules(md).ini, the game's side lists are located.

In Tiberian Sun and Firestorm

This section appears to be largely redundant. The game populates the sides list internally according to this section and the available house types. If the game detects a house type with a Side that isn't defined in rules.ini, it creates a new side with that name and appends it to the internal sides list. Therefore, even if this section is entirely missing from rules.ini, it has no practical effect in the game. No game element is known to refer to the side indexes, so the order that the sides are ultimately listed internally is irrelevant.

In Red Alert 2 and Yuri's Revenge

The default YR section, cleaned, looks like this:

[Sides]
GDI=British,French,Germans,Americans,Alliance
Nod=Russians,Africans,Confederation,Arabs
ThirdSide=YuriCountry
Civilian=Neutral
Mutant=Special

The countries under GDI are the Allied countries, the Nod list sets the Soviet countries, ThirdSide sets Yuri. Civilian and Mutant set Neutral and Special, respectively, which are special case countries - Neutral is used for Civilians (hence the side name), while Special is used for combatants not owned by any of the players on a map (originally designed for TS's Tiberium Mutants, hence the name).

Note that, according to the rules' comments, GDI, Nod and ThirdSide need to stay in exactly that order, and their names cannot be changed either (i.e. changing the section to Soviet, Allied, Yuri, for example, would break the game). Also note the game ignores the side order at this point, the correct order will be derived from the countries' list.

The countries get assigned to graphics-containing .mix-files, depending on the side they are assigned to:

  • All GDI countries use sidec01.mix
  • All Nod countries use sidec02.mix
  • All ThirdSide countries use sidec02md.mix

The .mixes, at least the first two, contain the graphics for the side-specific GUIs. ThirdSide does not get a special GUI and cannot be made to use one in the original game. This problem can be circumvented by using RockPatch.
In addition, GDI countries use the Allied EVA voices, Nod uses the Russian ones, and ThirdSide uses Yuri.

See also