XSI Compiling to MDL

  • Thread starter Thread starter superlou
  • Start date Start date
S

superlou

Guest
Hi,
I've done some modeling in the past and some friends and I were looking at working with the SDK to get a little experience in game programming. I have been looking for a while, and I was wondering if someone could just set me strait real quick on my .qc file. The qc file for a pretty basic model I made is below:

// Output .MDL
$modelname medbox.mdl

// Location of textures in the materials folder
$cdmaterials models/medbox
$scale 1.0

// Whole body
$body studio "./medbox.smd"

// Sequences: all sequences are in $cd
$sequence idle "medbox_idle" loop fps 15
$collisionmodel "medbox_phys.smd" {
$Mass 30 // kg
$concave
}

I can open the finished model in modelviewer although it does not find my texture (medbox_texture_diffuse.tga) and displays black and pink checkers instead. I was wondering about the $cdmaterials variable as the .qc explanation in the wiki neglects to mention what it does. Also, the model displays scrunched up (it is normally rectangular although it in HLMV it is cubic).

If you could help me I would greatly appreciate it.

Thanks,
Louis
 
Back
Top