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

Naval: Difference between revisions

From ModEnc
Jump to navigation Jump to search
Line 8: Line 8:
}}
}}
==On [[BuildingTypes]]==
==On [[BuildingTypes]]==
If set to yes, this flag forces a <tt>Factory=UnitType</tt> to only build <tt>VehicleTypes</tt> with a corresponding <tt>Naval=yes</tt> flag set.  
If set to yes, this flag forces a <tt>Factory=UnitType</tt> building to only build <tt>VehicleTypes</tt> with a corresponding <tt>Naval=yes</tt> flag set. This flag serves as the only real logical distinction between a land-based vehicle factory and a naval-based ship factory.
 
This flag serves as the only real logical distinction between a land-based vehicle factory and a naval-based ship factory.


==On [[VehicleTypes]]==
==On [[VehicleTypes]]==

Revision as of 03:43, 24 January 2012

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: Naval
File(s): rules(md).ini
Values: Boolean values: yes or no, true or false, 1 or 0
Default: yes
Applicable to: BuildingTypes, VehicleTypes


On BuildingTypes

If set to yes, this flag forces a Factory=UnitType building to only build VehicleTypes with a corresponding Naval=yes flag set. This flag serves as the only real logical distinction between a land-based vehicle factory and a naval-based ship factory.

On VehicleTypes

Determines which factory the specified vehicle is produced.

Additionally, Naval=yes invokes NavalTargeting logic.