Page 1 of 1

Weapon Meshes

Posted: Wed Mar 20, 2019 2:26 am
by deuxsonic
I'm curious if there is a way through the UnrealScript to flip a mesh along an axis. Is it maybe something I'm missing in Default Properties?

Re: Weapon Meshes

Posted: Wed Mar 20, 2019 4:37 am
by JackGriffin
The easiest way I've found is to export the model then import it back in as a mirrored mesh. This is an example from Food Fight:

#exec MESH IMPORT MESH=SaladBagM ANIVFILE=MODELS\SaladBag_a.3d DATAFILE=MODELS\SaladBag_d.3d LODSTYLE=10 UnMirror=1

That last bit is the magic.

Re: Weapon Meshes

Posted: Wed Mar 20, 2019 4:48 am
by deuxsonic
How do you control which axis it's mirrored along?

Re: Weapon Meshes

Posted: Wed Mar 20, 2019 2:38 pm
by JackGriffin
You can't (as far as I know) specify the axis. That would require exporting to Blender and flipping it, which is probably the route you should take so you have fine grain control. Is this a static mesh or is it animated?

If you go that route it's best to use UModel for your mesh exporting. I've run into a ton of bugs using batchexport, WOTgreal, etc.