Game Development Community

Scaling mounted weapons in script - can it be done?

by ChrisG · in Torque 3D Professional · 10/14/2010 (10:40 am) · 1 replies

I have a mack pack character than is scaled down, but the weapon he's carrying is way too small. Is there any way I can scale up the weapon once it has been mounted using TorqueScript?

I've had a look through the forums and it seems the answer is 'no' - weapons are scaled with the character - but I'm hoping *crosses fingers* that things have changed with T3D.

If mounted objects still can't be scaled in script, what's the easiest way to do it in an engine mod so I can pass it on to our programmer?

#1
10/14/2010 (11:03 am)
Hi Chris,

You still can't scale down a mounted ShapeBaseImage in script straight out of the box. However, there is a resource that enables you to do it. There are some minor changes for T3D compatibility (check out the comments) but it works a treat.

Andy