-
-
Notifications
You must be signed in to change notification settings - Fork 128
[New Feature] MovementZone=AmphibiousSubterannean, or enhancing existing Zones #211
Description
Description:
A copy of Subterannean, but allows movement over water tiles like MovementZone=Amphibious does, or Tile types that allow only SpeedType=Float and/or SpeedType=FloatBeach the same way Zones Amphibious, AmphibiousCrusher and AmphibiousDestroyer do.
What I'm specifically looking for is the feature of MovementZone=Subterannean that makes the VehicleType prefer digging over driving when the journey is long, even if current location doesn't allow digging into and/or target location doesn't allow digging out of; in that case it'll go to closes tile it can dig into, dig its way to the tile closest to target it can dig out of, then drive the rest of the way.
Currently Subterannean Locomotor combined with any amphibious MovementZone only allows digging to target location if both that target location and current location are part of a TileSet with AllowBurrowing=true.
If that is not the case and the unit chooses to drive, nothing short of a complete and absolute stop on location that allows burrowing (a hassle when having Amphibious Subterannean miners in the middle of an ore field as they'll simply refuse to stop attempting to queue at a Refinery), then setting a new target location that does allow burrowing, will make it dig in.
Check the video below at timestamp 9:23 and lower your volume. Your ears won't like hearing hotkey S being hit like my life depended on it.
If making a new MovementZone instead of enhancing/modifying existing ones, the new one should not inherit the vanilla bug with MovementZone=AmphibiousCrusher and MovementZone=AmphibiousDestroyer where such units can only dock with UnitRepair=yes buildings that have the same Naval value as the unit, see #210.
Possible Implementation:
[TechnoType]
MovementZone=AmphibiousSubteranneanAdditional Files / Links:
Footage of Amphibious miners with Subterannean Locomotor being stupid. Cover your ears, the sound of hotkey S at timestamp 9:23 might damage them.
https://www.youtube.com/watch?v=OsfhUWUmh8U&t=563