Currently I am trying to get my model to accept textures however I am running into a problem in the .qc, whenever I try to compile my model Crowbar comes up with this error to give me: "w_revolver_silenced.qc(14): - bad command {"
This is what is in the .qc file.
"
$modelname "weapons\w_models\w_revolver_silenced.mdl"
$staticprop
$bodygroup "mybody"
{
studio "w_revolver_silenced.smd"
}
$cdmaterials "models\weapons\w_models\revolver_s_t.vmt
$texturegroup "skinfamilies"
{
{
"revolver_s_t.vmt"
}
}
// Model uses material "revolver_s_t.vmt""
$surfaceprop "concrete"
$contents "solid"
$illumposition 5.126 -13.847 3.849
$bbox -6.656 -3.822 -0.58 34.35 14.048 8.279
$cbox 0 0 0 0 0 0
"
How do I fix the problem?
Replies
Black Frame* QC
Original Blackbox QC
there are differences but basically you just update what you need for each weapon on a case by case.
$cd "C:\program files\baked\123"
$modelname "weapons\c_models\c_shampur\shampur.mdl"
$mostlyopaque
$model "BodyR" "bodyR.smd"
$cdmaterials "models\weapons\c_shampur"
// Model uses material "models\weapons\c_shampur\TEXTUREOFFUCKINGSHAMPUR.vmt"
$hboxset "default"
$surfaceprop "metall"
$illumposition -0.892 0.000 31.608
$sequence ragdoll "ragdoll" ACT_DIERAGDOLL 1 fps 30.00
// Model uses material "models\weapons\c_shampur\TEXTUREOFSHAMPUR.vmt"
$attachment "weapon_bone" "weapon_bone" 0.00 0.00 0.00 rotate 0.00 -0.00 -0.00