- Joined
- Jun 9, 2008
- Messages
- 309
It's a realtively basic feature in many games, the idea being that you order a unit to burrow underground, but instead of being static, you can still order it to move around, like it was digging a tunnel, and this could be used to avoid terrain obstacles and the like.
My initial idea was to simply set a unit's movement type to "fly" and give it a negative value, and that basically does what I wanted, except it looks mediocre when the unit moves up or down cliffs, into water or close to things with Fly-Over Height, because it will inevitably pop out of the ground like some mole-dolphin. For normal flying units it makes sense, because they looks best with a smooth gliding motion, but for the digging unit, it kinda totally ruins the suspension of disbelief.
I looked around and experimented a bit with triggers that would make sure the "deep flying" unit stays underground at all times, with changing movement height and the like when it approaches a cliff, but no success so far
My initial idea was to simply set a unit's movement type to "fly" and give it a negative value, and that basically does what I wanted, except it looks mediocre when the unit moves up or down cliffs, into water or close to things with Fly-Over Height, because it will inevitably pop out of the ground like some mole-dolphin. For normal flying units it makes sense, because they looks best with a smooth gliding motion, but for the digging unit, it kinda totally ruins the suspension of disbelief.
I looked around and experimented a bit with triggers that would make sure the "deep flying" unit stays underground at all times, with changing movement height and the like when it approaches a cliff, but no success so far