• Model isn't playing fire sound when spraying, only when doing single shots?
    5 replies, posted
Here's what I mean by the title: [vid]https://cdn.streamable.com/video/mp4/ozdv.mp4[/vid] Here's my QC. [code]// Created by Crowbar 0.34.0.0 $ModelName "weapons\cssv4\v_smg_mp5.mdl" $BodyGroup "studio" { studio "v_smg_mp5_mp5_reference.smd" } $BodyGroup "hands" { studio "v_smg_mp5_hands_reference.smd" } $origin -1.5 3.5 0 $SurfaceProp "default" $Contents "solid" $CDMaterials "models\weapons\cssv2\V_models\smg_mp5\" $CDMaterials "models\weapons\cssv2\v_models\hands\" $Attachment "1" "v_weapon.MP5_Parent" 0.1 3 13.5 rotate 0 0 0 $Attachment "2" "v_weapon.MP5_Parent" 0 3.5 4.5 rotate 0 0 0 $CBox 0 0 0 0 0 0 $BBox -9.595 -3.303 -12.878 20.831 8.927 -1.889 $Sequence "idle" { "v_smg_mp5_anims\idle.smd" activity "ACT_VM_IDLE" 1 fadein 0.2 fadeout 0.2 snap fps 12 } $Sequence "reload1" { "v_smg_mp5_anims\reload1.smd" activity "ACT_VM_RELOAD" 1 { event 5004 12 "weapons\css\mp5_clipout.wav" } { event 5004 44 "weapons\css\mp5_clipin.wav" } { event 5004 86 "weapons\css\mp5_slideback.wav" } fadein 0.2 fadeout 0.2 snap fps 38 } $Sequence "draw" { "v_smg_mp5_anims\draw.smd" activity "ACT_VM_DRAW" 1 { event 5004 13 "weapons\css\mp5_slideback.wav" } fadein 0.2 fadeout 0.2 snap fps 35 } $Sequence "shoot1" { "v_smg_mp5_anims\shoot1.smd" activity "ACT_VM_PRIMARYATTACK" 1 { event 5004 0 "weapons\css\mp5-1.wav"} { event AE_CLIENT_EFFECT_ATTACH 0 "EjectBrass_9mm 2 100" } { event 5001 0 "1" } fadein 0.2 fadeout 0.2 snap fps 30 } $Sequence "shoot2" { "v_smg_mp5_anims\shoot2.smd" activity "ACT_VM_PRIMARYATTACK" 1 { event 5004 0 "weapons\css\mp5-1.wav"} { event AE_CLIENT_EFFECT_ATTACH 0 "EjectBrass_9mm 2 100" } { event 5001 0 "1" } fadein 0.2 fadeout 0.2 snap fps 30 } $Sequence "shoot3" { "v_smg_mp5_anims\shoot3.smd" activity "ACT_VM_PRIMARYATTACK" 1 { event 5004 0 "weapons\css\mp5-1.wav"} { event AE_CLIENT_EFFECT_ATTACH 0 "EjectBrass_9mm 2 100" } { event 5001 0 "1" } fadein 0.2 fadeout 0.2 snap fps 30 } [/code] Is there anyway to fix this without editing weapon scripts?
This isn't the weapon's QC, but rather your weapon's sound script. If you're doing this for Garry's Mod, you can either change the channel in the EmitSound or you can change it in the script.
Check if there's nothing you can do with 'scripts\game_sounds_weapons.txt'. Maybe it's overriding what you have on your .mdl
Ah, so there's no way to fix it through the model? Alright. This is meant to be serverside so I don't want clients to have to edit their own weapon script files (this is cs:go)
Also, if it's the new sounds, that didn't existed in game before, you're need to rebuild sound cache probably to make it work
yeah no that's been done already but it's just holding it down that it doesn't repeatedly play, is all
Sorry, you need to Log In to post a reply to this thread.