Swedish
02-29-2004, 05:27 PM
OK, so I have a G43 Sniper model and I want to change it's shooting sound from the 98K sound. How do I do this?
I've already made modifications to Malarkey's Springfield Garand, so that when it reloads it makes a ping sound and the reload sound from MoH. However, I don't know how to modify it with this QC file. Any help?
/*
================================================== ============================
QC script generated by Half-Life MDL Decompiler v1.01.
2002, Kratisto. Based on code from Valve's HL SDK.
v_scoped98k.qc
Original model name: v_scoped98k.mdl
================================================== ============================
*/
$modelname "v_scoped98k.mdl"
$cd ".\"
$cdtexture ".\"
$scale 1.0
$bbox 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
$cbox 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
$eyeposition 0.000000 0.000000 0.000000
// reference meshes
$body gun "reference_scoped"
$bodygroup sleeve
{
studio "para_sleeve"
studio "brit_sleeve"
studio "axis_sleeve"
}
// 2 attachments
$attachment 0 "Bone67" 0.000000 -45.500000 2.000000
$attachment 1 "Bone67" 0.000000 -9.000000 2.000000
// 0 bone controllers
// 11 hit boxes
$hbox 0 "Bone04" -10.612760 0.000000 -13.685144 10.801794 9.412024 0.000000
$hbox 0 "Bone09" -1.630000 -0.530000 -0.990000 0.370000 1.270000 0.560000
$hbox 0 "Bone10" -0.920000 0.000000 -0.800000 0.110000 1.060000 0.450000
$hbox 0 "Bone40" -4.170000 -0.720000 -2.680000 3.970000 17.780001 3.310000
$hbox 0 "Bone42" -1.860000 -0.310000 -1.260000 2.320000 5.540000 1.150000
$hbox 0 "Bone43" -0.230000 -0.720000 -1.140000 1.972922 1.870000 0.870000
$hbox 0 "Bone44" -0.370000 -0.470000 -0.950000 1.630000 1.330000 0.600000
$hbox 0 "Bone45" -0.120000 0.000000 -0.730000 0.910000 1.060000 0.520000
$hbox 0 "Bone67" -0.940000 -46.139999 -2.730000 1.150000 6.530000 5.780000
$hbox 0 "Bone73" -0.710000 -0.280000 -0.490000 1.320000 4.160000 1.090000
$hbox 0 "Bone77" -0.670000 -3.040000 -3.880000 0.700000 1.950000 0.350000
// 7 animation sequences
$sequence "idle" "idle" fps 8
$sequence "shoot1" "shoot1" fps 23 { event 5001 1 "21" } { event 6002 1 "2" }
$sequence "reload" "reload" fps 33 {
{ event 5004 13 "weapons/tommy_reload_clipout.wav" }
{ event 5004 51 "weapons/tommy_reload_clipin.wav" }
{ event 5004 72 "weapons/tommy_draw_slideback.wav" }
}
$sequence "draw" "draw" fps 38 { event 5004 1 "weapons/rifleselect.wav" }
$sequence "stabslash" "stabslash" fps 30
$sequence "stab" "stab" fps 30
$sequence "outofway" "outofway" fps 30
// End of QC file.
I've already made modifications to Malarkey's Springfield Garand, so that when it reloads it makes a ping sound and the reload sound from MoH. However, I don't know how to modify it with this QC file. Any help?
/*
================================================== ============================
QC script generated by Half-Life MDL Decompiler v1.01.
2002, Kratisto. Based on code from Valve's HL SDK.
v_scoped98k.qc
Original model name: v_scoped98k.mdl
================================================== ============================
*/
$modelname "v_scoped98k.mdl"
$cd ".\"
$cdtexture ".\"
$scale 1.0
$bbox 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
$cbox 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
$eyeposition 0.000000 0.000000 0.000000
// reference meshes
$body gun "reference_scoped"
$bodygroup sleeve
{
studio "para_sleeve"
studio "brit_sleeve"
studio "axis_sleeve"
}
// 2 attachments
$attachment 0 "Bone67" 0.000000 -45.500000 2.000000
$attachment 1 "Bone67" 0.000000 -9.000000 2.000000
// 0 bone controllers
// 11 hit boxes
$hbox 0 "Bone04" -10.612760 0.000000 -13.685144 10.801794 9.412024 0.000000
$hbox 0 "Bone09" -1.630000 -0.530000 -0.990000 0.370000 1.270000 0.560000
$hbox 0 "Bone10" -0.920000 0.000000 -0.800000 0.110000 1.060000 0.450000
$hbox 0 "Bone40" -4.170000 -0.720000 -2.680000 3.970000 17.780001 3.310000
$hbox 0 "Bone42" -1.860000 -0.310000 -1.260000 2.320000 5.540000 1.150000
$hbox 0 "Bone43" -0.230000 -0.720000 -1.140000 1.972922 1.870000 0.870000
$hbox 0 "Bone44" -0.370000 -0.470000 -0.950000 1.630000 1.330000 0.600000
$hbox 0 "Bone45" -0.120000 0.000000 -0.730000 0.910000 1.060000 0.520000
$hbox 0 "Bone67" -0.940000 -46.139999 -2.730000 1.150000 6.530000 5.780000
$hbox 0 "Bone73" -0.710000 -0.280000 -0.490000 1.320000 4.160000 1.090000
$hbox 0 "Bone77" -0.670000 -3.040000 -3.880000 0.700000 1.950000 0.350000
// 7 animation sequences
$sequence "idle" "idle" fps 8
$sequence "shoot1" "shoot1" fps 23 { event 5001 1 "21" } { event 6002 1 "2" }
$sequence "reload" "reload" fps 33 {
{ event 5004 13 "weapons/tommy_reload_clipout.wav" }
{ event 5004 51 "weapons/tommy_reload_clipin.wav" }
{ event 5004 72 "weapons/tommy_draw_slideback.wav" }
}
$sequence "draw" "draw" fps 38 { event 5004 1 "weapons/rifleselect.wav" }
$sequence "stabslash" "stabslash" fps 30
$sequence "stab" "stab" fps 30
$sequence "outofway" "outofway" fps 30
// End of QC file.