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

monster_zombie_sawyer.def

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

export fred {
	options	-prefix SAW_ -keep gore Lknee Rknee Lbrow2 Lbrow3 Loneck Lfings3 -parent Chainsaw Lhand 

	addoptions -skipmesh morguemesh
	addoptions -skipmesh hipolychain
	addoptions -skipmesh hipolychainsaw
	addoptions -skipmesh hipolystarter
	addoptions -skipmesh hipolycord
	addoptions -align ALL 
	addoptions -sourcedir models/monsters/zombie/sawyer/cycles 
	addoptions -destdir models/md5/monsters/zombies/sawyer

	anim	sawyer_screenshots.mb

model ss_sawyer {
	mesh							models/md5/monsters/zombies/sawyer/sawyer.md5mesh

	channel torso					( *Waist )
	channel legs					( origin Body *Hips -*Waist )
	
	anim idle						models/md5/monsters/zombies/sawyer/idle.md5anim
	anim sawyer_screenshots			models/md5/monsters/zombies/sawyer/sawyer_screenshots.md5anim
}

entityDef ss_sawyer {
	"model"							"ss_sawyer"
	"anim"							"sawyer_screenshots"
	
	"inherit"						"zombie_default"
	"scriptobject"					"monster_zombie_sawyer"
	"size"							"48 48 68"
	"use_aas"						"aas48"
	"team"							"1"
	"rank"							"0"
	"health"						"250"
	"melee_range"					"40"
	"def_projectile"				""
	"attack_cone"					"70"
	"attack_accuracy"				"0"
	"mass"							"200"
	
	"chatter_min"					"2"
	"chatter_max"					"6"
	
	"chatter_combat_min"			"2"
	"chatter_combat_max"			"4"
	
	"smoke_wound_metal"				"bulletricochet.prt"
	"smoke_wound_ricochet"			"bulletricochet.prt"

	"skin"							"skins/monsters/zombies/sawyer.skin"
	"skin_dropGib"					"skins/monsters/zombies/sawyergib.skin"
	
	"dropGibItem9Joint"				"Head"

	"ragdoll"						"monster_zombie_sawyer"

	"burnaway"						"0.50"

	"ik_numLegs"					"2"
	"ik_footSize"					"4"
	"ik_waist"						"Body"
	"ik_hip1"						"Lupleg"
	"ik_hip2"						"Rupleg"
	"ik_knee1"						"Lloleg"
	"ik_knee2"						"Rloleg"
	"ik_ankle1"						"Lankle"
	"ik_ankle2"						"Rankle"
	"ik_dir1"						"Lknee"
	"ik_dir2"						"Rknee"
	"ik_foot1"						"Lball"
	"ik_foot2"						"Rball"
			
	"damage_zone head"				"*Neck"
	"damage_zone chest"				"*Waist -*Neck"
	"damage_zone left_arm"			"*Luparm"
	"damage_zone right_arm"			"*Ruparm"
	"damage_zone legs"				"*Hips origin Body"

	"damage_scale head"				"2"
	"smokeParticleSystem0"			"csmoke"
	"smokeParticleSystem1"			"burstysquirt.prt-gore"

	"channel torso"					"*Waist"
	"channel legs"					"*origin -*Waist"

	"def_dropDeathItem"				"moveable_item_chainsaw"
	"dropDeathItemJoint"			"csmoke"
	"skin_dropDeath"				"skins/monsters/zombies/sawyernocs.skin"
	"dropDeathItemRotation"			"-90 0 0"

	"snd_sight"						"bernie_sight"
	"snd_footstep"					"monster_zombie_commando_footstep"
	"snd_melee_attack_1"			"bernie_attack"
	"snd_melee_attack_2"			"bernie_attack"
	"snd_melee_attack_3"			"bernie_attack"
	"snd_chatter"					"bernie_chatter"
	"snd_chatter_combat"			"bernie_chatter_combat"
	"snd_pain"						"bernie_pain"
	"snd_thud"						"monster_zombie_maint_thud"
	"snd_swipe"						"monster_zombie_maint_swipe"
	"snd_cspull"					"monster_zombie_chainsaw_pull"
	"snd_csrelease"					"monster_zombie_chainsaw_release"
	"snd_csattack_1"				"monster_zombie_chainsaw_attack1"
	"snd_csattack_2"				"monster_zombie_chainsaw_attack2"
	"snd_csattack_3"				"monster_zombie_chainsaw_attack3"
	"snd_csidle"					"monster_zombie_chainsaw_idle"
	"snd_death"						"bernie_death"

}

entityDef melee_zombie_chainsaw {
	"damage"			"1"
	"kickDir"			"-0.25 0 0"

	"mtr_blob"			"genericDamage"
	"blob_time"			"800"
	"blob_size"			"400"
	"blob_offset_x"		"400"

	"knockback"			"10"
	"push"				"20000"

	"smoke_wound_flesh"	"bloodwound.smoke"
	"mtr_wound_flesh"	"textures/decals/hurt02"

	"kick_time"			"100"
	"kick_amplitude"	"1"

	"dv_time"			"10"
	
	"snd_hit"			"player_chainsaw_hit_flesh"		// TEMP
}
