Custom SNPC Will Not Play Sound

Firstly, let me explain. I have a custom NPC version of Zoey from L4D that i have converted from a ragdoll into an NPC for Garry’s Mod.

In order for it to actually be ported to gmod as an NPC, it requires you to use an animation set that GMOD recognises (E.g. the default citizen male/female one, the combine set, etc.) So I had to decompile the ragdoll’s .mdl file to edit the animation set it uses by default, in the .qc file.

I’m fairly new to modding so I cant figure this out, because the .qc file seems pretty sound to me.

I recompiled her into a .mdl and gave her a custom script. (That’s why it’s an SNPC, she runs off a script I made, not the default AI). The script itself works fine, as i have tested the exact same script on another SNPC, where the sounds play fine.
However, she never plays sounds if she is on the model i recompiled. Everything else works fine.

I, therefore, have narrowed it down to a fault in the .qc file, or the expressions.vta (I don’t think the .smt is important, but if it is, please tell me!).
However, this is the first time I have done this and don’t know any code which makes sounds play…

Here’s the .qc file that she is using:


$cd "C:\Users\Ross\Pictures\decompile"
$modelname "survivors/survivor_TeenAngst.mdl"
$model "TeenAngst" "Zoey_hair.smd" {
     flexfile "mdldecompiler_expressions.vta" {
          flex "upper_right" frame 2
          flex "lower_right" frame 4
          flex "upper_left" frame 6
          flex "lower_left" frame 8
          flexpair "AU1" 1.0 frame 9
          flexpair "AU2" 1.0 frame 10
          flexpair "AU4" 1.0 frame 11
          flexpair "AU1AU2" 1.0 frame 12
          flexpair "AU12" 1.0 frame 13
          flex "AU12AU25" frame 14
          flexpair "AU15" 1.0 frame 15
          flexpair "AU17" 1.0 frame 16
          flexpair "AU10" 1.0 frame 17
          flex "AU16" frame 18
          flexpair "AU6" 1.0 frame 19
          flexpair "AU9" 1.0 frame 20
          flexpair "AU25" 1.0 frame 21
          flexpair "AU18" 1.0 frame 22
          flexpair "AU22" 1.0 frame 23
          flexpair "AU20" 1.0 frame 24
          flex "AU32" frame 25
          flex "AU24" frame 26
          flex "AU38" frame 27
          flex "AU31" frame 28
          flexpair "AU26" 1.0 frame 29
          flexpair "AU27" 1.0 frame 30
          flexpair "AU26Z" 1.0 frame 31
          flexpair "AU27Z" 1.0 frame 32
          flexpair "AU13" 1.0 frame 33
          flex "mouth_right_sk" frame 34
          flex "mouth_left_sk" frame 35
          flex "jaw_right_sk" frame 36
          flex "jaw_left_sk" frame 37
     }
     eyeball righteye ValveBiped.Bip01_Head1 -1.080 -3.620 62.590 teenangst_eyeball_r 1.000  4.000 zoey_head_nude 0.630
     eyeball lefteye ValveBiped.Bip01_Head1 1.080 -3.620 62.590 teenangst_eyeball_l 1.000  -4.000 zoey_head_nude 0.630
     // If you uncomment the following lines the eyes will be closed
     // I'm including it anyway in case anyone wants to experiment
     // eyelid  upper_right "mdldecompiler_expressions.vta" lowerer 2 -0.190000 neutral 2 0.130000 raiser 2 0.270000 split 0.1 eyeball righteye
     // eyelid  lower_right "mdldecompiler_expressions.vta" lowerer 4 -0.310000 neutral 4 -0.190000 raiser 4 -0.020000  split 0.1 eyeball righteye
     // If you uncomment the following lines the eyes will be closed
     // I'm including it anyway in case anyone wants to experiment
     // eyelid  upper_left "mdldecompiler_expressions.vta" lowerer 6 -0.190000 neutral 6 0.130000 raiser 6 0.270000 split -0.1 eyeball lefteye
     // eyelid  lower_left "mdldecompiler_expressions.vta" lowerer 8 -0.310000 neutral 8 -0.190000 raiser 8 -0.020000  split -0.1 eyeball lefteye
     mouth 0 "mouth"  ValveBiped.Bip01_Head1 0.000 1.000 0.000
     flexcontroller eyelid right_lid_raiser "range" 0.000 1.000
     flexcontroller eyelid left_lid_raiser "range" 0.000 1.000
     flexcontroller eyelid right_lid_tightener "range" 0.000 1.000
     flexcontroller eyelid left_lid_tightener "range" 0.000 1.000
     flexcontroller eyelid right_lid_droop "range" 0.000 1.000
     flexcontroller eyelid left_lid_droop "range" 0.000 1.000
     flexcontroller eyelid right_lid_closer "range" 0.000 1.000
     flexcontroller eyelid left_lid_closer "range" 0.000 1.000
     flexcontroller eyelid half_closed "range" 0.000 1.000
     flexcontroller eyelid blink "range" 0.000 1.000
     flexcontroller eyelid right_lid_squinter "range" 0.000 1.000
     flexcontroller eyelid left_lid_squinter "range" 0.000 1.000
     flexcontroller brow right_inner_raiser "range" 0.000 1.000
     flexcontroller brow left_inner_raiser "range" 0.000 1.000
     flexcontroller brow right_outer_raiser "range" 0.000 1.000
     flexcontroller brow left_outer_raiser "range" 0.000 1.000
     flexcontroller brow right_lowerer "range" 0.000 1.000
     flexcontroller brow left_lowerer "range" 0.000 1.000
     flexcontroller nose right_cheek_raiser "range" 0.000 1.000
     flexcontroller nose left_cheek_raiser "range" 0.000 1.000
     flexcontroller nose right_wrinkler "range" 0.000 1.000
     flexcontroller nose left_wrinkler "range" 0.000 1.000
     flexcontroller nose dilator "range" 0.000 1.000
     flexcontroller mouth right_upper_raiser "range" 0.000 1.000
     flexcontroller mouth left_upper_raiser "range" 0.000 1.000
     flexcontroller mouth right_corner_puller "range" 0.000 1.000
     flexcontroller mouth left_corner_puller "range" 0.000 1.000
     flexcontroller mouth right_corner_depressor "range" 0.000 1.000
     flexcontroller mouth left_corner_depressor "range" 0.000 1.000
     flexcontroller mouth chin_raiser "range" 0.000 1.000
     flexcontroller phoneme right_part "range" 0.000 1.000
     flexcontroller phoneme left_part "range" 0.000 1.000
     flexcontroller phoneme right_puckerer "range" 0.000 1.000
     flexcontroller phoneme left_puckerer "range" 0.000 1.000
     flexcontroller phoneme right_funneler "range" 0.000 2.000
     flexcontroller phoneme left_funneler "range" 0.000 2.000
     flexcontroller phoneme right_stretcher "range" 0.000 1.000
     flexcontroller phoneme left_stretcher "range" 0.000 1.000
     flexcontroller phoneme bite "range" 0.000 1.000
     flexcontroller phoneme presser "range" 0.000 1.000
     flexcontroller phoneme tightener "range" 0.000 1.000
     flexcontroller phoneme jaw_clencher "range" 0.000 1.000
     flexcontroller phoneme jaw_drop "range" 0.000 2.000
     flexcontroller phoneme right_mouth_drop "range" 0.000 1.000
     flexcontroller phoneme left_mouth_drop "range" 0.000 1.000
     flexcontroller phoneme right_cheek_puffer "range" 0.000 1.000
     flexcontroller phoneme left_cheek_puffer "range" 0.000 1.000
     flexcontroller mouth mouth_sideways "range" -1.000 1.000
     flexcontroller mouth jaw_sideways "range" -1.000 1.000
     flexcontroller mouth lower_lip "range" 0.000 1.000
     flexcontroller eyes eyes_updown "range" -14.000 14.000
     flexcontroller eyes eyes_rightleft "range" -35.000 35.000
    localvar upper_right_raiser
    %upper_right_raiser = ((( right_lid_raiser * ( 1.000 - ( right_lid_droop *  0.800))) * ( 1.000 -  right_lid_closer)) * ( 1.000 -  blink))
    localvar upper_right_neutral
    %upper_right_neutral = (((( 1.000 - ( right_lid_droop *  0.800)) * ( 1.000 -  right_lid_raiser)) * ( 1.000 -  right_lid_closer)) * ( 1.000 -  blink))
    localvar upper_right_lowerer
    %upper_right_lowerer = (( right_lid_closer + ( blink * ( 1.000 -  right_lid_closer))) + ((( right_lid_droop *  0.800) * ( 1.000 -  right_lid_closer)) * ( 1.000 -  blink)))
    localvar upper_left_raiser
    %upper_left_raiser = ((( left_lid_raiser * ( 1.000 - ( left_lid_droop *  0.800))) * ( 1.000 -  left_lid_closer)) * ( 1.000 -  blink))
    localvar upper_left_neutral
    %upper_left_neutral = (((( 1.000 - ( left_lid_droop *  0.800)) * ( 1.000 -  left_lid_raiser)) * ( 1.000 -  left_lid_closer)) * ( 1.000 -  blink))
    localvar upper_left_lowerer
    %upper_left_lowerer = (( left_lid_closer + ( blink * ( 1.000 -  left_lid_closer))) + ((( left_lid_droop *  0.800) * ( 1.000 -  left_lid_closer)) * ( 1.000 -  blink)))
    localvar lower_right_raiser
    %lower_right_raiser = (( right_lid_closer + (( blink *  0.500) * ( 1.000 -  right_lid_closer))) + (( right_lid_squinter *  0.500) * ( 1.000 -  right_lid_closer)))
    localvar lower_right_neutral
    %lower_right_neutral = (((( 1.000 -  right_lid_closer) * ( 1.000 - ( 0.500 *  blink))) * ( 1.000 - ( right_lid_tightener *  0.500))) * ( 1.000 - ( right_cheek_raiser *  0.250)))
    localvar lower_right_lowerer
    %lower_right_lowerer =  0.000
    localvar lower_left_raiser
    %lower_left_raiser = (( left_lid_closer + (( blink *  0.500) * ( 1.000 -  left_lid_closer))) + (( right_lid_squinter *  0.500) * ( 1.000 -  right_lid_closer)))
    localvar lower_left_neutral
    %lower_left_neutral = (((( 1.000 -  left_lid_closer) * ( 1.000 - ( 0.500 *  blink))) * ( 1.000 - ( left_lid_tightener *  0.500))) * ( 1.000 - ( left_cheek_raiser *  0.250)))
    localvar lower_left_lowerer
    %lower_left_lowerer =  0.000
    %AU1R = (( right_inner_raiser * ( 1.000 -  right_outer_raiser)) * ( 1.000 -  right_lowerer))
    %AU1L = (( left_inner_raiser * ( 1.000 -  left_outer_raiser)) * ( 1.000 -  left_lowerer))
    %AU2R = (( right_outer_raiser * ( 1.000 -  right_inner_raiser)) * ( 1.000 -  right_lowerer))
    %AU2L = (( left_outer_raiser * ( 1.000 -  left_inner_raiser)) * ( 1.000 -  left_lowerer))
    %AU1AU2R = (( right_inner_raiser *  right_outer_raiser) * ( 1.000 -  right_lowerer))
    %AU1AU2L = (( left_inner_raiser *  left_outer_raiser) * ( 1.000 -  left_lowerer))
    %AU4R =  right_lowerer
    %AU4L =  left_lowerer
    %AU6R =  right_cheek_raiser
    %AU6L =  left_cheek_raiser
    %AU9R =  right_wrinkler
    %AU9L =  left_wrinkler
    %AU38 =  dilator
    localvar right_open
    %right_open = (((( right_part +  right_puckerer) +  right_funneler) + ( right_upper_raiser *  0.500)) + ( lower_lip *  0.500))
    localvar left_open
    %left_open = (((( left_part +  left_puckerer) +  left_funneler) + ( left_upper_raiser *  0.500)) + ( lower_lip *  0.500))
    localvar right_lip_suppressor
    %right_lip_suppressor = ((( 1.000 /  %right_open) * ( 1.000 -  presser)) * ( 1.000 -  bite))
    localvar left_lip_suppressor
    %left_lip_suppressor = ((( 1.000 /  %left_open) * ( 1.000 -  presser)) * ( 1.000 -  bite))
    %AU10R = ( right_upper_raiser * (( right_upper_raiser *  0.500) *  %right_lip_suppressor))
    %AU10L = ( left_upper_raiser * (( left_upper_raiser *  0.500) *  %left_lip_suppressor))
    %AU25R = ( right_part * ( right_part *  %right_lip_suppressor))
    %AU25L = ( left_part * ( left_part *  %left_lip_suppressor))
    %AU12AU25 =  0.000
    %AU18R = ( right_puckerer * ( right_puckerer *  %right_lip_suppressor))
    %AU18L = ( left_puckerer * ( left_puckerer *  %left_lip_suppressor))
    %AU22R = (( right_funneler /  2.000) * ( right_funneler *  %right_lip_suppressor))
    %AU22L = (( left_funneler /  2.000) * ( left_funneler *  %left_lip_suppressor))
    %AU17R = ((( chin_raiser * ( 1.000 - ( jaw_drop *  0.500))) * ( 1.000 -  bite)) * ( 1.000 - ( 0.600 * (( %AU25R +  %AU18R) +  %AU22R))))
    %AU17L = ((( chin_raiser * ( 1.000 - ( jaw_drop *  0.500))) * ( 1.000 -  bite)) * ( 1.000 - ( 0.600 * (( %AU25L +  %AU18L) +  %AU22L))))
    localvar right_depressor_suppressor
    %right_depressor_suppressor = (( 1.000 / ((((((( %AU18R *  0.800) + ( %AU22R *  0.800)) +  %AU17R) +  bite) +  right_corner_puller) +  right_stretcher) +  right_corner_depressor)) * ( 1.000 - ( jaw_drop *  0.500)))
    localvar left_depressor_suppressor
    %left_depressor_suppressor = (( 1.000 / ((((((( %AU18L *  0.800) + ( %AU22L *  0.800)) +  %AU17L) +  bite) +  left_corner_puller) +  left_stretcher) +  left_corner_depressor)) * ( 1.000 - ( jaw_drop *  0.500)))
    %AU15R = ( right_corner_depressor * ( right_corner_depressor *  %right_depressor_suppressor))
    %AU15L = ( left_corner_depressor * ( left_corner_depressor *  %left_depressor_suppressor))
    localvar right_corner_suppressor
    %right_corner_suppressor = (( 1.000 / ((((((( %AU18R *  0.800) + ( %AU22R *  0.800)) +  %AU17R) +  bite) +  right_corner_puller) +  right_stretcher) +  right_corner_depressor)) * ( 1.000 - ( jaw_drop *  0.500)))
    localvar left_corner_suppressor
    %left_corner_suppressor = (( 1.000 / ((((((( %AU18L *  0.800) + ( %AU22L *  0.800)) +  %AU17L) +  bite) +  left_corner_puller) +  left_stretcher) +  left_corner_depressor)) * ( 1.000 - ( jaw_drop *  0.500)))
    %AU12R = ( right_corner_puller * ( right_corner_puller *  %right_corner_suppressor))
    %AU12L = ( left_corner_puller * ( left_corner_puller *  %left_corner_suppressor))
    %AU20R = ( right_stretcher * ( right_stretcher *  %right_corner_suppressor))
    %AU20L = ( left_stretcher * ( left_stretcher *  %left_corner_suppressor))
    %AU32 =  bite
    %AU24 = ( presser + (( 1.000 -  presser) *  tightener))
    %AU31 = ( jaw_clencher * ( jaw_clencher / ( jaw_clencher +  jaw_drop)))
    localvar right_drop_suppressor
    %right_drop_suppressor = ((( 1.000 / (( 0.500 *  %right_open) +  right_mouth_drop)) * ( 1.000 -  presser)) * ( 1.000 -  bite))
    localvar left_drop_suppressor
    %left_drop_suppressor = ((( 1.000 / (( 0.500 *  %left_open) +  left_mouth_drop)) * ( 1.000 -  presser)) * ( 1.000 -  bite))
    localvar right_drop
    %right_drop = ( right_mouth_drop * ( right_mouth_drop *  %right_drop_suppressor))
    localvar left_drop
    %left_drop = ( left_mouth_drop * ( left_mouth_drop *  %left_drop_suppressor))
    localvar j_highscale
    %j_highscale = ( jaw_drop -  1.000)
    %AU26ZR = (( %j_highscale * ( 1.000 -  %right_drop)) * ( 1.000 - ( jaw_clencher *  0.500)))
    %AU26ZL = (( %j_highscale * ( 1.000 -  %left_drop)) * ( 1.000 - ( jaw_clencher *  0.500)))
    %AU27ZR = (( %j_highscale *  %right_drop) * ( 1.000 - ( jaw_clencher *  0.500)))
    %AU27ZL = (( %j_highscale *  %left_drop) * ( 1.000 - ( jaw_clencher *  0.500)))
    localvar j_lowscale
    %j_lowscale = ( jaw_drop * ( 1.000 -  %j_highscale))
    %AU26R = (( %j_lowscale * ( 1.000 -  %right_drop)) * ( 1.000 - ( jaw_clencher *  0.500)))
    %AU26L = (( %j_lowscale * ( 1.000 -  %left_drop)) * ( 1.000 - ( jaw_clencher *  0.500)))
    %AU27R = (( %j_lowscale *  %right_drop) * ( 1.000 - ( jaw_clencher *  0.500)))
    %AU27L = (( %j_lowscale *  %left_drop) * ( 1.000 - ( jaw_clencher *  0.500)))
    localvar right_puff_suppressor
    %right_puff_suppressor = (((((((((( 1.000 -  %AU26ZR) * ( 1.000 -  %AU27R)) * ( 1.000 -  %AU27ZR)) * ( 1.000 -  right_part)) * ( 1.000 -  right_puckerer)) * ( 1.000 -  right_funneler)) * ( 1.000 - ( right_upper_raiser *  0.500))) * ( 1.000 - ( lower_lip *  0.500))) * ( 1.000 -  presser)) * ( 1.000 -  bite))
    localvar left_puff_suppressor
    %left_puff_suppressor = (((((((((( 1.000 -  %AU26ZL) * ( 1.000 -  %AU27L)) * ( 1.000 -  %AU27ZL)) * ( 1.000 -  left_part)) * ( 1.000 -  left_puckerer)) * ( 1.000 -  left_funneler)) * ( 1.000 - ( left_upper_raiser *  0.500))) * ( 1.000 - ( lower_lip *  0.500))) * ( 1.000 -  presser)) * ( 1.000 -  bite))
    %AU13R = (( right_cheek_puffer *  %right_puff_suppressor) *  %left_puff_suppressor)
    %AU13L = (( left_cheek_puffer *  %right_puff_suppressor) *  %left_puff_suppressor)
    %AU16 = (( lower_lip * (( lower_lip *  0.250) * ( %right_lip_suppressor +  %left_lip_suppressor))) * ( 1.000 - ( 0.500 * ( %AU27R +  %AU27L))))
    localvar mouth
    %mouth = ((((((((((( %AU27R *  0.500) + ( %AU27L *  0.500)) + ( %AU22R *  0.350)) + ( %AU22L *  0.350)) + ( %AU18R *  0.250)) + ( %AU18L *  0.250)) + ( %AU25R *  0.350)) + ( %AU25L *  0.350)) + ( %AU32 *  0.500)) +  %AU12AU25) + ( %AU16 *  0.400))
    localvar mouth_to_right
    %mouth_to_right =  mouth_sideways
    %mouth_right_sk =  %mouth_to_right
    %mouth_left_sk = ( %mouth_to_right - ( %mouth_to_right *  2.000))
    localvar jaw_to_right
    %jaw_to_right =  jaw_sideways
    %jaw_right_sk =  %jaw_to_right
    %jaw_left_sk = ( %jaw_to_right - ( %jaw_to_right *  2.000))
}
$poseparameter body_pitch -90.00 90.00
$poseparameter body_yaw -90.00 90.00
$poseparameter head_pitch -90.00 90.00
$poseparameter head_yaw -90.00 90.00
$cdmaterials "models\survivors\TeenAngst\"
$cdmaterials "models\survivors\"
$cdmaterials ""
$texturegroup skinfamilies
{
	{"zoey_head.vmt"
 "teenangst_eyeball_r.vmt"
 "teenangst_eyeball_l.vmt"
 "zoey_color.vmt"
 "footfemale.vmt"
}
 	{"zoey_head_it.vmt"
 "teenangst_eyeball_r.vmt"
 "teenangst_eyeball_l.vmt"
 "zoey_color_it.vmt"
 "footfemale_it.vmt"
}
 }
$hboxset "default"
$hbox 3 "ValveBiped.Bip01_Pelvis" -6.000  -4.500  -4.500  6.000  4.500  4.500
$hbox 6 "ValveBiped.Bip01_L_Thigh" 5.000  -3.400  -2.850  19.000  2.600  2.150
$hbox 6 "ValveBiped.Bip01_L_Calf" 0.500  -2.000  -2.500  19.500  3.000  2.500
$hbox 6 "ValveBiped.Bip01_L_Toe0" -3.500  -0.500  -1.350  1.500  1.500  2.450
$hbox 7 "ValveBiped.Bip01_R_Thigh" 5.000  -3.400  -2.850  19.000  2.600  2.150
$hbox 7 "ValveBiped.Bip01_R_Calf" 0.500  -2.000  -2.500  19.500  3.000  2.500
$hbox 7 "ValveBiped.Bip01_R_Toe0" -3.500  -0.500  -1.350  1.500  1.500  2.450
$hbox 3 "ValveBiped.Bip01_Spine1" -5.000  -4.250  -6.000  5.000  6.250  6.000
$hbox 2 "ValveBiped.Bip01_Spine2" -3.000  -3.400  -6.500  12.000  6.600  6.500
$hbox 1 "ValveBiped.Bip01_Neck1" 0.000  -2.500  -2.250  4.000  2.500  2.250
$hbox 1 "ValveBiped.Bip01_Head1" -0.800  -4.000  -3.050  7.200  4.000  2.450
$hbox 4 "ValveBiped.Bip01_L_UpperArm" 0.000  -2.100  -2.000  11.000  1.900  2.000
$hbox 4 "ValveBiped.Bip01_L_Forearm" 0.500  -1.750  -1.750  11.500  1.750  1.750
$hbox 4 "ValveBiped.Bip01_L_Hand" 1.060  -1.440  -2.400  5.560  0.560  1.300
$hbox 5 "ValveBiped.Bip01_R_UpperArm" 0.000  -2.100  -2.000  11.000  1.900  2.000
$hbox 5 "ValveBiped.Bip01_R_Forearm" 0.500  -1.750  -1.750  11.500  1.750  1.750
$hbox 5 "ValveBiped.Bip01_R_Hand" 1.060  -1.440  -2.400  5.560  0.560  1.300
// Model uses material "zoey_head.vmt"
// Model uses material "teenangst_eyeball_r.vmt"
// Model uses material "teenangst_eyeball_l.vmt"
// Model uses material "zoey_color.vmt"
// Model uses material "footfemale.vmt"
// Model uses material "teenangst_hair.vmt"
// Model uses material "zoey_head_it.vmt"
// Model uses material "zoey_color_it.vmt"
// Model uses material "footfemale_it.vmt"
// Model uses material "teenangst_hair_it.vmt"
$attachment "eyes" "ValveBiped.Bip01_Head1" -1.19 -3.20 -0.01 rotate 0.00 -89.00 -90.00
$attachment "mouth" "ValveBiped.Bip01_Head1" 0.80 -5.80 -0.15 rotate 0.00 -80.00 -90.00
$attachment "molotov" "ValveBiped.Bip01_Pelvis" 5.55 2.70 -2.53 rotate 26.07 5.23 -89.64
$attachment "pills" "ValveBiped.Bip01_Pelvis" -4.53 -0.43 2.86 rotate -0.71 177.48 91.57
$attachment "grenade" "ValveBiped.Bip01_Pelvis" 4.93 3.58 2.16 rotate -0.00 0.00 -90.00
$attachment "weaponbone" "ValveBiped.Bip01_R_Hand" 2.54 -1.36 -0.86 rotate -15.62 -90.43 -86.01
$attachment "primary" "ValveBiped.Bip01_Spine4" 2.64 -4.04 -2.34 rotate -15.77 176.78 167.93
$attachment "medkit" "ValveBiped.Bip01_Spine4" -0.71 -3.73 -2.15 rotate -3.57 84.72 -0.29
$attachment "lfoot" "ValveBiped.Bip01_L_Foot" 0.00 4.44 0.00 rotate 0.00 0.00 -0.00
$attachment "rfoot" "ValveBiped.Bip01_R_Foot" 0.00 4.44 0.00 rotate 0.00 0.00 0.00
$attachment "muzzle_flash" "ValveBiped.Bip01_L_Hand" 0.00 0.00 0.00 rotate 0.00 -0.00 0.00
$attachment "survivor_neck" "ValveBiped.Bip01_Neck1" -0.00 0.00 0.00 rotate 0.00 0.00 0.00
$attachment "forward" "ValveBiped.forward" 0.00 0.00 -0.00 rotate 0.00 -80.00 -90.00
$attachment "bleedout" "ValveBiped.Bip01_Pelvis" 8.44 8.88 4.44 rotate -0.00 0.00 0.00
$attachment "survivor_light" "ValveBiped.Bip01_Spine2" 5.33 21.31 0.00 rotate 0.00 -0.00 -0.00
$attachment "legL_B" "ValveBiped.attachment_bandage_legL" 0.00 0.00 0.00 rotate -90.00 -90.00 0.00
$attachment "armL_B" "ValveBiped.attachment_bandage_armL" -0.00 0.00 -0.00 rotate -90.00 -90.00 0.00
$attachment "armL_T" "ValveBiped.attachment_armL_T" 0.00 0.00 0.00 rotate -90.00 -90.00 0.00
$attachment "armR_T" "ValveBiped.attachment_armR_T" 0.00 0.00 0.00 rotate -90.00 -90.00 0.00
$attachment "armL" "ValveBiped.Bip01_L_Forearm" 0.00 0.00 -0.00 rotate 0.00 -0.00 -0.00
$attachment "legL" "ValveBiped.Bip01_L_Calf" -0.00 0.00 0.00 rotate 0.00 -0.00 -0.00
$attachment "thighL" "ValveBiped.Bip01_L_Thigh" 0.00 0.00 0.00 rotate -0.00 -0.00 -0.00
$attachment "spine" "ValveBiped.Bip01_Spine" -0.00 -0.00 0.00 rotate -90.00 -90.00 0.00
$attachment "armR" "ValveBiped.Bip01_R_Forearm" 0.00 0.00 0.00 rotate -0.00 -0.00 0.00
$attachment "pistol" "ValveBiped.Bip01_Pelvis" -7.10 5.50 -2.70 rotate -1.00 -86.00 -1.00
$attachment "L_weapon_bone" "ValveBiped.L_weapon_bone" 0.00 -0.00 0.00 rotate 0.00 -0.00 0.00
$attachment "weapon_bone" "ValveBiped.weapon_bone" 0.00 0.00 0.00 rotate 0.00 0.00 -0.00
$attachment "attach_R_shoulderBladeAim" "ValveBiped.Bip01_Spine4" -8.88 0.88 -4.51 rotate -90.00 -102.85 0.00
$attachment "attach_L_shoulderBladeAim" "ValveBiped.Bip01_Spine4" -8.88 0.88 3.12 rotate -90.00 -102.85 0.00
$attachment "melee" "ValveBiped.Bip01_Spine4" 2.64 -3.82 4.45 rotate 24.08 175.37 107.14
**$includemodel "humans/female_shared.mdl"
$includemodel "humans/female_ss.mdl"
$includemodel "humans/female_gestures.mdl"
$includemodel "humans/female_postures.mdl"**
$surfaceprop "flesh"
$eyeposition -0.000 -0.000 60.000
$illumposition 0.545 -0.971 32.410
$sequence TeenAngst "TeenAngst" fps 30.00
$sequence ragdoll "ragdoll" ACT_DIERAGDOLL 1 fps 30.00
$ikchain rhand ValveBiped.Bip01_R_Hand knee  0.707 0.707 0.000
$ikchain lhand ValveBiped.Bip01_L_Hand knee  0.707 0.707 0.000
$ikchain rfoot ValveBiped.Bip01_R_Foot knee  0.707 -0.707 0.000
$ikchain lfoot ValveBiped.Bip01_L_Foot knee  0.707 -0.707 0.000
$ikchain ikclip ValveBiped.weapon_bone_Clip knee  0.707 -0.707 0.000
$collisionjoints "phymodel.smd" {

	$mass 100.0
	$inertia 10.00
	$damping 0.05
	$rotdamping 5.00
	$rootbone "valvebiped.bip01_pelvis"
	$jointrotdamping "valvebiped.bip01_pelvis" 3.00

	$jointmassbias "valvebiped.bip01_spine1" 8.00
	$jointconstrain "valvebiped.bip01_spine1" x limit -10.00 10.00 0.00
	$jointconstrain "valvebiped.bip01_spine1" y limit -16.00 16.00 0.00
	$jointconstrain "valvebiped.bip01_spine1" z limit -20.00 30.00 0.00

	$jointmassbias "valvebiped.bip01_spine2" 9.00
	$jointconstrain "valvebiped.bip01_spine2" x limit -10.00 10.00 0.00
	$jointconstrain "valvebiped.bip01_spine2" y limit -10.00 10.00 0.00
	$jointconstrain "valvebiped.bip01_spine2" z limit -20.00 20.00 0.00

	$jointmassbias "valvebiped.bip01_r_clavicle" 4.00
	$jointrotdamping "valvebiped.bip01_r_clavicle" 6.00
	$jointconstrain "valvebiped.bip01_r_clavicle" x limit -15.00 15.00 0.00
	$jointconstrain "valvebiped.bip01_r_clavicle" y limit -10.00 10.00 0.00
	$jointconstrain "valvebiped.bip01_r_clavicle" z limit -0.00 45.00 0.00

	$jointmassbias "valvebiped.bip01_l_clavicle" 4.00
	$jointrotdamping "valvebiped.bip01_l_clavicle" 6.00
	$jointconstrain "valvebiped.bip01_l_clavicle" x limit -15.00 15.00 0.00
	$jointconstrain "valvebiped.bip01_l_clavicle" y limit -10.00 10.00 0.00
	$jointconstrain "valvebiped.bip01_l_clavicle" z limit -0.00 45.00 0.00

	$jointmassbias "valvebiped.bip01_l_upperarm" 5.00
	$jointrotdamping "valvebiped.bip01_l_upperarm" 2.00
	$jointconstrain "valvebiped.bip01_l_upperarm" x limit -15.00 20.00 0.00
	$jointconstrain "valvebiped.bip01_l_upperarm" y limit -40.00 32.00 0.00
	$jointconstrain "valvebiped.bip01_l_upperarm" z limit -80.00 25.00 0.00

	$jointmassbias "valvebiped.bip01_l_forearm" 4.00
	$jointrotdamping "valvebiped.bip01_l_forearm" 4.00
	$jointconstrain "valvebiped.bip01_l_forearm" x limit -40.00 15.00 0.00
	$jointconstrain "valvebiped.bip01_l_forearm" y limit 0.00 0.00 0.00
	$jointconstrain "valvebiped.bip01_l_forearm" z limit -120.00 10.00 0.00

	$jointrotdamping "valvebiped.bip01_l_hand" 1.00
	$jointconstrain "valvebiped.bip01_l_hand" x limit -25.00 25.00 0.00
	$jointconstrain "valvebiped.bip01_l_hand" y limit -35.00 35.00 0.00
	$jointconstrain "valvebiped.bip01_l_hand" z limit -50.00 50.00 0.00

	$jointmassbias "valvebiped.bip01_r_upperarm" 5.00
	$jointrotdamping "valvebiped.bip01_r_upperarm" 2.00
	$jointconstrain "valvebiped.bip01_r_upperarm" x limit -15.00 20.00 0.00
	$jointconstrain "valvebiped.bip01_r_upperarm" y limit -40.00 32.00 0.00
	$jointconstrain "valvebiped.bip01_r_upperarm" z limit -80.00 25.00 0.00

	$jointmassbias "valvebiped.bip01_r_forearm" 4.00
	$jointrotdamping "valvebiped.bip01_r_forearm" 4.00
	$jointconstrain "valvebiped.bip01_r_forearm" x limit -40.00 15.00 0.00
	$jointconstrain "valvebiped.bip01_r_forearm" y limit 0.00 0.00 0.00
	$jointconstrain "valvebiped.bip01_r_forearm" z limit -120.00 10.00 0.00

	$jointrotdamping "valvebiped.bip01_r_hand" 1.00
	$jointconstrain "valvebiped.bip01_r_hand" x limit -25.00 25.00 0.00
	$jointconstrain "valvebiped.bip01_r_hand" y limit -35.00 35.00 0.00
	$jointconstrain "valvebiped.bip01_r_hand" z limit -50.00 50.00 0.00

	$jointmassbias "valvebiped.bip01_r_thigh" 7.00
	$jointrotdamping "valvebiped.bip01_r_thigh" 7.00
	$jointconstrain "valvebiped.bip01_r_thigh" x limit -25.00 25.00 0.00
	$jointconstrain "valvebiped.bip01_r_thigh" y limit -10.00 15.00 0.00
	$jointconstrain "valvebiped.bip01_r_thigh" z limit -55.00 25.00 0.00

	$jointmassbias "valvebiped.bip01_r_calf" 4.00
	$jointconstrain "valvebiped.bip01_r_calf" x limit -10.00 25.00 0.00
	$jointconstrain "valvebiped.bip01_r_calf" y limit -5.00 5.00 0.00
	$jointconstrain "valvebiped.bip01_r_calf" z limit -10.00 115.00 0.00

	$jointrotdamping "valvebiped.bip01_r_foot" 2.00
	$jointconstrain "valvebiped.bip01_r_foot" x limit -20.00 30.00 0.00
	$jointconstrain "valvebiped.bip01_r_foot" y limit -30.00 20.00 0.00
	$jointconstrain "valvebiped.bip01_r_foot" z limit -30.00 50.00 0.00

	$jointmassbias "valvebiped.bip01_l_thigh" 7.00
	$jointrotdamping "valvebiped.bip01_l_thigh" 7.00
	$jointconstrain "valvebiped.bip01_l_thigh" x limit -25.00 25.00 0.00
	$jointconstrain "valvebiped.bip01_l_thigh" y limit -10.00 15.00 0.00
	$jointconstrain "valvebiped.bip01_l_thigh" z limit -55.00 25.00 0.00

	$jointmassbias "valvebiped.bip01_l_calf" 4.00
	$jointconstrain "valvebiped.bip01_l_calf" x limit -10.00 25.00 0.00
	$jointconstrain "valvebiped.bip01_l_calf" y limit -5.00 5.00 0.00
	$jointconstrain "valvebiped.bip01_l_calf" z limit -10.00 115.00 0.00

	$jointrotdamping "valvebiped.bip01_l_foot" 2.00
	$jointconstrain "valvebiped.bip01_l_foot" x limit -20.00 30.00 0.00
	$jointconstrain "valvebiped.bip01_l_foot" y limit -30.00 20.00 0.00
	$jointconstrain "valvebiped.bip01_l_foot" z limit -30.00 50.00 0.00

	$jointmassbias "valvebiped.bip01_head1" 4.00
	$jointrotdamping "valvebiped.bip01_head1" 3.00
	$jointconstrain "valvebiped.bip01_head1" x limit -50.00 50.00 0.00
	$jointconstrain "valvebiped.bip01_head1" y limit -20.00 20.00 0.00
	$jointconstrain "valvebiped.bip01_head1" z limit -26.00 30.00 0.00
}


The text in bold is something I have added / edited…
Help? I don’t see anything wrong with the .qc file…


(User was banned for this post ("Wrong section" - Gran PC))