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

MovementRestrictedTo

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: MovementRestrictedTo
File(s): rules(md).ini
Values: Strings: Normal text. (Limited to: one of LandType)
Default: None
Applicable to: VehicleTypes


Some units are restricted to certain terrains, say trains are restricted to railroad, ships are restricted to water, and some spawned aircraft are restricted to water(it affects only their landing). You can restrict other units to some kind of terrain, say to roads only if you so desired.

Notes

For Locomotors capable of aerial flight, this does not restrict their movement to cells outside the restricted area, but they will be prevented when attempting to land.

Bugs/Side-Effects/Unexpected Limitations

For vehicles with Naval=yes, they can only be properly created on the map when the Shipyard building is in water and the vehicle's MovementRestrictedTo is either not set or set to Water.

  • Sometimes if VehicleTypes with this flag can move to other areas. In addition to the specific area under the tag MovementRestrictedTo The shroud in that area will not be revealed, as if those VehicleTypes have Sight=0.

See Also

  • MovementZone