Showing posts with label TRWad Reorganizer. Show all posts
Showing posts with label TRWad Reorganizer. Show all posts

Tuesday, 17 June 2014

Changing a TRLE meshtree with TRWad Reorganizer

In Tomb Raider 4 the gunflashes are linked to a particular mesh number of the animating object’s skeleton (meshtree). For instance the SAS slot links the gunflash to mesh number 7 of the animating object in that slot. Mesh number 7 is the mesh of the gun.

See this post [link] for how to find which mesh the gunflash is linked to by adjusting the shooting animation using fragMOTION.

If, in the SAS slot, you replace the SAS animating object with a different enemy, the gunflash may appear at the wrong place because mesh 7 of the new enemy is not the gun mesh.

So one reason to change the mesh order is to have the gunflash appear in the correct position.

TRWad Reorganizer [link] is a program that can change the order of the meshes in an animating object’s meshtree.

Changing the order of the meshes usually ruins the existing animations but the magic of TRWad Reorganizer is that it adjusts the animation’s keyframes to match the new mesh order so the animations are not ruined.