Jump to content

Naval: Difference between revisions

From ModEnc²
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 05:46, 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

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.