Page 1 of 1

Shrinking a Unit (solved)

Posted: Wed Jan 28, 2009 3:48 pm
by Fiodis
I followed the two tutorials on scaling down an MSH and the animation, and I also added GeometryScale = -0.5 to the unit's ODF. The unit is an Acklay. In-game, however, it shows up normal size.

My acklay and acklaylz munge.bat:
Hidden/Spoiler:
@call ..\munge_animation.bat "/keepframe0 /scale -0.5 /dest acklay.zaf" Sides\GEO
And my geo_inf_acklay.msh.option:
Hidden/Spoiler:
-scale -0.5


Is something out of place or missing?

Re: Shrinking a Unit

Posted: Wed Jan 28, 2009 4:30 pm
by fiddler_on_the_roof
can you make the acklay a negative size?
wouldn't it just be (0.5), not (-0.5) for half the normal size?

Re: Shrinking a Unit

Posted: Wed Jan 28, 2009 4:42 pm
by Blade
I'm pretty sure Fiddler is right (though as you followed the tutorials, you may be :P)

Re: Shrinking a Unit

Posted: Wed Jan 28, 2009 4:47 pm
by Fiodis
Oh. Hmm, that could very well be it. I followed the tutorials to scale up a Jawa, but this Acklay I tried to do from memory.

Re: Shrinking a Unit

Posted: Wed Jan 28, 2009 5:00 pm
by ryukaji
If you think about it, it has to be 0.5.
A -0.5 would give you a negative result and size cannot be negative so it would be 0.5 to get you half of the original size.

so in the option file it should be
-scale 0.5

and the munge would be
@call ..\munge_animation.bat "/keepframe0 /scale 0.5 /dest acklay.zaf" Sides\GEO

Re: Shrinking a Unit (solved)

Posted: Wed Jan 28, 2009 5:08 pm
by FragMe!
Another thing you may find is that it may get smaller but it will be above the ground, middle of body will be about middle of body on a normal sized one. many many minutes of frustration trying to make it not be that way, didn't find a solution, moved on to something else and let that frustate me instead.

Re: Shrinking a Unit (solved)

Posted: Wed Jan 28, 2009 5:11 pm
by Maveritchell
FragMe! wrote:Another thing you may find is that it may get smaller but it will be above the ground, middle of body will be about middle of body on a normal sized one. many many minutes of frustration trying to make it not be that way, didn't find a solution, moved on to something else and let that frustate me instead.
You could always try hexediting the bone_root (or the scene root, whatever it is) to a lower position.

Re: Shrinking a Unit (solved)

Posted: Wed Jan 28, 2009 5:27 pm
by Fiodis
I think I saw a map (a beta of SotG v. WGO, maybe) in which a spider-sized Acklay was clear on the ground.

In any case, I'm only halving the size, so with the Acklay's long, thin legs it's hardly noticable.

In fact, I didn't know it did that until you told me. :o