Quake2 .MD2 Model Importer v1.1 for gmax
----------------------------------------

Copyright (c) 2002, Chris Cookson
cjcookson@hotmail.com
http://gmax.digitalarenas.com

Description
------------

Script for importing Quake2 .MD2 files.


Features
--------

* Full geometry import
* Full texture co-ordinate import (but no skins - see Known Issues)
* Full animation import (select "Load all frames")


Known Issues
------------

* Skin textures are not imported

  Due to limitations in gmax, PCX files cannot be loaded. You will need to
  convert any PCX skin files to BMP, TGA or JPEG files and manually load them
  in using gmax's material editor.

  This is how to do it:

  (1) Find the textures associated with your MD2 model and convert them
      to BMP/JPEG/TGA (choose any) using your favourite paint program.
  (2) Import your MD2 model as normal
  (3) Click on your imported model and press the 'M' key to bring up the material
      editor.
  (4) Click on "get" to grab the material used by your model
  (5) Click on the diffuse tab if it's not already selected
  (6) Click on the "open bitmap" button in the "Diffuse Map" group
  (7) Select your BMP/JPEG/TGA skin file.
  (8) Click on the eye icon to display the textured model

  You should now see your model in all it's skinned glory :)

  This is possible as all MD2 models are imported with full texture co-ordinates.


How to Install The Script
-------------------------

To install the script, just follow these simple steps: 

(1)	Copy the MAXScript into your gmax\scripts\startup directory.
	For example, if you have installed gmax in c:\gmax then copy the script
	into c:\gmax\scripts\startup 

(2)	Run/Restart gmax	

(3)	Go to the utilities tab (the one with the hammer icon) and click on the
	MAXScript button
	
(4)	Find the 'Utilities' drop down list and you should see the name of your
	newly installed script (eg. Quake2 MD2 Import). 
	Select the script and you should see a new rollout appear above or below
	the MAXScript rollout. If you don't see it, try scrolling down.
	
To uninstall the script, just delete or move it from the gmax\scripts\startup directory. 


How To Use The Importer
-----------------------

Using the importer is simple:

Install the script, then click on the "Import MD2..." button in the "Quake2 MD2 Import"
rollout. Select the MD2 file (eg. tris.md2 or weapon.md2) using the dialog, and hit OK. 

If you want to import all the animations, click on "Import all frames". This can
take a while, so it's disabled by default.

Enjoy!
