QMUD.cin Tutorial
I've elaborated on Paul Steed's
1/27/98 .plan and put in the information that I used to create my
cinematic.
Credit goes to Steed and
Ganslick for the information,
and
PlanetQuake for QuakeFinger. The notes are mine.
1. Render scene to individual PCX's (8-bit), all named QMUD****.PCX
note: Qdata will only accept 256-color .pcx files. Your animation program must output single frames. If it won't output .pcx then output as another format and convert the palette and save them as .pcx with another program like DeBabelizer.
2. Copy the .pcx files to a newly created folder /bin_nt/video/qmud
3. Place an optional QMUD.WAV file in the /bin_nt/video/qmud directory.
note: The .wav file
seems to work best as stereo 22k. Other sampling rates and mono
have either crashed Quake 2 or have not played very loud. Also,
the .wav file needs to be as long, or longer than your finished
.cin, otherwise Qdata will crash before it finishes compiling it.
Qdata will clip the extra sound off if the .wav is longer.
4. Create a text file (QMUD.QDT) and place the following info in it: $video qmud 4 8
e.g., $video testing 4 would process the files
named testingxxxx.pcx in the /video/testing directory, and
process the optional WAV file, named testing.wav
/* QMUD.QDT
file note: $video qmud 4 8 |
note: Qdata counts the total number of frames, you don't put that in. The (# of digits) varies depending on what animation program you have. Some output with 3 or 4 numbers after the name. The (startframe#) can be anything, but your 0000.pcx file needs to be there or Qdata won't compile it.
5. Place QMUD.QDT file in /bin_nt with QDATA.EXE, and type 'QDATA
qmud.qdt'.
"Some other factors to consider is that you can have
different palettes for your animations as long as there's a frame
of black somewhere to allow the palettes to switch (i.e. fade to
black-switch to another palette-fade up from black with new
palette). Also be advised that color 0 and color 255 can't be
used so really you only have 254 colors to play with."
note: The reason colors 0 & 255 need to be excluded from the palette is that it doesn't view correctly in windowed mode.
How to View your
.cin: Grab it out of the /bin_nt/video
folder and put it in the Quake2/baseq2/video directory.
Start Quake 2 with the command line: 'quake2.exe +map qmud.cin'
or once in Quake 2, type in the console: 'map qmud.cin'
Email Spider with any questions or comments.