HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Couple questions about changing unit height (through triggers AND the Object Editor)

12-13-2003, 02:35 AM#1
FerretDruid
Is it possible, through triggers, to change a unit's position (height included) over time, instead of instantly? I'll try to diagram what I'm thinking of doing... Nevermind, I can't draw in ascii worth crap. I basically want 5 units to originate from a point (a unit casting a spell) and to move up to different positions above/to the sides of the casting unit to create a hexagon formation (if looking from the SIDE).

My other question, is can I give a unit a ridiculous flying height? The editor seems to propose a limit of 1000 normal flying height for a unit... As you might imagine, I want to make some dummy unit way up high. (Specifically, to fire down upon dummy spell targets 8))) Any way this can be done? Alternative methods of creating that effect perhaps? Thanks in advance..
12-13-2003, 03:19 AM#2
Quetz2
Couldn't you just hide the unit, and unhide it whenever its casting its spells, then rehide it again?
12-13-2003, 03:29 AM#3
Taelrie
well what you are suggesting (about the impossible height anyway) is a pretty much useless idea. you COULD theoretically set it that high if you got USMWE map editor (it drops all the caps on everything so you can set to your own height) but after a certain height (I think it is 1050; blizzard stopped skinning after that because tehre is supposed to be a cap) it just disappears. So although technically you COULD set it to above that with USMWE (maybe if you want to do a jump-kinda spell that makes them disappear for the height but you can do that a bunch of ways) it doesn't show on the map. If you don't believe me (lol but you should) just get USMWE and try hitting "raise terrain" in the same place a bunch of times.

oh and about the hexagon thing I really have no idea what your talking about there. But I am guessing you want to change the height for several characters. It is pretty easy to do this, in my real life mod I have a heli that raises from the ground over 10 seconds. But the problem is the unit has to be originally flying because for some reason the trigger to CHANGE the movement type to flying does NOT work (well at least it doesn't for me if it is different for you guys PM me plz saying so :)). So my suggestion is if you just want him to raise gradually make a duplicate unit without any damage or anything, but hovering instead of ground. then use the animation to change it to X height over X seconds, and VOILA! you have a change of height over time (not to mention the guy can't attack). I suppose you could also set the move to 1 (0 doesn't work for god knows what reason) so they can't get out of the hexagon shape. Anyway just spawn units in your hexagon pattern, then raise the heights accordingly.

P.S. if you don't know what USMWE is its a map enhancer, which you can download from this site that does several neat things you couldn't do otherwise.
12-13-2003, 03:56 AM#4
FerretDruid
It would NOT be pointless to put units up very high, I explained that the effect I was trying to get was missiles being fired down onto the target from above - dummy units!!! (they aren't supposed to be seen). I don't want to download UMSWE or whatever, is it just a simple field I can change in MiscData.txt or something?

And for changing unit height via triggers, I intend to make them flying units, I just want to create them AT THE POSITION of the casting unit. But then I want them to "Fan out" from that point and end up at a different height, and in a hexagon formation around the casting unit (origin).
12-13-2003, 04:22 PM#5
Taelrie
I havent' really seemed to have gotten my point across. in shot anything above 1000 height will not show on the screen even if you DID fix the height in misc.data
12-13-2003, 04:58 PM#6
ObsidianTitan
Not true, Ive had things at 15,000 height and saw them fine. Just use custom cameras.

for the units in the hexagon, i dont see what your having trouble with. The following is an example of how to do this, i have shown 2 units but easy to change to 4.

Unit - Create 1 Gryphon Rider for Player 1 (Red) at (Position of (Casting unit)) facing Default building facing degrees
Set moveunit[1] = (Last created unit)
Unit - Order moveunit[1] to Move To ((Position of (Casting unit)) offset by 256.00 towards 0.00 degrees)
Animation - Change moveunit[1] flying height to 1000.00 at 100.00
Unit - Create 1 Gryphon Rider for Player 1 (Red) at (Position of (Casting unit)) facing Default building facing degrees
Set moveunit[2] = (Last created unit)
Unit - Order moveunit[2] to Move To ((Position of (Casting unit)) offset by 256.00 towards 90.00 degrees)
Animation - Change moveunit[2] flying height to 1000.00 at 100.00


A note on the rate of change in flying height is the lower the number the slower it changes, the higher the faster.
12-13-2003, 09:48 PM#7
FerretDruid
Thanks ObsidianTitan, that's what I needed. I just didn't know how to gradually change the height instead of instantly...

And in response to this...
Quote:
I havent' really seemed to have gotten my point across. in shot anything above 1000 height will not show on the screen even if you DID fix the height in misc.data

I don't know why you keep trying to get that point across when it really doesn't mean ANYTHING for what I am trying to do. In case I didn't make it perfectly clear already - THEY DO NOT NEED TO BE SEEN, THAT IS NOT AN ISSUE!!!!!!!!!!!!!!!!!!!!

And I still don't know how to fix it so I can put them up higher, what do I need to change?
01-01-2004, 01:15 PM#8
FerretDruid
Bumping this...

I did not come up with a workaround for the unit height, and nobody ever told me how to change it. Does anyone know? Or can someone verify that this -cannot- be done? Please help? 8))
01-01-2004, 02:04 PM#9
Ninja Squirrel
Quote:
Originally posted by Captn_Crunch
you COULD theoretically set it that high if you got USMWE map editor (it drops all the caps on everything so you can set to your own height)
01-01-2004, 02:59 PM#10
FerretDruid
Quote:
you COULD theoretically set it that high if you got USMWE


So does that mean that I can or I cannot? I was hoping when I saw a response that someone finally answered my question. I'm not downloading UMSWE for this tiny feature.

I don't like using 3rd party editors unless there's really a NEED for it. From what I understand, the guys who made them mostly just edited the editor (yes I'm sure they added plenty of other, new features so don't give me a lecture).

I just want to know what to change if it's possible.
01-01-2004, 03:34 PM#11
Ninja Squirrel
It is possible in USMWE. All limts on all fields have been removed. That is my understanding from what I have read. (I haven't had a need to download it yet either, though I may soon)

Blizzard's change log for 1.13 claims that you can hold down Ctrl when entering numerical data in the standard WE, and it will disable the limits, but I have yet to get this to work.
01-01-2004, 10:59 PM#12
FerretDruid
I tried that also, I can't adjust the movement height past 1000 with Ctrl.

I tried We-Nolimits and that doesn't affect movement height either.

Someone must know this?
01-03-2004, 12:38 AM#13
ObsidianTitan
Just increase the unit flying hight using triggers. Ive given a unit a ridiculous amount of fling hight and it worked fine like that. I dont think you even need a special editor to do it either.