• Check out the results of the Techtree Contest #19!
  • Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

[General] Fly underground

Status
Not open for further replies.
Level 37
Joined
Aug 14, 2006
Messages
7,610
Hey,

Is it possible to make unit go underground?

code + map attached

  • Untitled Trigger 001
    • Events
      • Player - Player 1 (Red) types a chat message containing 1 as An exact match
    • Conditions
    • Actions
      • Unit - Add Crow Form to BOSS
      • Unit - Order BOSS to Special Medivh - Raven Form
      • Animation - Change BOSS flying height to -500.00 at 200.00
 

Attachments

Impossible
Or create new model
 

Attachments

  • Untitled2.gif
    Untitled2.gif
    3.2 MB · Views: 146
  • Untitled.gif
    Untitled.gif
    3.7 MB · Views: 272
Last edited:
What I would do is use Oinker's Geoset Translation to move the entire model below ground level.

GeoTranslation.jpg

Its default 0 flying height will be below ground, and you can always raise its height using triggers to be at ground level.

The attached map is a simple example using a footman. If you have any issues doing it yourself, feel free to send me the model you want it done to :psmile:
 

Attachments

You can press shift + enter and then insert a negative number at field "Movement - Minimum Height".
If you do this you can do the same with "Movement - Height".
Now the unit should have the negative number as default height.
But once you change the flying height via trigger, it automatically will get to zero (or higher) again, and you can't set it to a negative value again.
 
I thought about this morning and I ended up that the easiest way is to create an animation for the model. So next to the request section. Here I come!

Thanks guys for some information! Rep.

EDIT: Wait a second - or perhaps Tickles you could help me here? I mean a new animation where the dragon simply goes underground. Here's the model.

Why animation? The boss goes time to time to underground and then some big badass super spells comes to the battlefield. The boss also flies but that's another case and I already have those animations. I just want more! More more more.
 

Attachments

The ground level height depends on the scaling value of the unit. At scaling value 0.6, the dragon's ground height is 450. Or if you want a giant dragon and use 1.0, then the ground level height will be about 755. But yeah, it works the way you asked.

Regardless of its scaling value, the dragon will always be below ground at 0 flying height.
 
What happens if you have a dragon with 400 flying height and a dragon with -600 in height and then use a morph ability like the druid of the claw bear form, will it instanly snap to the height or will it move towards it?

Like the Undead Obsidian Statue, when it converts into the Destroyer the Destroyer flies up in the air if I remember correctly?
 
It would be a gradual height change, but negative height values don't work with morph spells either. If you use a geoset translation and lower the model at just the right point below ground level, it should be able to have a gradual height change using morph spells. Triggers are just a lot more reliable when dealing with different heights.
 
Yeah, an origin attachment would set it at its feet and rise up or down with the dragon. You could create it at a point, but using a dummy unit like I did lets you also tinker with the size of the effect.

Maybe a combination of a dummy unit effect and a large attachment to the dragon's origin would look cool.
 
Well I got hundreds of special effects already created in different triggers(spells, items, ...) which means probably half of the effect won't be shown in this boss fight? In that case I go to request section asking for an animation.

I knew there was a down side. Damn, this could have been so much easier this way.
 
Status
Not open for further replies.
Back
Top