<?xml version="1.0" ?>
<dynamic_object>
	<diesel materials="units/payday2/equipment/gen_interactable_door_hcm/gen_interactable_door_hcm" orientation_object="rp_gen_interactable_door_hcm_double" />
	<sequence_manager file="units/payday2/equipment/gen_interactable_door_hcm/gen_interactable_door_hcm_double" />

	<animations>
		<animation_group name="anim_door" enabled="false">
			<object name="anim_door_1" />
			<object name="anim_door_2" />
		</animation_group>
	</animations>
	<bodies>
		<body name="body_frame" enabled="true" template="static" remove_ray_type="walk" >
			<object name="rp_gen_interactable_door_hcm_double"/>
			<object name="c_box_frame_000" collision_type="box" padding="-2.5"/>
			<object name="c_box_frame_001" collision_type="box" padding="-2.5"/>
			<object name="c_box_frame_002" collision_type="box" padding="-2.5"/>
			<object name="c_box_frame_003" collision_type="box" padding="-2.5"/>
		</body>
		<body name="body_door_1" enabled="true" template="animated">
			<object name="anim_door_1"/>
			<object name="c_box_door_1_1" collision_type="box" padding="-2.5"/>
			<object name="c_box_door_1_2" collision_type="box" padding="-2.5"/>
			<object name="c_box_door_1_3" collision_type="box" padding="-2.5"/>
			<object name="c_box_door_1_4" collision_type="box" padding="-2.5"/>
			<object name="c_box_door_1_5" collision_type="box" padding="-2.5"/>
		</body>
		<body name="body_door_2" enabled="true" template="animated">
			<object name="anim_door_2"/>
			<object name="c_box_door_2_1" collision_type="box" padding="-2.5"/>
			<object name="c_box_door_2_2" collision_type="box" padding="-2.5"/>
			<object name="c_box_door_2_3" collision_type="box" padding="-2.5"/>
			<object name="c_box_door_2_4" collision_type="box" padding="-2.5"/>
			<object name="c_box_door_2_5" collision_type="box" padding="-2.5"/>
		</body>
		<body name="body_hitbox_door_handle_in" enabled="true" template="static">
			<object name="rp_gen_interactable_door_hcm_double" />
			<object name="c_hitbox_door_handle_in" collision_type="box" padding="-2.5"/>
		</body>
		<body name="body_hitbox_door_handle_out" enabled="true" template="static">
			<object name="rp_gen_interactable_door_hcm_double" />
			<object name="c_hitbox_door_handle_out" collision_type="box" padding="-2.5"/>
		</body>

		<body name="body_glass_1_top" enabled="true" template="animated" remove_ray_type="vis_graph ai_vision">
			<object name="anim_door_1" />
			<object name="c_glass_1_top" collision_type="box" padding="-2.5" />
		</body>
		<body name="body_glass_1_bottom" enabled="true" template="animated" remove_ray_type="vis_graph ai_vision">
			<object name="anim_door_1" />
			<object name="c_glass_1_bottom" collision_type="box" padding="-2.5" />
		</body>
		<body name="body_mover_blocker_1" enabled="true" template="mover_blocker" keyframed="true">
			<object name="anim_door_1" />
			<object name="c_mover_blocker_1" collision_type="box" padding="-2.5" />
		</body>

		<body name="body_glass_2_top" enabled="true" template="animated" remove_ray_type="vis_graph ai_vision">
			<object name="anim_door_2" />
			<object name="c_glass_2_top" collision_type="box" padding="-2.5" />
		</body>
		<body name="body_glass_2_bottom" enabled="true" template="animated" remove_ray_type="vis_graph ai_vision">
			<object name="anim_door_2" />
			<object name="c_glass_2_bottom" collision_type="box" padding="-2.5" />
		</body>
		<body name="body_mover_blocker_2" enabled="true" template="mover_blocker" keyframed="true">
			<object name="anim_door_2" />
			<object name="c_mover_blocker_2" collision_type="box" padding="-2.5" />
		</body>
	</bodies>

	<decal_surfaces default_material="metal">
		<decal_mesh name="dm_frame" 			enabled="true" 	material="metal" />
		<decal_mesh name="dm_door_1" 			enabled="true" 	material="metal" />
		<decal_mesh name="dm_door_2" 			enabled="true" 	material="metal" />
		<decal_mesh name="dm_glass_1_top" 		enabled="true" 	material="glass_unbreakable" />
		<decal_mesh name="dm_glass_1_bottom" 	enabled="true" 	material="glass_unbreakable" />
		<decal_mesh name="dm_glass_2_top" 		enabled="true" 	material="glass_unbreakable" />
		<decal_mesh name="dm_glass_2_bottom" 	enabled="true" 	material="glass_unbreakable" />
	</decal_surfaces>

	<graphics>
		<graphic_group name="sawicongroup" 					enabled="true" culling_object="g_icon_saw">
			<lod_object name="saw_icon">
					<object name="g_icon_saw" 		enabled="true"  max_distance="450"  max_draw_lod="0" />
					<object name="g_icon_saw_lod1" 	enabled="true"  lod="1" />
			</lod_object>
			<lod_object name="lockpick_icon">
					<object name="g_icon_lockpick" 		enabled="true"  max_distance="450"  max_draw_lod="0" />
					<object name="g_icon_lockpick_lod1" 	enabled="true"  lod="1" />
			</lod_object> 
		</graphic_group>
		<graphic_group name="doors" enabled="true" culling_object="co_door">
		
		<lod_object>
        <object enabled="true" name="g_door" shadow_caster="false">
		<material materials="mat_door" 			max_distance="3000" />		
		<material materials="mat_door_lod_1"  />	
		</object>
		</lod_object>
			
			<object name="g_glass_1_top" 		enabled="true" 	shadow_caster="false"/>
			<object name="g_glass_1_bottom" 	enabled="true" 	shadow_caster="false"/>
			<object name="g_glass_2_top" 		enabled="true" 	shadow_caster="false"/>
			<object name="g_glass_2_bottom" 	enabled="true" 	shadow_caster="false"/>
			<object name="g_door_saw_dst" 		enabled="false" shadow_caster="false"/> 
			<object name="s_s_1" 				enabled="true" 	shadow_caster="true"/>
			<object name="s_s_2" 				enabled="true" 	shadow_caster="true"/>
			 
			<object name="g_door_saw_dst" 		enabled="false" shadow_caster="false"/> 
		</graphic_group>
	</graphics>
</dynamic_object>


