Jump to content

Naval: Difference between revisions

From ModEnc²
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 05:43, 24 January 2012

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
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.