2 -HunteR-:
Я точно не помню, но по-моему за кости там отвечает параметр $hbox
Вот как в QC писать:
Желтым название кости в максе, зеленым координата кости в максе.
Вот оригинал QC оружия v_alite из контры:
Оффтоп
Я точно не помню, но по-моему за кости там отвечает параметр $hbox
Вот как в QC писать:
Код:
// 3 hit box(es)
$hbox 0 "[COLOR=Yellow]v_weapon.Hands_parent[/COLOR]" [COLOR=Lime]-9.421780 -2.830558 0.000000 13.553850 2.604650 7.614582[/COLOR]
$hbox 0 "v_weapon.Left_Arm" -0.540000 -3.670000 -2.820000 17.126566 2.980000 3.410000
$hbox 0 "v_weapon.Left_Hand" -20.624006 -3.180000 -13.247402 6.310000 10.185256 1.880000
Вот оригинал QC оружия v_alite из контры:
Оффтоп
/*
==============================================================================
QC script generated by Half-Life MDL Decompiler 1.2
2003, Kratisto. Based on code from Valve's HL SDK.
v_elite.mdl
Original internal name:
"v_elite.mdl"
==============================================================================
*/
$modelname "v_elite.mdl"
$cd ".\"
$cdtexture ".\"
$scale 1.0
$cliptotextures
$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 "hands" "hands_reference"
$body "weapon" "elite_reference"
// 4 attachment(s)
$attachment 0 "muzzleflash_left" 0.000000 0.000000 0.000000
$attachment 1 "muzzleflash_right" 0.000000 0.000000 0.000000
$attachment 2 "muzzleflash_left" 0.000000 0.000000 -10.000000
$attachment 3 "muzzleflash_right" 0.000000 0.000000 -10.000000
// 41 hit box(es)
$hbox 0 "v_weapon.Hands_parent" -9.421780 -2.830558 0.000000 13.553850 2.604650 7.614582
$hbox 0 "v_weapon.Left_Arm" -0.540000 -3.670000 -2.820000 17.126566 2.980000 3.410000
$hbox 0 "v_weapon.Left_Hand" -20.624006 -3.180000 -13.247402 6.310000 10.185256 1.880000
$hbox 0 "v_weapon.Left_Thumb01" 0.000000 -1.420000 -1.640000 3.920000 1.770000 0.980000
$hbox 0 "v_weapon.Left_Thumb02" 0.000000 -0.840000 -0.950000 2.380000 1.170000 1.040000
$hbox 0 "v_weapon.Left_Thumb03" 0.000000 -0.680000 -0.660000 2.750000 0.910000 1.080000
$hbox 0 "v_weapon.Left_Pinky01" 0.000000 -0.440000 -1.350000 1.927706 1.600000 0.440000
$hbox 0 "v_weapon.Left_Pinky02" 0.000000 -0.410000 -1.110000 1.264002 0.850000 0.050000
$hbox 0 "v_weapon.Left_Ring01" 0.000000 -0.470000 -1.270000 2.560000 1.520000 0.140000
$hbox 0 "v_weapon.Left_Ring02" 0.000000 -0.450000 -1.170000 1.526132 0.990000 0.200000
$hbox 0 "v_weapon.Left_Ring03" 0.000000 -0.500000 -1.190000 2.260000 0.820000 0.000000
$hbox 0 "v_weapon.Left_Middle01" 0.000000 -0.350000 -1.360000 2.650000 1.640000 0.000000
$hbox 0 "v_weapon.Left_Middle02" 0.000000 -0.390000 -1.400000 2.100000 1.260000 0.000000
$hbox 0 "v_weapon.Left_Middle03" 0.000000 -0.240000 -1.360000 1.920000 0.880000 0.000000
$hbox 0 "v_weapon.Left_Index01" 0.000000 -0.410000 -1.490000 2.620000 1.580000 0.020000
$hbox 0 "v_weapon.Left_Index02" 0.000000 -0.340000 -1.500000 1.530000 1.100000 0.000000
$hbox 0 "v_weapon.Left_Index03" 0.000000 -0.300000 -1.360000 1.860000 0.910000 0.000000
$hbox 0 "v_weapon.L_wrist_helper" -1.610000 -4.790000 -2.080000 2.210000 0.000000 3.030000
$hbox 0 "v_weapon.Right_Arm" -0.840000 -2.870000 -3.150000 17.087275 2.770000 3.260000
$hbox 0 "v_weapon.Right_Hand" 0.000000 -9.047142 -1.470000 6.200000 2.650000 10.216706
$hbox 0 "v_weapon.Right_Thumb01" -1.050000 -2.040000 -1.470000 4.560000 1.800000 1.530000
$hbox 0 "v_weapon.Right_Thumb02" 0.000000 -0.030000 -1.340000 2.260000 2.010000 0.770000
$hbox 0 "v_weapon.Right_Thumb03" 0.000000 -0.020000 -0.960000 3.030000 1.570000 0.760000
$hbox 0 "v_weapon.Right_Index01" -1.030000 -1.380000 -0.620000 2.740000 0.880000 0.920000
$hbox 0 "v_weapon.Right_Index02" 0.000000 -0.330000 -0.540000 1.504932 1.010000 0.850000
$hbox 0 "v_weapon.Right_Index03" 0.000000 -0.170000 -0.330000 1.720000 0.930000 0.890000
$hbox 0 "v_weapon.Right_Middle01" 0.000000 -0.770000 -0.430000 2.522446 1.030000 0.910000
$hbox 0 "v_weapon.Right_Middle02" -0.130000 -0.520000 -0.370000 1.886468 1.020000 0.920000
$hbox 0 "v_weapon.Right_Middle03" -0.030000 -0.080000 -0.210000 1.410000 0.940000 0.880000
$hbox 0 "v_weapon.Right_Ring01" -0.590000 -1.030000 -0.340000 2.420000 1.130000 1.210000
$hbox 0 "v_weapon.Right_Ring02" -0.120000 -0.080000 -0.130000 1.483884 1.180000 1.090000
$hbox 0 "v_weapon.Right_Ring03" -0.160000 -0.110000 -0.050000 1.600000 1.130000 1.090000
$hbox 0 "v_weapon.Right_Pinky01" -1.680000 -2.580000 -0.240000 1.992446 0.970000 1.360000
$hbox 0 "v_weapon.Right_Pinky02" -0.050000 -0.530000 0.000000 1.229384 0.770000 1.130000
$hbox 0 "v_weapon.R_wrist_helper" -1.630000 -5.110000 -2.920000 2.730000 0.350000 2.600000
$hbox 0 "v_weapon.elite_left" -1.110000 -3.850000 -2.780000 1.170000 5.170000 12.190000
$hbox 0 "v_weapon.magazine_left" -0.600000 -1.630000 -1.640000 0.810000 5.450000 2.260000
$hbox 0 "v_weapon.slide_left" -1.020000 -0.720000 -9.740000 0.960000 1.150000 3.080000
$hbox 0 "v_weapon.elite_right" -1.360000 -4.500000 -3.430000 0.910000 4.520000 11.708862
$hbox 0 "v_weapon.magazine_right" -0.880000 -1.820000 -1.860000 0.500000 5.250000 2.030000
$hbox 0 "v_weapon.slide_right" -1.170000 -0.930000 -9.940000 0.660000 0.960000 2.850000
// 16 animation sequence(s)
$sequence "idle" "idle" fps 16
$sequence "idle_leftempty" "idle_leftempty" fps 16
$sequence "shoot_left1" "shoot_left1" fps 30 { event 5001 0 "21" }
$sequence "shoot_left2" "shoot_left2" fps 30 { event 5001 0 "21" }
$sequence "shoot_left3" "shoot_left3" fps 30 { event 5001 0 "21" }
$sequence "shoot_left4" "shoot_left4" fps 30 { event 5001 0 "21" }
$sequence "shoot_left5" "shoot_left5" fps 30 { event 5001 0 "21" }
$sequence "shoot_leftlast" "shoot_leftlast" fps 30 { event 5001 0 "21" }
$sequence "shoot_right1" "shoot_right1" fps 30 { event 5011 0 "21" }
$sequence "shoot_right2" "shoot_right2" fps 30 { event 5011 0 "21" }
$sequence "shoot_right3" "shoot_right3" fps 30 { event 5011 0 "21" }
$sequence "shoot_right4" "shoot_right4" fps 30 { event 5011 0 "21" }
$sequence "shoot_right5" "shoot_right5" fps 30 { event 5011 0 "21" }
$sequence "shoot_rightlast" "shoot_rightlast" fps 30 { event 5011 0 "21" }
$sequence "reload" "reload" fps 18 {
{ event 5004 10 "weapons/elite_clipout.wav" }
{ event 5004 35 "weapons/elite_rightclipin.wav" }
{ event 5004 60 "weapons/elite_leftclipin.wav" }
{ event 5004 80 "weapons/elite_sliderelease.wav" }
}
$sequence "draw" "draw" fps 30
// End of QC script.
Останнє редагування: