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

Difference between revisions of "Owner"

From ModEnc
Jump to: navigation, search
(de-DZ'ing (TS section needs a TS modder))
m
 
(12 intermediate revisions by 3 users not shown)
Line 3: Line 3:
 
|files={{categ|ini=rules}}
 
|files={{categ|ini=rules}}
 
|values= Varied:
 
|values= Varied:
;{{ra}} : {{values|stringlist|hardcoded values, see [[#values_ra|below]]}}
+
;{{ra}} : {{values|stringlist|Sides}}
;{{ts}} : {{values|stringlist|Sides}}
+
;{{ts}} : {{values|stringlist|Houses}}
 
;{{ra2}} : {{values|stringlist|Countries, maximum of 32 entries}}
 
;{{ra2}} : {{values|stringlist|Countries, maximum of 32 entries}}
 
|ra=yes
 
|ra=yes
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. Only recognized values are {{Tt|allied}}, {{Tt|allies}} and {{Tt|soviet}}.  
+
<span id="values_ra">Specifies a list</span> of sides 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}} ==
{{NeedTesting|<!-- sides or countries? --> }}
+
Specifies a list of houses which should be able to construct this object, or gain this object as a multiplayer starting unit (if it also has {{f|AllowedToStartInMultiplayer|yes|link}}) or from a bonus crate.
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 {{TTL|AllowedToStartInMultiplayer|yes}}).
 
  
 
== {{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 {{f|AllowedToStartInMultiplayer|yes|link}}) or from a bonus crate.
  
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 this list includes one country from Side A, it should also include the other countries of Side A.
+
If a player owns a {{f|Factory|link}}=({{f|UnitType|link}}, {{f|InfantryType|link}}, {{f|AircraftType|link}} or {{f|BuildingType|link}}) building with at least 1 Owner= country that both factory and unit share, then given you fulfill all the other [[Prerequisite|Prerequisites]] you can build the unit in question.
*More granular permissions should be applied via {{TTL|Prerequisite}}, {{TTL|RequiredHouses}} and {{TTL|ForbiddenHouses}}.  
+
 
*BuildingTypes should include ''all'' multiplay-available countries in this list.
+
 
*{{W}}Omitting a country that actually can build this object will result in the [[New Construction Options]] bug.  
+
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 {{f|Prerequisite|link}}, {{f|RequiredHouses|link}} and {{f|ForbiddenHouses|link}}.  
 +
 
 +
 
 +
{{f|BuildingTypes|link}} 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|New Construction Options Bug]] in some cases if they keep this format.
 +
 
 +
 
 +
If a country has the proper [[Prerequisite|Prerequisites]] but does not have a listing in a unit's Owner= list this will result in the [[New Construction Options|New Construction Options Bug]].
  
 
== See Also ==
 
== See Also ==
 
* [[The Prerequisite System]]
 
* [[The Prerequisite System]]

Latest revision as of 01:41, 5 January 2020

Tiberian Dawn The Covert Operations Red Alert Counterstrike Aftermath Tiberian Sun Firestorm HyperPatch Red Alert 2 Yuri's Revenge Ares Generals Zero Hour Tiberium Wars Kane's Wrath
Flag: Owner
File(s): rules(md).ini
Values: Varied:
Red Alert 
Comma-separated list of strings. (Limited to: Sides)


Tiberian Sun 
Comma-separated list of strings. (Limited to: Houses)


Red Alert 2 
Comma-separated list of strings. (Limited to: Countries, maximum of 32 entries)
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. Recognized values for sides are allied, allies and soviet.

Tiberian Sun and Firestorm

Specifies a list of houses which should be able to construct this object, or gain this object as a multiplayer starting unit (if it also has AllowedToStartInMultiplayer=yes) or from a bonus crate.

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) or from a bonus crate.


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.

See Also