Half-Life mdlviewer, based on original modelviewer src released by Valve on January 4th, 1999.
---------------------------------
Build on 28th of Januari, 1999.
version 1.11
Modified by: Otis. 

Added: (complete list of new features compared to the original)
- Zooming. Press z to zoom OUT and x to zoom IN.
- Cycling through sequences back and forth
- Cycling through all bodies in the model
- Display of current sequence name
- Display of length (in milliseconds) of current sequence
- Display of total amount of bodies in the model
- Display of total amount of sequences in the model

It's all displayed in a GLUT subwindow. This can be toggled off by pressing 's'.
I had also skinswapping working but there is no way to determine how many skins there are in the model, therefor
there wasn't any nice cycling code possible yet. If I find out how, I'll add it of course :)

In Short the keys to navigate:
- LMB for positioning of model in front of camera
- RMB for rotating of model. 
- z for zooming OUT
- x for zooming IN
- h for this short help (in commandwindow)
- n for next sequence
- p for previous sequence
- b for next body
- s for toggle on/off subwindow

usage: mdlviewer model.mdl

Chromecode seems to work, but the environtmap texture that seems to be used for fake phongshading is not present in these models. I guess
it's dynamically inserted into the models in the gamecode, so the renderer there is able to do the fake phong.

Zombie model is now also shown correctly, thanks to Ken Birdwell for telling me how to fix this error!

This version will be merged later on in 1 nice package with a nice launcherapp. At the moment you have to deal with commandlines or
use a different launcher. 

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
Extract the models all at once in 1 dir, so you don't miss an additional modelfile. 

This mdlviewer is not supported by Valve. If you have problems with it, email me at: perseus@xs4all.nl

Use this program at your own risk, and other standard disclaimer crap. :)

Have fun and happy mapping :)

Otis
-----------
Half-life Workshop: http://www.halflife.net/workshop

