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
(Updated with info from Kenji (linked post))
m (Reverted edits by Renegade (Talk) to last version by DCoder)
Line 3: Line 3:
 
|files={{Categ|Rules(md).ini}}
 
|files={{Categ|Rules(md).ini}}
 
|values=strings (names of [[VehicleTypes]])
 
|values=strings (names of [[VehicleTypes]])
|special=none (needs confirmation)
+
|default=none
 
|types={{Categ|BuildingTypes}}
 
|types={{Categ|BuildingTypes}}
 
|ts=yes
 
|ts=yes
Line 14: Line 14:
  
 
Specifies the [[VehicleType]] that this BuildingType can undeploy into (you can set which VehicleType deploys into this BuildingType by using the {{TTL|DeploysInto}} flag). This BuildingType's {{TTL|Buildup}} animation is played (in full length, unlike when you sell this building) in reverse direction.
 
Specifies the [[VehicleType]] that this BuildingType can undeploy into (you can set which VehicleType deploys into this BuildingType by using the {{TTL|DeploysInto}} flag). This BuildingType's {{TTL|Buildup}} 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 ==
 
== Undeployed vehicle facing ==

Revision as of 09:09, 11 January 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)
Default: none
Applicable to: BuildingTypes


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

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
Template:TTL
Warning small.png Warning: Side-effects.
South-West
Template:TTL North-West
Template:TTL North-East
Template:TTL North-East
Template:TTL
Yro.pngTemplate:TTL As set
Yro.pngTemplate:TTL