Page 1 of 1

Scaling Down Objects

Posted: Thu Jul 03, 2008 3:16 pm
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?

Re: Scaling Down Objects

Posted: Thu Jul 03, 2008 3:19 pm
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

Re: Scaling Down Objects

Posted: Thu Jul 03, 2008 6:23 pm
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.

Re: Scaling Down Objects

Posted: Thu Jul 03, 2008 7:52 pm
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.

Re: Scaling Down Objects

Posted: Thu Jul 03, 2008 10:16 pm
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"

Re: Scaling Down Objects

Posted: Thu Jul 03, 2008 10:56 pm
by Grev
Ok, thanks! But do you call it msh.option at the end, or just .msh and have it be an option file?

Re: Scaling Down Objects

Posted: Fri Jul 04, 2008 1:39 am
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