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

UndeploysInto: Difference between revisions

From ModEnc
Jump to navigation Jump to search
Rewrite
Testid123 (talk | contribs)
mNo edit summary
 
(9 intermediate revisions by 4 users not shown)
Line 2: Line 2:
|name={{PAGENAME}}
|name={{PAGENAME}}
|files={{Categ|Rules(md).ini}}
|files={{Categ|Rules(md).ini}}
|values=strings (names of VehicleTypes)
|values=strings (names of [[VehicleTypes]])
|special=none
|special=none (needs confirmation)
|default=none
|types={{Categ|BuildingTypes}}
|types={{Categ|BuildingTypes}}
|games=[[TS]], [[FS]], [[RA2]], [[YR]]
|ts=yes
|fs=yes
|ets=yes
|ra2=yes
|yr=yes
|rp=yes
}}
}}


Specifies the [[VehicleType]] that this BuildingType can undeploy into.  
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 ==
== Undeployed vehicle facing ==
Line 17: Line 23:
! INI Flag || Facing
! INI Flag || Facing
|-
|-
| {{TTL|ConstructionYard|yes}} <br>[[Image:Warning small.png]] '''Warning:''' Side-effects.|| South-West
| {{f|ConstructionYard|yes|link}} <br>[[Image:Warning small.png]] '''Warning:''' Side-effects.|| South-West
|-
|-
| {{TTL|TickTank|yes}} || North-West
| {{f|TickTank|yes|link}} || North-West
|-
|-
| {{TTL|Artillary|yes}} || North-East
| {{f|Artillary|yes|link}} || North-East
|-
|-
| {{TTL|ICBMLauncher|yes}}
| {{f|ICBMLauncher|yes|link}}
| rowspan=2 | North-East
| rowspan=2 | North-East
|-
|-
| {{TTL|SensorArray|yes}}
| {{f|SensorArray|yes|link}}
|-
|-
| {{yro}}{{TTL|DeployFacing}}
| {{yro}}{{f|DeployFacing|link}}
| rowspan=2 | As set
| rowspan=2 | As set
|-
|-
| {{yro}}{{TTL|DeployDir}}
| {{yro}}{{f|DeployDir|link}}
|}
|}
{{Bugs}}
*If <b><u>[[BuildingTypes]]</u></b> has <b><u><font style="color:blue">UndeploysInto=</font>(name of vehicle)</u></b> but no <b><u>{{f|Buildup|(name of animation)|Link}}</u></b> <b ><u>[[BuildingTypes]]</u></b> cannot be restored to <b><u>[[VehicleTypes]]</u></b>.<br>
*Even if you specify name <b>[[VehicleTypes]]</b> that do not exist, such as <b>UndeploysInto=AAA</b>
tags <b>UndeploysInto</b> will work as expected, along with <b>[[VehicleTypes]]</b> that do not contain images. There is no information and <b>{{f|Locomotor|{4A582747-9839-11d1-B709-00A024DDAFD1}|Link}}.</b><br>
(If you specify the name of [[AircraftTypes]] You must have complete information of specified [[AircraftTypes]] and importantly it will become [[VehicleTypes]] completely even if there is a match, e.g. ORCA)<br>
*If [[BuildingTypes]] has [[DeploysInto]] and [[UndeploysInto]] [[BuildingTypes]] will not be repairable.
*Using this with <b>construction yard</b>will cause an error if <b>construction yard</b> does not have {{f|UndeploysInto||link}}{{f|BaseUnit|link}}.

Latest revision as of 10:19, 21 September 2024

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: Side-effects.
South-West
TickTank=yes North-West
Artillary=yes North-East
ICBMLauncher=yes North-East
SensorArray=yes
DeployFacing As set
DeployDir

Bugs/Side-Effects/Unexpected Limitations

tags UndeploysInto will work as expected, along with VehicleTypes that do not contain images. There is no information and Locomotor={4A582747-9839-11d1-B709-00A024DDAFD1}.
(If you specify the name of AircraftTypes You must have complete information of specified AircraftTypes and importantly it will become VehicleTypes completely even if there is a match, e.g. ORCA)