Half-Life Model Viewer
======================

Valve's model viewer from the January 4th source code update. I've compiled it with MS Visual C++ 5. It is a simple utility for viewing Half-Life's .mdl files.

Left mouse button moves the model, Right mouse button rotates it. It doesn't zoom.
The Space Bar cycles through the animations.

I've included a model with a .bat file to view it. In the .bat file is the command line. You can also drag and drop an .mdl onto the .exe to view it. Some models have a problem with this and won't load though, so they'll need a .bat file, or can be run from DOS. Note on models with a similar 't' model, extract that also. The gman.mdl also needs the gmant.mdl to view it, but don't try to view the gmant.mdl. Also, for models like barney with several numbered models, you'll need the barneyt.mdl as well as the barney01.mdl - barney03.mdl files to view it. Again, just try to view the barney.mdl and not the others.

You'll need OpenGL libraries to run this, which can be downloaded here, if you don't already have them: ftp://ftp.microsoft.com/softlib/mslfiles/opengl95.exe

You'll also need to unpack .mdl files from the half-life\valve\pak0.pak file. These two pak utilities work, as well as others:
http://asp.planetquake.com/dl/dl.asp?qped/qped211.exe
ftp://ftp.cdrom.com/pub/quake/planetquake/chopshop/utilities/quake/pak_utils/pakexplr.zip

This is unsupported by Valve. The source code was released as an example of how to render models, for 3rd party developers to use in their programs. Valve's Ken Birdwell spent extra time getting this to work as a stand-alone utility. Thanks go to him for this.

If you have any problems, email me at kingminos@aol.com

Spider
Wavelength - Half-Life Editing
http://www.planethalflife.com/wavelength
