========================================
   ** SCM IMPORTER - Jan Van Der Weg **
          www.janvanderweg.com

	Many thanks to:
		Chris Cookson for his scripts, they taught me a lot!
		der_ton from doom3world, without his scripts correct bone creation would have taken a lot longer!
		GH33DA for explaining what the transform matrixes (matrices?) are!

	SupCom Maxtool:
	v0.7
	-Code cleanup
	-Some parts rewritten
	-Now correctly exports vert/texture data. It auto splits the mesh along the uvseams at export
		-Don't manually split
		-Keep everything in a single smoothing group
	-Some extra import options have been deleted since they were stupid anyway! >:|
	-Fixed bug where you would have to reload the script if you canceled the savetofile export dialog.
	-Changed the script to use multiple maxscript files for better overview of the project
	v0.6
	-Fixed some bone import issues
	-Added export functionality.
		-Exported models not yet tested in supcom
	v0.49a
	-Fixed bone creation. It should all be correct now. 
	-Optimized a lot of the script and fixed some potential issues.
	-Still some small things to add but the base import functions are finished.

	v0.4a
	-Planning on merging scm/sca import and export into a single maxscript: SupCom MaxTool
	-UI layout change:
		-Added option to load reference points as dummies or bones.
		-Added progress bar
	-Bones are now max bone objects.
	-Bone location is still off with the spiderbot. I think this is still a bug :(
	-Apply sca button has no functionality yet, sca import script has not been merged in yet.


Installation:
Extract the zip contents to your 3dsmax scripts directory. (C:\Program Files\Autodesk\3ds Max 9\Scripts)

Usage:
After extracting the files load max and goto the utility toolbar. (Hammer tab)
Click on the MAXScript button, select run script and point to the scmtool.ms file. 
Select SupCom MaxTool from the Utilities dropdown box.

Exporting:
-Supcom uses an Y-up coordinate system. 3dsmax uses a Z-up system. Create your model accordingly.

Setting up a rig:
-Use the skinmodifier, not physique.
-Add parent bones first. A bones parent may never come after it.
-Add weighted bones first, then non weighted bones. If you don't do this it might not export correctly.
-Make sure every vertex is weighted 100% to a single bone. If this isn't true for a vertex something might go horribly wrong.

Misc:
-Some bone struct data is still somewhat bogus info. So this might not actually export usable models!
-Vertex normals might not be calculated correctly 
-Vertex binormals and tangents are both (0,0,0) normal maps might not look correctly ingame.
-help help help helppppppp this is still a untested beta.
-The script is slow and unoptimized, it might seem that max is doing nothing. It is, be patient. ( I hope :X)
-p.s. Did I mention the script was slow? It took me over 5 minutes on a core2duo system to reexport the spiderbot.	






