/*
============================================================================== QC script generated by Half-Life MDL Decompiler 1.2
2003, Kratisto. Based on code from Valve's HL SDK.
v_m4a1.mdl
Original internal name:
"v_m4a1.mdl"
==============================================================================
*/
$modelname "v_m4a1.mdl"
$cd ".\"
$cdtexture ".\"
$scale 1.0
$cliptotextures
Code
$origin -2.0 0.0 0.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 mesh(es)
$body "studio" "v_m4a1"
$body "studio" "silencer"
$body "studio" "Pent"
$body "hands" "v_hands"
// 2 attachments
$attachment 0 "M4" 1.800000 -3.000000 29.000000
$attachment 1 "M4" 3.000000 -3.000000 10.900000
// 11 hit boxes
$hbox 0 "L_Forearm" -0.330000 -1.680000 -1.520000 8.108974 1.670000 1.270000
$hbox 0 "L_Wrist" 0.000000 -1.480000 -1.250000 3.490000 1.740000 1.000000
$hbox 0 "L_Thumb1" 0.000000 -0.500000 -0.680000 1.970000 0.830000 0.680000
$hbox 0 "R_Forearm" -0.330000 -1.710000 -1.270000 8.108976 1.640000 1.520000
$hbox 0 "R_Wrist" 0.000000 -1.760000 -1.250000 3.490000 1.440000 1.000000
$hbox 0 "R_Thumb1" 0.000000 -0.530000 -0.680000 1.990000 0.800000 0.680000
$hbox 0 "M4" 0.000000 -8.500000 -1.820000 3.040000 0.000000 26.410000
$hbox 0 "Bolt" 0.000000 0.000000 0.000000 1.740000 2.850000 12.150000
$hbox 0 "Magazine" 0.000000 -20.770000 0.000000 2.320000 0.000000 12.770000
$hbox 0 "Charging Handle" 0.000000 0.000000 0.000000 2.660000 3.260000 9.960000
$hbox 0 "Suppressor" 0.000000 -3.700000 0.000000 2.550000 0.000000 32.279999
// 14 sequences
$sequence idle "idle" fps 16
$sequence shoot1 "shoot1" fps 30 { event 5001 0 "1" } { event 0 0 "EjectBrass_556 2 150" }
$sequence shoot2 "shoot2" fps 30 { event 5001 0 "1" } { event 0 0 "EjectBrass_556 2 150" }
$sequence shoot3 "shoot3" fps 30 { event 5001 0 "1" } { event 0 0 "EjectBrass_556 2 150" }
$sequence reload "reload" fps 37 { event 5004 8 "weapons/m4a1_clipout.wav" } { event 5004 41 "weapons/m4a1_clipin.wav" } { event 5004 76 "weapons/m4a1_boltpull.wav" }
$sequence draw "draw" fps 40 { event 5004 8 "weapons/m4a1_boltpull.wav" }
$sequence add_silencer "add_silencer" fps 30 { event 5004 33 "weapons/m4a1_silencer_on.wav" }
$sequence idle_unsil "idle_unsil" fps 16
$sequence shoot1_unsil "shoot1_unsil" fps 28 { event 5001 0 "1" } { event 0 0 "EjectBrass_556 2 150" }
$sequence shoot2_unsil "shoot2_unsil" fps 28 { event 5001 0 "1" } { event 0 0 "EjectBrass_556 2 150" }
$sequence shoot3_unsil "shoot3_unsil" fps 28 { event 5001 0 "1" } { event 0 0 "EjectBrass_556 2 150" }
$sequence reload_unsil "reload_unsil" fps 37 { event 5004 8 "weapons/m4a1_clipout.wav" } { event 5004 41 "weapons/m4a1_clipin.wav" } { event 5004 76 "weapons/m4a1_boltpull.wav" }
$sequence draw_unsil "draw_unsil" fps 40 { event 5004 8 "weapons/m4a1_deploy.wav" }
$sequence detach_silencer "detach_silencer" fps 30 { event 5004 23 "weapons/m4a1_silencer_off.wav" }
// End of QC script.
Добавлено (25.11.2010, 15:42)
---------------------------------------------
скопируй замени в скрипте, сохрани и компелируй