Model Compiling Error Created 14 years ago2010-08-09 21:42:31 UTC by Mcrich114 Mcrich114

Created 14 years ago2010-08-09 21:42:31 UTC by Mcrich114 Mcrich114

Posted 14 years ago2010-08-09 21:43:00 UTC Post #284047
I tried to compile a model, but it ddidn't seem to work, lol...

Qc file:

$modelname "C:\Documents and Settings\User\Desktop\weapon W\w_crowbar.mdl"
$cd "\Documents and Settings\User\Desktop\weapon W\"
$cdtexture "\Documents and Settings\User\Desktop\weapon W\"
$cliptotextures
$externaltextures

$scale 1.0

// 0 attachments

// 0 bone controllers

// 1 hit boxes
$hbox 0 "Box01" -2.580000 -1.360000 -4.290000 7.550000 1.360000 39.070000

$bodygroup studio
{
studio "crowbar"
}

// 1 sequences
$sequence idle "idle" fps 30

______________________________________

compiler output:

[Performing Sanity Check]
QC file loaded...PASS
Can read QC...PASS
Can find studiomdl.exe...PASS
Can build command line...PASS
All tests passed!

[Compiling QC file - "w_crowbar.qc"]
[Compiler output follows]
entering C:\DOCUME~1\User\Desktop\WEAPON~1\W_CROW~1.QC
grabbing \Documents and Settings\User\Desktop\weapon W\/crowbar.smd
grabbing \Documents and Settings\User\Desktop\weapon W\/idle.smd

********** ERROR **********
error -4 reading BMP image "\Documents and Settings\User\Desktop\weapon W\/crowbar.bmp"

BMP file not 8 bit
[Compiler execution completed]

Says its not 8 bit, any way to fix this?
Posted 14 years ago2010-08-10 01:13:49 UTC Post #284054
Textures have to be 8 bits per pixel. Open crowbar.bmp in Microsoft Paint, click File, then Save as... and in the drop-down list choose 256-colour bitmap and overwrite crowbar.bmp. Paint isn't good at reducing colour depth without ruining the image so the result may be ugly. In that case try using something else, like IrfanView, GIMP or Photoshop.
Oskar Potatis Oskar Potatis🦔
Posted 14 years ago2010-08-10 01:13:58 UTC Post #284056
GOD POTATIS! your a beast at half life modding! WORKED!
Posted 14 years ago2010-08-10 10:56:16 UTC Post #284066
Hehe, not exactly. I've just had a bit too much time around the computer. I'm glad it worked.
Oskar Potatis Oskar Potatis🦔
You must be logged in to post a response.