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

monster_zsec_machinegun.def

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

/****
export machinegun security guy
****/

export james {

	options  -prefix ZOMBIE_ -keep Rhand1 -keep Lknee Rknee eject barrel flash Body2 headcontrol neckcontrol loneckcontrol SPINNER -parent headcontrol neckcontrol -parent neckcontrol loneckcontrol -parent loneckcontrol Shoulders -parent rshldrpad Shoulders -parent lshldrpad Shoulders -parent machinegun Rhand1 -parent Body2 Body -parent Hips Body2 -parent SPINNER Body2 -parent Waist SPINNER  -rename mgeject eject -rename mgbarrel barrel -rename mgflash flash -parent eject machinegun -parent flash machinegun -parent barrel machinegun

	addoptions -keepmesh securitybodymesh
	addoptions -keepmesh sec_rshldrmesh
	addoptions -keepmesh sec_lshldrmesh
	addoptions -keepmesh mgflash1
	addoptions -keepmesh mgflash2
	addoptions -keepmesh mgflash3
	addoptions -keepmesh mgflash4
	addoptions -keepmesh w_machinegunmesh
	addoptions -keepmesh skeletonmesh

	mesh	models/monsters/zombie/cycles/zombie_mesh.mb -rotate 90 -dest models/md5/monsters/zombies/zsec_machinegun/zsecmachinegun

	anim	models/monsters/zombie/cycles/idles/machinegun_stand.mb -rotate 90 -dest models/md5/monsters/zombies/zsec_machinegun/machinegun_stand
	anim	models/monsters/zombie/cycles/idles/machinegun_sight.mb -rotate 90 -dest models/md5/monsters/zombies/zsec_machinegun/machinegun_sight
	anim	models/monsters/zombie/cycles/pains/machinegun_chest_pain.mb -rotate 90 -dest models/md5/monsters/zombies/zsec_machinegun/machinegun_chest_pain
	anim	models/monsters/zombie/cycles/pains/machinegun_head_pain.mb -rotate 90 -dest models/md5/monsters/zombies/zsec_machinegun/machinegun_head_pain
	anim	models/monsters/zombie/cycles/pains/machinegun_left_pain.mb -rotate 90 -dest models/md5/monsters/zombies/zsec_machinegun/machinegun_left_pain
	anim	models/monsters/zombie/cycles/pains/machinegun_right_pain.mb -rotate 90 -dest models/md5/monsters/zombies/zsec_machinegun/machinegun_right_pain
	anim	models/monsters/zombie/cycles/runs/machinegun_run.mb -rotate 90 -dest models/md5/monsters/zombies/zsec_machinegun/machinegun_run
	anim	models/monsters/zombie/cycles/walks/machinegun_step_left.mb -rotate 90 -dest models/md5/monsters/zombies/zsec_machinegun/machinegun_step_left
	anim	models/monsters/zombie/cycles/walks/machinegun_step_right.mb -rotate 90 -dest models/md5/monsters/zombies/zsec_machinegun/machinegun_step_right
	anim	models/monsters/zombie/cycles/walks/machinegun_walk.mb -rotate 90 -dest models/md5/monsters/zombies/zsec_machinegun/machinegun_walk
	anim	models/monsters/zombie/cycles/attacks/machinegun_stand_fire.mb -rotate 90 -dest models/md5/monsters/zombies/zsec_machinegun/machinegun_stand_fire

	anim	models/monsters/zombie/cycles/attacks/machinegun_stand_fire.mb -rotate 90 -dest models/md5/monsters/zombies/zsec_machinegun/machinegun_stand_fire
	anim	models/monsters/zombie/cycles/walks/machinegun_step_left.mb -rotate 90 -dest models/md5/monsters/zombies/zsec_machinegun/machinegun_step_left
	anim	models/monsters/zombie/cycles/walks/machinegun_step_right.mb -rotate 90 -dest models/md5/monsters/zombies/zsec_machinegun/machinegun_step_right
	anim	models/monsters/zombie/cycles/attacks/machinegun_crouch_range_attack.mb -rotate 90 -dest models/md5/monsters/zombies/zsec_machinegun/machinegun_crouch_range_attack
	anim	models/monsters/zombie/cycles/attacks/machinegun_crouch_range_attack_loop.mb -rotate 90 -dest models/md5/monsters/zombies/zsec_machinegun/machinegun_crouch_range_attack_loop
	anim	models/monsters/zombie/cycles/attacks/machinegun_crouch_range_attack_end.mb -rotate 90 -dest models/md5/monsters/zombies/zsec_machinegun/machinegun_crouch_range_attack_end
	anim	models/monsters/zombie/cycles/attacks/machinegun_crouch_range_attack_aim.mb -rotate 90 -dest models/md5/monsters/zombies/zsec_machinegun/machinegun_crouch_range_attack_aim
	anim	models/monsters/zombie/cycles/attacks/machinegun_stand_aim.mb -rotate 90 -dest models/md5/monsters/zombies/zsec_machinegun/machinegun_stand_aim

	anim	models/monsters/zombie/cycles/attacks/machinegun_wall_lean_left.mb -range 1 1 -rotate 90 -dest models/md5/monsters/zombies/zsec_machinegun/machinegun_wallleanleft_A
	anim	models/monsters/zombie/cycles/attacks/machinegun_wall_lean_left.mb -range 1 11 -rotate 90 -dest models/md5/monsters/zombies/zsec_machinegun/machinegun_wallleanleft_B
	anim	models/monsters/zombie/cycles/attacks/machinegun_wall_lean_left.mb -range 12 47 -rotate 90 -dest models/md5/monsters/zombies/zsec_machinegun/machinegun_wallleanleft_C
	anim	models/monsters/zombie/cycles/attacks/machinegun_wall_lean_left.mb -range 48 60 -rotate 90 -dest models/md5/monsters/zombies/zsec_machinegun/machinegun_wallleanleft_D

	anim	models/monsters/zombie/cycles/attacks/machinegun_wall_lean_right.mb -range 1 1 -rotate 90 -dest models/md5/monsters/zombies/zsec_machinegun/machinegun_wallleanright_A
	anim	models/monsters/zombie/cycles/attacks/machinegun_wall_lean_right.mb -range 1 11 -rotate 90 -dest models/md5/monsters/zombies/zsec_machinegun/machinegun_wallleanright_B
	anim	models/monsters/zombie/cycles/attacks/machinegun_wall_lean_right.mb -range 12 47 -rotate 90 -dest models/md5/monsters/zombies/zsec_machinegun/machinegun_wallleanright_C
	anim	models/monsters/zombie/cycles/attacks/machinegun_wall_lean_right.mb -range 48 60 -rotate 90 -dest models/md5/monsters/zombies/zsec_machinegun/machinegun_wallleanright_D

	anim	models/monsters/zombie/cycles/attacks/machinegun_wall_rotate_left.mb -range 1 1 -rotate 90 -dest models/md5/monsters/zombies/zsec_machinegun/machinegun_wallrotleft_A
	anim	models/monsters/zombie/cycles/attacks/machinegun_wall_rotate_left.mb -range 1 11 -rotate 90 -dest models/md5/monsters/zombies/zsec_machinegun/machinegun_wallrotleft_B
	anim	models/monsters/zombie/cycles/attacks/machinegun_wall_rotate_left.mb -range 12 47 -rotate 90 -dest models/md5/monsters/zombies/zsec_machinegun/machinegun_wallrotleft_C
	anim	models/monsters/zombie/cycles/attacks/machinegun_wall_rotate_left.mb -range 48 60 -rotate 90 -dest models/md5/monsters/zombies/zsec_machinegun/machinegun_wallrotleft_D

	anim	models/monsters/zombie/cycles/attacks/machinegun_wall_rotate_right.mb -range 1 1 -rotate 90 -dest models/md5/monsters/zombies/zsec_machinegun/machinegun_wallrotright_A
	anim	models/monsters/zombie/cycles/attacks/machinegun_wall_rotate_right.mb -range 1 11 -rotate 90 -dest models/md5/monsters/zombies/zsec_machinegun/machinegun_wallrotright_B
	anim	models/monsters/zombie/cycles/attacks/machinegun_wall_rotate_right.mb -range 12 47 -rotate 90 -dest models/md5/monsters/zombies/zsec_machinegun/machinegun_wallrotright_C
	anim	models/monsters/zombie/cycles/attacks/machinegun_wall_rotate_right.mb -range 48 60 -rotate 90 -dest models/md5/monsters/zombies/zsec_machinegun/machinegun_wallrotright_D

	anim	models/monsters/zombie/cycles/attacks/machinegun_stand_crate.mb -range 1 1 -rotate 90 -dest models/md5/monsters/zombies/zsec_machinegun/machinegun_crate_up_A
	anim	models/monsters/zombie/cycles/attacks/machinegun_stand_crate.mb -range 1 11 -rotate 90 -dest models/md5/monsters/zombies/zsec_machinegun/machinegun_crate_up_B
	anim	models/monsters/zombie/cycles/attacks/machinegun_stand_crate.mb -range 12 47 -rotate 90 -dest models/md5/monsters/zombies/zsec_machinegun/machinegun_crate_up_C
	anim	models/monsters/zombie/cycles/attacks/machinegun_stand_crate.mb -range 48 60 -rotate 90 -dest models/md5/monsters/zombies/zsec_machinegun/machinegun_crate_up_D

	anim	models/monsters/zombie/cycles/attacks/machinegun_raise.mb -rotate 90 -dest models/md5/monsters/zombies/zsec_machinegun/machinegun_raise
	anim	models/monsters/zombie/cycles/attacks/machinegun_lower.mb -rotate 90 -dest models/md5/monsters/zombies/zsec_machinegun/machinegun_lower

	anim	models/monsters/zombie/cycles/pains/machinegun_crouch_left_pain.mb -rotate 90 -dest models/md5/monsters/zombies/zsec_machinegun/machinegun_crouch_left_pain
	anim	models/monsters/zombie/cycles/pains/machinegun_crouch_right_pain.mb -rotate 90 -dest models/md5/monsters/zombies/zsec_machinegun/machinegun_crouch_right_pain
}

model model_monster_zsec_machinegun {
	mesh							models/md5/monsters/zombies/zsec_machinegun/zsecmachinegun.md5mesh
	channel torso					( *Waist )
	channel legs					( origin Body2 *Hips -*Waist SPINNER )
	skin							skins/monsters/zombies/zsecurity_machinegun.skin

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

	anim stand 						models/md5/monsters/zombies/zsec_machinegun/machinegun_stand.md5anim
	anim idle						models/md5/monsters/zombies/zsec_machinegun/machinegun_stand.md5anim

	anim sight						models/md5/monsters/zombies/zsec_machinegun/machinegun_sight.md5anim {
		frame 1						sound_voice monster_zombie_security_sight
		frame 14						sound_body monster_zombie_security_footstep
		frame 28						sound_body monster_zombie_security_footstep
	}
	
	anim walk 						models/md5/monsters/zombies/zsec_machinegun/machinegun_walk.md5anim {
		frame 1							sound_body monster_zombie_security_footstep
		frame 14						sound_body monster_zombie_security_footstep		
	}
	
	anim run 						models/md5/monsters/zombies/zsec_machinegun/machinegun_run.md5anim {
		frame 8							sound_body monster_zombie_security_footstep		
		frame 18						sound_body monster_zombie_security_footstep		
	}
	
	anim crouch_range_attack		models/md5/monsters/zombies/zsec_machinegun/machinegun_crouch_range_attack.md5anim
	anim crouch_range_attack_loop	models/md5/monsters/zombies/zsec_machinegun/machinegun_crouch_range_attack_loop.md5anim {
		frame 4						sound_weapon monster_machinegun_fire	
		frame 4							launch_missile barrel
		frame 7						sound_weapon monster_machinegun_fire	
		frame 7							launch_missile barrel
		frame 10					sound_weapon monster_machinegun_fire	
		frame 10						launch_missile barrel
		frame 13					sound_weapon monster_machinegun_fire	
		frame 13						launch_missile barrel
		frame 16					sound_weapon monster_machinegun_fire	
		frame 16						launch_missile barrel
		frame 19					sound_weapon monster_machinegun_fire	
		frame 19						launch_missile barrel
		frame 22					sound_weapon monster_machinegun_fire	
		frame 22						launch_missile barrel
		frame 25					sound_weapon monster_machinegun_fire	
		frame 25						launch_missile barrel
		frame 28					sound_weapon monster_machinegun_fire	
		frame 28						launch_missile barrel
		frame 31					sound_weapon monster_machinegun_fire	
		frame 31						launch_missile barrel

	}
	anim crouch_range_attack_end	models/md5/monsters/zombies/zsec_machinegun/machinegun_crouch_range_attack_end.md5anim
	anim crouch_range_attack_aim	models/md5/monsters/zombies/zsec_machinegun/machinegun_crouch_range_attack_aim.md5anim

	anim range_attack_aim			models/md5/monsters/zombies/zsec_machinegun/machinegun_stand_aim.md5anim

	anim step_left					models/md5/monsters/zombies/zsec_machinegun/machinegun_step_left.md5anim {
		frame 9							sound_body monster_zombie_security_footstep
		frame 20						sound_body monster_zombie_security_footstep
	}
	anim step_right 				models/md5/monsters/zombies/zsec_machinegun/machinegun_step_right.md5anim {
		frame 9							sound_body monster_zombie_security_footstep
		frame 20						sound_body monster_zombie_security_footstep
	}

	anim evade_left           		models/md5/monsters/zombies/zsec_machinegun/machinegun_evade_left.md5anim {
		frame 19						sound_body monster_zombie_security_footstep
		frame 24						sound_body monster_zombie_security_footstep
		frame 29						sound_body monster_zombie_security_footstep
		frame 32						sound_body monster_zombie_security_footstep
	}	
	anim evade_right				models/md5/monsters/zombies/zsec_machinegun/machinegun_evade_right.md5anim {
		frame 19						sound_body monster_zombie_security_footstep
		frame 22						sound_body monster_zombie_security_footstep
		frame 29						sound_body monster_zombie_security_footstep
	}
	anim crouch_pain				models/md5/monsters/zombies/zsec_machinegun/machinegun_crouch_left_pain.md5anim {
		frame 1						sound_voice monster_zombie_security_pain
	}

	anim crouch_pain_chest			models/md5/monsters/zombies/zsec_machinegun/machinegun_crouch_left_pain.md5anim {
		frame 1						sound_voice monster_zombie_security_pain
	}

	anim crouch_pain_head			models/md5/monsters/zombies/zsec_machinegun/machinegun_crouch_right_pain.md5anim {
		frame 1						sound_voice monster_zombie_security_pain
	}

	anim crouch_pain_left_arm		models/md5/monsters/zombies/zsec_machinegun/machinegun_crouch_left_pain.md5anim {
		frame 1						sound_voice monster_zombie_security_pain
	}

	anim crouch_pain_right_arm		models/md5/monsters/zombies/zsec_machinegun/machinegun_crouch_right_pain.md5anim {
		frame 1						sound_voice monster_zombie_security_pain
	}


	anim pain						models/md5/monsters/zombies/zsec_machinegun/machinegun_chest_pain.md5anim {
		frame 1						sound_voice monster_zombie_security_pain
	}

	anim pain_chest					models/md5/monsters/zombies/zsec_machinegun/machinegun_chest_pain.md5anim {
		frame 1						sound_voice monster_zombie_security_pain
	}

	anim pain_head					models/md5/monsters/zombies/zsec_machinegun/machinegun_head_pain.md5anim {
		frame 1						sound_voice monster_zombie_security_pain
	}

	anim pain_right_arm				models/md5/monsters/zombies/zsec_machinegun/machinegun_right_pain.md5anim {
		frame 1						sound_voice monster_zombie_security_pain
	}

	anim pain_left_arm				models/md5/monsters/zombies/zsec_machinegun/machinegun_left_pain.md5anim {
		frame 1						sound_voice monster_zombie_security_pain
	}

	anim stepoutright_out			models/md5/monsters/zombies/zsec_machinegun/machinegun_wallleanright_B.md5anim {
		frame 8							sound_body monster_zombie_security_footstep
	}
	anim stepoutright_fire			models/md5/monsters/zombies/zsec_machinegun/machinegun_wallleanright_C.md5anim {
		frame 4						sound_weapon monster_machinegun_fire	
		frame 4							launch_missile barrel
		frame 7						sound_weapon monster_machinegun_fire	
		frame 7							launch_missile barrel
		frame 10					sound_weapon monster_machinegun_fire	
		frame 10						launch_missile barrel
		frame 13					sound_weapon monster_machinegun_fire	
		frame 13						launch_missile barrel
		frame 16					sound_weapon monster_machinegun_fire	
		frame 16						launch_missile barrel
		frame 19					sound_weapon monster_machinegun_fire	
		frame 19						launch_missile barrel
		frame 22					sound_weapon monster_machinegun_fire	
		frame 22						launch_missile barrel
		frame 25					sound_weapon monster_machinegun_fire	
		frame 25						launch_missile barrel
		frame 28					sound_weapon monster_machinegun_fire	
		frame 28						launch_missile barrel
		frame 31					sound_weapon monster_machinegun_fire	
		frame 31						launch_missile barrel
	}
	anim stepoutright_in			models/md5/monsters/zombies/zsec_machinegun/machinegun_wallleanright_D.md5anim {
		frame 13							sound_body monster_zombie_security_footstep

	}
	anim stepoutright_wait			models/md5/monsters/zombies/zsec_machinegun/machinegun_wallleanright_A.md5anim
	
	anim stepoutleft_out			models/md5/monsters/zombies/zsec_machinegun/machinegun_wallleanleft_B.md5anim {
		frame 11						sound_body monster_zombie_security_footstep
	}
	anim stepoutleft_fire			models/md5/monsters/zombies/zsec_machinegun/machinegun_wallleanleft_C.md5anim {
		frame 4						sound_weapon monster_machinegun_fire	
		frame 4							launch_missile barrel
		frame 7						sound_weapon monster_machinegun_fire	
		frame 7							launch_missile barrel
		frame 10					sound_weapon monster_machinegun_fire	
		frame 10						launch_missile barrel
		frame 13					sound_weapon monster_machinegun_fire	
		frame 13						launch_missile barrel
		frame 16					sound_weapon monster_machinegun_fire	
		frame 16						launch_missile barrel
		frame 19					sound_weapon monster_machinegun_fire	
		frame 19						launch_missile barrel
		frame 22					sound_weapon monster_machinegun_fire	
		frame 22						launch_missile barrel
		frame 25					sound_weapon monster_machinegun_fire	
		frame 25						launch_missile barrel
		frame 28					sound_weapon monster_machinegun_fire	
		frame 28						launch_missile barrel
		frame 31					sound_weapon monster_machinegun_fire	
		frame 31						launch_missile barrel
	}
	anim stepoutleft_in				models/md5/monsters/zombies/zsec_machinegun/machinegun_wallleanleft_D.md5anim {
		frame 13						sound_body monster_zombie_security_footstep
	}
	anim stepoutleft_wait			models/md5/monsters/zombies/zsec_machinegun/machinegun_wallleanleft_A.md5anim

	anim leanoutright_out			models/md5/monsters/zombies/zsec_machinegun/machinegun_wallleanright_B.md5anim {
		frame 10						sound_body monster_zombie_security_footstep
	}
	anim leanoutright_fire			models/md5/monsters/zombies/zsec_machinegun/machinegun_wallleanright_C.md5anim {
		frame 4						sound_weapon monster_machinegun_fire	
		frame 4							launch_missile barrel
		frame 7						sound_weapon monster_machinegun_fire	
		frame 7							launch_missile barrel
		frame 10					sound_weapon monster_machinegun_fire	
		frame 10						launch_missile barrel
		frame 13					sound_weapon monster_machinegun_fire	
		frame 13						launch_missile barrel
		frame 16					sound_weapon monster_machinegun_fire	
		frame 16						launch_missile barrel
		frame 19					sound_weapon monster_machinegun_fire	
		frame 19						launch_missile barrel
		frame 22					sound_weapon monster_machinegun_fire	
		frame 22						launch_missile barrel
		frame 25					sound_weapon monster_machinegun_fire	
		frame 25						launch_missile barrel
		frame 28					sound_weapon monster_machinegun_fire	
		frame 28						launch_missile barrel
		frame 31					sound_weapon monster_machinegun_fire	
		frame 31						launch_missile barrel
	}
	anim leanoutright_in			models/md5/monsters/zombies/zsec_machinegun/machinegun_wallleanright_D.md5anim {
		frame 13					sound_body monster_zombie_security_footstep
	}
	anim leanoutright_wait			models/md5/monsters/zombies/zsec_machinegun/machinegun_wallleanright_A.md5anim

	anim leanoutleft_out			models/md5/monsters/zombies/zsec_machinegun/machinegun_wallleanleft_B.md5anim {
		frame 10					sound_body monster_zombie_security_footstep
	}
	anim leanoutleft_fire			models/md5/monsters/zombies/zsec_machinegun/machinegun_wallleanleft_C.md5anim {
		frame 4						sound_weapon monster_machinegun_fire	
		frame 4							launch_missile barrel
		frame 7						sound_weapon monster_machinegun_fire	
		frame 7							launch_missile barrel
		frame 10					sound_weapon monster_machinegun_fire	
		frame 10						launch_missile barrel
		frame 13					sound_weapon monster_machinegun_fire	
		frame 13						launch_missile barrel
		frame 16					sound_weapon monster_machinegun_fire	
		frame 16						launch_missile barrel
		frame 19					sound_weapon monster_machinegun_fire	
		frame 19						launch_missile barrel
		frame 22					sound_weapon monster_machinegun_fire	
		frame 22						launch_missile barrel
		frame 25					sound_weapon monster_machinegun_fire	
		frame 25						launch_missile barrel
		frame 28					sound_weapon monster_machinegun_fire	
		frame 28						launch_missile barrel
		frame 31					sound_weapon monster_machinegun_fire	
		frame 31						launch_missile barrel
	}
	anim leanoutleft_in				models/md5/monsters/zombies/zsec_machinegun/machinegun_wallleanleft_D.md5anim {
		frame 13					sound_body monster_zombie_security_footstep
	}
	anim leanoutleft_wait			models/md5/monsters/zombies/zsec_machinegun/machinegun_wallleanleft_A.md5anim

	anim cratestand_out				models/md5/monsters/zombies/zsec_machinegun/machinegun_crate_up_B.md5anim
	anim cratestand_fire			models/md5/monsters/zombies/zsec_machinegun/machinegun_crate_up_C.md5anim {
		frame 4						sound_weapon monster_machinegun_fire	
		frame 4							launch_missile barrel
		frame 7						sound_weapon monster_machinegun_fire	
		frame 7							launch_missile barrel
		frame 10					sound_weapon monster_machinegun_fire	
		frame 10						launch_missile barrel
		frame 13					sound_weapon monster_machinegun_fire	
		frame 13						launch_missile barrel
		frame 16					sound_weapon monster_machinegun_fire	
		frame 16						launch_missile barrel
		frame 19					sound_weapon monster_machinegun_fire	
		frame 19						launch_missile barrel
		frame 22					sound_weapon monster_machinegun_fire	
		frame 22						launch_missile barrel
		frame 25					sound_weapon monster_machinegun_fire	
		frame 25						launch_missile barrel
		frame 28					sound_weapon monster_machinegun_fire	
		frame 28						launch_missile barrel
		frame 31					sound_weapon monster_machinegun_fire	
		frame 31						launch_missile barrel
	}
	anim cratestand_in				models/md5/monsters/zombies/zsec_machinegun/machinegun_crate_up_D.md5anim
	anim cratestand_wait			models/md5/monsters/zombies/zsec_machinegun/machinegun_crate_up_A.md5anim

	anim rotoutleft1_out			models/md5/monsters/zombies/zsec_machinegun/machinegun_wallrotleft_B.md5anim {
		frame 8						sound_body monster_zombie_security_footstep
	}
	anim rotoutleft1_fire			models/md5/monsters/zombies/zsec_machinegun/machinegun_wallrotleft_C.md5anim {
		frame 4						sound_weapon monster_machinegun_fire	
		frame 4							launch_missile barrel
		frame 7						sound_weapon monster_machinegun_fire	
		frame 7							launch_missile barrel
		frame 10					sound_weapon monster_machinegun_fire	
		frame 10						launch_missile barrel
		frame 13					sound_weapon monster_machinegun_fire	
		frame 13						launch_missile barrel
		frame 16					sound_weapon monster_machinegun_fire	
		frame 16						launch_missile barrel
		frame 19					sound_weapon monster_machinegun_fire	
		frame 19						launch_missile barrel
		frame 22					sound_weapon monster_machinegun_fire	
		frame 22						launch_missile barrel
		frame 25					sound_weapon monster_machinegun_fire	
		frame 25						launch_missile barrel
		frame 28					sound_weapon monster_machinegun_fire	
		frame 28						launch_missile barrel
		frame 31					sound_weapon monster_machinegun_fire	
		frame 31						launch_missile barrel
	}
	anim rotoutleft1_in				models/md5/monsters/zombies/zsec_machinegun/machinegun_wallrotleft_D.md5anim {
		frame 9						sound_body monster_zombie_security_footstep
	}
	anim rotoutleft1_wait			models/md5/monsters/zombies/zsec_machinegun/machinegun_wallrotleft_A.md5anim

	anim rotoutright1_out			models/md5/monsters/zombies/zsec_machinegun/machinegun_wallrotright_B.md5anim {
		frame 6						sound_body monster_zombie_security_footstep
	}
	anim rotoutright1_fire			models/md5/monsters/zombies/zsec_machinegun/machinegun_wallrotright_C.md5anim {
		frame 4						sound_weapon monster_machinegun_fire	
		frame 4							launch_missile barrel
		frame 7						sound_weapon monster_machinegun_fire	
		frame 7							launch_missile barrel
		frame 10					sound_weapon monster_machinegun_fire	
		frame 10						launch_missile barrel
		frame 13					sound_weapon monster_machinegun_fire	
		frame 13						launch_missile barrel
		frame 16					sound_weapon monster_machinegun_fire	
		frame 16						launch_missile barrel
		frame 19					sound_weapon monster_machinegun_fire	
		frame 19						launch_missile barrel
		frame 22					sound_weapon monster_machinegun_fire	
		frame 22						launch_missile barrel
		frame 25					sound_weapon monster_machinegun_fire	
		frame 25						launch_missile barrel
		frame 28					sound_weapon monster_machinegun_fire	
		frame 28						launch_missile barrel
		frame 31					sound_weapon monster_machinegun_fire	
		frame 31						launch_missile barrel
	}
	anim rotoutright1_in			models/md5/monsters/zombies/zsec_machinegun/machinegun_wallrotright_D.md5anim {
		frame 10					sound_body monster_zombie_security_footstep
	}
	anim rotoutright1_wait			models/md5/monsters/zombies/zsec_machinegun/machinegun_wallrotright_A.md5anim

	anim rotoutleft2_out			models/md5/monsters/zombies/zsec_machinegun/machinegun_wallrotleft_B.md5anim {
		frame 8						sound_body monster_zombie_security_footstep
	}
	anim rotoutleft2_fire			models/md5/monsters/zombies/zsec_machinegun/machinegun_wallrotleft_C.md5anim {
		frame 4						sound_weapon monster_machinegun_fire	
		frame 4							launch_missile barrel
		frame 7						sound_weapon monster_machinegun_fire	
		frame 7							launch_missile barrel
		frame 10					sound_weapon monster_machinegun_fire	
		frame 10						launch_missile barrel
		frame 13					sound_weapon monster_machinegun_fire	
		frame 13						launch_missile barrel
		frame 16					sound_weapon monster_machinegun_fire	
		frame 16						launch_missile barrel
		frame 19					sound_weapon monster_machinegun_fire	
		frame 19						launch_missile barrel
		frame 22					sound_weapon monster_machinegun_fire	
		frame 22						launch_missile barrel
		frame 25					sound_weapon monster_machinegun_fire	
		frame 25						launch_missile barrel
		frame 28					sound_weapon monster_machinegun_fire	
		frame 28						launch_missile barrel
		frame 31					sound_weapon monster_machinegun_fire	
		frame 31						launch_missile barrel
	}
	anim rotoutleft2_in				models/md5/monsters/zombies/zsec_machinegun/machinegun_wallrotleft_D.md5anim {
		frame 9						sound_body monster_zombie_security_footstep
	}
	anim rotoutleft2_wait			models/md5/monsters/zombies/zsec_machinegun/machinegun_wallrotleft_A.md5anim
	
	anim rotoutright2_out			models/md5/monsters/zombies/zsec_machinegun/machinegun_wallrotright_B.md5anim {
		frame 6						sound_body monster_zombie_security_footstep
	}
	anim rotoutright2_fire			models/md5/monsters/zombies/zsec_machinegun/machinegun_wallrotright_C.md5anim {
		frame 4						sound_weapon monster_machinegun_fire	
		frame 4							launch_missile barrel
		frame 7						sound_weapon monster_machinegun_fire	
		frame 7							launch_missile barrel
		frame 10					sound_weapon monster_machinegun_fire	
		frame 10						launch_missile barrel
		frame 13					sound_weapon monster_machinegun_fire	
		frame 13						launch_missile barrel
		frame 16					sound_weapon monster_machinegun_fire	
		frame 16						launch_missile barrel
		frame 19					sound_weapon monster_machinegun_fire	
		frame 19						launch_missile barrel
		frame 22					sound_weapon monster_machinegun_fire	
		frame 22						launch_missile barrel
		frame 25					sound_weapon monster_machinegun_fire	
		frame 25						launch_missile barrel
		frame 28					sound_weapon monster_machinegun_fire	
		frame 28						launch_missile barrel
		frame 31					sound_weapon monster_machinegun_fire	
		frame 31						launch_missile barrel
	}
	anim rotoutright2_in			models/md5/monsters/zombies/zsec_machinegun/machinegun_wallrotright_D.md5anim {
		frame 10					sound_body monster_zombie_security_footstep
	}
	anim rotoutright2_wait			models/md5/monsters/zombies/zsec_machinegun/machinegun_wallrotright_A.md5anim

	anim range_attack				models/md5/monsters/zombies/zsec_machinegun/machinegun_raise.md5anim
	anim range_attack_loop1			models/md5/monsters/zombies/zsec_machinegun/machinegun_stand_fire.md5anim {
		frame 4						sound_weapon monster_machinegun_fire	
		frame 4							launch_missile barrel
		frame 7						sound_weapon monster_machinegun_fire	
		frame 7							launch_missile barrel
		frame 10					sound_weapon monster_machinegun_fire	
		frame 10						launch_missile barrel
		frame 13					sound_weapon monster_machinegun_fire	
		frame 13						launch_missile barrel
		frame 16					sound_weapon monster_machinegun_fire	
		frame 16						launch_missile barrel
		frame 19					sound_weapon monster_machinegun_fire	
		frame 19						launch_missile barrel
		frame 22					sound_weapon monster_machinegun_fire	
		frame 22						launch_missile barrel
		frame 25					sound_weapon monster_machinegun_fire	
		frame 25						launch_missile barrel
		frame 28					sound_weapon monster_machinegun_fire	
		frame 28						launch_missile barrel
		frame 31					sound_weapon monster_machinegun_fire	
		frame 31						launch_missile barrel
	}
	anim range_attack_loop2			models/md5/monsters/zombies/zsec_machinegun/machinegun_stand_fire.md5anim {
		frame 4						sound_weapon monster_machinegun_fire	
		frame 4							launch_missile barrel
		frame 7						sound_weapon monster_machinegun_fire	
		frame 7							launch_missile barrel
		frame 10					sound_weapon monster_machinegun_fire	
		frame 10						launch_missile barrel
		frame 13					sound_weapon monster_machinegun_fire	
		frame 13						launch_missile barrel
		frame 16					sound_weapon monster_machinegun_fire	
		frame 16						launch_missile barrel
		frame 19					sound_weapon monster_machinegun_fire	
		frame 19						launch_missile barrel
		frame 22					sound_weapon monster_machinegun_fire	
		frame 22						launch_missile barrel
		frame 25					sound_weapon monster_machinegun_fire	
		frame 25						launch_missile barrel
		frame 28					sound_weapon monster_machinegun_fire	
		frame 28						launch_missile barrel
		frame 31					sound_weapon monster_machinegun_fire	
		frame 31						launch_missile barrel
	}
	anim range_attack_end			models/md5/monsters/zombies/zsec_machinegun/machinegun_lower.md5anim

	anim crate_up_out				models/md5/monsters/zombies/zsec_machinegun/machinegun_crate_up_B.md5anim
	anim crate_up_fire				models/md5/monsters/zombies/zsec_machinegun/machinegun_crate_up_C.md5anim {
		frame 4						sound_weapon monster_machinegun_fire	
		frame 4							launch_missile barrel
		frame 7						sound_weapon monster_machinegun_fire	
		frame 7							launch_missile barrel
		frame 10					sound_weapon monster_machinegun_fire	
		frame 10						launch_missile barrel
		frame 13					sound_weapon monster_machinegun_fire	
		frame 13						launch_missile barrel
		frame 16					sound_weapon monster_machinegun_fire	
		frame 16						launch_missile barrel
		frame 19					sound_weapon monster_machinegun_fire	
		frame 19						launch_missile barrel
		frame 22					sound_weapon monster_machinegun_fire	
		frame 22						launch_missile barrel
		frame 25					sound_weapon monster_machinegun_fire	
		frame 25						launch_missile barrel
		frame 28					sound_weapon monster_machinegun_fire	
		frame 28						launch_missile barrel
		frame 31					sound_weapon monster_machinegun_fire	
		frame 31						launch_missile barrel
	}
	anim crate_up_in				models/md5/monsters/zombies/zsec_machinegun/machinegun_crate_up_D.md5anim
	anim crate_up_wait				models/md5/monsters/zombies/zsec_machinegun/machinegun_crate_up_A.md5anim
}

entityDef monster_zsec_machinegun {
	"inherit"						"monster_zsec_shotgun"
	"scriptobject"					"monster_zombie_security_pistol"
	"model"							"model_monster_zsec_machinegun"
	"size"							"40 40 72"
	"use_aas"						"aas48"
	"team"							"1"
	"rank"							"1"
	"health"						"90"
	"def_projectile"				"projectile_bullet_zsec_machinegun"
	"projectile_spread"				"2"
	"num_projectiles"				"1"
	"attack_cone"					"70"
	"attack_accuracy"				"3"
	"smoke_weapon"					"cgsmoke.smoke"
	"smoke_wound_metal"				"bulletricochet.prt"
	"smoke_wound_ricochet"			"bulletricochet.prt"
	"run_attack"					"1"					// allow shooting while running

	"ragdoll"						"monster_zombie_security_machinegun"

	"def_head"						"head_security_dhelmet"
	"head_joint"					"Shoulders"


	"def_dropGibItem1"			"moveable_item_head_pork"
	"dropGibItem1Joint"			"headcontrol"
	"skin_dropGib"				"skins/monsters/zombies/securitygib.skin"

	"def_dropGibItem2"			"moveable_item_torso_pork"
	"dropGibItem2Joint"			"Chest"

	"def_dropGibItem3"			"moveable_item_rup_arm_pork"
	"dropGibItem3Joint"			"Ruparm"

	"def_dropGibItem4"			"moveable_item_left_waist_pork"
	"dropGibItem4Joint"			"Waist"

	"def_dropGibItem5"			"moveable_item_lup_leg_pork"
	"dropGibItem5Joint"			"Lupleg"

	"def_dropGibItem6"			"moveable_item_rup_leg_pork"
	"dropGibItem6Joint"			"Rupleg"

	"def_dropGibItem7"			"moveable_item_rup2_leg_pork"
	"dropGibItem7Joint"			"Rloleg"

	"def_dropGibItem8"			"moveable_item_pelvis_pork"
	"dropGibItem8Joint"			"Hips"

	"def_dropDeathItem9"		"moveable_item_machinegun"
	"dropDeathItem9Joint"		"machinegun"
	"skin_dropDeath"			"skins/monsters/zombies/zsecurity.skin"


	"mtr_flashShader"				"muzzleflash"
	"flashTime"						"0.15"
	"flashColor"					"1 0.8 0.4"
	"flashRadius"					"80"
}

entityDef damage_bullet_zsec_machinegun {
	"damage"						"3"
	"kickDir"						"1 0 0"

	"mtr_blob"						"genericDamage"
	"blob_time"						"300"
	"blob_size"						"400"
	"blob_offset_x"					"400"

	"knockback"						"1"
	
	"smoke_wound_flesh"				"bloodwound.smoke"
	"mtr_wound_flesh"				"textures/decals/hurt02"
	"mtr_splat_flesh"				"textures/decals/dsplat2"
	"mtr_splat_flesh2"				"textures/decals/dsplat5"
	"mtr_splat_flesh3"				"textures/decals/dsplat7"
	"mtr_splat_flesh4"				"textures/decals/dsplat11"
	"snd_flesh"						"bullet_impact_flesh"

	"kick_time"						"400"
	"kick_amplitude"				"1"

	"dv_time"						"100"
}

entityDef projectile_bullet_zsec_machinegun {
	"spawnclass"					"idProjectile"
	"mins"							"-1 -1 -1"
	"maxs"							"1 1 1"
	"cone"							"3"
	"scale"							"0.1"
	"noshadows"						"1"
	"tracers"						"1"
	"model_tracer"					"models/particles/tracer/tracer.lwo"

	"snd_ricochet"					"bullet_ricochet"
	"snd_tracer"					"bullet_flight"
	"snd_impact"					"bullet_impact_metal"

	"def_damage"					"damage_bullet_zsec_machinegun"

	"launchFromBarrel"				"1"
	"health"						"0"
	"velocity"						"2000 0 0"	// slowed down for tracer effect
	"angular_velocity"				"0 0 0"
	"thrust"						"0"
	"thrust_start"					"0"
	"thrust_end"					"0"
	"linear_friction"				"0"
	"angular_friction"				"0"
	"contact_friction"				"0"
	"bounce"						"0.6"
	"mass"							"2"
	"gravity"						"0"
	"fuse"							"4"

	"detonate_on_fuse"				"0"
	"detonate_on_death"				"0"
	"detonate_on_world"				"1"
	"detonate_on_actor"				"1"

	"impact_damage_effect"			"1"
	"impact_gib"					"1"

	"mtr_detonate"					"textures/decals/bulleth02"
	"decal_size"					"10"

	"smoke_fly"						""
	"smoke_detonate"				"smokeandspark.smoke"
	"smoke_bounce"					""	//particles/bullet_sparks.particle"
	"smoke_fuse"					""
									
	"mtr_light_shader"				""
	"light_color"					"0 0 0"
	"light_radius"					"0"
	"light_offset"					"0 0 0"

	"mtr_explode_light_shader"		""
	"explode_light_color"			"0 0 0"
	"explode_light_radius"			"0"
	"explode_light_fadetime"		"0"
}
