entityDef monster_alien_grunt
{
	"spawnclass"	"ncMonster"
	"model"			"models/agrunt.mdl"
	"netname"		"Alien Grunt"
	"health"		"skill:agrunt_health"
	"mins"			"-16 -16 0"
	"maxs"			"16 16 72"
	"eye_height"	"64"
	"team"			"2"
	"propdata"		"actor_alien"
	"speed_walk"	"46"
	"speed_run"		"292"

	"def_attack_melee"		"melee_agrunt_punch"
	"attack_melee_range"	"96"
	"attack_ranged_range"	"512"

	"snd_alert"				"AlienGrunt.Alert
	"snd_idle"				"AlienGrunt.Idle"
	"snd_pain"				"AlienGrunt.Pain"
	"snd_death"				"AlienGrunt.Pain"
	"snd_melee_attack"		"AlienGrunt.Attack"
	"snd_melee_attack_hit"	"AlienGrunt.AttackHit"
	"snd_melee_attack_miss"	"AlienGrunt.AttackMiss"

	// animation event callbacks
	events {
		1 "SpawnProjectileDef"	"ranged_agrunt_shot_orange"
		1 "StartSoundDef"		"AlienGrunt.FireGun"

		2 "SpawnProjectileDef"	"ranged_agrunt_shot_red"
		2 "StartSoundDef"		"AlienGrunt.FireGun"

		3 "SpawnProjectileDef"	"ranged_agrunt_shot_orange"
		3 "StartSoundDef"		"AlienGrunt.FireGun"

		4 "SpawnProjectileDef"	"ranged_agrunt_shot_red"
		4 "StartSoundDef"		"AlienGrunt.FireGun"

		5 "SpawnProjectileDef"	"ranged_agrunt_shot_orange"
		5 "StartSoundDef"		"AlienGrunt.FireGun"

		10 "StartSoundDef"		"AlienGrunt.LeftFoot"
		11 "StartSoundDef"		"AlienGrunt.RightFoot"
	}
}

entityDef melee_agrunt_punch
{
	"damage"	"skill:agrunt_dmg_punch"
	"delay"		"0.25f"
}


entityDef ranged_agrunt_shot_red
{
	"spawnclass"			"ncProjectile"
	"model"					"models/hornet.mdl"

	"def_damage"			"damage_hornetDirect"
	"health"				"0"
	"velocity"				"600"
	"fuse"					"10"
	"detonate_on_fuse"		"1"
	"detonate_on_death"		"0"
	"detonate_on_world"		"0"
	"detonate_on_actor"		"1"
	"impact_damage_effect"	"1"
	"impact_gib"			"0"
	"smoke_fly"				"weapon_hornet.red_trail"
}


entityDef ranged_agrunt_shot_orange
{
	"spawnclass"			"ncProjectile"
	"model"					"models/hornet.mdl"

	"def_damage"			"damage_hornetDirect"
	"health"				"0"
	"velocity"				"800"
	"fuse"					"10"
	"detonate_on_fuse"		"1"
	"detonate_on_death"		"0"
	"detonate_on_world"		"0"
	"detonate_on_actor"		"1"
	"impact_damage_effect"	"1"
	"impact_gib"			"0"
	"smoke_fly"				"weapon_hornet.trail"
	"trackEnemy"			"1"
	"trackJitter"			"8 16 16"
	"trackDelay"			"0.1"
}

entityDef damage_hornetDirect
{
	damage "skill:hornet_dmg"
}
