HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Changing a unit's model height through triggers.

11-01-2004, 01:32 AM#1
HexenLordX
Okay.. now say you have a model, that is short and stubby like a human child. Now you want to make that model taller, but you do not want to change the other dimensions of the model.

That's easy. Just use the Animation - Change Unit's Size, and set the Y offset to like 200%, while leaving everything else 100%.

Now, is this possible to do on map initialization, setting a unit-type's Y offset to 200%, so that every unit of that type created after initialization will have 200% its normal height.

If not, that means I'd have to do a trigger to pick every unit of a certain unit-type and do the change unit's size trigger, and with 500 units of that type, it could cause some real hell trying to resize all of them.

Maybe there is a better alternative.. anyone know?
11-01-2004, 02:37 AM#2
HexenLordX
Well, I found a bug in one of the triggers.

Animation - Change Unit's Size

It has ( X% , X% , X% ). Now its supposed to correspond with Length, Width, Height.

I just tested it, and the first X is the only one with any effect, and it has the same effect as the scale value in the object editor. The first X does nothing more than change the overall size of the model to that %. So if you set it to:

( 500% , 5% , 50% )

The entire model would be scaled to 500% of its original size, not just the Length.

Now, does this mean there is no way of scaling the individual dimensions of a model through the World Editor?
11-01-2004, 03:36 AM#3
linkmaster23
I don't understand what you're asking...
11-01-2004, 03:49 AM#4
HexenLordX
How can you change JUST the height of a unit, without effecting its width or length.
11-01-2004, 04:02 AM#5
linkmaster23
Just change the Z?
11-01-2004, 04:12 AM#6
HexenLordX
Quote:
Originally Posted by linkmaster23
Just change the Z?

*Sigh*, yes just the Z.
11-01-2004, 11:32 AM#7
linkmaster23
Quote:
Originally Posted by HexenLordX
*Sigh*, yes just the Z.

Then do it... What's the issue? o_O
11-02-2004, 01:55 AM#8
HexenLordX
How? I don't mean change the height offset, I mean change the actual height of the model without changing the other aspects.
11-02-2004, 07:09 AM#9
Guest
Quote:
Originally Posted by linkmaster23
Just change the Z?

Linkmaster, weren't you supposed to be a master of triggering?

Hexen, I have the same problem, don't think it's possible to resize only 1 dimension.

Salutions®
11-02-2004, 07:37 AM#10
Pheonix-IV
WCIII dosnt support scaling only in one dimension on units (although it can be done on doodads) the trigger to do it was never finished i guess. Although this is a good thing, since scaling it up would stretch everything and look fucked up.
11-02-2004, 04:40 PM#11
linkmaster23
... Hey, not my fault I never used the Animation Deform before. =] At least I tried to answer his question unlike 99% of the Trigger Haven.
11-02-2004, 05:52 PM#12
Guest
Quote:
Originally Posted by linkmaster23
... Hey, not my fault I never used the Animation Deform before. =] At least I tried to answer his question unlike 99% of the Trigger Haven.

You right, people dont help too much lately...

Salutions®
11-02-2004, 06:45 PM#13
Freakazoid
I'l try to do this.
Try to set all to 100% exept the height 100% , 100% , 50%?
11-02-2004, 09:59 PM#14
HexenLordX
Quote:
Originally Posted by HexenLordX
Well, I found a bug in one of the triggers.

Animation - Change Unit's Size

It has ( X% , X% , X% ). Now its supposed to correspond with Length, Width, Height.

I just tested it, and the first X is the only one with any effect, and it has the same effect as the scale value in the object editor. The first X does nothing more than change the overall size of the model to that %. So if you set it to:

( 500% , 5% , 50% )

The entire model would be scaled to 500% of its original size, not just the Length.

Now, does this mean there is no way of scaling the individual dimensions of a model through the World Editor?

Read that... The trigger doesn't work properly, its bugged. So don't even bother.