Heeelllppp Meeee!!!

  • Thread starter Thread starter justice_sam
  • Start date Start date
J

justice_sam

Guest
my qc just wont compile, its placed in (with all the smd's and the materials are in the materialsrc folder)

D:\Valve\Steam\SteamApps\sam_justice\sourcesdk_content\cstrike\modelsrc

// Output .MDL
$modelname statue.mdl

//Location of textures in the materials folder
$cdmaterials /statue
$staticprop // Remove this line for a prop_physics object
$scale 1.0

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

// Sequences: all sequences are in $cd
$sequence idle "statueanim.smd" loop fps 15
$collisionmodel "statuephysbox.smd" {

// Mass in kilograms
$Mass 100
$concave
}



any ideas ?
 
hey,
you may want to create your own directory and have a structure like this.

materials
-models
--weapons
---V_Models
----pist_mauser
in "pist_mauser" you have all of your vtf's and vmt's
materialsrc
-models
--weapons
---V_Models
----pist_mauser
in "pist_mauser" you have all of your tga and txts, ready to be convterted to vtf's and vmt's

now in your main directory, whatever the name is,

have all of your smd's, and .qc file

here is what my qc file looks like

$cd "C:\CSS_Pistol"
$modelname "weapons\v_pist_fiveseven.mdl"
$body "studio" "fiveseven_reference.smd"
$body "hands" "hands_reference.smd"
$cdmaterials "models\weapons\V_models\pist_fiveseven\"
$cdmaterials "models\weapons\v_models\hands\"
$attachment "1" "v_weapon.FIVESEVEN_PARENT" 0.00 2.20 7.50 rotate 0.00 0.00 0.00
$attachment "2" "v_weapon.FIVESEVEN_PARENT" 0.00 2.40 2.40 rotate 0.00 -180.00 0.00
$surfaceprop "default"
$sequence idle "idle" ACT_VM_IDLE 1 rotate -90
$sequence shoot1 "shoot1" ACT_VM_PRIMARYATTACK 1 rotate -90 { event 5001 1 5 }
$sequence shoot2 "shoot2" ACT_VM_PRIMARYATTACK 1 rotate -90 { event 5001 1 5 }
$sequence shoot_empty "shoot_empty" ACT_VM_DRYFIRE 1 rotate -90
$sequence reload "reload" ACT_VM_RELOAD 1 rotate -90
$sequence draw "draw" ACT_VM_DRAW 1 rotate -90

you need to aim your .qc file into those directories, now the compiling part. goto your bin directory in sourcesdk

C:\Program Files\Valve\Steam\SteamApps\dukediggler\sourcesdk\bin

right clikc - create a txt file then open and type

studiomdl C:\CSS_Pistol\mdldecompiler.qc
pause

so that compiles to the directory where your .qc file is now once you've done that, save it and then right click on it - rename - studiomdl.bat and then run it once your done, your whole compiling process should go through.

hope that helps :)

oldfaq
 
that's a .qc for a first person model, not a prop.

$cdmaterials /statue
$staticprop // Remove this line for a prop_physics object
That seems like that's your problem; you haven't set the material up properly.
 
Back
Top