• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Creating unit underground

Status
Not open for further replies.
Level 14
Joined
Nov 17, 2010
Messages
1,265
You could change the model with Magos Model Editor so it sits half in the ground. Then just use triggers to raise it up. I'm not sure if you can make it sit halfway underground by using the object editor, but you could try changing the minimum flying height and the flying height to a negative number. Just hold shift while double clicking on the field to set it to a negative number.
 
Level 10
Joined
Apr 18, 2009
Messages
576
If you want to do it with the height fields in the object editor:
Set Movement - Type to Hover or Flying.
Set Movement - Height and Movement - Height Minimum to a negative number (hold shift while opening the field).

The standard way of setting height with triggers does not seem to work for negative numbers though:
  • Change Unit Flying Height Positive
  • Events
    • Time - Elapsed game time is 1.00 seconds
    • Conditions
    • Actions
      • Unit - Add Storm Crow Form to Footman 0000 <gen>
      • Unit - Remove Storm Crow Form from Footman 0000 <gen>
      • Animation - Change Footman 0000 <gen> flying height to 1000.00 at 2000.00
Changes the unit flying height to 1000 over 0.5 seconds (1000/2000).


  • Change Unit Flying Height Negative
    • Events
      • Time - Elapsed game time is 1.00 seconds
    • Conditions
    • Actions
      • Unit - Add Storm Crow Form to Footman 0000 <gen>
      • Unit - Remove Storm Crow Form from Footman 0000 <gen>
      • Animation - Change Footman 0000 <gen> flying height to -1000.00 at 2000.00
Does nothing.


  • Change Unit Flying Height Negative
    • Events
      • Time - Elapsed game time is 1.00 seconds
    • Conditions
    • Actions
      • Unit - Add Storm Crow Form to Footman 0000 <gen>
      • Unit - Remove Storm Crow Form from Footman 0000 <gen>
      • Animation - Change Footman 0000 <gen> flying height to -1000.00 at -2000.00
Does nothing.
 
Last edited:
Status
Not open for further replies.
Top