Owner: Difference between revisions
EvilRenegade (talk | contribs) m Replacing Template:NeedTesting with Template:NeedsTesting. |
Tested Countries on the Owner tag on ra1 and they seem to work fine... |
||
Line 3: | Line 3: | ||
|files={{categ|ini=rules}} | |files={{categ|ini=rules}} | ||
|values= Varied: | |values= Varied: | ||
;{{ra}} : {{values|stringlist| | ;{{ra}} : {{values|stringlist|Sides, countries}} | ||
;{{ts}} : {{values|stringlist|Sides}} | ;{{ts}} : {{values|stringlist|Sides}} | ||
;{{ra2}} : {{values|stringlist|Countries, maximum of 32 entries}} | ;{{ra2}} : {{values|stringlist|Countries, maximum of 32 entries}} | ||
Line 19: | Line 19: | ||
== {{ra}}, {{cs}} and {{am}} == | == {{ra}}, {{cs}} and {{am}} == | ||
<span id="values_ra">Specifies a list</span> of sides which should be able to construct this object. | <span id="values_ra">Specifies a list</span> of sides and countries which should be able to construct this object. Recognized values for sides are {{Tt|allied}}, {{Tt|allies}} and {{Tt|soviet}}. | ||
== {{ts}} and {{fs}} == | == {{ts}} and {{fs}} == |
Revision as of 19:31, 29 May 2010
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 and countries which should be able to construct this object. Recognized values for sides are allied, allies and soviet.
Tiberian Sun and Firestorm
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 AllowedToStartInMultiplayer=yes).
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 AllowedToStartInMultiplayer=yes).
If a player owns a Factory=(UnitType, InfantryType, AircraftType or BuildingType) building with at least 1 Owner= country that both factory and unit share, 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 Prerequisite, RequiredHouses and 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 Prerequisites but does not have a listing in a unit's Owner= list this will result in the New Construction Options Bug.