/***********************************************************************

monster_zombie_boney.def

***********************************************************************/

export james {
	options	-prefix BERNIE_ -scale 1.1 -keep Lknee Rknee -align ALL -keep Neck SPINNER -parent SPINNER Body2 -parent Waist SPINNER  -sourcedir models/monsters/zombie/boney/cycles -destdir models/md5/monsters/zombies/boney
	mesh	boney_mesh.mb -dest boney
	anim	af_pose.mb -range 1 1
	anim	stand2.mb -dest stand
	anim	sight1.mb 
	anim	walk1.mb -rotate 90
	anim	swings.mb -rotate 90 -range 381 416 -dest swing1
	anim	swings.mb -rotate 90 -range 417 470 -dest swing2
	anim	swings.mb -rotate 90 -range 477 512 -dest swing3
	anim	swings.mb -rotate 90 -range 642 705 -dest swing4
	anim	swings2.mb -dest swing5
	anim	pain_head.mb -range 287 318 -dest head_pain1
	anim	pain_head.mb -range 124 157 -dest head_pain2
	anim	pain_head.mb -range 159 186 -dest head_pain3
	anim	pain_chest.mb -range 47 73 -dest chest_pain1
	anim	pain_chest.mb -range 100 121 -dest chest_pain2
	anim	pain_leftarm.mb -range 64 100 -dest leftarm_pain1
	anim	pain_leftarm.mb -range 202 233 -dest leftarm_pain2
	anim	pain_rightarm.mb -range 36 65 -dest rightarm_pain1
	anim	pain_rightarm.mb -range 159 186 -dest rightarm_pain2
	//anim	spit_attack1_boney.mb
}	

model monster_zombie_boney {
	mesh							models/md5/monsters/zombies/boney/boney.md5mesh
	channel torso					( *Waist )
	channel legs					( *origin -*Waist SPINNER )

	anim af_pose					models/md5/monsters/zombies/boney/af_pose.md5anim
	anim ik_pose					models/md5/monsters/zombies/boney/af_pose.md5anim

	anim stand						models/md5/monsters/zombies/boney/stand.md5anim
	anim sight						models/md5/monsters/zombies/boney/sight1.md5anim {
		frame 1						sound_voice snd_sight
	}
	anim idle						models/md5/monsters/zombies/boney/stand.md5anim
	anim walk						models/md5/monsters/zombies/boney/walk1.md5anim {
		frame 1							sound_body snd_footdrag	
		frame 13						sound_body2 snd_footstep
		frame 19						sound_body snd_footdrag	
		frame 33						sound_body2 snd_footstep
		frame 37						sound_body snd_footdrag	
		frame 53						sound_body2 snd_footstep
		frame 58						sound_body snd_footdrag	
		frame 72						sound_body2 snd_footstep
		frame 77						sound_body snd_footdrag	
		frame 92						sound_body2 snd_footstep
	}
	
	anim melee_attack1				models/md5/monsters/zombies/boney/swing1.md5anim {
		frame 1							sound_voice snd_melee_attack
		frame 11						melee melee_zombie_maint_Right
	}
	anim melee_attack2				models/md5/monsters/zombies/boney/swing2.md5anim {
		frame 1							sound_voice snd_melee_attack
		frame 26						melee melee_zombie_maint_Right
	}
	anim melee_attack3				models/md5/monsters/zombies/boney/swing3.md5anim {
		frame 1							sound_voice snd_melee_attack
		frame 14						melee melee_zombie_maint_Left
	}
	anim melee_attack4				models/md5/monsters/zombies/boney/swing4.md5anim {
		frame 1							sound_voice snd_melee_attack
		frame 11						melee melee_zombie_maint_Right
		frame 36						melee melee_zombie_maint_Left
	}
	anim melee_attack5				models/md5/monsters/zombies/boney/swing5.md5anim {
		frame 1							sound_voice snd_melee_attack
		frame 22						melee melee_zombie_maint_Right
	}
	//anim range_attack1				models/md5/monsters/zombies/boney/spit_attack1_boney.md5anim {
	//	frame 10						create_missile Jaw2
	//	frame 24						launch_missile Jaw2
	//}
	
	anim pain						models/md5/monsters/zombies/boney/head_pain1.md5anim {
		frame 1						sound_voice2 snd_pain
	}
	anim pain_head1					models/md5/monsters/zombies/boney/head_pain1.md5anim {
		frame 1						sound_voice2 snd_pain
	}
	anim pain_head2					models/md5/monsters/zombies/boney/head_pain2.md5anim {
		frame 1						sound_voice2 snd_pain
	}
	anim pain_head3					models/md5/monsters/zombies/boney/head_pain3.md5anim {
		frame 1						sound_voice2 snd_pain
	}
	anim pain_chest1				models/md5/monsters/zombies/boney/chest_pain1.md5anim {
		frame 1						sound_voice2 snd_pain
	}
	anim pain_chest2				models/md5/monsters/zombies/boney/chest_pain2.md5anim {
		frame 1						sound_voice2 snd_pain
	}
	anim pain_left_arm1				models/md5/monsters/zombies/boney/leftarm_pain1.md5anim {
		frame 1						sound_voice2 snd_pain
	}
	anim pain_left_arm2				models/md5/monsters/zombies/boney/leftarm_pain2.md5anim {
		frame 1						sound_voice2 snd_pain
	}
	anim pain_right_arm1			models/md5/monsters/zombies/boney/rightarm_pain1.md5anim {
		frame 1						sound_voice2 snd_pain
	}
	anim pain_right_arm2			models/md5/monsters/zombies/boney/rightarm_pain2.md5anim {
		frame 1						sound_voice2 snd_pain
	}
}

entityDef monster_zombie_boney {
	"inherit"						"zombie_default"
	"scriptobject"					"monster_zombie"
	"ragdoll"						"monster_zombie_bernie"
	"model"							"monster_zombie_boney"
	"size"							"48 48 68"
	"use_aas"						"aas48"
	"team"							"1"
	"rank"							"0"
	"health"						"150"
	"melee_range"					"32"
	"anim"							"idle"
	//"def_projectile"				"projectile_berniefire"
	"attack_cone"					"70"
	"attack_accuracy"				"0"
	"mass"							"200"

	"skin"							"skins/monsters/zombies/boney.skin"
	"skin_dropGib"					"skins/monsters/zombies/boneygib.skin"
	
	"dropGibItem9Joint"				"Head"

	"ik_numLegs"					"2"
	"ik_footSize"					"4"
	"ik_waist"						"Body2"
	"ik_hip1"						"Lupleg"
	"ik_hip2"						"Rupleg"
	"ik_knee1"						"Lloleg"
	"ik_knee2"						"Rloleg"
	"ik_ankle1"						"Lankle_r"
	"ik_ankle2"						"Rankle_r"
	"ik_dir1"						"Lknee"
	"ik_dir2"						"Rknee"
	"ik_foot1"						"Lball_r"
	"ik_foot2"						"Rball_r"

	"damage_zone head"				"*Neck"
	"damage_zone chest"				"*Waist -*Neck"
	"damage_zone left_arm"			"*Luparm"
	"damage_zone right_arm"			"*Ruparm"
	"damage_zone legs"				"*Hips origin Body2"
	"damage_scale head"				"2"

	"snd_sight"						"monster_zombie_boney_sight"
	"snd_footstep"					"monster_zombie_maint_footstep"
	"snd_melee_attack"				"monster_zombie_boney_attackmelee"
	"snd_chatter"					"monster_zombie_boney_chatter"
	"snd_chatter_combat"			"monster_zombie_boney_chatter_combat"
	"snd_pain"						"monster_zombie_boney_pain"
	"snd_death"						"monster_zombie_boney_die"
	"snd_thud"						"monster_zombie_maint_thud"
	"snd_swipe"						"monster_zombie_maint_swipe"
	"snd_footdrag"					"bernie_footdrag"
}
