• 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.

[General] Fly underground

Status
Not open for further replies.
Level 37
Joined
Aug 14, 2006
Messages
7,602
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

  • FLY DOWN.w3x
    16.4 KB · Views: 56
Level 8
Joined
Sep 7, 2008
Messages
320
Impossible
Or create new model
 

Attachments

  • Untitled2.gif
    Untitled2.gif
    3.2 MB · Views: 99
  • Untitled.gif
    Untitled.gif
    3.7 MB · Views: 209
Last edited:
Level 21
Joined
Aug 13, 2011
Messages
739
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

  • Height Below Ground.w3x
    45.9 KB · Views: 74
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.
 
Level 37
Joined
Aug 14, 2006
Messages
7,602
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

  • HellDragonGlow00.blp
    47.7 KB · Views: 62
  • HellDragonGlow.mdx
    1.1 MB · Views: 86
  • HellDragon02.blp
    114.2 KB · Views: 65
  • HellDragon01.blp
    94.9 KB · Views: 81
  • HellDragon00.blp
    163.6 KB · Views: 66
  • HellDragonGlow01.blp
    30.6 KB · Views: 92
  • HellDragonGlow02.blp
    26.1 KB · Views: 86
Level 21
Joined
Aug 13, 2011
Messages
739
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.
 
Level 25
Joined
May 11, 2007
Messages
4,650
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?
 
Level 21
Joined
Aug 13, 2011
Messages
739
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.
 
Level 21
Joined
Aug 13, 2011
Messages
739
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.
 
Level 37
Joined
Aug 14, 2006
Messages
7,602
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.
Top