

export fred {
	camera	maps/fred/comm1/swann_video1.mb -dest models/md5/cinematics/comm1/swann_video_a_cam
	camera	maps/kevinc/comm1/swann_video2.mb -dest models/md5/cinematics/comm1/swann_video_b_cam
	camera	maps/kevinc/comm1/swann_video3.mb -dest models/md5/cinematics/comm1/swann_video_c_cam
}


entityDef comm1_swann_video_cam {
	"editor_color"					"1 .5 0"
	"editor_mins"					"-16 -16 0"
	"editor_maxs"					"16 16 64"
	
	"spawnclass"					"idCameraAnim"

	"anim video_a"				"models/md5/cinematics/comm1/swann_video_a_cam.md5camera"
	"anim video_b"				"models/md5/cinematics/comm1/swann_video_b_cam.md5camera"
	"anim video_c"				"models/md5/cinematics/comm1/swann_video_c_cam.md5camera"
}

export fred {
	options -prefix ENV_ -scale .7

	mesh	models/monsters/sentry/animation/cycles/wall_release_blank.ma -range 150 150 -dest models/md5/cinematics/comm1/sentry_loader
	anim	models/monsters/sentry/animation/cycles/wall_release_blank.ma -dest models/md5/cinematics/comm1/sentry_loader
}


model comm1_sentryloader {
	mesh				models/md5/cinematics/comm1/sentry_loader.md5mesh
	anim load			models/md5/cinematics/comm1/sentry_loader.md5anim {
		frame	1			sound_voice2 c1_sentry_loader_out
		frame 108			sound_voice2 c1_sentry_loader_in
	}
}

entityDef comm1_sentryloader {
	"editor_color"			"1 .5 .3"
	"editor_mins"			"-16 -16 0"
	"editor_maxs"			"16 16 32"
	"editor_copy2"			"anim"

	"sound_bone"			"joint2"


	"spawnclass"			"idAnimated"

	"anim"				"load"
	"model"				"comm1_sentryloader"
}

model comm1_sentry_blank {
	mesh					models/md5/monsters/sentry/sentry.md5mesh
	skin 					skins/models/monsters/sentrynobeam.skin
	anim load				models/md5/monsters/sentry/wall_release_dummy.md5anim
}

entityDef comm1_sentry_blank {
	"editor_color"			"1 .5 .3"
	"editor_mins"			"-16 -16 0"
	"editor_maxs"			"16 16 32"
	"editor_copy2"			"anim"

	"sound_bone"			"Head"

	"spawnclass"			"idAnimated"

	"anim"					"load"
	"model"					"comm1_sentry_blank"
}

model comm1_sentry {
	inherit						char_sentry
	anim releaseidle			models/md5/monsters/sentry/wall_release_idle.md5anim
	anim load					models/md5/monsters/sentry/wall_release.md5anim {
		ai_no_turn
		frame 1						event ignoreDamage
		frame 1						disableGravity
		frame 1						disableWalkIK
		frame 100					enableGravity
		frame 100					enableWalkIK
		frame 120					event allowDamage
	}
}

entityDef comm1_sentry {
	"inherit"					"char_sentry"
	"model"						"comm1_sentry"
	"anim"						"load"
	"hanging"					"2"
	"burnaway"					"10"
}

model comm1_video_swannhead {
	inherit							head_swann
	anim video_a					models/md5/heads/swann/comm1/swannhead_video1.md5anim
	anim video_b					models/md5/heads/swann/comm1/swannhead_video2.md5anim
	anim video_c					models/md5/heads/swann/comm1/swannhead_video3.md5anim

}

model comm1_video_swann {
	mesh							models/md5/chars/suit.md5mesh

	channel torso					( *Waist )
	channel legs					( origin Body Body2 *Hips -*Waist SPINNER eyecontrol)

	anim idle						models/md5/chars/stand.md5anim
	anim stand						models/md5/chars/stand.md5anim
	anim video_a					models/md5/chars/swann/comm1/swann_vid1.md5anim {
		//frame 1						aviGame swannvid1
		frame 1						event disableEyeFocus
		//frame 12					sound_voice comm1_swann_video1
		frame 1						sound_voice comm1_swann_video1
		//frame 345					aviGame
	}
	anim video_b					models/md5/chars/swann/comm1/swann_vid2.md5anim {
		//frame 1					aviGame swannvid2
		frame 1						event disableEyeFocus
		frame 8						sound_voice comm1_swann_video2
		//frame 345					aviGame
	}
	anim video_c					models/md5/chars/swann/comm1/swann_vid3.md5anim {
		//frame 1					aviGame swannvid3
		frame 1						event disableEyeFocus
		frame 6						sound_voice comm1_swann_video3
		//frame 345					aviGame
	}


}


entityDef comm1_video_swann {
	"inherit"						"character_default"
	"size"							"1 1 1"
	"model"							"comm1_video_swann"
	"anim"							"video"
	"sound_bone"					"Chest"
	"def_head"						"comm1_video_swannhead"
	"head_joint"					"Shoulders"
	"eye_verticle_offset"			"10"
	"eye_horizontal_offset"			"5"

//	"bone_focus"					"headcontrol"
//	"bone_orientation"				"Body"
//	"bone_leftEye"					"Leyeaim"
//	"bone_rightEye"					"Reyeaim"

	"copy_joint neckcontrol"		"neckcontrol"
	"copy_joint headcontrol"		"headcontrol"
	"copy_joint_world eyecontrol"	"eyecontrol"
}
