
$modelname "weapons\v_knife_push_anim.mdl"

$surfaceprop "default"

$contents "solid"

$illumposition 3.231 -9.775 -5.854

$cdmaterials "models\weapons\v_models\knife_push\"

$cbox 0 0 0 0 0 0

$bbox 0 -10.441 -24.167 19.551 16.904 12.458

$definebone "cam_driver" "" 0 0 0 0 0 0 0 0 0 0 0 0
$definebone "v_weapon" "" 0 0 0 0 0 89.999983 0 0 0 0 0 0
$definebone "v_weapon.knife_L" "v_weapon" 0 0 0 0 0 89.999983 0 0 0 0 0 0
$definebone "v_weapon.knife_R" "v_weapon" 0 0 0 0 0 89.999983 0 0 0 0 0 0
$definebone "v_weapon.Bip01_L_Forearm" "v_weapon" 11.576878 0 0 0.000002 -0.041999 0.000002 0 0 0 0 0 0
$definebone "v_weapon.Bip01_L_Hand" "v_weapon.Bip01_L_Forearm" 10.295582 0 0 -2.498782 -1.242174 -89.582242 0 0 0 0 0 0
$definebone "v_weapon.Bip01_L_Finger0" "v_weapon.Bip01_L_Hand" 1.231169 0.348995 -1.249108 21.075505 14.521728 80.94908 0 0 0 0 0 0
$definebone "v_weapon.Bip01_L_Finger01" "v_weapon.Bip01_L_Finger0" 1.611109 0.000002 0 0 -0.488153 -0.000002 0 0 0 0 0 0
$definebone "v_weapon.Bip01_L_Finger02" "v_weapon.Bip01_L_Finger01" 1.188942 -0.000002 0 0 -0.488154 -0.000001 0 0 0 0 0 0
$definebone "v_weapon.Bip01_L_Finger1" "v_weapon.Bip01_L_Hand" 4.068594 0.143192 -0.892418 8.478057 0.343377 0.527635 0 0 0 0 0 0
$definebone "v_weapon.Bip01_L_Finger11" "v_weapon.Bip01_L_Finger1" 1.433458 0.000004 0 -0.000003 1.448383 -0.000001 0 0 0 0 0 0
$definebone "v_weapon.Bip01_L_Finger12" "v_weapon.Bip01_L_Finger11" 1.019157 -0.000004 0 -0.000001 1.448381 -0.000002 0 0 0 0 0 0
$definebone "v_weapon.Bip01_L_Finger2" "v_weapon.Bip01_L_Hand" 3.939283 0.020626 0.014987 -1.985355 1.299989 -0.498647 0 0 0 0 0 0
$definebone "v_weapon.Bip01_L_Finger21" "v_weapon.Bip01_L_Finger2" 1.691286 -0.000008 0 0.000002 1.448385 -0.000002 0 0 0 0 0 0
$definebone "v_weapon.Bip01_L_Finger22" "v_weapon.Bip01_L_Finger21" 1.039843 0 0 0.000002 1.448388 -0.000002 0 0 0 0 0 0
$definebone "v_weapon.Bip01_L_Finger3" "v_weapon.Bip01_L_Hand" 3.582006 0.056831 0.735422 -9.344708 2.459648 -0.939022 0 0 0 0 0 0
$definebone "v_weapon.Bip01_L_Finger31" "v_weapon.Bip01_L_Finger3" 1.583916 0.000004 0 0.000004 1.44838 -0.000003 0 0 0 0 0 0
$definebone "v_weapon.Bip01_L_Finger32" "v_weapon.Bip01_L_Finger31" 1.006699 0.000011 0 0.000003 1.448378 -0.000003 0 0 0 0 0 0
$definebone "v_weapon.Bip01_L_Finger4" "v_weapon.Bip01_L_Hand" 3.126524 0.227894 1.440078 -17.330425 1.7603 -1.844697 0 0 0 0 0 0
$definebone "v_weapon.Bip01_L_Finger41" "v_weapon.Bip01_L_Finger4" 1.246399 0.000004 0 0.000009 1.448383 -0.000001 0 0 0 0 0 0
$definebone "v_weapon.Bip01_L_Finger42" "v_weapon.Bip01_L_Finger41" 0.682892 -0.000004 0 0.000009 1.44838 -0.000001 0 0 0 0 0 0
$definebone "v_weapon.Bip01_L_ForeTwist" "v_weapon" 11.576878 0 0 0.000002 -0.041999 0.20873 0 0 0 0 0 0
$definebone "v_weapon.Bip01_R_Forearm" "v_weapon" 11.576874 0 0 0 -0.041999 -0.000001 0 0 0 0 0 0
$definebone "v_weapon.Bip01_R_Hand" "v_weapon.Bip01_R_Forearm" 10.295582 0 0 2.498785 -1.242173 89.582296 0 0 0 0 0 0
$definebone "v_weapon.Bip01_R_Finger0" "v_weapon.Bip01_R_Hand" 1.231165 0.348995 1.249109 -21.075505 14.521735 -80.94908 0 0 0 0 0 0
$definebone "v_weapon.Bip01_R_Finger01" "v_weapon.Bip01_R_Finger0" 1.611107 0 0 -0.000002 -0.488156 0 0 0 0 0 0 0
$definebone "v_weapon.Bip01_R_Finger02" "v_weapon.Bip01_R_Finger01" 1.188942 0.000001 0 -0.000003 -0.488154 0 0 0 0 0 0 0
$definebone "v_weapon.Bip01_R_Finger1" "v_weapon.Bip01_R_Hand" 4.068594 0.143192 0.892418 -8.478057 0.343375 -0.527635 0 0 0 0 0 0
$definebone "v_weapon.Bip01_R_Finger11" "v_weapon.Bip01_R_Finger1" 1.43346 0 0 0.000003 1.448388 0 0 0 0 0 0 0
$definebone "v_weapon.Bip01_R_Finger12" "v_weapon.Bip01_R_Finger11" 1.019159 0 0 0.000001 1.448388 0 0 0 0 0 0 0
$definebone "v_weapon.Bip01_R_Finger2" "v_weapon.Bip01_R_Hand" 3.939283 0.02063 -0.014986 1.985355 1.299985 0.498646 0 0 0 0 0 0
$definebone "v_weapon.Bip01_R_Finger21" "v_weapon.Bip01_R_Finger2" 1.691282 0.000004 0 -0.000001 1.448385 0.000001 0 0 0 0 0 0
$definebone "v_weapon.Bip01_R_Finger22" "v_weapon.Bip01_R_Finger21" 1.039843 0 0 -0.000001 1.448381 0.000001 0 0 0 0 0 0
$definebone "v_weapon.Bip01_R_Finger3" "v_weapon.Bip01_R_Hand" 3.582003 0.056835 -0.735422 9.344711 2.459651 0.939022 0 0 0 0 0 0
$definebone "v_weapon.Bip01_R_Finger31" "v_weapon.Bip01_R_Finger3" 1.583916 0 0 -0.000002 1.448378 0.000002 0 0 0 0 0 0
$definebone "v_weapon.Bip01_R_Finger32" "v_weapon.Bip01_R_Finger31" 1.006701 0.000008 0 -0.000001 1.448382 0.000001 0 0 0 0 0 0
$definebone "v_weapon.Bip01_R_Finger4" "v_weapon.Bip01_R_Hand" 3.126522 0.227894 -1.440079 17.33042 1.760296 1.844696 0 0 0 0 0 0
$definebone "v_weapon.Bip01_R_Finger41" "v_weapon.Bip01_R_Finger4" 1.246393 0 -0.000001 -0.000005 1.448378 0.000002 0 0 0 0 0 0
$definebone "v_weapon.Bip01_R_Finger42" "v_weapon.Bip01_R_Finger41" 0.682894 0.000011 0 -0.000007 1.44838 0.000003 0 0 0 0 0 0
$definebone "v_weapon.Bip01_R_ForeTwist" "v_weapon" 11.576874 0 0 0 -0.041999 -0.20873 0 0 0 0 0 0
$definebone "v_weapon.v_weapon" "" 3.431 2.822 -12.536 0 0 89.99999 0 0 0 0 0 0
$definebone "v_weapon.Bip01_L_UpperArm" "v_weapon.v_weapon" 4.279898 7.453399 7.338377 -0.820063 -48.675521 -46.728914 0 0 0 0 0 0
$definebone "v_weapon.Bip01_R_UpperArm" "v_weapon.v_weapon" -10.441244 12.457744 9.343679 24.437364 -77.535106 -106.068099 0 0 0 0 0 0
$definebone "v_weapon.Bip01_Prop1" "v_weapon.v_weapon" 0.021621 -7.407442 13.693413 -33.782994 120.329602 -48.418662 0 0 0 0 0 0

$bonemerge "v_weapon"
$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_Forearm"
$bonemerge "v_weapon.Bip01_R_Hand"
$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"
$bonemerge "v_weapon.v_weapon"
$bonemerge "v_weapon.Bip01_Prop1"


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

$bonesaveframe "cam_driver" position
$bonesaveframe "v_weapon" position
$bonesaveframe "v_weapon.knife_L" position
$bonesaveframe "v_weapon.knife_R" position
$bonesaveframe "v_weapon.Bip01_L_Forearm" position
$bonesaveframe "v_weapon.Bip01_L_ForeTwist" position
$bonesaveframe "v_weapon.Bip01_R_Forearm" position
$bonesaveframe "v_weapon.Bip01_R_ForeTwist" position
$bonesaveframe "v_weapon.v_weapon" position
$bonesaveframe "v_weapon.Bip01_L_UpperArm" position
$bonesaveframe "v_weapon.Bip01_R_UpperArm" position
$bonesaveframe "v_weapon.Bip01_Prop1" position

$sectionframes 30 30

$sequence "draw" {
	"v_knife_push_anim_anims\draw.smd"
	activity "ACT_VM_DRAW" 2
	{ event 5004 0 "KnifePush.Draw" }
	fadein 0.1
	fadeout 0.8
	fps 30
}

$sequence "idle1" {
	"v_knife_push_anim_anims\idle1.smd"
	activity "ACT_VM_IDLE" 40
	fadein 0.25
	fadeout 0.85
	fps 30
	loop
}

$sequence "light_miss1" {
	"v_knife_push_anim_anims\light_miss1.smd"
	activity "ACT_VM_MISSCENTER" 1
	fadein 0.07
	fadeout 0.9
	fps 30
}

$sequence "light_miss2" {
	"v_knife_push_anim_anims\light_miss2.smd"
	activity "ACT_VM_MISSCENTER" 1
	fadein 0.07
	fadeout 0.9
	fps 30
}

$sequence "light_miss3" {
	"v_knife_push_anim_anims\light_miss3.smd"
	activity "ACT_VM_MISSCENTER" 1
	fadein 0.07
	fadeout 0.9
	fps 30
}

$sequence "light_miss4" {
	"v_knife_push_anim_anims\light_miss4.smd"
	activity "ACT_VM_MISSCENTER" 1
	fadein 0.07
	fadeout 0.9
	fps 30
}

$sequence "light_miss5" {
	"v_knife_push_anim_anims\light_miss5.smd"
	activity "ACT_VM_MISSCENTER" 1
	fadein 0.02
	fadeout 0.9
	fps 30
}

$sequence "light_hit1" {
	"v_knife_push_anim_anims\light_hit1.smd"
	activity "ACT_VM_HITCENTER" 1
	fadein 0.05
	fadeout 0.9
	fps 30
}

$sequence "light_hit2" {
	"v_knife_push_anim_anims\light_hit2.smd"
	activity "ACT_VM_HITCENTER" 1
	fadein 0.05
	fadeout 0.9
	fps 30
}

$sequence "light_backstab" {
	"v_knife_push_anim_anims\light_backstab.smd"
	activity "ACT_VM_SWINGHIT" 1
	fadein 0.05
	fadeout 0.9
	fps 30
}

$sequence "light_backstab2" {
	"v_knife_push_anim_anims\light_backstab2.smd"
	activity "ACT_VM_SWINGHIT" 1
	fadein 0.05
	fadeout 0.9
	fps 30
}

$sequence "heavy_miss2" {
	"v_knife_push_anim_anims\heavy_miss2.smd"
	activity "ACT_VM_MISSCENTER2" 1
	{ event 5004 0 "KnifePush.Attack1Heavy" }
	fadein 0.025
	fadeout 0.75
	fps 35
}

$sequence "heavy_miss1" {
	"v_knife_push_anim_anims\heavy_miss1.smd"
	activity "ACT_VM_MISSCENTER2" 1
	{ event 5004 0 "KnifePush.Attack1Heavy" }
	fadein 0.025
	fadeout 0.75
	fps 35
}

$sequence "heavy_hit1" {
	"v_knife_push_anim_anims\heavy_hit1.smd"
	activity "ACT_VM_HITCENTER2" 1
	{ event 5004 0 "KnifePush.Attack1Heavy" }
	fadein 0.025
	fadeout 0.75
	fps 35
}

$sequence "heavy_backstab" {
	"v_knife_push_anim_anims\heavy_backstab.smd"
	activity "ACT_VM_SWINGHARD" 1
	{ event 5004 0 "KnifePush.Attack1Heavy" }
	fadein 0.025
	fadeout 0.75
	fps 35
}

$sequence "lookat01" {
	"v_knife_push_anim_anims\lookat01.smd"
	activity "ACT_VM_IDLE_LOWERED" 1
	{ event 5004 0 "KnifePush.LookAtStart" }
	{ event 5004 150 "KnifePush.LookAtEnd" }
	fadein 0.25
	fadeout 0.8
	fps 35
}

$KeyValues
{
	qc_path 
	{
		"value" "models\weapons\v_models\knife_push\v_knife_push_anim.qc"
	}
}
