module Base
{
	model SVU_FL_Window_Van_Light_a
 	{
		mesh = vehicles/CarVanArmor_animated|windowfrontlightleft,
		texture = Vehicles/puv_parts,
 		shader = vehicle_armor,
 		scale = 0.004,
		static = FALSE,
		boneWeight = FrontLeftDoorBone 1.0,
 	}
	model SVU_FL_Window_Van_Light_Spiked_a
	{
		mesh = vehicles/CarVanArmor_animated|windowfrontlightspikedleft,
        	texture = Vehicles/puv_parts,
        	shader = vehicle_armor,
        	scale = 0.004,
		static = FALSE,
		boneWeight = FrontLeftDoorBone 1.0,
    	}
	model SVU_FL_Window_Van_Heavy_a
	{
		mesh = vehicles/CarVanArmor_animated|windowfrontheavyleft,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = FrontLeftDoorBone 1.0,
	}
	model SVU_FL_Window_Van_Heavy_Spiked_a
	{
		mesh = vehicles/CarVanArmor_animated|windowfrontheavyspikedleft,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = FrontLeftDoorBone 1.0,
	}
	model SVU_FL_Window_Van_Reinforced_a
	{
		mesh = vehicles/CarVanArmor_animated|windowfrontreinforcedleft,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = FrontLeftDoorBone 1.0,
	}

	model SVU_FR_Window_Van_Light_a
	{
		mesh = vehicles/CarVanArmor_animated|windowfrontlightright,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = FrontRightDoorBone 1.0,
	}
	model SVU_FR_Window_Van_Light_Spiked_a
	{
		mesh = vehicles/CarVanArmor_animated|windowfrontlightspikedright,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = FrontRightDoorBone 1.0,
	}
	model SVU_FR_Window_Van_Heavy_a
	{
		mesh = vehicles/CarVanArmor_animated|windowfrontheavyright,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = FrontRightDoorBone 1.0,
	}
	model SVU_FR_Window_Van_Heavy_Spiked_a
	{
		mesh = vehicles/CarVanArmor_animated|windowfrontheavyspikedright,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = FrontRightDoorBone 1.0,
	}
	model SVU_FR_Window_Van_Reinforced_a
	{
		mesh = vehicles/CarVanArmor_animated|windowfrontreinforcedright,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = FrontRightDoorBone 1.0,
	}

	model SVU_Hood_Van_Light_a
	{
		mesh = vehicles/CarVanArmor_animated|hoodlightfront,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = HoodBone 1.0,
	}
	model SVU_Hood_Van_Light_Scoop_a
	{
		mesh = vehicles/CarVanArmor_animated|hoodlightfrontscoop,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = HoodBone 1.0,
	}
	model SVU_Hood_Van_Light_Spiked_a
	{
		mesh = vehicles/CarVanArmor_animated|hoodlightspikedfront,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = HoodBone 1.0,
	}
	model SVU_Hood_Van_Light_Spiked_Scoop_a
	{
		mesh = vehicles/CarVanArmor_animated|hoodlightspikedfrontscoop,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = HoodBone 1.0,
	}
	model SVU_Hood_Van_Heavy_a
	{
		mesh = vehicles/CarVanArmor_animated|hoodheavyfront,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = HoodBone 1.0,
	}
	model SVU_Hood_Van_Heavy_Scoop_a
	{
		mesh = vehicles/CarVanArmor_animated|hoodheavyfrontscoop,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = HoodBone 1.0,
	}
	model SVU_Hood_Van_Heavy_Spiked_a
	{
		mesh = vehicles/CarVanArmor_animated|hoodheavyspikedfront,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = HoodBone 1.0,
	}
	model SVU_Hood_Van_Heavy_Spiked_Scoop_a
	{
		mesh = vehicles/CarVanArmor_animated|hoodheavyspikedfrontscoop,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = HoodBone 1.0,
	}
	model SVU_Hood_Van_Reinforced_a
	{
		mesh = vehicles/CarVanArmor_animated|hoodreinforcedfront,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = HoodBone 1.0,
	}
	model SVU_Hood_Van_Reinforced_Scoop_a
	{
		mesh = vehicles/CarVanArmor_animated|hoodreinforcedfrontscoop,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = HoodBone 1.0,
	}

	model SVU_R_Window_Van_Light_a
	{
		mesh = vehicles/CarVanArmor_animated|windowlightrear,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = TrunkLeftBone 1.0,
		boneWeight = TrunkRightBone 1.0,
		boneWeight = VehicleBone 1.0,
	}
	model SVU_R_Window_Van_Light_Spiked_a
	{
		mesh = vehicles/CarVanArmor_animated|windowlightspikedrear,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = TrunkLeftBone 1.0,
		boneWeight = TrunkRightBone 1.0,
		boneWeight = VehicleBone 1.0,
	}
	model SVU_R_Window_Van_Heavy_a
	{
		mesh = vehicles/CarVanArmor_animated|windowheavyrear,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = TrunkLeftBone 1.0,
		boneWeight = TrunkRightBone 1.0,
		boneWeight = VehicleBone 1.0,
	}
	model SVU_R_Window_Van_Heavy_Spiked_a
	{
		mesh = vehicles/CarVanArmor_animated|windowheavyspikedrear,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = TrunkLeftBone 1.0,
		boneWeight = TrunkRightBone 1.0,
		boneWeight = VehicleBone 1.0,
	}
	model SVU_R_Window_Van_Reinforced_a
	{
		mesh = vehicles/CarVanArmor_animated|windowreinforcedrear,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = TrunkLeftBone 1.0,
		boneWeight = TrunkRightBone 1.0,
		boneWeight = VehicleBone 1.0,
	}

	model SVU_Trunk_Van_Light_a
	{
		mesh = vehicles/CarVanArmor_animated|trunklightrear,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = TrunkLeftBone 1.0,
		boneWeight = TrunkRightBone 1.0,
		boneWeight = VehicleBone 1.0,
	}
	model SVU_Trunk_Van_Light_Spiked_a
	{
		mesh = vehicles/CarVanArmor_animated|trunklightspikedrear,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = TrunkLeftBone 1.0,
		boneWeight = TrunkRightBone 1.0,
		boneWeight = VehicleBone 1.0,
	}
	model SVU_Trunk_Van_Heavy_a
	{
		mesh = vehicles/CarVanArmor_animated|trunkheavyrear,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = TrunkLeftBone 1.0,
		boneWeight = TrunkRightBone 1.0,
		boneWeight = VehicleBone 1.0,
	}
	model SVU_Trunk_Van_Heavy_Spiked_a
	{
		mesh = vehicles/CarVanArmor_animated|trunkheavyspikedrear,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = TrunkLeftBone 1.0,
		boneWeight = TrunkRightBone 1.0,
		boneWeight = VehicleBone 1.0,
	}
	model SVU_Trunk_Van_Reinforced_a
	{
		mesh = vehicles/CarVanArmor_animated|trunkreinforcedrear,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = TrunkLeftBone 1.0,
		boneWeight = TrunkRightBone 1.0,
		boneWeight = VehicleBone 1.0,
	}


	model SVU_Door_FL_Van_Light_a
	{
		mesh = vehicles/CarVanArmor_animated|doorfrontlightleft,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = FrontLeftDoorBone 1.0,
	}
	model SVU_Door_FL_Van_Light_Spiked_a
	{
		mesh = vehicles/CarVanArmor_animated|doorfrontlightspikedleft,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = FrontLeftDoorBone 1.0,
	}
	model SVU_Door_FL_Van_Heavy_a
	{
		mesh = vehicles/CarVanArmor_animated|doorfrontheavyleft,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = FrontLeftDoorBone 1.0,
	}
	model SVU_Door_FL_Van_Heavy_Spiked_a
	{
		mesh = vehicles/CarVanArmor_animated|doorfrontheavyspikedleft,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = FrontLeftDoorBone 1.0,
	}
	model SVU_Door_FL_Van_Reinforced_a
	{
		mesh = vehicles/CarVanArmor_animated|doorfrontreinforcedleft,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = FrontLeftDoorBone 1.0,
	}

	model SVU_Door_FR_Van_Light_Spiked_a
	{
		mesh = vehicles/CarVanArmor_animated|doorfrontlightspikedright,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = FrontRightDoorBone 1.0,
	}
	model SVU_Door_FR_Van_Light_a
	{
		mesh = vehicles/CarVanArmor_animated|doorfrontlightright,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = FrontRightDoorBone 1.0,
	}
	model SVU_Door_FR_Van_Heavy_a
	{
		mesh = vehicles/CarVanArmor_animated|doorfrontheavyright,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = FrontRightDoorBone 1.0,
    	}
	model SVU_Door_FR_Van_Heavy_Spiked_a
	{
		mesh = vehicles/CarVanArmor_animated|doorfrontheavyspikedright,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = FrontRightDoorBone 1.0,
	}
	model SVU_Door_FR_Van_Reinforced_a
	{
		mesh = vehicles/CarVanArmor_animated|doorfrontreinforcedleft,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		invertX = TRUE,
		static = FALSE,
		boneWeight = FrontRightDoorBone 1.0,
	}

	model SVU_Van_Hood_Scoop_a
	{
		mesh = vehicles/Vehicles_Van_animated|Hood_Scoop_obj,
		shader = vehicle_multiuv_noreflect,
		scale = 0.004,
		static = FALSE,
		boneWeight = HoodBone 1.0,
	}

	template vehicle PU_armor_Van_animated
	{
		part EngineDoor
		{

			model Scooped
			{
				file = SVU_Van_Hood_Scoop_a,				
			}			
			table install
			{
				complete = ATATuning2.InstallComplete.ScoopedHood,
			}
			table uninstall
			{
				complete = ATATuning2.UninstallComplete.ScoopedHood,
			}
			lua
			{
				create = ATATuning2.Create.ScoopedHood,
				init = ATATuning2.Init.ScoopedHood,
				update = Vehicles.Update.EngineDoor,
				use = Vehicles.Use.EngineDoor,
			}
			setAllModelsVisible = false,
		}

		part ATA2ProtectionWindowFrontLeft
		{
			parent = DoorFrontLeft,
			model Light
			{
				file = SVU_FL_Window_Van_Light_a,
			}
			model Heavy
			{
				file = SVU_FL_Window_Van_Heavy_a,
			}
			model LightSpiked
			{
				file = SVU_FL_Window_Van_Light_Spiked_a,
			}
			model HeavySpiked
			{
				file = SVU_FL_Window_Van_Heavy_Spiked_a,
			}
			model LightRusted
			{
				file = SVU_FL_Window_Van_Light_a,
			}
			model HeavyRusted
			{
				file = SVU_FL_Window_Van_Heavy_a,
			}
			model LightSpikedRusted
			{
				file = SVU_FL_Window_Van_Light_Spiked_a,
			}
			model HeavySpikedRusted
			{
				file = SVU_FL_Window_Van_Heavy_Spiked_a,
			}
			model Reinforced
			{
				file = SVU_FL_Window_Van_Reinforced_a,
			}
			model ReinforcedRusted
			{
				file = SVU_FL_Window_Van_Reinforced_a,
			}
		}
		part ATA2ProtectionWindowFrontRight
		{
			parent = DoorFrontRight,
			model Light
			{
				file = SVU_FR_Window_Van_Light_a,
			}
			model Heavy
			{
				file = SVU_FR_Window_Van_Heavy_a,
			}
			model LightSpiked
			{
				file = SVU_FR_Window_Van_Light_Spiked_a,
			}
			model HeavySpiked
			{
				file = SVU_FR_Window_Van_Heavy_Spiked_a,
			}
			model LightRusted
			{
				file = SVU_FR_Window_Van_Light_a,
			}
			model HeavyRusted
			{
				file = SVU_FR_Window_Van_Heavy_a,
			}
			model LightSpikedRusted
			{
				file = SVU_FR_Window_Van_Light_Spiked_a,
			}
			model HeavySpikedRusted
			{
				file = SVU_FR_Window_Van_Heavy_Spiked_a,
			}
			model Reinforced
			{
				file = SVU_FR_Window_Van_Reinforced_a,
			}
			model ReinforcedRusted
			{
				file = SVU_FR_Window_Van_Reinforced_a,
			}
		}

        	part ATA2ProtectionDoorFrontLeft
		{
			parent = DoorFrontLeft,
			model Light
			{
				file = SVU_Door_FL_Van_Light_a,
			}
			model Heavy
			{
				file = SVU_Door_FL_Van_Heavy_a,
			}
			model LightSpiked
			{
				file = SVU_Door_FL_Van_Light_Spiked_a,
			}
			model HeavySpiked
			{
				file = SVU_Door_FL_Van_Heavy_Spiked_a,
			}
			model LightRusted
			{
				file = SVU_Door_FL_Van_Light_a,
			}
			model HeavyRusted
			{
				file = SVU_Door_FL_Van_Heavy_a,
			}
			model LightSpikedRusted
			{
				file = SVU_Door_FL_Van_Light_Spiked_a,
			}
			model HeavySpikedRusted
			{
				file = SVU_Door_FL_Van_Heavy_Spiked_a,
			}
			model Reinforced
			{
				file = SVU_Door_FL_Van_Reinforced_a,
			}
			model ReinforcedRusted
			{
				file = SVU_Door_FL_Van_Reinforced_a,
			}
		}

		part ATA2ProtectionDoorFrontRight
		{
			parent = DoorFrontRight,
			model Light
			{
				file = SVU_Door_FR_Van_Light_a,
			}
			model Heavy
			{
				file = SVU_Door_FR_Van_Heavy_a,
			}
			model LightSpiked
			{
				file = SVU_Door_FR_Van_Light_Spiked_a,
			}
			model HeavySpiked
			{
				file = SVU_Door_FR_Van_Heavy_Spiked_a,
			}
			model LightRusted
			{
				file = SVU_Door_FR_Van_Light_a,
			}
			model HeavyRusted
			{
				file = SVU_Door_FR_Van_Heavy_a,
			}
			model LightSpikedRusted
			{
				file = SVU_Door_FR_Van_Light_Spiked_a,
			}
			model HeavySpikedRusted
			{
				file = SVU_Door_FR_Van_Heavy_Spiked_a,
			}
			model Reinforced
			{
				file = SVU_Door_FR_Van_Reinforced_a,
			}
			model ReinforcedRusted
			{
				file = SVU_Door_FR_Van_Reinforced_a,
			}
		}        	

		part ATA2ProtectionHood
		{
			parent = EngineDoor,
			model Light
			{
				file = SVU_Hood_Van_Light_a,
			}
			model Heavy
			{
				file = SVU_Hood_Van_Heavy_a,
			}
			model LightSpiked
			{
				file = SVU_Hood_Van_Light_Spiked_a,
			}
			model HeavySpiked
			{
				file = SVU_Hood_Van_Heavy_Spiked_a,
			}
			model LightRusted
			{
				file = SVU_Hood_Van_Light_a,
			}
			model HeavyRusted
			{
				file = SVU_Hood_Van_Heavy_a,
			}
			model LightSpikedRusted
			{
				file = SVU_Hood_Van_Light_Spiked_a,
			}
			model HeavySpikedRusted
			{
				file = SVU_Hood_Van_Heavy_Spiked_a,
			}
			model Reinforced
			{
				file = SVU_Hood_Van_Reinforced_a,
			}
			model ReinforcedRusted
			{
				file = SVU_Hood_Van_Reinforced_a,
			}
			model LightScoop
			{
				file = SVU_Hood_Van_Light_Scoop_a,
			}
			model HeavyScoop
			{
				file = SVU_Hood_Van_Heavy_Scoop_a,
			}
			model LightSpikedScoop
			{
				file = SVU_Hood_Van_Light_Spiked_Scoop_a,
			}
			model HeavySpikedScoop
			{
				file = SVU_Hood_Van_Heavy_Spiked_Scoop_a,
			}
			model LightRustedScoop
			{
				file = SVU_Hood_Van_Light_Scoop_a,
			}
			model HeavyRustedScoop
			{
				file = SVU_Hood_Van_Heavy_Scoop_a,
			}
			model LightSpikedRustedScoop
			{
				file = SVU_Hood_Van_Light_Spiked_Scoop_a,
			}
			model HeavySpikedRustedScoop
			{
				file = SVU_Hood_Van_Heavy_Spiked_Scoop_a,
			}
			model ReinforcedScoop
			{
				file = SVU_Hood_Van_Reinforced_Scoop_a,
			}
			model ReinforcedRustedScoop
			{
				file = SVU_Hood_Van_Reinforced_Scoop_a,
			}
		}
		part ATA2ProtectionWindshieldRear
		{
			parent = DoorRear,
			model Light
			{
				file = SVU_R_Window_Van_Light_a,
			}
			model Heavy
			{
				file = SVU_R_Window_Van_Heavy_a,
			}
			model LightSpiked
			{
				file = SVU_R_Window_Van_Light_Spiked_a,
			}
			model HeavySpiked
			{
				file = SVU_R_Window_Van_Heavy_Spiked_a,
			}
			model LightRusted
			{
				file = SVU_R_Window_Van_Light_a,
			}
			model HeavyRusted
			{
				file = SVU_R_Window_Van_Heavy_a,
			}
			model LightSpikedRusted
			{
				file = SVU_R_Window_Van_Light_Spiked_a,
			}
			model HeavySpikedRusted
			{
				file = SVU_R_Window_Van_Heavy_Spiked_a,
			}
			model Reinforced
			{
				file = SVU_R_Window_Van_Reinforced_a,
			}
			model ReinforcedRusted
			{
				file = SVU_R_Window_Van_Reinforced_a,
			}
		}
		part ATA2ProtectionDoorsRear
		{
			parent = DoorRear,
			model Light
			{
				file = SVU_Trunk_Van_Light_a,
			}
			model Heavy
			{
				file = SVU_Trunk_Van_Heavy_a,
			}
			model LightSpiked
			{
				file = SVU_Trunk_Van_Light_Spiked_a,
			}
			model HeavySpiked
			{
				file = SVU_Trunk_Van_Heavy_Spiked_a,
			}
			model LightRusted
			{
				file = SVU_Trunk_Van_Light_a,
			}
			model HeavyRusted
			{
				file = SVU_Trunk_Van_Heavy_a,
			}
			model LightSpikedRusted
			{
				file = SVU_Trunk_Van_Light_Spiked_a,
			}
			model HeavySpikedRusted
			{
				file = SVU_Trunk_Van_Heavy_Spiked_a,
			}
			model Reinforced
			{
				file = SVU_Trunk_Van_Reinforced_a,
			}
			model ReinforcedRusted
			{
				file = SVU_Trunk_Van_Reinforced_a,
			}
		}

        	part ATA2Protection*
        	{
            		model anchorNormal {
				file = SVU_Dummy_Van,
			}
			model anchorRusted {
				file = SVU_Dummy_Van_Rusted,
			}
			table install
            		{
                		complete = ATATuning2.InstallComplete.AnchorTuning,
            		}
            		table uninstall
            		{
                		complete = ATATuning2.UninstallComplete.AnchorTuning,
            		}
            		lua
            		{
                		create = ATATuning2.Create.AnchorTuning,
                		init = ATATuning2.Init.AnchorTuning,
                		update = ATATuning2.Update.Protection,
            		}
        	}
        }
}