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

Difference between revisions of "VehicleThief"

From ModEnc
Jump to: navigation, search
 
m (Replacing Template:TTL with Template:F.)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{DeeZireInclusion}}<br />
+
{{Flag
Can be set to 'yes' or 'no' and determines whether or not this InfantryType gets an 'enter' cursor over any VehicleType which does not have the same Owner=. In this case, the 'enter' cursor will over-ride all other cursors. TIP: if you also give this unit Thief=yes then you can perfectly replicate the Mutant Hijacker from Tiberian Sun without the need for any further coding.
+
|name={{PAGENAME}}
 +
|files={{Categ|Rules(md).ini}}
 +
|values=Booleans
 +
|default=no
 +
|types={{Categ|InfantryTypes}}
 +
|ra=no
 +
|cs=no
 +
|am=no
 +
|ts=yes
 +
|fs=yes
 +
|ets=yes
 +
|ra2=yes
 +
|yr=yes
 +
|rp=yes
 +
}}<br />
 +
Specifies whether or not this [[InfantryType]] can enter an enemy [[VehicleType]] and capture it in a similar manner to an {{f|Engineer|link}} capturing a [[BuildingType]]. Also referred to as 'hijacking'.
 +
 
 +
In {{Ra2}} and {{Yr}}, the [[InfantryType]] must also have {{f|Thief|yes|link}} set otherwise it will get the 'enter' cursor on the target [[VehicleType]] but will not, in fact, be able to enter it. {{f|Thief|yes|link}} also allows the [[InfantryType]] to enter enemy ore refineries, so the [[InfantryType]] also needs to be given {{f|Agent|yes|link}} and {{f|Infiltrate|yes|link}} (giving it full {{Ra2}} Spy capabilities), or {{f|Infiltrate|no|link}}
 +
 
 +
{{f|NonVehicle|yes|link}} set on a [[VehicleType]] prevents a {{f|VehicleThief|link}} from capturing it, however this also invokes additional, possibly undesirable logic.
 +
 
 +
==See also==
 +
{{f|Thief|link}} - this must be set to {{tt|yes}} for {{f|VehicleThief|yes|link}} to work correctly, however there is a bug with {{f|Thief|link}} that you should be aware of.

Latest revision as of 10:48, 27 November 2009

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: VehicleThief
File(s): Rules(md).ini
Values: Booleans
Default: no
Applicable to: InfantryTypes



Specifies whether or not this InfantryType can enter an enemy VehicleType and capture it in a similar manner to an Engineer capturing a BuildingType. Also referred to as 'hijacking'.

In Red Alert 2 and Yuri's Revenge, the InfantryType must also have Thief=yes set otherwise it will get the 'enter' cursor on the target VehicleType but will not, in fact, be able to enter it. Thief=yes also allows the InfantryType to enter enemy ore refineries, so the InfantryType also needs to be given Agent=yes and Infiltrate=yes (giving it full Red Alert 2 Spy capabilities), or Infiltrate=no

NonVehicle=yes set on a VehicleType prevents a VehicleThief from capturing it, however this also invokes additional, possibly undesirable logic.

See also

Thief - this must be set to yes for VehicleThief=yes to work correctly, however there is a bug with Thief that you should be aware of.