Skin Weight Exporter/Importer
Beta 1.2
--------------------------------

Features:-
	Exporting Skin Weights and Vertex Positions
	(NEW) Exporting Selected Skin Weights and Vertex Positions
	Importing Skin weights via Vertex Index
	Importing Skin Weights via Vertex Position
	Importing and Mirroring Weights

Installation
------------

To install, unzip skinimpexp.mcr to "ui\macroscrips" along with skinopn.mcr and shurpa.bmp, and a new catagory for "Skin Toolset" will appear. After which you can use the functions from a quad or assign a hot key.

E.g.
Customize->Customize User Interface
	Select Quads
	Select Catagory "Skin Toolset"
	Drag Option into available quad menu


Known Issues:-
--------------

		In some instances, may cause a "system exception". Simply save and restart MAX.
		ImportSkinWeightsVertexPos or ImportSkinWeightsVertex must be run immediately prior to using ImportSkinWeightsVertexPosMirrored IF Skin is reapplied.
		All functions should be run at time frame 0.
		Does not work with Editable Poly


Fixes
-----

		Close file issued resolved
		You now have the option to import/create the bone list
		Distance check to eliminate vertex weight discrepancies


Other stuff :-
---------------

To export selected weights, you must first select the vertices you need by using the EditMesh modifier. The script will then execute.

In order for the mirroring to work, you will need to save the weights for the original half. Then proceed as follows:

Either (1)
	Remove skin. With the original selected, attach the other half and merge vertices down the middle - add skin and re-initialize - Load weights either by "vertex position" or "import weights" (import weights reccomended) then use the "mirror weights" function.

OR (2)
	If the mesh is not divided into two, run the "mirror weights" function only.

You do not need to select the weights to mirror, and it is advised to leave the biped names at their default. Any additional bones should be named with "RHT", " R " or "LFT", " L ". If a bone has a mirrored counterpart, it should be named identically, but with a "RHT" tag instead of an "LFT" tag, etc...

Its been observed that when using the "mirror weights" function, some weights are not mirrored correctly, this only happens with vertices that are too close together for the selected threshold.


Warning:-
	As a precaution, save your MAX file prior to using this script.


Anthony Delen
antdelen@hotmail.com
Updated: 21/09/03


