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

Difference between revisions of "UndeploysInto"

From ModEnc
Jump to: navigation, search
 
m (Replacing Template:TTL with Template:F.)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{DeeZireInclusion}}<br />
+
{{Flag
Specifies the VehicleType that this BuildingType should undeploy into. For stability, it is best to make sure that this matches the vehicle which has deployed into this structure or strange things can happen. NOTE: errors can be encountered if there is a difference in the Strength= values between the vehicle and the corresponding structure, so set them the same.
+
|name={{PAGENAME}}
 +
|files={{Categ|Rules(md).ini}}
 +
|values=strings (names of [[VehicleTypes]])
 +
|special=none (needs confirmation)
 +
|types={{Categ|BuildingTypes}}
 +
|ts=yes
 +
|fs=yes
 +
|ets=yes
 +
|ra2=yes
 +
|yr=yes
 +
|rp=yes
 +
}}
 +
 
 +
Specifies the [[VehicleType]] that this BuildingType can undeploy into (you can set which VehicleType deploys into this BuildingType by using the {{f|DeploysInto|link}} flag). This BuildingType's {{f|Buildup|link}} animation is played (in full length, unlike when you sell this building) in reverse direction.
 +
 
 +
[http://forums.renegadeprojects.com/showthread.php?tid=1219&pid=13563#pid13563 It has been reported] that using <code>UndeploysInto=none</code> results in the object automatically being sold when undeployed.
 +
 
 +
== Undeployed vehicle facing ==
 +
 
 +
Mind that if the game doesn't know which direction the VehicleType should be facing when it undeploys, it will undeploy the building without spawning the vehicle. The facing can be specified in the following ways:
 +
{| border=1 class="table_descrow"
 +
! INI Flag || Facing
 +
|-
 +
| {{f|ConstructionYard|yes|link}} <br>[[Image:Warning small.png]] '''Warning:''' Side-effects.|| South-West
 +
|-
 +
| {{f|TickTank|yes|link}} || North-West
 +
|-
 +
| {{f|Artillary|yes|link}} || North-East
 +
|-
 +
| {{f|ICBMLauncher|yes|link}}
 +
| rowspan=2 | North-East
 +
|-
 +
| {{f|SensorArray|yes|link}}
 +
|-
 +
| {{yro}}{{f|DeployFacing|link}}
 +
| rowspan=2 | As set
 +
|-
 +
| {{yro}}{{f|DeployDir|link}}
 +
|}

Latest revision as of 10:46, 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: UndeploysInto
File(s): Rules(md).ini
Values: strings (names of VehicleTypes)
Special Values: none (needs confirmation)
Applicable to: BuildingTypes


Specifies the VehicleType that this BuildingType can undeploy into (you can set which VehicleType deploys into this BuildingType by using the DeploysInto flag). This BuildingType's Buildup animation is played (in full length, unlike when you sell this building) in reverse direction.

It has been reported that using UndeploysInto=none results in the object automatically being sold when undeployed.

Undeployed vehicle facing

Mind that if the game doesn't know which direction the VehicleType should be facing when it undeploys, it will undeploy the building without spawning the vehicle. The facing can be specified in the following ways:

INI Flag Facing
ConstructionYard=yes
Warning small.png Warning: Side-effects.
South-West
TickTank=yes North-West
Artillary=yes North-East
ICBMLauncher=yes North-East
SensorArray=yes
Yro.pngDeployFacing As set
Yro.pngDeployDir