<?xml version="1.0"?>
<dynamic_object>
	<metadata material_config_group="truck_tint_group"/>
	<diesel materials="units/vehicles/truck_regular/man_vehicle_truck_variation_1" orientation_object="rp_man_vehicle_truck" />
	<sequence_manager file="units/vehicles/truck_regular/man_vehicle_truck" />
    
    <!-- Light animation group -->
	<animations>
   <!--tire animation groups--> 
   <animation_group name="ag_tire_front_right">
      <object name="a_tire_front_right" />
    </animation_group>
    <animation_group name="ag_tire_front_left">
      <object name="a_tire_front_left" />
    </animation_group>
    <animation_group name="ag_tire_rear_right">
      <object name="a_tire_rear_right" />
    </animation_group>
    <animation_group name="ag_tire_rear_left">
      <object name="a_tire_rear_left" />
    </animation_group>
    
	<animation_group name="alarm_lights" enabled="false">
		<object name="ls_left" />
		<object name="ls_right" />
		<object name="ls_rear" />
		<object name="g_lights_il"/>
	</animation_group>
  </animations>

	<bodies>
		<body name="static_body" enabled="true" template="static">	
			<object name="a_tire_rear_right"/>
			<object name="c_man_vehicle_truck" collision_type="mesh_mopp" />
			<object name="c_tire_metal" collision_type="mesh_mopp" />
    </body>
	<body name="graph_blocker" enabled="true" template="graph_blocker">
		<object name="c_graph_blocker" collision_type="box" />
	</body>
	<body name="bag_blocker" enabled="true" template="static">
		<object name="c_bag_blocker" collision_type="box"/>
	</body>
	<body name="bag_blocker_lower" enabled="true" template="static">
		<object name="c_bag_blocker_lower" collision_type="box"/>
	</body>	
	<body name="climb_blocker" enabled="true" template="mover_blocker">
		<object name="c_player_block" collision_type="box" />	
	</body>
    <body name="window_front" enabled="true" template="static">
			<object name="g_window_front" collision_type="mesh_mopp" two_sided="true"/>
	</body>
	<body name="window_right" enabled="true" template="static">
			<object name="c_window_right" collision_type="mesh_mopp"/>
    </body>
    <body name="window_left" enabled="true" template="static">
		<object name="c_window_left" collision_type="mesh_mopp"/>
    </body>
	<body name="tire_rear_right_02" enabled="true" template="static">
		<object name="dm_tire_rubber" collision_type="mesh_mopp" />
    </body>
  </bodies>
  <decal_surfaces default_material="metal_chassis">
		<decal_mesh name="dm_rubber" enabled="true" material="rubber" />
		<decal_mesh name="dm_sheet_metal" enabled="true" material="sheet_metal" />
		<decal_mesh name="dm_glass" enabled="true" material="glass_breakable" />
		<decal_mesh name="g_window_left" enabled="true" material="glass_breakable" />
		<decal_mesh name="g_window_right" enabled="true" material="glass_breakable" />
		<decal_mesh name="g_window_front" enabled="true" material="glass_breakable" />
		<decal_mesh name="dm_solid_metal" enabled="true" material="metal" />
		<decal_mesh name="dm_tire_rubber" enabled="true" material="rubber" />
		<decal_mesh name="c_tire_metal" enabled="true" material="metal" />
	</decal_surfaces>
	<graphics>
		<object name="s_man_vehicle_truck" enabled="true" shadow_caster="true" instance_struct="world_tm" />
		<lod_object name="truck">
			<object name="g_man_vehicle_truck" max_distance="5000" lod="0" enabled="true" shadow_caster="true" instance_struct="world_tm" />
			<object name="g_man_vehicle_truck_lod" lod="1" enabled="true" instance_struct="world_tm" />
		</lod_object>
		<lod_object name="tires">
			<object name="g_man_vehicle_truck_tires" max_distance="5000" lod="0" enabled="true" shadow_caster="true" instance_struct="world_tm" />
			<object name="g_man_vehicle_truck_tires_lod" lod="1" enabled="true" instance_struct="world_tm" />
		</lod_object> 
		<lod_object name="win1">
			<object name="g_window_front" max_distance="5000" lod="0" enabled="true" instance_struct="world_tm" />
			<object name="g_window_front_lod" lod="1" enabled="false" instance_struct="world_tm" />
		</lod_object> 
		<lod_object name="win2">
			<object name="g_window_front_dmg" max_distance="5000" lod="0" enabled="false" instance_struct="world_tm" />
			<object name="g_window_front_dmg_lod" lod="1"  enabled="false" instance_struct="world_tm" />
		</lod_object> 
		 <lod_object name="win3">
			<object name="g_window_right" max_distance="5000" lod="0" enabled="true" instance_struct="world_tm" />
			<object name="g_window_right_lod" lod="1" enabled="false" instance_struct="world_tm" />
		</lod_object> 
		 <lod_object name="win4">
			<object name="g_window_left" max_distance="5000" lod="0" enabled="true" instance_struct="world_tm" />
			<object name="g_window_left_lod" lod="1" enabled="false" instance_struct="world_tm" />
		</lod_object> 
		 <lod_object name="win5">
			<object name="g_window_left_dmg" max_distance="5000" lod="0" enabled="false" instance_struct="world_tm" />
			<object name="g_window_left_dmg_lod" lod="1" enabled="false" instance_struct="world_tm" />
		</lod_object> 
		 <lod_object name="win6">
			<object name="g_window_right_dmg" max_distance="5000" lod="0" enabled="false" instance_struct="world_tm" />
			<object name="g_window_right_dmg_lod" lod="1" enabled="false" instance_struct="world_tm" />
		</lod_object> 
		<object enabled="false" name="g_lights" />
		<object enabled="false" name="g_lights_il" />
		<object enabled="false" name="g_lights_right_effect"/>
		<object enabled="false" name="g_lights_left_effect"/>
		<object enabled="false" name="g_lights_rear_effect"/>
	</graphics> 
	<objects>
		<align_point name="e_glass_right" enabled="true" parent="rp_man_vehicle_truck" position="0 0 0" rotation="0 0 0" />
		<align_point name="e_glass_left" enabled="true" parent="rp_man_vehicle_truck" position="0 0 0" rotation="0 0 0" />
	</objects>

    <lights>
		<light name="ls_left" far_range="2000" type="spot|specular"   end_angle="53" multiplier="identity" editable="true" />
		<light name="ls_right" far_range="2000" type="spot|specular"   end_angle="39" multiplier="identity" editable="true" />
		<light name="ls_rear" far_range="350" type="omni|specular" multiplier="0.1" falloff="4" editable="true" />
    </lights>

</dynamic_object> 