Jump to content

WeaponsFactory: Difference between revisions

From ModEnc²
en>DCoder
No edit summary
 
Rain-Islet (talk | contribs)
m [bot] Batch update {{Bugs}} templates.
 
(7 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{DeeZireInclusion}}<br />
{{Flag
Can be set to 'yes' or 'no' and determines if this BuildingType is a Weapons Factory. Is used by the AI logic for production and targeting and also enables the structure to establish 'rally points' for its point of production.
|files={{Categ|rules(md).ini}}
|default=no
|values={{values|boolean}}
|types={{Categ|BuildingTypes}}
|ts=yes
|fs=yes
|ets=yes
|ra2=yes
|yr=yes
|rp=yes
}}
The presence of <tt>WeaponsFactory=yes</tt> on a [[BuildingTypes|building]] turns it into a 'War Factory' with specific logic attached, and includes it in building ratio calculations: see [[WarRatio]].
 
One feature of such a building, is that it produces [[VehicleTypes]], which exit from a specific cell inside the building (based on foundation shape), either through a door for ground units, or through the roof for [[Jumpjet]] vehicles. Vehicles with {{f|Naval|yes|link}} can't be produced here, nor can [[InfantryTypes|infantry]].
 
=={{bugs}}==
Adding <tt>WeaponsFactory=yes</tt> to other production buildings, or buildings with [[Dock|docks]] may cause crashing, or break functionality.
 
==See Also==
[[Naval]]
 
[[ConstructionYard]]
 
[[RoofDeployingAnim]]

Latest revision as of 18:05, 2 July 2025

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: WeaponsFactory
File(s): rules(md).ini
Values: Boolean values: yes or no, true or false, 1 or 0
Default: no
Applicable to: BuildingTypes


The presence of WeaponsFactory=yes on a building turns it into a 'War Factory' with specific logic attached, and includes it in building ratio calculations: see WarRatio.

One feature of such a building, is that it produces VehicleTypes, which exit from a specific cell inside the building (based on foundation shape), either through a door for ground units, or through the roof for Jumpjet vehicles. Vehicles with Naval=yes can't be produced here, nor can infantry.

Bugs/Side-Effects/Unexpected Limitations

Adding WeaponsFactory=yes to other production buildings, or buildings with docks may cause crashing, or break functionality.

See Also

Naval

ConstructionYard

RoofDeployingAnim