
$modelname "weapons\v_knife_karam_anim.mdl"

$surfaceprop "default"

$contents "solid"

$illumposition 2.221 -13.773 -8.886

$cdmaterials "models\weapons\v_models\knife_karam\"

$cbox 0 0 0 0 0 0

$bbox -1.027 -12.704 -20.364 28.573 17.146 2.593

$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 0 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.295581 -0.000001 0 -30.00442 -41.000058 20.35679 0 0 0 0 0 0
$definebone "v_weapon.Bip01_R_Finger4" "v_weapon.Bip01_R_Hand" 3.323331 0.233747 -1.479074 -6.568272 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.146002 8.059976 3.476765 0 0 0 0 0 0
$definebone "v_weapon.Bip01_R_Finger42" "v_weapon.Bip01_R_Finger41" 0.682895 0 -0.000001 -2.589944 83.632416 3.908435 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.371952 27.281389 -0.535713 0 0 0 0 0 0
$definebone "v_weapon.Bip01_L_Finger02" "v_weapon.Bip01_L_Finger01" 1.188943 0 -0.000001 0.118364 12.298028 -0.650537 0 0 0 0 0 0
$definebone "v_weapon.Bip01_L_Finger1" "v_weapon.Bip01_L_Hand" 3.773755 0.133215 -0.970574 10.174411 2.881117 1.87735 0 0 0 0 0 0
$definebone "v_weapon.Bip01_L_Finger11" "v_weapon.Bip01_L_Finger1" 1.433458 -0.000004 0 0.755559 25.921524 -2.02037 0 0 0 0 0 0
$definebone "v_weapon.Bip01_L_Finger12" "v_weapon.Bip01_L_Finger11" 1.01916 0.000002 0 0.755622 25.92175 -2.020373 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.915403 0 0 0 0 0 0
$definebone "v_weapon.Bip01_L_Finger21" "v_weapon.Bip01_L_Finger2" 1.774881 0.000002 0 0.513086 26.070093 -1.293572 0 0 0 0 0 0
$definebone "v_weapon.Bip01_L_Finger22" "v_weapon.Bip01_L_Finger21" 1.008844 0 0 0.513029 26.070219 -1.293516 0 0 0 0 0 0
$definebone "v_weapon.Bip01_L_Finger3" "v_weapon.Bip01_L_Hand" 3.632765 0.059053 0.757494 -10.648823 26.329121 -16.119255 0 0 0 0 0 0
$definebone "v_weapon.Bip01_L_Finger31" "v_weapon.Bip01_L_Finger3" 1.500135 -0.000001 0 0.377868 24.372589 -0.981886 0 0 0 0 0 0
$definebone "v_weapon.Bip01_L_Finger32" "v_weapon.Bip01_L_Finger31" 0.905664 0 0 0.377871 24.372709 -0.981883 0 0 0 0 0 0
$definebone "v_weapon.Bip01_L_Finger4" "v_weapon.Bip01_L_Hand" 3.323329 0.23374 1.479076 -25.743113 35.621182 -22.868698 0 0 0 0 0 0
$definebone "v_weapon.Bip01_L_Finger41" "v_weapon.Bip01_L_Finger4" 0.963099 0.000004 -0.000001 0.52351 31.481056 -1.033162 0 0 0 0 0 0
$definebone "v_weapon.Bip01_L_Finger42" "v_weapon.Bip01_L_Finger41" 0.682896 0.000001 -0.000001 0.523396 31.481169 -1.033102 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.414116 -12.175177 49.26749 -115.717353 0 0 0 0 0 0
$definebone "v_weapon.Bip01_R_Finger01" "v_weapon.Bip01_R_Finger0" 1.263878 0 0 -0.249235 14.96503 0.602746 0 0 0 0 0 0
$definebone "v_weapon.Bip01_R_Finger02" "v_weapon.Bip01_R_Finger01" 1.188945 0.000001 0.000001 -0.263043 50.667799 0.259667 0 0 0 0 0 0
$definebone "v_weapon.Bip01_R_Finger1" "v_weapon.Bip01_R_Hand" 3.773758 0.133214 0.970576 6.528796 64.496589 7.543395 0 0 0 0 0 0
$definebone "v_weapon.Bip01_R_Finger11" "v_weapon.Bip01_R_Finger1" 1.43346 -0.000001 0 -1.544639 80.980315 4.699805 0 0 0 0 0 0
$definebone "v_weapon.Bip01_R_Finger12" "v_weapon.Bip01_R_Finger11" 1.019162 0.000004 -0.000001 -0.488506 67.723724 6.373805 0 0 0 0 0 0
$definebone "v_weapon.Bip01_R_Finger2" "v_weapon.Bip01_R_Hand" 3.799517 0.014954 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.283989 85.980287 1.117781 0 0 0 0 0 0
$definebone "v_weapon.Bip01_R_Finger22" "v_weapon.Bip01_R_Finger21" 1.008848 0.000001 0 -2.087914 24.513541 5.856717 0 0 0 0 0 0
$definebone "v_weapon.Bip01_R_Finger3" "v_weapon.Bip01_R_Hand" 3.632765 0.059046 -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 -0.000001 -1.84103 49.026514 6.756488 0 0 0 0 0 0
$definebone "v_weapon.Bip01_R_Finger32" "v_weapon.Bip01_R_Finger31" 0.905664 -0.000002 0.000003 -2.986602 58.993553 6.335651 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

$bonemerge "v_weapon"
$bonemerge "v_weapon.Bip01_R_Forearm"
$bonemerge "v_weapon.Bip01_R_Hand"
$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_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_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

$sectionframes 30 30

$sequence "draw" {
	"v_knife_karam_anim_anims\draw.smd"
	activity "ACT_VM_DRAW" 1
	{ event 5004 0 "Weapon_Knife.Deploy" }
	fadein 0.2
	fadeout 0.4
	fps 30
}

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

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

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

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

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

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

$sequence "light_backstab" {
	"v_knife_karam_anim_anims\light_backstab.smd"
	activity "ACT_VM_SWINGHIT" 1
	fadein 0.2
	fadeout 0.2
	snap
	fps 30
}

$sequence "light_backstab2" {
	"v_knife_karam_anim_anims\light_backstab2.smd"
	activity "ACT_VM_SWINGHIT" 1
	fadein 0.2
	fadeout 0.2
	snap
	fps 30
}

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

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

$sequence "heavy_backstab" {
	"v_knife_karam_anim_anims\heavy_backstab.smd"
	activity "ACT_VM_SWINGHARD" 1
	fadein 0.2
	fadeout 0.2
	snap
	fps 30
}

$sequence "lookat01" {
	"v_knife_karam_anim_anims\lookat01.smd"
	{ event AE_CL_SET_STATTRAK_GLOW 0 "1" }
	{ event AE_CL_SET_STATTRAK_GLOW 104 "0" }
	{ event AE_BEGIN_TAUNT_LOOP 103 "0.3655172" }
	{ event 5004 2 "Weapon.WeaponMove1" }
	{ event 5004 11 "Weapon.WeaponMove2" }
	{ event 5004 109 "Weapon.WeaponMove3" }
	fadein 0.3
	fadeout 0.3
	fps 30
}
