<?xml version="1.0"?>
<dynamic_object>
	<diesel materials="units/payday2/vehicles/gen_vehicle_turret/gen_vehicle_turret" orientation_object="rp_gen_vehicle_turret" />
	<sequence_manager file="units/payday2/vehicles/gen_vehicle_turret/gen_vehicle_turret" />
	<animations>
		<animation_group name="anim">
			<object name="anim_z_rotor" />
			<object name="anim_z_base" />
			<object name="anim_y_shield" />
			<object name="anim_y_gun" />
			<object name="anim_lift_1" />
			<object name="anim_lift_2" />
		</animation_group>
	</animations>
	<bodies>

		<!-- Do Not Take Damage -->
		<body name="body_base" enabled="true" template="animated">
			<object name="anim_z_base" />
			<object name="c_convex_base_bottom" collision_type="convex" padding="-2.5" />
			<object name="c_convex_base_right" collision_type="convex" padding="-2.5" />
			<object name="c_convex_base_left" collision_type="convex" padding="-2.5" />
		</body>
		<body name="body_base_dmg" enabled="false" template="animated">
			<object name="anim_z_base" />
			<object name="c_convex_base_bottom" collision_type="convex" padding="-2.5" />
		</body>
		<body name="body_side_plating" enabled="true" template="animated">
			<object name="anim_y_shield" />
			<object name="c_convex_shield_left" collision_type="convex" padding="-2.5" />
			<object name="c_convex_shield_right" collision_type="convex" padding="-2.5" />
		</body>
		<body name="body_shelter" enabled="true" template="animated">
			<object name="c_box_shelter" collision_type="box" padding="-2.5" />
		</body>
		<body name="body_pillar" enabled="true" template="animated">
			<object name="g_rotor2" collision_type="box" padding="-2.5" />
		</body>
		<body name="body_rotor" enabled="true" template="animated">
			<object name="g_rotor" collision_type="box" padding="-2.5" />
		</body>
		<body name="body_rotor1" enabled="true" template="animated">
			<object name="g_rotor1" collision_type="box" padding="-2.5" />
		</body>
		<body name="body_rotor2" enabled="true" template="animated">
			<object name="g_rotor2" collision_type="box" padding="-2.5" />
		</body>

		<!-- Main Body -->
		<body name="body" enabled="true" template="animated">
			<object name="anim_y_gun" />
			<object name="c_convex_body" collision_type="convex" padding="-4" />
			<object name="c_convex_body2" collision_type="box" padding="-2.5" />
		</body>

		<!-- Weak Spot -->
		<body name="body_weakspot" enabled="false" template="animated">
			<object name="anim_y_gun" />
			<object name="c_sphere_weakspot" collision_type="sphere" padding="-2.5" />
		</body>

		<!-- Shields to shoot off. -->
		<body name="body_shields" enabled="true" template="animated">
			<object name="anim_y_gun" />
			<object name="c_convex_shield_front" collision_type="convex" padding="-2.5" />
			<object name="c_convex_shield_upper" collision_type="convex" padding="-2.5" />
		</body>

		<body name="body_block_detect" enabled="true" template="animated">
			<object name="rp_gen_vehicle_turret" />
			<object name="c_block_detect" collision_type="convex" padding="-2.5" />
		</body>

	</bodies>
	<effects>
		<effect_spawner
			name="es_light"
			enabled="false"
			object="e_light"
			assign_parent="true"
			effect="effects/particles/weapons/flashlight/flashlight"
		/>
		<effect_spawner
			name="es_aftersmoke"
			enabled="false"
			object="anim_lift_1"
			assign_parent="true"
			fade_kill="true"
			effect="effects/payday2/particles/explosions/sentry_aftersmoke"
		/>
		<effect_spawner
			name="es_small_damage"
			enabled="false"
			object="anim_lift_1"
			assign_parent="true"
			fade_kill="true"
			effect="effects/payday2/particles/explosions/sentry_damage_smoke"
		/>
		<effect_spawner
			name="es_medium_damage"
			enabled="false"
			object="anim_lift_1"
			assign_parent="true"
			fade_kill="true"
			effect="effects/payday2/particles/explosions/sentry_damage_smoke_med"
		/>
		<effect_spawner
			name="es_large_damage"
			enabled="false"
			object="anim_lift_1"
			assign_parent="true"
			fade_kill="true"
			effect="effects/payday2/particles/explosions/sentry_damage_smoke_large"
		/>
		<effect_spawner
			name="es_sparks_loop"
			enabled="false"
			object="e_sparks"
			assign_parent="true"
			fade_kill="true"
			effect="effects/payday2/particles/explosions/sparks/sparks_loop"
		/>
	</effects>
	<lights>
		<light name="li_light" enabled="false" type="spot|specular" multiplier="searchlight" far_range="1500" />
	</lights>
	<decal_surfaces default_material="steel">
		<decal_mesh name="g_body" enabled="true" material="steel" />
		<decal_mesh name="g_rotor" enabled="true" material="steel" />
		<decal_mesh name="g_rotor1" enabled="true" material="steel" />
		<decal_mesh name="g_rotor2" enabled="true" material="steel" />
		<decal_mesh name="g_body_dmg" enabled="false" material="steel" />
		<decal_mesh name="g_shield" enabled="true" material="steel" />
		<decal_mesh name="g_gun" enabled="true" material="steel" />
		<decal_mesh name="g_front_shield" enabled="true" material="steel" />
		<decal_mesh name="g_upper_shield" enabled="true" material="steel" />
		<decal_mesh name="g_front_shield_glass" enabled="true" material="glass_no_decal" />
		<decal_mesh name="g_gun_glass" enabled="true" material="glass_no_decal" />
	</decal_surfaces>
	<graphics>
		<object name="g_rotor" enabled="true" />
		<object name="g_rotor1" enabled="true" />
		<object name="g_rotor2" enabled="true" />
		<object name="g_body" enabled="true" />
		<object name="g_shield" enabled="true" />
		<object name="g_gun" enabled="true" />
		<object name="g_shelter" enabled="true" />
		<object name="g_front_shield" enabled="true" />
		<object name="g_front_shield_glass" enabled="true" />
		<object name="g_upper_shield" enabled="true" />
		<object name="g_gun_glass" enabled="true" />
		<object name="g_body_dmg" enabled="false" />
	</graphics>
</dynamic_object>