Owner: Difference between revisions
Line 26: | Line 26: | ||
== {{ra2}} and {{yr}} == | == {{ra2}} and {{yr}} == | ||
Specifies a list of countries which should be able to construct this object (or gain this object as a multiplayer starting unit, if it also has {{TTL|AllowedToStartInMultiplayer|yes}}). | |||
If a player owns a [[Factory]] building with at least 1 compatible Owner= country, then given you fulfill all the other prerequisites you can build the unit in question. | |||
If this list includes one country from Side A, it should also include the other countries of Side A. | |||
More granular permissions should be applied via {{TTL|Prerequisite}}, {{TTL|RequiredHouses}} and {{TTL|ForbiddenHouses}}. | |||
[[BuildingTypes]] generally include all multiplay-avaliable countries in this list. This is not completely necessary, but it can help new modders avoid the [[New Construction Options]] bug in some cases if they keep this format. | |||
If a country has the proper {{TTL|Prerequisites}} but does not have a listing in a unit's Owner= list this will result in the [[New Construction Options]] bug. | |||
== See Also == | |||
* [[The Prerequisite System]] |
Revision as of 22:04, 8 August 2009
Flag: | Owner |
File(s): | rules(md).ini |
Values: | Varied:
|
Applicable to: | TechnoTypes:
AircraftTypes, BuildingTypes, InfantryTypes and VehicleTypes |
Red Alert, Counterstrike and Aftermath
Specifies a list of sides which should be able to construct this object. Only recognized values are allied, allies and soviet.
Tiberian Sun and Firestorm
Template:NeedTesting Specifies a list of sides which should be able to construct this object (or gain this object as a multiplayer starting unit, if it also has Template:TTL).
Red Alert 2 and Yuri's Revenge
Specifies a list of countries which should be able to construct this object (or gain this object as a multiplayer starting unit, if it also has Template:TTL).
If a player owns a Factory building with at least 1 compatible Owner= country, then given you fulfill all the other prerequisites you can build the unit in question.
If this list includes one country from Side A, it should also include the other countries of Side A. More granular permissions should be applied via Template:TTL, Template:TTL and Template:TTL.
BuildingTypes generally include all multiplay-avaliable countries in this list. This is not completely necessary, but it can help new modders avoid the New Construction Options bug in some cases if they keep this format.
If a country has the proper Template:TTL but does not have a listing in a unit's Owner= list this will result in the New Construction Options bug.