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

Houses: Difference between revisions

From ModEnc
Jump to navigation Jump to search
No edit summary
Added map section descr
Line 23: Line 23:
  9=YuriCountry
  9=YuriCountry


is also added to the list bringing the total to fourteen.
is also added to the list bringing the total to fourteen. (The old four from TS are moved to the ''end'' of this list.)


This list should never be re-orded as this can result in game errors and crashes.
This list should never be re-orded as this can result in game errors and crashes.


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.
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.
== [Houses] in rules(md).ini ==
In TS, this section listed all the playable countries. In RA2/YR, this section was renamed to [{{TTL|Countries}}], but the [Houses] is created and populated by the engine on-the-fly.
== [Houses] in Maps ==
Maps can define additional houses for their internal needs, as long as they specify which {{TTL|country}} 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 {{TTL|Events}} and {{TTL|Actions}}.


== Tutorials for adding new playable houses to YR ==
== Tutorials for adding new playable houses to YR ==
Line 36: Line 44:


[[Category:Rules(md).ini Sections]]
[[Category:Rules(md).ini Sections]]
[[Category:Maps Sections]]
[[Category:General Editing Information]]
[[Category:General Editing Information]]

Revision as of 12:15, 21 June 2006

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;

0=GDI
1=Nod
2=Neutral
3=Special

However, in RA2 there are an additional nine;

0=Americans
1=Alliance
2=French
3=Germans
4=British

5=Africans
6=Arabs
7=Confederation
8=Russians

And in YR;

9=YuriCountry

is also added to the list bringing the total to fourteen. (The old four from TS are moved to the end of this list.)

This list should never be re-orded as this can result in game errors and crashes.

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.

[Houses] in rules(md).ini

In TS, this section listed all the playable countries. In RA2/YR, this section was renamed to [[[:Template:TTL]]], but the [Houses] is created and populated by the engine on-the-fly.

[Houses] in Maps

Maps can define additional houses for their internal needs, as long as they specify which Template:TTL 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 Template:TTL and Template:TTL.

Tutorials for adding new playable houses to YR

RockPatch Docs:Adding new playable Countries

RockPatch Docs:Adding a new Side