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

Owner: Difference between revisions

From ModEnc
Jump to navigation Jump to search
No edit summary
 
de-DZ'ing (TS section needs a TS modder)
Line 1: Line 1:
{{DeeZireInclusion}}<br />
{{flag
Lists which of the sides from the [Countries] list have ownership of this object, and thus are able to build it if they meet its Prerequisite= and TechLevel= requirements. NOTE: BuildingTypes should have all countries listed here, whilst other objects should list all countries from the side that owns them - the Prerequisite= statement can be used to control which side can build the object, thus avoiding the notorious 'New Construction Options' bug. This is necessary since the Owner= statement was used in previous games to control which side owned the object, not which country (house).
|types={{categ|Technoes}}
|files={{categ|ini=rules}}
|values= Varied:
;{{ra}} : {{values|stringlist|hardcoded values, see [[#values_ra|below]]}}
;{{ts}} : {{values|stringlist|Sides}}
;{{ra2}} : {{values|stringlist|Countries, maximum of 32 entries}}
|ra=yes
|cs=yes
|am=yes
|ts=yes
|fs=yes
|ets=yes
|ra2=yes
|yr=yes
|rp=yes
}}
 
== {{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}}.
 
== {{ts}} and {{fs}} ==
{{NeedTesting|<!-- sides or countries? --> }}
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}} ==
 
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.
*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.  
 
== See Also ==
* [[The Prerequisite System]]

Revision as of 10:26, 8 June 2008

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: hardcoded values, see below)


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


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. 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 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 should include all multiplay-available countries in this list.
  • Omitting a country that actually can build this object will result in the New Construction Options bug.

See Also