Scale UVW Dividing by 2

I need to make this 2nd UV channel to be scaled down divided by two. Since when exported to the engine it scales up and multiplies by 2. I need to rebake GI for the light map so I need it divided by two to work on all selected nodes.

Any help with this?

Basically from that picture I need the whole thing to be divided down by two to fit in the checker box thats how it gets multiplied up.

Need this since I only have the engine files that I exported and no longer have my source files.

AttachmentSize
a8632e4e3e743b9e80a01ed4b91c313f4ea162f8.jpg319.87 KB

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
TwilightZoney's picture

I've tried a few ways already

I've tried a few ways already but none seem to get them to be accurate.

$oldfortress_wall_3.modifiers[#unwrap_uvw].unwrap2.ScaleSelectedXY 0.5 0.5 [0.02192,0.977479,0]

Tried doing this but the position is offcenter and doesn't match up correctly. Not sure what I"m doing wrong.

vusta's picture

MCG is here to help...

I hope you have Max2016 to use MCG....so easy..

http://www.scriptspot.com/3ds-max/mcg/mcg-rescaleuv

with your pic, I think after you've scaled it down by half, you have to offset by half the UV space which is 0.5 up in V as you can see in
my illustration pic. You can also over write channel 1 as well but I made the default new channel as 2.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.