i wrote this for another forum and i figured id post it here
First download:
http://www.the650.org/SMD-Exporter-for-Max6.zip
for 3dsmax6, for other versions, use google.
then you make your model, apply a texture (be sure you do this or itll crash)
export 2 SMD files, a reference and a sequence
create a QC file
base qc file for a model named "test" with SMD files named "reference" and "sequence"
// Output .MDL
$modelname "F:\Documents and Settings\ol\Desktop\test.mdl"
// Directory of .SMD
$cd "\Documents and Settings\ol\Desktop\"
// Directory of .BMP
$cdtexture "\Documents and Settings\ol\Desktop\"
$cliptotextures
// Write textures into a ???T.mdl
//$externaltextures
$scale 1.0
// bodygroups: use relative path from $cd
$bodygroup body
{
studio "./reference"
}
// sequences: all sequences are in $cd
$sequence seq-name "sequence" loop fps 30 ACT_IDLE 1
you shouldnt have to change anything except the paths.
be sure your texture is bmp format, 256 colors (like half life uses)
sometimes the smd exporter renames your texture to null.bmp in the smd file, so open reference.smd in notepad and change the name if you need to
then just go to a dos promt and
studiomdl base.qc
i dont think there are any problems and its clear enough
/me bows
coming soon: hl2 model tutorial