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

UndeploysInto

From ModEnc
Jump to navigation Jump to search
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: Normal text. (Limited to: VehicleTypes (Generally))
Special Values: none
Applicable to: TechnoTypes:

AircraftTypes, BuildingTypes, InfantryTypes and VehicleTypes



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.

If the value is none, the undeploy behavior will be disabled.

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

The program doesn't actually verify the SpeedType and MovementZone of UndeploysInto vehicles, only checking if not none. Therefore, movement destination settings solely depend on the original BuildingType's SpeedType. Corresponding WaterBound=yes will cause undeployed vehicles to fail setting correct movement targets.

Notes

The only difference between "undeploy" and "sell" is whether there is a movement destination.

  • If present, it creates an UndeploysInto vehicle;
  • if not, the building is sold and creates infantry remnants (granting engineers as appropriate).

A critical PVP bug occurs when setting a movement destination before building sale completion, resulting in simultaneous acquisition of both vehicle and infantry.

The game considers buildings with both UndeploysInto set and Foundation=1x1 as vehicles, endowing them with characteristics like no EVA announcement when captured.

For factory buildings, ResourceDestination can suppress EVA_NewRallyPointEstablished when buildings undeploy into vehicles.

See Also

Infantry Linking