2 questions from a rookie addon-creator

1st: I’m trying to use c_models and create my own animation,you know.Everything seems ok at first,but when I try the weapon in-game,Oh boy oh boy,half of the gun doesn’t have texture but the other half does.It doesn’t make any sounds and the position of the weapon is not where it should be plus,the gun is far from the hands.You looks like jedi.

2nd: When I try to compile the .qc with crowbar,it says that has problems when “giving names to the $attachements”

Post your QC

-Edited-

Like,$Attachment “1” “mac10” 7.24 0 3.45 rotate 0 0 0,when I try to compile crowbar says that there is a problem with “mac10” and if I remove only it,it says it needs something in that place…

[editline]1st February 2017[/editline]

$modelname “weapons\c_acp.mdl”

$bodygroup “studio”
{
studio “reference.smd”
}

$proceduralbones c_arms_vrd.vrd

$cdmaterials “models\weapons\v_models”

$surfaceprop “default”

$contents “solid”

$illumposition 3.995 -9.538 -6.393

$bbox -9.089 -11.527 -13.175 24.027 7.405 0.169

$cbox 0 0 0 0 0 0

$hboxset “default”

$sequence “idle” “anims\idle.smd” {
fps 30
“ACT_VM_IDLE” 1
loop
snap
node “Ready”
}

$sequence “shoot” “anims\shoot.smd” {
fps 30
snap
“ACT_VM_PRIMARYATTACK” 1
{ event 5001 0 “1” }
{ event 6001 0 “0” }
}

$sequence “reload” “anims\reloading.smd” {
fps 30
snap
“ACT_VM_RELOAD” 1
{ event 5004 3 “ACP.Magout” }
{ event 5004 46 “ACP.Magin” }
}

$sequence “draw” “anims\drawing.smd” {
fps 30
snap
“ACT_VM_DRAW” 1
}

$bonemerge “ValveBiped.Bip01_Spine4”
$bonemerge “ValveBiped.Bip01_L_Clavicle”
$bonemerge “ValveBiped.Bip01_L_UpperArm”
$bonemerge “ValveBiped.Bip01_L_Forearm”
$bonemerge “ValveBiped.Bip01_L_Hand”
$bonemerge “ValveBiped.Bip01_L_Wrist”
$bonemerge “ValveBiped.Bip01_L_Finger4”
$bonemerge “ValveBiped.Bip01_L_Finger41”
$bonemerge “ValveBiped.Bip01_L_Finger42”
$bonemerge “ValveBiped.Bip01_L_Finger3”
$bonemerge “ValveBiped.Bip01_L_Finger31”
$bonemerge “ValveBiped.Bip01_L_Finger32”
$bonemerge “ValveBiped.Bip01_L_Finger2”
$bonemerge “ValveBiped.Bip01_L_Finger21”
$bonemerge “ValveBiped.Bip01_L_Finger22”
$bonemerge “ValveBiped.Bip01_L_Finger1”
$bonemerge “ValveBiped.Bip01_L_Finger11”
$bonemerge “ValveBiped.Bip01_L_Finger12”
$bonemerge “ValveBiped.Bip01_L_Finger0”
$bonemerge “ValveBiped.Bip01_L_Finger01”
$bonemerge “ValveBiped.Bip01_L_Finger02”
$bonemerge “ValveBiped.Bip01_R_Clavicle”
$bonemerge “ValveBiped.Bip01_R_UpperArm”
$bonemerge “ValveBiped.Bip01_R_Forearm”
$bonemerge “ValveBiped.Bip01_R_Hand”
$bonemerge “ValveBiped.Bip01_R_Wrist”
$bonemerge “ValveBiped.Bip01_R_Finger4”
$bonemerge “ValveBiped.Bip01_R_Finger41”
$bonemerge “ValveBiped.Bip01_R_Finger42”
$bonemerge “ValveBiped.Bip01_R_Finger3”
$bonemerge “ValveBiped.Bip01_R_Finger31”
$bonemerge “ValveBiped.Bip01_R_Finger32”
$bonemerge “ValveBiped.Bip01_R_Finger2”
$bonemerge “ValveBiped.Bip01_R_Finger21”
$bonemerge “ValveBiped.Bip01_R_Finger22”
$bonemerge “ValveBiped.Bip01_R_Finger1”
$bonemerge “ValveBiped.Bip01_R_Finger11”
$bonemerge “ValveBiped.Bip01_R_Finger12”
$bonemerge “ValveBiped.Bip01_R_Finger0”
$bonemerge “ValveBiped.Bip01_R_Finger01”
$bonemerge “ValveBiped.Bip01_R_Finger02”