cannot compile p_models


06-13-2003, 02:21 PM
i cannot compile p_models after I decompile them
it keeps saying the reference is missing, but its right there,
the exact same file/filename

(i use milkshape)

JAJAHU
06-13-2003, 02:29 PM
in the qc, take out the .smd extension where it calls the reference smd

make it "reference" instead of "reference.smd"

Trigger
06-13-2003, 03:05 PM
Another possibility is that it's pointing to a directory that doesn't exist. Make sure there isn't any directory in front of the smd name

06-13-2003, 03:09 PM
i decompile it with ms3d
then, without doing anything else, i compile it with ms3d

it says:

/\ p_spring_l_ref.smd doesn't exist.

its right there!!!

Effexx
06-13-2003, 03:14 PM
Originally posted by JoAlien
i compile it with ms3d


DING... DING... DING... there's your problem... Use Studiomdl.exe to compile...


...

06-13-2003, 04:43 PM
studiomdl.exe gives the same error

Effexx
06-13-2003, 11:41 PM
<shrug>

Don't know then... JAJA and Trigger had good points...


...

MaRzY
06-14-2003, 12:21 AM
Is this for all p_models or just the one your working on.

RealyPssd
06-14-2003, 12:40 AM
Decompile with the normal MilkShape Decompiler, not Kratisto's.

Devin Kryss
06-14-2003, 06:45 AM
Show us your qc, jsut paste the text here.

06-14-2003, 08:03 AM
it happens with EVERY p_model.




$modelname "F:\p_colt.mdl"
$cd "\"
$cdtexture "\"
$cliptotextures

$scale 1.0

// 2 attachments
$attachment 0 "p_colt" 0.000000 -8.100000 3.000000
$attachment 1 "p_colt" 0.000000 -2.000000 3.700000

// 0 bone controllers

// 1 hit boxes
$hbox 0 "p_colt" -0.770000 -7.900000 -2.120000 0.660000 1.920000 3.740000

$bodygroup studio
{
studio "p_colt_ref"
}

// 2 sequences
$sequence p_colt_idle "p_colt_idle" fps 1
$sequence p_colt_shoot "p_colt_shoot" fps 100 { event 5001 0 "31" } { event 6001 0 "0" }





the error milkshape gives:

************ ERROR ************
\/p_colt_ref.smd doesn't exist

MaRzY
06-14-2003, 09:37 AM
Try doing it this way and let me know if you get the same error.



All i do is make a new folder and put the compiler and decompiler in that folder along with the model i wish to decompile. Then all i do is drag and drop the mdl file onto the mdldec.exe and it all decompiles fine, then when i wont to compile it again i change these lines in the qc file.

$modelname "axis-inf.mdl"
$cd ".\"
$cdtexture ".\"
$scale 1.0

to the path of my folder where the model is, so it might look like this.

$modelname "C:\Documents and Settings\Desktop\axis-inf\axis-inf.mdl"
$cd "C:\Documents and Settings\Desktop\axis-inf\"
$cdtexture "C:\Documents and Settings\Desktop\axis-inf\"
$scale 1.0

Then once thats done i just drag and drop the qc file onto the studiomdl.exe, and it compiles agian.

Or change this line in your qc file

$modelname "F:\p_colt.mdl"

to

$modelname "p_colt.mdl"

and try compiling from milkshape again.

Day of Defeat Forum Archive created by Neil Jedrzejewski.

This in an partial archive of the old Day of Defeat forums orignally hosted by Valve Software LLC.
Material has been archived for the purpose of creating a knowledge base from messages posted between 2003 and 2008.