//CINEMATICS
	
export fred {
	options -prefix floor_
	mesh	maps/fred/site3/hkfloor.mb -range 1 1 -dest models/md5/cinematics/site3/floor_floor	
	anim	maps/fred/site3/hkfloor.mb -xyzprecision .01 -range 1 1 -dest models/md5/cinematics/site3/floor_flooridle
	anim	maps/fred/site3/hkfloor.mb -xyzprecision .01 -range 1 165 -dest models/md5/cinematics/site3/floor_floor
}

export fred {
	
	camera	maps/steve/site3_artifacts.mb -dest models/md5/cinematics/site3/site3_roq_camera
}

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

	"anim site3_roq_cam"			"models/md5/cinematics/site3/site3_roq_camera.md5camera "
}

model site3_floor {
	mesh					models/md5/cinematics/site3/floor_floor.md5mesh
	anim floor				models/md5/cinematics/site3/floor_floor.md5anim {
		frame 19			trigger hkforce		
		frame 45			trigger hkforce		
		frame 82			trigger hkforce		
		frame 94			trigger hkforce
		frame 115			trigger hkforce
		frame 135			trigger hkforce
		frame 161			trigger hkhole
	}
	anim flooridle			models/md5/cinematics/site3/floor_flooridle.md5anim 
}

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

	"spawnclass"			"idAnimated"

	"anim"					"floor"
	"model"					"site3_floor"
}

model site3_hellknight {
	inherit						monster_demon_hellknight
	
	anim hkidle			models/md5/cinematics/site3/floor_hkidle.md5anim {
		ai_no_turn
		frame 1							disableGravity
		frame 1							disableWalkIK
	}
	anim hk				models/md5/cinematics/site3/floor_hk.md5anim {
		ai_no_turn
		frame 1							disableGravity
		frame 1							disableWalkIK
		frame 145						enableWalkIK
		frame 145						enableGravity

	}
}

entityDef site3_hellknight {
	"inherit"					"monster_demon_hellknight"
	"anim"						"hkidle"
	"model"						"site3_hellknight" 
}

model site3_sci_head {
	inherit							head_old
	
	anim stand						models/md5/characters/npcs/heads/h1idle.md5anim
	anim talk_trigger				models/md5/heads/old/site3/sci_trigger.md5anim {
		frame 1							sound_voice		snd_trigger
	}
	anim talk_primary				models/md5/heads/old/site3/sci_primary.md5anim {
		frame 1							sound_voice		snd_primary
	}
	anim talk_secondary1			models/md5/heads/old/site3/sci_secondary1.md5anim{
		frame 1							sound_voice		snd_secondary1
	}
	anim talk_secondary2			models/md5/heads/old/site3/sci_secondary2.md5anim {
		frame 1							sound_voice		snd_secondary2
	}
}


model site3_sci {
	mesh							models/md5/chars/labcoat.md5mesh
	
	channel torso					( *Waist )
	channel legs					( origin Body Body2 *Hips -*Waist SPINNER chair)

	anim af_pose					models/md5/chars/af_pose.md5anim
	anim ik_pose					models/md5/chars/af_pose.md5anim

	anim pain						models/md5/chars/npc_stagger_loop.md5anim
	anim stand						models/md5/chars/stand.md5anim
	anim idle						models/md5/chars/stand.md5anim
	
	anim cower						models/md5/chars/cower4.md5anim
	
	anim walk						models/md5/chars/walk_normal.md5anim {
		frame 3							sound_body snd_footstep
		frame 17						sound_body snd_footstep
		frame 32						sound_body snd_footstep
		frame 46						sound_body snd_footstep
	}
	
	anim turn_left					models/md5/chars/turn_left.md5anim, models/md5/chars/turn_left_rotation180.md5anim {
		anim_turn
	}
	
	anim turn_right					models/md5/chars/turn_right.md5anim, models/md5/chars/turn_right_rotation180.md5anim {
		anim_turn
	}
	
	anim operate_computer_custom	models/md5/chars/site3_sci/stand_site3.md5anim
	
	anim initial_frame				models/md5/chars/site3_sci/initial_frame.md5anim 
	anim talk_trigger		 		models/md5/chars/site3_sci/trigger.md5anim
	anim talk_primary		 		models/md5/chars/site3_sci/primary.md5anim
	anim talk_secondary1		 	models/md5/chars/site3_sci/secondary1.md5anim
	anim talk_secondary2		 	models/md5/chars/site3_sci/secondary2.md5anim
}

entityDef site3_sci {
	"inherit"						"npc_base"
	"model"							"site3_sci"
	"def_head"						"site3_sci_head"
	"head_joint"					"Shoulders"
	"size"							"15 14 60"
	
	"sound_bone"					"headcontrol"
	"copy_joint_world eyecontrol"	""
	
	"talk_no_turn"					"1"
	"talktime"						"0"
	"talk0_blendin"					"0"
	"talk0_blendout"				"8"
	"talk1_blendin"					"12"
	"talk1_blendout"				"12"
	"talk2_blendin"					"12"
	"talk2_blendout"				"12"

	"look_joint Waist"				"0 0 0"
	"look_joint Chest"				"0.2 0.2 0"
	"look_joint Shoulders"			"0.2 0.2 0"
	"look_joint headcontrol"		"0.6 0.6 0"
	"look_joint neckcontrol"		"0 0 0"
	"look_joint Ruparm"				"-0.5 0 0"
	"look_joint Luparm"				"-0.5 0 0"
	"look_min"						"-40 -60 0"
	"look_max"						"40 60 0"
	
	"eye_turn_min"					"-20 -30 0"
	"eye_turn_max"					"20 30 0"

	"snd_trigger"					"site3_sci_trigger"
	"snd_primary"					"site3_sci_primary"
	"snd_secondary1"				"site3_sci_secondary1"
	"snd_secondary2"				"site3_sci_secondary2"
}
