
$modelname "weapons\v_pist_cz_75.mdl"

$bodygroup "studio"
{
	studio "v_pist_cz_75_pist_cz_75.smd"
}
$bodygroup "magazine"
{
	blank
	blank
}
$bodygroup "front_mag"
{
	studio "v_pist_cz_75_pist_cz_75_frontmagazine.smd"
	blank
}


$surfaceprop "default"

$contents "solid"

$illumposition 5.928 -8.955 -12.567

$cdmaterials "models\weapons\V_models\pist_cz_75\"

$attachment "1" "v_weapon.cz_flash" 0 0 0 rotate 0 0 0
$attachment "2" "v_weapon.cz_shelleject" 0 0 0 rotate 0 0 0

$cbox 0 0 0 0 0 0

$bbox -6.332 -8.793 -24.111 24.242 20.649 -1.023

$definebone "v_weapon" "" -0.000051 0.081545 0.033165 0 0 89.999983 0 0 0 0 0 0
$definebone "v_weapon.Bip01_R_Forearm" "" -6.267739 2.074222 -8.580585 -11.576956 -76.831002 -117.945251 0 0 0 0 0 0
$definebone "v_weapon.Bip01_R_Hand" "v_weapon.Bip01_R_Forearm" 10.295583 0 0 30.216416 5.025984 101.045232 0 0 0 0 0 0
$definebone "v_weapon.cz_parent" "v_weapon.Bip01_R_Hand" -3.16129 0.197728 11.042337 -15.186248 107.05448 106.05829 0 0 0 0 0 0
$definebone "v_weapon.cz_flash" "v_weapon.cz_parent" 0.001125 2.463732 8.708673 -89.999983 -89.999983 0 0 0 0 0 0 0
$definebone "v_weapon.cz_shelleject" "v_weapon.cz_parent" -0.456679 2.8251 1.065194 0 140.000001 0 0 0 0 0 0 0
$definebone "v_weapon.cz_slide" "v_weapon.cz_parent" -0.041106 2.733841 1.012358 0 0 -89.999983 0 0 0 0 0 0
$definebone "v_weapon.uid" "v_weapon.cz_slide" 0.54289 -4.017759 -0.138943 0 0 0 0 0 0 0 0 0
$definebone "v_weapon.cz_hammer" "v_weapon.cz_parent" 0.086561 2.067377 -0.779734 0 0 -130.000002 0 0 0 0 0 0
$definebone "v_weapon.stattrack" "v_weapon.cz_parent" 0.145458 1.744586 7.258848 0 0 -89.999983 0 0 0 0 0 0
$definebone "v_weapon.cz_magazine2" "v_weapon.cz_parent" -0.023762 -0.485524 4.712164 0 0 -89.999983 0 0 0 0 0 0
$definebone "v_weapon.Bip01_L_Forearm" "" 3.688167 -0.918725 -9.193839 -12.239239 -125.857862 -41.189593 0 0 0 0 0 0
$definebone "v_weapon.Bip01_L_Hand" "v_weapon.Bip01_L_Forearm" 10.295584 0.000001 0 -11.156233 27.900814 -147.522716 0 0 0 0 0 0
$definebone "v_weapon.Bip01_L_Finger0" "v_weapon.Bip01_L_Hand" 1.231167 0.348996 -1.249109 11.28561 2.783719 91.021622 0 0 0 0 0 0
$definebone "v_weapon.Bip01_L_Finger01" "v_weapon.Bip01_L_Finger0" 1.611104 0 0 0.000003 7.123469 0.000003 0 0 0 0 0 0
$definebone "v_weapon.Bip01_L_Finger02" "v_weapon.Bip01_L_Finger01" 1.188946 0 0.000001 0.037417 5.225147 -0.660158 0 0 0 0 0 0
$definebone "v_weapon.Bip01_L_Finger1" "v_weapon.Bip01_L_Hand" 4.068592 0.143194 -0.892417 2.208296 73.064153 1.084952 0 0 0 0 0 0
$definebone "v_weapon.Bip01_L_Finger11" "v_weapon.Bip01_L_Finger1" 1.433459 0.000001 -0.000001 1.541659 33.252633 -3.409386 0 0 0 0 0 0
$definebone "v_weapon.Bip01_L_Finger12" "v_weapon.Bip01_L_Finger11" 1.019161 0 0 1.54166 33.252636 -3.409385 0 0 0 0 0 0
$definebone "v_weapon.Bip01_L_Finger2" "v_weapon.Bip01_L_Hand" 3.939285 0.020628 0.014987 6.012852 75.94441 -0.900462 0 0 0 0 0 0
$definebone "v_weapon.Bip01_L_Finger21" "v_weapon.Bip01_L_Finger2" 1.691286 0 0 1.259023 33.029641 -3.221454 0 0 0 0 0 0
$definebone "v_weapon.Bip01_L_Finger22" "v_weapon.Bip01_L_Finger21" 1.039841 0 -0.000001 1.259022 33.029757 -3.221451 0 0 0 0 0 0
$definebone "v_weapon.Bip01_L_Finger3" "v_weapon.Bip01_L_Hand" 3.582008 0.056835 0.735422 8.960606 77.104592 -4.289049 0 0 0 0 0 0
$definebone "v_weapon.Bip01_L_Finger31" "v_weapon.Bip01_L_Finger3" 1.583912 -0.000001 0 -1.466653 32.996074 -4.192563 0 0 0 0 0 0
$definebone "v_weapon.Bip01_L_Finger32" "v_weapon.Bip01_L_Finger31" 1.006699 0.000001 0 -2.609476 16.314298 -3.59508 0 0 0 0 0 0
$definebone "v_weapon.Bip01_L_Finger4" "v_weapon.Bip01_L_Hand" 3.126524 0.227896 1.44008 11.857022 73.028335 -6.425265 0 0 0 0 0 0
$definebone "v_weapon.Bip01_L_Finger41" "v_weapon.Bip01_L_Finger4" 1.246394 0.000001 0 -0.157617 25.540282 -5.082595 0 0 0 0 0 0
$definebone "v_weapon.Bip01_L_Finger42" "v_weapon.Bip01_L_Finger41" 0.682894 0 0 -0.157615 25.54028 -5.082594 0 0 0 0 0 0
$definebone "v_weapon.Bip01_L_ForeTwist" "" 3.688167 -0.918725 -9.193839 -12.239271 -125.857834 -94.018231 0 0 0 0 0 0
$definebone "v_weapon.cz_magazine" "v_weapon.cz_parent" 0 -0.535596 -0.561167 0 0 -89.999983 0 0 0 0 0 0
$definebone "v_weapon.cz_trigger" "v_weapon.cz_parent" -0.007399 1.49451 2.040462 0 0 0 0 0 0 0 0 0
$definebone "v_weapon.Bip01_R_Finger0" "v_weapon.Bip01_R_Hand" 1.231171 0.348996 1.249108 -6.949749 36.059957 -111.881478 0 0 0 0 0 0
$definebone "v_weapon.Bip01_R_Finger01" "v_weapon.Bip01_R_Finger0" 1.611105 0.000002 0 3.675867 14.233247 11.249632 0 0 0 0 0 0
$definebone "v_weapon.Bip01_R_Finger02" "v_weapon.Bip01_R_Finger01" 1.188946 0.000001 0 -0.15006 15.099844 0.643951 0 0 0 0 0 0
$definebone "v_weapon.Bip01_R_Finger1" "v_weapon.Bip01_R_Hand" 4.068594 0.143194 0.892418 8.773932 16.108711 -10.016334 0 0 0 0 0 0
$definebone "v_weapon.Bip01_R_Finger11" "v_weapon.Bip01_R_Finger1" 1.433458 -0.000001 0 -2.210643 33.05216 5.728542 0 0 0 0 0 0
$definebone "v_weapon.Bip01_R_Finger12" "v_weapon.Bip01_R_Finger11" 1.019161 0 0.000002 -3.430926 45.895801 5.093822 0 0 0 0 0 0
$definebone "v_weapon.Bip01_R_Finger2" "v_weapon.Bip01_R_Hand" 3.939286 0.020628 -0.014986 17.071682 57.938282 23.824731 0 0 0 0 0 0
$definebone "v_weapon.Bip01_R_Finger21" "v_weapon.Bip01_R_Finger2" 1.691287 -0.000002 0 -4.082036 70.708742 3.623042 0 0 0 0 0 0
$definebone "v_weapon.Bip01_R_Finger22" "v_weapon.Bip01_R_Finger21" 1.039842 0.000002 0 -2.960872 55.149133 4.584639 0 0 0 0 0 0
$definebone "v_weapon.Bip01_R_Finger3" "v_weapon.Bip01_R_Hand" 3.582008 0.056835 -0.735423 11.737386 63.506464 28.011277 0 0 0 0 0 0
$definebone "v_weapon.Bip01_R_Finger31" "v_weapon.Bip01_R_Finger3" 1.583913 -0.000001 0 -4.002624 68.934566 5.498389 0 0 0 0 0 0
$definebone "v_weapon.Bip01_R_Finger32" "v_weapon.Bip01_R_Finger31" 1.006698 -0.000001 0.000001 -2.142804 51.282304 6.452309 0 0 0 0 0 0
$definebone "v_weapon.Bip01_R_Finger4" "v_weapon.Bip01_R_Hand" 3.126525 0.227896 -1.44008 6.374043 61.123131 36.131407 0 0 0 0 0 0
$definebone "v_weapon.Bip01_R_Finger41" "v_weapon.Bip01_R_Finger4" 1.246396 0 0.000001 -1.922045 74.915216 4.607378 0 0 0 0 0 0
$definebone "v_weapon.Bip01_R_Finger42" "v_weapon.Bip01_R_Finger41" 0.682897 0 0 0.408347 21.891974 4.305546 0 0 0 0 0 0
$definebone "v_weapon.Bip01_R_ForeTwist" "" -6.267739 2.074222 -8.580585 -11.576956 -76.831002 -109.011009 0 0 0 0 0 0
$definebone "v_weapon.v_weapon" "" -3.813199 -8.792836 -7.6387 0.09129 0.318071 90.090087 0 0 0 0 0 0
$definebone "v_weapon.Bip01" "" 3.130765 20.426886 -24.111179 11.136324 -118.110036 4.129297 0 0 0 0 0 0
$definebone "v_weapon.Bip01_Pelvis" "v_weapon.Bip01" 0 0 -0.000004 -89.99999 -89.999921 0 0 0 0 0 0 0
$definebone "v_weapon.Bip01_Spine" "v_weapon.Bip01_Pelvis" 3.562683 -0.816626 -0.00002 -1.722193 4.641193 0.388015 0 0 0 0 0 0
$definebone "v_weapon.Bip01_Spine1" "v_weapon.Bip01_Spine" 4.004215 -0.003151 -0.000183 -2.569483 8.148572 3.287573 0 0 0 0 0 0
$definebone "v_weapon.Bip01_Spine2" "v_weapon.Bip01_Spine1" 4.004213 -0.003147 -0.000187 -2.308431 8.214636 3.33423 0 0 0 0 0 0
$definebone "v_weapon.Bip01_Spine3" "v_weapon.Bip01_Spine2" 4.00375 -0.003186 0 0.000003 -0.000008 0.000005 0 0 0 0 0 0
$definebone "v_weapon.Bip01_Neck" "v_weapon.Bip01_Spine3" 5.028797 -0.763699 -0.000245 0.96912 16.530313 3.946589 0 0 0 0 0 0
$definebone "v_weapon.Bip01_L_Clavicle" "v_weapon.Bip01_Neck" -1.017836 0.327161 1.186796 -55.933082 62.272597 98.209863 0 0 0 0 0 0
$definebone "v_weapon.Bip01_L_UpperArm" "v_weapon.Bip01_L_Clavicle" 5.773737 0 0.000002 35.63586 -10.350443 -42.695048 0 0 0 0 0 0
$definebone "v_weapon.Bip01_R_Clavicle" "v_weapon.Bip01_Neck" -0.976451 0.158801 -1.253652 50.536225 39.456992 -118.787523 0 0 0 0 0 0
$definebone "v_weapon.Bip01_R_UpperArm" "v_weapon.Bip01_R_Clavicle" 5.773737 0 -0.000002 -36.420857 -55.853551 57.282048 0 0 0 0 0 0

$bonemerge "v_weapon"
$bonemerge "v_weapon.Bip01_R_Forearm"
$bonemerge "v_weapon.Bip01_R_Hand"
$bonemerge "v_weapon.cz_parent"
$bonemerge "v_weapon.cz_slide"
$bonemerge "v_weapon.uid"
$bonemerge "v_weapon.stattrack"
$bonemerge "v_weapon.Bip01_L_Forearm"
$bonemerge "v_weapon.Bip01_L_Hand"
$bonemerge "v_weapon.Bip01_L_Finger0"
$bonemerge "v_weapon.Bip01_L_Finger01"
$bonemerge "v_weapon.Bip01_L_Finger02"
$bonemerge "v_weapon.Bip01_L_Finger1"
$bonemerge "v_weapon.Bip01_L_Finger11"
$bonemerge "v_weapon.Bip01_L_Finger12"
$bonemerge "v_weapon.Bip01_L_Finger2"
$bonemerge "v_weapon.Bip01_L_Finger21"
$bonemerge "v_weapon.Bip01_L_Finger22"
$bonemerge "v_weapon.Bip01_L_Finger3"
$bonemerge "v_weapon.Bip01_L_Finger31"
$bonemerge "v_weapon.Bip01_L_Finger32"
$bonemerge "v_weapon.Bip01_L_Finger4"
$bonemerge "v_weapon.Bip01_L_Finger41"
$bonemerge "v_weapon.Bip01_L_Finger42"
$bonemerge "v_weapon.Bip01_L_ForeTwist"
$bonemerge "v_weapon.Bip01_R_Finger0"
$bonemerge "v_weapon.Bip01_R_Finger01"
$bonemerge "v_weapon.Bip01_R_Finger02"
$bonemerge "v_weapon.Bip01_R_Finger1"
$bonemerge "v_weapon.Bip01_R_Finger11"
$bonemerge "v_weapon.Bip01_R_Finger12"
$bonemerge "v_weapon.Bip01_R_Finger2"
$bonemerge "v_weapon.Bip01_R_Finger21"
$bonemerge "v_weapon.Bip01_R_Finger22"
$bonemerge "v_weapon.Bip01_R_Finger3"
$bonemerge "v_weapon.Bip01_R_Finger31"
$bonemerge "v_weapon.Bip01_R_Finger32"
$bonemerge "v_weapon.Bip01_R_Finger4"
$bonemerge "v_weapon.Bip01_R_Finger41"
$bonemerge "v_weapon.Bip01_R_Finger42"
$bonemerge "v_weapon.Bip01_R_ForeTwist"


// The 32 below is a guess until further is known about the format.
$animblocksize 32 nostall

$bonesaveframe "v_weapon" position
$bonesaveframe "v_weapon.Bip01_R_Forearm" position
$bonesaveframe "v_weapon.cz_parent" position
$bonesaveframe "v_weapon.cz_flash" position
$bonesaveframe "v_weapon.cz_shelleject" position
$bonesaveframe "v_weapon.cz_slide" position
$bonesaveframe "v_weapon.cz_magazine2" position
$bonesaveframe "v_weapon.Bip01_L_Forearm" position
$bonesaveframe "v_weapon.Bip01_L_ForeTwist" position
$bonesaveframe "v_weapon.cz_magazine" position
$bonesaveframe "v_weapon.Bip01_R_ForeTwist" position
$bonesaveframe "v_weapon.v_weapon" position
$bonesaveframe "v_weapon.Bip01" position

$sectionframes 30 55

$sequence "idle" {
	"v_pist_cz_75_anims\idle.smd"
	activity "ACT_VM_IDLE" 1
	fadein 0.2
	fadeout 0.2
	snap
	fps 30
}

$sequence "shoot1" {
	"v_pist_cz_75_anims\shoot1.smd"
	activity "ACT_VM_PRIMARYATTACK" 1
	{ event 5001 1 "1" }
	{ event AE_CLIENT_EJECT_BRASS 0 "" }
	fadein 0.2
	fadeout 0.2
	snap
	fps 30
}

$sequence "shoot_empty" {
	"v_pist_cz_75_anims\shoot_empty.smd"
	activity "ACT_VM_DRYFIRE" 1
	{ event 5001 0 "11" }
	fadein 0.2
	fadeout 0.2
	fps 30
}

$sequence "reload" {
	"v_pist_cz_75_anims\reload.smd"
	activity "ACT_VM_RELOAD" 1
	{ event 5004 9 "Weapon_p250.Clipout" }
	{ event 5004 23 "Weapon_DEagle.Clipout" }
	{ event 5004 46 "Weapon_p250.Clipin" }
	{ event 5004 64 "Weapon_p250.Slideback" }
	{ event 5004 68 "Weapon_p250.Sliderelease" }
	{ event AE_WPN_CZ_DUMP_CURRENT_MAG 46 "" }
	{ event AE_WPN_COMPLETE_RELOAD 46 "" }
	fadein 0.1
	fadeout 0.2
	fps 30
}

$sequence "draw" {
	"v_pist_cz_75_anims\draw.smd"
	activity "ACT_VM_DRAW" 1
	{ event 5004 1 "Weapon_p250.Draw" }
	{ event 5004 20 "Weapon_p250.Clipin" }
	{ event 5004 30 "Weapon_p250.Slideback" }
	{ event 5004 36 "Weapon_p250.Sliderelease" }
	{ event AE_WPN_CZ_UPDATE_BODYGROUP 0 "" }
	fadein 0.2
	fadeout 0.2
	snap
	fps 30
}

$sequence "lookat01" {
	"v_pist_cz_75_anims\lookat01.smd"
	activity "ACT_IDLE_INSPECT" 1
	{ event AE_CL_SET_STATTRAK_GLOW 0 "1" }
	{ event AE_CL_SET_STATTRAK_GLOW 92 "0" }
	{ event AE_BEGIN_TAUNT_LOOP 91 "0.23834" }
	fadein 0.3
	fadeout 0.3
	blendlayer "idle" 0 0 1 1
	blendlayer "idle" 187 194 194 194
	fps 30
}

$sequence "reload2" {
	"v_pist_cz_75_anims\reload2.smd"
	activity "ACT_SECONDARY_VM_RELOAD" 1
	{ event 5004 12 "Weapon_p250.Clipout" }
	{ event 5004 24 "Weapon_p250.Clipin" }
	{ event 5004 45 "Weapon_p250.Slideback" }
	{ event 5004 51 "Weapon_p250.Sliderelease" }
	{ event AE_WPN_CZ_DUMP_CURRENT_MAG 28 "" }
	{ event AE_WPN_COMPLETE_RELOAD 28 "" }
	fadein 0.2
	fadeout 0.2
	fps 24
}

$sequence "draw2" {
	"v_pist_cz_75_anims\draw2.smd"
	activity "ACT_VM_EMPTY_DRAW" 1
	{ event 5004 1 "Weapon_p250.Draw" }
	{ event 5004 25 "Weapon_p250.Slideback" }
	{ event 5004 31 "Weapon_p250.Sliderelease" }
	{ event AE_WPN_CZ_UPDATE_BODYGROUP 0 "" }
	fadein 0.2
	fadeout 0.2
	snap
	fps 30
}

$KeyValues
{
	qc_path 
	{
		"value" "models\weapons\v_models\pist_cz_75\v_cz_75.qc"
	}
}
