The Crusher md2 model viewer displays the 3D model files from Quake 2. It is not hardware accelerated and does not require the installation of an API such as DirectX or OpenGL.
Crusher allows the loading and displaying of md2 model files. The models are displayed in three dimensions and can be rotated and moved in the viewer. The program can also read and display 256 color PCX texture files. In addition to textured mode, the viewer features wireframe and flat shading modes.
Use the left and right arrows to step and back through the frames.
Press and hold the left mouse to rotate the model.
CTRL+W
- toggles wireframe mode
C
- recenters the model
The following options are accepted as command line options:
Argument | Description |
---|---|
-model filename |
loads the model file |
-skin filename |
loads the skin file |
-xrot value |
rotates about x-axis by value amount |
-yrot value |
rotates about y-axis by value amount |
-zrot value |
rotates about z-axis by value amount |
-wireframe |
sets the viewer to wireframe mode |
-flatshade |
set the viewer to flatshading mode |
-h, -help, -? |
displays this screen |
-v, -V, -version |
displays the program version number |
- Make a new folder below the Unreal directory, for example
Unreal\Hazard
Unreal\
+- Hazard
+- Cache
+- System
+- ...
- In this folder, create two news folder
Classes
andModels
Unreal\Hazard
+- Classes
+- Models
-
Use Crusher to export the model to Unreal format. This creates the needed
*.3d
and*.pcx
files to theModels
folder. Also, a*.uc
script is created in theClasses
folder. -
Change to the
Unreal\System
directory. The next three steps will take place there. -
Locate the
Unreal.ini
file. In the[Editor.EditorEngine]
section addHazard
to the[EditPackages]
list. e.g.EditPackages[8]=Hazard
-
In the
Unreal\System
directory delete theHazard.u
file if it exists -
Type
Unreal -make
to build theHazard.u
file. -
If Unreal completes the build without error, the model is in the game. Otherwise, check the
Unreal.log
file to investigate problems.
- To change the Unreal Project folder, modify line 113 in file
defs.h
- Unreal has problems importing skins that are not powers of two