
$modelname "weapons\v_knife_butterfly_anim.mdl"

$surfaceprop "default"

$contents "solid"

$illumposition 3.585 -13.682 -5.221

$cdmaterials "models\weapons\v_models\knife_butterfly\"

$cbox 0 0 0 0 0 0

$bbox -0.104 -9.601 -19.95 27.468 16.77 9.508

$definebone "v_weapon" "" 0 0 0 0 0 89.999983 0 0 0 0 0 0
$definebone "v_weapon.knife" "v_weapon" 0 0 0 0 0 89.999983 0 0 0 0 0 0
$definebone "v_weapon.Bip01_R_Forearm" "" -4.697148 -3.206418 -11.190982 -3.190916 -25.253172 -125.911888 0 0 0 0 0 0
$definebone "v_weapon.Bip01_R_Hand" "v_weapon.Bip01_R_Forearm" 10.295582 -0.000002 0 -30.00442 -41.000058 20.35679 0 0 0 0 0 0
$definebone "v_weapon.Bip01_R_Finger3" "v_weapon.Bip01_R_Hand" 3.632766 0.059048 -0.757493 -2.81076 107.1469 -0.667436 0 0 0 0 0 0
$definebone "v_weapon.Bip01_R_Finger31" "v_weapon.Bip01_R_Finger3" 1.500136 -0.000001 -0.000001 -1.841029 49.026521 6.756486 0 0 0 0 0 0
$definebone "v_weapon.Bip01_R_Finger32" "v_weapon.Bip01_R_Finger31" 0.905665 -0.000003 0.000004 -2.986603 58.993553 6.335652 0 0 0 0 0 0
$definebone "v_weapon.Bip01_R_Finger2" "v_weapon.Bip01_R_Hand" 3.799516 0.014955 0.039958 2.160225 96.819278 3.535555 0 0 0 0 0 0
$definebone "v_weapon.Bip01_R_Finger21" "v_weapon.Bip01_R_Finger2" 1.774879 0 0 -5.283987 85.980287 1.117781 0 0 0 0 0 0
$definebone "v_weapon.Bip01_R_Finger22" "v_weapon.Bip01_R_Finger21" 1.008848 0 0 -2.087908 24.513544 5.856723 0 0 0 0 0 0
$definebone "v_weapon.Bip01_R_Finger4" "v_weapon.Bip01_R_Hand" 3.323332 0.233747 -1.479074 -6.568268 111.807213 3.381542 0 0 0 0 0 0
$definebone "v_weapon.Bip01_R_Finger41" "v_weapon.Bip01_R_Finger4" 0.963099 0 0 3.146008 8.059983 3.476762 0 0 0 0 0 0
$definebone "v_weapon.Bip01_R_Finger42" "v_weapon.Bip01_R_Finger41" 0.682897 0 -0.000001 -2.589941 83.632416 3.908438 0 0 0 0 0 0
$definebone "v_weapon.Bip01_L_Forearm" "" 10.386484 -9.222388 -11.452826 24.176928 157.283849 -55.457739 0 0 0 0 0 0
$definebone "v_weapon.Bip01_L_Hand" "v_weapon.Bip01_L_Forearm" 10.29558 -0.000001 0.000002 -16.802506 -9.704701 -35.941415 0 0 0 0 0 0
$definebone "v_weapon.Bip01_L_Finger0" "v_weapon.Bip01_L_Hand" 1.149522 0.416496 -1.414117 36.874532 22.036818 97.174735 0 0 0 0 0 0
$definebone "v_weapon.Bip01_L_Finger01" "v_weapon.Bip01_L_Finger0" 1.263878 0 -0.000001 0.371949 27.281388 -0.535715 0 0 0 0 0 0
$definebone "v_weapon.Bip01_L_Finger02" "v_weapon.Bip01_L_Finger01" 1.188943 0 -0.000002 0.118357 12.298025 -0.65054 0 0 0 0 0 0
$definebone "v_weapon.Bip01_L_Finger1" "v_weapon.Bip01_L_Hand" 3.773755 0.133219 -0.970572 10.174411 2.881117 1.877348 0 0 0 0 0 0
$definebone "v_weapon.Bip01_L_Finger11" "v_weapon.Bip01_L_Finger1" 1.433458 0 0 0.755555 25.921524 -2.020372 0 0 0 0 0 0
$definebone "v_weapon.Bip01_L_Finger12" "v_weapon.Bip01_L_Finger11" 1.01916 0.000003 0 0.755624 25.921753 -2.020377 0 0 0 0 0 0
$definebone "v_weapon.Bip01_L_Finger2" "v_weapon.Bip01_L_Hand" 3.799514 0.014949 -0.039959 -0.681248 15.84566 -1.915405 0 0 0 0 0 0
$definebone "v_weapon.Bip01_L_Finger21" "v_weapon.Bip01_L_Finger2" 1.77488 0.000002 0 0.513084 26.07009 -1.293574 0 0 0 0 0 0
$definebone "v_weapon.Bip01_L_Finger22" "v_weapon.Bip01_L_Finger21" 1.008843 0.000002 0 0.513029 26.070221 -1.293519 0 0 0 0 0 0
$definebone "v_weapon.Bip01_L_Finger3" "v_weapon.Bip01_L_Hand" 3.632765 0.059053 0.757494 -10.648826 26.329118 -16.119255 0 0 0 0 0 0
$definebone "v_weapon.Bip01_L_Finger31" "v_weapon.Bip01_L_Finger3" 1.500133 -0.000001 0 0.377868 24.372593 -0.981893 0 0 0 0 0 0
$definebone "v_weapon.Bip01_L_Finger32" "v_weapon.Bip01_L_Finger31" 0.905663 0.000001 0 0.377875 24.372717 -0.981889 0 0 0 0 0 0
$definebone "v_weapon.Bip01_L_Finger4" "v_weapon.Bip01_L_Hand" 3.323328 0.23374 1.479076 -25.743116 35.621175 -22.868698 0 0 0 0 0 0
$definebone "v_weapon.Bip01_L_Finger41" "v_weapon.Bip01_L_Finger4" 0.963099 0.000006 0 0.523503 31.481052 -1.033169 0 0 0 0 0 0
$definebone "v_weapon.Bip01_L_Finger42" "v_weapon.Bip01_L_Finger41" 0.682898 0.000003 0 0.523393 31.481172 -1.033109 0 0 0 0 0 0
$definebone "v_weapon.Bip01_L_ForeTwist" "" 10.386484 -9.222388 -11.452826 24.176928 157.283849 -7.240296 0 0 0 0 0 0
$definebone "v_weapon.Bip01_R_Finger0" "v_weapon.Bip01_R_Hand" 1.149523 0.416495 1.414117 -12.175177 49.26749 -115.717353 0 0 0 0 0 0
$definebone "v_weapon.Bip01_R_Finger01" "v_weapon.Bip01_R_Finger0" 1.263879 0 0 -0.24924 14.96503 0.602738 0 0 0 0 0 0
$definebone "v_weapon.Bip01_R_Finger02" "v_weapon.Bip01_R_Finger01" 1.188946 0 0.000002 -0.263041 50.667792 0.259663 0 0 0 0 0 0
$definebone "v_weapon.Bip01_R_Finger1" "v_weapon.Bip01_R_Hand" 3.773759 0.133214 0.970577 6.528796 64.496589 7.543392 0 0 0 0 0 0
$definebone "v_weapon.Bip01_R_Finger11" "v_weapon.Bip01_R_Finger1" 1.43346 -0.000001 -0.000001 -1.544634 80.980315 4.699807 0 0 0 0 0 0
$definebone "v_weapon.Bip01_R_Finger12" "v_weapon.Bip01_R_Finger11" 1.019162 0.000003 -0.000001 -0.488504 67.723724 6.373812 0 0 0 0 0 0
$definebone "v_weapon.Bip01_R_ForeTwist" "" -4.697148 -3.206418 -11.190982 -3.190916 -25.253172 146.735919 0 0 0 0 0 0
$definebone "v_weapon.front" "v_weapon.knife" -0.021929 2.029111 -0.137266 0.000057 0 -90.000495 0 0 0 0 0 0
$definebone "v_weapon.blade1" "v_weapon.front" 0 0 0 0 0.000057 0.000401 0 0 0 0 0 0
$definebone "v_weapon.rear" "v_weapon.blade1" 0.021929 -0.669111 0.409449 0 0 89.999983 0 0 0 0 0 0
$definebone "v_weapon.lock" "v_weapon.rear" -0.021934 -6.213634 0.929182 0 0 -89.999983 0 0 0 0 0 0
$definebone "v_weapon.Bip01" "" 3.70641 5.104027 -19.84 1.867273 -132.602332 0.458409 0 0 0 0 0 0
$definebone "v_weapon.Bip01_L_Clavicle" "v_weapon.Bip01" 2.387872 3.540779 18.714386 17.126165 108.383102 25.720585 0 0 0 0 0 0
$definebone "v_weapon.Bip01_L_UpperArm" "v_weapon.Bip01_L_Clavicle" 5.773741 -0.000001 0 20.910653 -16.340693 -12.54871 0 0 0 0 0 0
$definebone "v_weapon.Bip01_R_Clavicle" "v_weapon.Bip01" 3.389387 1.323107 18.969099 8.564789 -70.631526 153.364304 0 0 0 0 0 0
$definebone "v_weapon.Bip01_R_UpperArm" "v_weapon.Bip01_R_Clavicle" 5.77374 -0.000001 0 -52.609659 -46.15236 29.748872 0 0 0 0 0 0

$bonemerge "v_weapon"
$bonemerge "v_weapon.Bip01_R_Forearm"
$bonemerge "v_weapon.Bip01_R_Hand"
$bonemerge "v_weapon.Bip01_R_Finger3"
$bonemerge "v_weapon.Bip01_R_Finger31"
$bonemerge "v_weapon.Bip01_R_Finger32"
$bonemerge "v_weapon.Bip01_R_Finger2"
$bonemerge "v_weapon.Bip01_R_Finger21"
$bonemerge "v_weapon.Bip01_R_Finger22"
$bonemerge "v_weapon.Bip01_R_Finger4"
$bonemerge "v_weapon.Bip01_R_Finger41"
$bonemerge "v_weapon.Bip01_R_Finger42"
$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_ForeTwist"


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

$bonesaveframe "v_weapon" position
$bonesaveframe "v_weapon.knife" position
$bonesaveframe "v_weapon.Bip01_R_Forearm" position
$bonesaveframe "v_weapon.Bip01_L_Forearm" position
$bonesaveframe "v_weapon.Bip01_L_ForeTwist" position
$bonesaveframe "v_weapon.Bip01_R_ForeTwist" position
$bonesaveframe "v_weapon.Bip01" position

$sectionframes 30 35

$sequence "draw" {
	"v_knife_butterfly_anim_anims\draw.smd"
	activity "ACT_VM_DRAW" 1
	{ event 5004 0 "ButterflyKnife.draw01" }
	fadein 0.2
	fadeout 0.4
	fps 23
}

$sequence "draw2" {
	"v_knife_butterfly_anim_anims\draw2.smd"
	activity "ACT_VM_DRAW" 4
	{ event 5004 0 "ButterflyKnife.draw02" }
	fadein 0.2
	fadeout 0.4
	fps 23
}

$sequence "idle1" {
	"v_knife_butterfly_anim_anims\idle1.smd"
	activity "ACT_VM_IDLE" 3
	fadein 0.4
	fadeout 0.4
	fps 30
}

$sequence "idle2" {
	"v_knife_butterfly_anim_anims\idle2.smd"
	activity "ACT_VM_IDLE" 1
	fadein 0.4
	fadeout 0.4
	fps 30
}

$sequence "light_miss1" {
	"v_knife_butterfly_anim_anims\light_miss1.smd"
	activity "ACT_VM_MISSCENTER" 1
	fadein 0.2
	fadeout 0.2
	snap
	fps 30
}

$sequence "light_miss2" {
	"v_knife_butterfly_anim_anims\light_miss2.smd"
	activity "ACT_VM_MISSCENTER" 1
	fadein 0.2
	fadeout 0.2
	snap
	fps 30
}

$sequence "light_hit1" {
	"v_knife_butterfly_anim_anims\light_hit1.smd"
	activity "ACT_VM_HITCENTER" 1
	fadein 0.2
	fadeout 0.2
	snap
	fps 30
}

$sequence "light_hit2" {
	"v_knife_butterfly_anim_anims\light_hit2.smd"
	activity "ACT_VM_HITCENTER" 1
	fadein 0.2
	fadeout 0.2
	snap
	fps 30
}

$sequence "light_backstab" {
	"v_knife_butterfly_anim_anims\light_backstab.smd"
	activity "ACT_VM_SWINGHIT" 1
	{ event 5004 16 "ButterflyKnife.backstab01" }
	fadein 0.2
	fadeout 0.2
	snap
	fps 30
}

$sequence "light_backstab2" {
	"v_knife_butterfly_anim_anims\light_backstab2.smd"
	activity "ACT_VM_SWINGHIT" 1
	{ event 5004 16 "ButterflyKnife.backstab01" }
	fadein 0.2
	fadeout 0.2
	snap
	fps 30
}

$sequence "heavy_miss1" {
	"v_knife_butterfly_anim_anims\heavy_miss1.smd"
	activity "ACT_VM_MISSCENTER2" 1
	fadein 0.2
	fadeout 0.2
	snap
	fps 30
}

$sequence "heavy_hit1" {
	"v_knife_butterfly_anim_anims\heavy_hit1.smd"
	activity "ACT_VM_HITCENTER2" 1
	fadein 0.2
	fadeout 0.2
	snap
	fps 30
}

$sequence "heavy_backstab" {
	"v_knife_butterfly_anim_anims\heavy_backstab.smd"
	activity "ACT_VM_SWINGHARD" 1
	{ event 5004 12 "ButterflyKnife.backstab02" }
	fadein 0.2
	fadeout 0.2
	snap
	fps 30
}

$sequence "lookat01" {
	"v_knife_butterfly_anim_anims\lookat01.smd"
	activity "ACT_VM_IDLE_LOWERED" 1
	{ event 5004 0 "ButterflyKnife.look01_a" }
	{ event AE_BEGIN_TAUNT_LOOP 81 "0.252033" }
	{ event 5004 82 "ButterflyKnife.look01_b" }
	fadein 0.3
	fadeout 0.3
	fps 30
}

$sequence "lookat02" {
	"v_knife_butterfly_anim_anims\lookat02.smd"
	activity "ACT_VM_IDLE_LOWERED" 1
	{ event 5004 0 "ButterflyKnife.look02_a" }
	{ event AE_BEGIN_TAUNT_LOOP 93 "0.31851" }
	{ event 5004 94 "ButterflyKnife.look02_b" }
	fadein 0.3
	fadeout 0.3
	fps 30
}

$sequence "lookat03" {
	"v_knife_butterfly_anim_anims\lookat03.smd"
	activity "ACT_VM_IDLE_LOWERED" 1
	{ event 5004 0 "ButterflyKnife.look03_a" }
	{ event AE_BEGIN_TAUNT_LOOP 103 "0.365517" }
	{ event 5004 106 "ButterflyKnife.look03_b" }
	fadein 0.3
	fadeout 0.3
	fps 30
}

$KeyValues
{
	qc_path 
	{
		"value" "models\weapons\v_models\knife_butterfly\v_knife_butterfly_anim.qc"
	}
}
