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

Difference between revisions of "Houses"

From ModEnc
Jump to: navigation, search
m (Replacing Template:TTL with Template:F.)
(Significant update, not sure if this is the best format but it's a mess either way.)
Line 1: Line 1:
The houses in TS, FS, RA2 and YR are all the available countries, playable and non-playable. In TS and FS there are only four houses;
+
Houses (in some games known as [[Countries]]) are the available factions, playable and non-playable, in every [[C&C]] game from {{td}} to {{yr}}.
  
 +
== Red Alert ==
 +
 +
In [[RA1]], the houses list is hardcoded into the game executable, therefore it's not possible to add or remove houses via INI editing. However, there are several multiplayer-oriented houses named after countries such as {{s|England}}, {{s|Russia}}, etc. that are defined and modifiable in [[rules.ini]].
 +
 +
== Tiberian Sun ==
 +
 +
=== [Houses] in Rules.ini ===
 +
 +
[[TS]] introduced a new [[rules]] section which lists available house types, making it possible to add or remove playable houses at will:
 +
 +
[Houses]
 
  0=GDI
 
  0=GDI
 
  1=Nod
 
  1=Nod
Line 6: Line 17:
 
  3=Special
 
  3=Special
  
However, in RA2 there are an additional nine;
+
These house types are available both in single- and multiplayer.
 +
 
 +
For skirmish/multiplayer, playable houses are specified with the flags {{f|Multiplay|link}} and {{f|MultiplayPassive|link}}. Singleplayer campaigns are defined in [[battle.ini]] and [[mapsel.ini]].
  
0=Americans
+
{{W}} Be cautious when changing this list. Many game mechanics refer to the house names and/or indexes, so changing the list can break existing missions, scripted multiplayer maps, or even crash the game. [https://github.com/Starkku/TriggerIndexParamTool Starkku's TriggerIndexParamTool] allows batch-editing house index references in maps, if needed.
1=Alliance
 
2=French
 
3=Germans
 
4=British
 
 
5=Africans
 
6=Arabs
 
7=Confederation
 
8=Russians
 
  
And in YR;
+
=== [Houses] in Maps ===
  
9=YuriCountry
+
Singleplayer missions can add a number of custom houses specific to the map. The {{s|Houses}} list must first contain the rules.ini houses at the beginning of the list, in the same order, appended with the custom houses.
  
is also added to the list bringing the total to fourteen. (The old four from TS are moved to the ''end'' of this list.)
+
Skirmish/multiplayer maps cannot add more houses. Even though some stock maps do have a {{s|Houses}} list, these maps only use the houses defined in rules.ini.
  
This list should never be re-orded as this can result in game errors and crashes.
+
=== Notes ===
 +
* The total number of houses should not exceed 32.
 +
* [[TiberiumDeathToVisceroid|Visceroids spawning by mutation]] belong to the Neutral house.
 +
* In skirmish & multiplayer, Neutral and Special houses have hardcoded properties:
 +
** Neutral is hostile to all players. However, player units won't automatically engage neutral enemies, only retaliate if attacked by them.
 +
** Special is allied to all players.
 +
** {{f|Color|link}} of Neutral and Special is hardcoded to {{tt|LightGrey}}.
  
These listed houses are then listed under the [[Sides]] list in order to split them into their respective sides (Allied, Soviet, Yuri). In any of the unmodded games there is no way to add new houses that work exactly like the existing ones, however in TS and FS there is a workaround that allows you to add new houses. In YR you can also use the [[RockPatch]] to add new playable houses.
+
== Red Alert 2 & Yuri's Revenge ==
  
<b>Note:</b> In RA2 and YR, the Houses list is named the [[Countries]] list instead.
+
=== [Houses] in Rules(md).ini ===
  
== [Houses] in rules(md).ini ==
+
In [[RA2]]/[[YR]], this section was renamed to {{s|Countries|link}}, but the {{tt|[Houses]}} list is created and populated by the engine on-the-fly. See [[Countries]] for more information.
  
In TS, this section listed all the playable countries. In RA2/YR, this section was renamed to [{{f|Countries|link}}], but the [Houses] is created and populated by the engine on-the-fly.
+
=== [Houses] in Maps ===
  
== [Houses] in Maps ==
+
Maps can define additional houses for their internal needs, as long as they specify which {{f|Country|link}} they represent. The contents of this {{Tt|[Houses]}} section are appended to the rules' houses list, forming a zero-based numbered list, which is used by a lot of map {{f|Events|link}} and {{f|Actions|link}}.
  
Maps can define additional houses for their internal needs, as long as they specify which {{f|country|link}} they represent. The contents of this {{Tt|[Houses]}} section are appended to the rules' houses list, forming a zero-based numbered list, which is used by a lot of map {{f|Events|link}} and {{f|Actions|link}}.
+
== Tutorials ==
  
== Tutorials for adding new playable houses to YR ==
+
=== Yuri's Revenge ===
  
 
[[RockPatch Docs:Adding new playable Countries]]
 
[[RockPatch Docs:Adding new playable Countries]]
  
 
[[RockPatch Docs:Adding a new Side]]
 
[[RockPatch Docs:Adding a new Side]]
 +
 +
== Trivia ==
 +
* Originally, ''Houses'' referred to the three playable houses (Atreides, Harkonnen, and Ordos) in [[Dune II]], the precursor to Command & Conquer. As all C&C games up to YR were built on the previous title, starting with Dune II, the House name carried over. Perhaps there was little practical need to change it.
 +
* According to the [[Sides]] list in TS, the Neutral house was intended for civilians and Special for the Forgotten mutant faction, however this distinction is nonexistent in the actual game. Both houses are essentially carried over from [[TD]] and [[RA1]].
 +
 +
== See Also ==
 +
* [[Countries]]
 +
* [[Sides]]
 +
* [[Owner]]
 +
* [[ActsLike]]
  
 
[[Category:Rules(md).ini Sections]]
 
[[Category:Rules(md).ini Sections]]
 
[[Category:Maps Sections]]
 
[[Category:Maps Sections]]
 
[[Category:General Editing Information]]
 
[[Category:General Editing Information]]

Revision as of 16:25, 5 April 2024

Houses (in some games known as Countries) are the available factions, playable and non-playable, in every C&C game from Tiberian Dawn to Yuri's Revenge.

Red Alert

In RA1, the houses list is hardcoded into the game executable, therefore it's not possible to add or remove houses via INI editing. However, there are several multiplayer-oriented houses named after countries such as [England], [Russia], etc. that are defined and modifiable in rules.ini.

Tiberian Sun

[Houses] in Rules.ini

TS introduced a new rules section which lists available house types, making it possible to add or remove playable houses at will:

[Houses]
0=GDI
1=Nod
2=Neutral
3=Special

These house types are available both in single- and multiplayer.

For skirmish/multiplayer, playable houses are specified with the flags Multiplay and MultiplayPassive. Singleplayer campaigns are defined in battle.ini and mapsel.ini.

Warning small.png Be cautious when changing this list. Many game mechanics refer to the house names and/or indexes, so changing the list can break existing missions, scripted multiplayer maps, or even crash the game. Starkku's TriggerIndexParamTool allows batch-editing house index references in maps, if needed.

[Houses] in Maps

Singleplayer missions can add a number of custom houses specific to the map. The [Houses] list must first contain the rules.ini houses at the beginning of the list, in the same order, appended with the custom houses.

Skirmish/multiplayer maps cannot add more houses. Even though some stock maps do have a [Houses] list, these maps only use the houses defined in rules.ini.

Notes

  • The total number of houses should not exceed 32.
  • Visceroids spawning by mutation belong to the Neutral house.
  • In skirmish & multiplayer, Neutral and Special houses have hardcoded properties:
    • Neutral is hostile to all players. However, player units won't automatically engage neutral enemies, only retaliate if attacked by them.
    • Special is allied to all players.
    • Color of Neutral and Special is hardcoded to LightGrey.

Red Alert 2 & Yuri's Revenge

[Houses] in Rules(md).ini

In RA2/YR, this section was renamed to [Countries], but the [Houses] list is created and populated by the engine on-the-fly. See Countries for more information.

[Houses] in Maps

Maps can define additional houses for their internal needs, as long as they specify which Country they represent. The contents of this [Houses] section are appended to the rules' houses list, forming a zero-based numbered list, which is used by a lot of map Events and Actions.

Tutorials

Yuri's Revenge

RockPatch Docs:Adding new playable Countries

RockPatch Docs:Adding a new Side

Trivia

  • Originally, Houses referred to the three playable houses (Atreides, Harkonnen, and Ordos) in Dune II, the precursor to Command & Conquer. As all C&C games up to YR were built on the previous title, starting with Dune II, the House name carried over. Perhaps there was little practical need to change it.
  • According to the Sides list in TS, the Neutral house was intended for civilians and Special for the Forgotten mutant faction, however this distinction is nonexistent in the actual game. Both houses are essentially carried over from TD and RA1.

See Also