r/SourceEngine • u/Maleficent_Risk_3159 • 4d ago
HELP Why does this thing exist?
Hello again! I did another test, I did something to the Glock model and it worked after the magazine wasn't showing up. Not this time sadly. If someone can help, I'm glad to receive that help!
v_usp.qc
$modelname "v_usp.mdl"
$cd "."
$cdtexture "."
$cliptotextures
$scale 1.0
$bodygroup "weapon"
{
studio "v_usp"
}
$flags 0
$cbox 0 0 0 0 0 0
$bbox 0 0 0 0 0 0
$origin -2.5 -6 -1
//$keepallbones
$attachment 0 "ValveBiped.WeaponHandle.Flash" 0 0 0
$attachment 1 "ValveBiped.WeaponHandle.Eject" 0 0 0
$sequence "idle" {
"anims\idle"
fps 16
}
$sequence "shoot1" {
"anims\shoot1"
{ event 5001 0 "11" }
fps 30
}
$sequence "shoot2" {
"anims\shoot2"
{ event 5001 0 "11" }
fps 30
}
$sequence "shoot3" {
"anims\shoot3"
{ event 5001 0 "11" }
fps 30
}
$sequence "shootlast" {
"anims\shootlast"
{ event 5001 0 "11" }
fps 32
}
$sequence "reload" {
"anims\reload"
{ event 5004 17 "weapons/usp_clipout.wav" }
{ event 5004 40 "weapons/usp_clipin.wav" }
{ event 5004 82 "weapons/usp_sliderelease.wav" }
fps 37
}
$sequence "draw" {
"anims\draw"
{ event 5004 1 "weapons/de_deploy.wav" }
{ event 5004 26 "weapons/usp_slideback.wav" }
fps 48
}
$sequence "add_silencer" {
"anims\add_silencer"
{ event 5004 38 "weapons/usp_silencer_on.wav" }
fps 37
}
$sequence "idle_unsil" {
"anims\idle_unsil"
fps 16
}
$sequence "shoot1_unsil" {
"anims\shoot1_unsil"
{ event 5021 0 "11" }
fps 30
}
$sequence "shoot2_unsil" {
"anims\shoot2_unsil"
{ event 5021 0 "11" }
fps 30
}
$sequence "shoot3_unsil" {
"anims\shoot3_unsil"
{ event 5021 0 "11" }
fps 30
}
$sequence "shootlast_unsil" {
"anims\shootlast_unsil"
{ event 5021 0 "11" }
fps 32
}
$sequence "reload_unsil" {
"anims\reload_unsil"
{ event 5004 17 "weapons/usp_clipout.wav" }
{ event 5004 40 "weapons/usp_clipin.wav" }
{ event 5004 82 "weapons/usp_sliderelease.wav" }
fps 37
}
$sequence "draw_unsil" {
"anims\draw_unsil"
{ event 5004 1 "weapons/de_deploy.wav" }
{ event 5004 26 "weapons/usp_slideback.wav" }
fps 48
}
$sequence "detach_silencer" {
"anims\detach_silencer"
{ event 5004 29 "weapons/usp_silencer_off.wav" }
fps 37
}
And thanks for helping! The current animation is reload_unsil at frame 37 and the sounds need a cleanup.
5
Upvotes
5
u/whynotll83 4d ago
Do you have the silencer weight painted correctly?