Jump to content

RequiredHouses: Difference between revisions

From ModEnc²
en>TAK02
m linking is mandatory, also typo.
en>TAK02
m tags and flags are not the same thing, are they?
Line 4: Line 4:


'''Editor's note:''' "unsetting" this tag by overriding it using '''RequiredHouses=<none>''' or just leaving the '''RequiredHouses=''' list empty under the unit's section in a map (or in an INI loaded with Ares' #include) will '''''not''''' work.
'''Editor's note:''' "unsetting" this tag by overriding it using '''RequiredHouses=<none>''' or just leaving the '''RequiredHouses=''' list empty under the unit's section in a map (or in an INI loaded with Ares' #include) will '''''not''''' work.
In such a case all Countries must be listed under '''RequiredHouses=''' (or better in Ares' #include case, have the tag removed from base rules entirely) before every Country is eligible to build this TechnoType.
In such a case all Countries must be listed under '''RequiredHouses=''' (or better in Ares' #include case, have the flag removed from base rules entirely) before every Country is eligible to build this TechnoType.
This is not quite valid for [[ForbiddenHouses]], however. <none> will do the trick there and unset the base rules' list, but an empty list will not do anything.
This is not quite valid for [[ForbiddenHouses]], however. <none> will do the trick there and unset the base rules' list, but an empty list will not do anything.

Revision as of 14:13, 28 November 2020

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: RequiredHouses
File(s): rules(md).ini
Values: ERROR – No value types set! Please edit this page and fix the Flag template!

This entry was copied from DeeZire's Red Alert 2 and Yuris Revenge INI Editing Guide for the sake of completeness. As it is not our intention to rip off DeeZire's work, this article is subject to a re-write and update with the latest community knowledge.

For further information, please read Inclusion of The Guide.




Lists the specific houses which have exclusive rights to build this object. The object cannot be built even if other houses capture the appropriate Prerequisite= and acquire the relevant TechLevel= required to construct it.


Editor's note: "unsetting" this tag by overriding it using RequiredHouses=<none> or just leaving the RequiredHouses= list empty under the unit's section in a map (or in an INI loaded with Ares' #include) will not work. In such a case all Countries must be listed under RequiredHouses= (or better in Ares' #include case, have the flag removed from base rules entirely) before every Country is eligible to build this TechnoType. This is not quite valid for ForbiddenHouses, however. <none> will do the trick there and unset the base rules' list, but an empty list will not do anything.