HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Negative Flying Height

07-22-2006, 05:23 PM#1
Fin.
Hi, I'm trying to change a unit's flying height to negative via triggers so he sinks into the ground. I'm pretty sure I have done it before but I can't seem to remember exactly how. I tried setting height and min height to -300, but it seems once I change the unit's height it won't sink back into the ground after it comes up, and turning his collision off didn't seem to help either.
07-22-2006, 05:42 PM#2
Captain Griffen
I also thought it was possible, but I have been unable to find a method of doing so, and others I have spoken to have said it cannot be done.
07-22-2006, 06:07 PM#3
iNfraNe
Can only be done if the terrain is raised using permanent terrain deforms. But still, the unit will be unable to move below the original terrainheight.
07-22-2006, 06:13 PM#4
BertTheJasser
Was this not possible by disabling pathing of the unit? Hardly remember that. Check it out.
07-22-2006, 06:38 PM#5
Fin.
Damn for some reason I think that I did it before, I could of been delusional though. And I tried turning off collision if thats what you mean bert



edit: Can you change the height of the model file itself so its below the ground, do you think it would work then and how would one go about doing this?
07-22-2006, 07:12 PM#6
The)TideHunter(
Yes you could change the model to do that, make a sink animation, i would be alot better, then use triggers to play the animation.
07-22-2006, 07:20 PM#7
Captain Griffen
Quote:
edit: Can you change the height of the model file itself so its below the ground, do you think it would work then and how would one go about doing this?

Yes, but due to Blizzard's suspect method of working out whether to render it or not, this may result in it incorrectly not being rendered, even when you should be able to see it...
07-22-2006, 07:31 PM#8
Fin.
Alright thanks, sounds like too much trouble so I guess im scrapping the idea
07-22-2006, 07:44 PM#9
Captain Griffen
Depends on how much you move it down by. 100 shouldn't cause a problem, and be enough for you. I didn't have any problems moving down 400, but did at 1000.
07-22-2006, 09:30 PM#10
Fin.
Well that worked out perfectly, it does exactly what I want=P Anyway I will give a brief explanation I guess of how to do it if others want to know since it is so easy to do. All you need is Geoset Translation by Oinkerwinkle to do it. Just open your model with it, change the Y value to -300 or however deep you want it, then in the map just use a trigger to give the unit 300 flying height or the object editor might work also, and when you want to sink it change its height to 0.

edit: Oh ya thanks again griffen, +rep

Well I noticed that the unit model is sometimes hard to select and it doesnt seem to walk right so I might of done something wrong, but it satisfies my needs =P