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 11: Line 11:


==On [[VehicleTypes]]==
==On [[VehicleTypes]]==
Determines which factory the specified vehicle is produced.
If set to yes, determines that this vehicle can only be built by a factory with <tt>Naval=yes</tt> set.


Additionally, <tt>Naval=yes</tt> invokes {{f|NavalTargeting|link}} logic.
Additionally, <tt>Naval=yes</tt> is used to designate what is considered a "naval" target for {{f|NavalTargeting|link}} logic.

Revision as of 03:46, 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

If set to yes, determines that this vehicle can only be built by a factory with Naval=yes set.

Additionally, Naval=yes is used to designate what is considered a "naval" target for NavalTargeting logic.