Scaling Down Objects

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
Grev
Hoth Battle Chief
Hoth Battle Chief
Posts: 3132
Joined: Sun Dec 09, 2007 11:45 pm
Projects :: No Mod project currently.
Games I'm Playing :: Minecraft
Location: A Certain Box Canyon

Scaling Down Objects

Post by Grev »

Well, the title is almost self explanatory. I would like to know how to scale objects. I know it involves msh.options but I'm not sure what to do and how. I want to scale down a chaingun.

Could someone show me an example of a msh.option used to scale things down, or how to set one up?

Thanks!

edit: Also, how would I give a chaingun rifle anims for shooting? I changed my rifle msh to the chaingun msh, that didn't change the shooting anim, and when I gave the chaingun a rifle anim, it also didnt change. How would I change the anims correctly?
Aman/Pinguin
Jedi
Jedi
Posts: 1104
Joined: Tue Jan 30, 2007 6:04 am
Projects :: Inactive
Location: Germany

Re: Scaling Down Objects

Post by Aman/Pinguin »

Grev wrote:I would like to know how to scale objects. I know it involves msh.options but I'm not sure what to do and how. I want to scale down a chaingun.

Could someone show me an example of a msh.option used to scale things down, or how to set one up?

Thanks!
rep_weap_inf_chaingun.msh.option

Code: Select all

-scale 0.5
= Half the original size

Code: Select all

-scale 1
= original size

Code: Select all

-scale 2
= Twice the original size
User avatar
trainmaster611
Sith Lord
Sith Lord
Posts: 1779
Joined: Thu Aug 24, 2006 5:22 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Building a railway to Coruscant
Contact:

Re: Scaling Down Objects

Post by trainmaster611 »

Be careful, cuz scaling with msh.option can be buggy.

If you scale up a building, the building itself will increase but the original collision locations will remain unscaled.
theITfactor
Chief Warrant Officer
Chief Warrant Officer
Posts: 327
Joined: Wed Jun 28, 2006 12:56 pm
Projects :: The Pwnfest and Games Complex
Games I'm Playing :: SWTOR
xbox live or psn: You and I Know
Location: The Old Republic
Contact:

Re: Scaling Down Objects

Post by theITfactor »

trainmaster611 wrote:Be careful, cuz scaling with msh.option can be buggy.

If you scale up a building, the building itself will increase but the original collision locations will remain unscaled.
Plus it will sometimes flicker and disappear at different angles, especially if it is animated.
User avatar
authraw
1st Lieutenant
1st Lieutenant
Posts: 445
Joined: Mon Jun 26, 2006 3:45 pm

Re: Scaling Down Objects

Post by authraw »

Sure, but scaling a chaingun probably won't be too bad. I scale a lot of the weapons that I use with the msh.option file.

To change the animation of the chaingun to that of the rifle, you should just have to add this line to your chaingun's odf:
AnimationBank = "rifle"
Grev
Hoth Battle Chief
Hoth Battle Chief
Posts: 3132
Joined: Sun Dec 09, 2007 11:45 pm
Projects :: No Mod project currently.
Games I'm Playing :: Minecraft
Location: A Certain Box Canyon

Re: Scaling Down Objects

Post by Grev »

Ok, thanks! But do you call it msh.option at the end, or just .msh and have it be an option file?
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: Scaling Down Objects

Post by DarthD.U.C.K. »

to edit the scale of xxx.msh (as example) make a new whateverfile and save it as xxx.msh.option and write the parameter in it
Post Reply