Shrinking a Unit (solved)

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Shrinking a Unit (solved)

Post 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?
Last edited by Fiodis on Wed Jan 28, 2009 4:58 pm, edited 1 time in total.
fiddler_on_the_roof
1st Lieutenant
1st Lieutenant
Posts: 460
Joined: Wed Nov 12, 2008 5:28 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Re: Shrinking a Unit

Post 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?
User avatar
Blade
Captain
Captain
Posts: 496
Joined: Fri Apr 04, 2008 11:02 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Re: Shrinking a Unit

Post by Blade »

I'm pretty sure Fiddler is right (though as you followed the tutorials, you may be :P)
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: Shrinking a Unit

Post 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.
ryukaji
Major
Major
Posts: 513
Joined: Mon Sep 17, 2007 7:46 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Re: Shrinking a Unit

Post 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
FragMe!
Gametoast Staff
Gametoast Staff
Posts: 2244
Joined: Sat May 13, 2006 12:34 am
Projects :: Not sure keep changing my mind.
Games I'm Playing :: F1 and SWBF
xbox live or psn: No gamertag set
Location: Origin name GT_FragMe
Contact:

Re: Shrinking a Unit (solved)

Post 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.
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: Shrinking a Unit (solved)

Post 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.
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: Shrinking a Unit (solved)

Post 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
Post Reply