module Base
{
	model SVU_RR_Window_VanSeats_Light_a_vve
	{
		mesh = vehicles/CarVanArmor_animated_vve|windowrearlightright,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = RearRightDoorBone 1.0,
	}
	model SVU_RR_Window_VanSeats_Light_Spiked_a_vve
	{
		mesh = vehicles/CarVanArmor_animated_vve|windowrearlightspikedright,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = RearRightDoorBone 1.0,
	}
	model SVU_RR_Window_VanSeats_Heavy_a_vve
	{
		mesh = vehicles/CarVanArmor_animated_vve|windowrearheavyright,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = RearRightDoorBone 1.0,
	}
	model SVU_RR_Window_VanSeats_Heavy_Spiked_a_vve
	{
		mesh = vehicles/CarVanArmor_animated_vve|windowrearheavyspikedright,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = RearRightDoorBone 1.0,
	}
	model SVU_RR_Window_VanSeats_Reinforced_a_vve
	{
		mesh = vehicles/CarVanArmor_animated_vve|windowrearreinforcedright,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = RearRightDoorBone 1.0,
	}

	model SVU_Door_RR_VanSeats_Light_Spiked_a_vve
	{
		mesh = vehicles/CarVanArmor_animated_vve|doorrearlightspikedright,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = RearRightDoorBone 1.0,
	}
	model SVU_Door_RR_VanSeats_Light_a_vve
	{
		mesh = vehicles/CarVanArmor_animated_vve|doorrearlightright,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = RearRightDoorBone 1.0,
	}
	model SVU_Door_RR_VanSeats_Heavy_a_vve
	{
		mesh = vehicles/CarVanArmor_animated_vve|doorrearheavyright,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = RearRightDoorBone 1.0,
    	}
	model SVU_Door_RR_VanSeats_Heavy_Spiked_a_vve
	{
		mesh = vehicles/CarVanArmor_animated_vve|doorrewarheavyspikedright,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = RearRightDoorBone 1.0,
	}
	model SVU_Door_RR_VanSeats_Reinforced_a_vve
	{
		mesh = vehicles/CarVanArmor_animated_vve|doorrearreinforcedright,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = RearRightDoorBone 1.0,
	}

	model SVU_RL_Window_VanSeats_Light_a_vve
	{
		mesh = vehicles/CarVanArmor_animated_vve|windowrearlightleft,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = TRUE,
	}
	model SVU_RL_Window_VanSeats_Light_Spiked_a_vve
	{
		mesh = vehicles/CarVanArmor_animated_vve|windowrearlightspikedleft,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = TRUE,
	}
	model SVU_RL_Window_VanSeats_Heavy_a_vve
	{
		mesh = vehicles/CarVanArmor_animated_vve|windowrearheavyleft,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = TRUE,
	}
	model SVU_RL_Window_VanSeats_Heavy_Spiked_a_vve
	{
		mesh = vehicles/CarVanArmor_animated_vve|windowrearheavyspikedleft,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = TRUE,
	}
	model SVU_RL_Window_VanSeats_Reinforced_a_vve
	{
		mesh = vehicles/CarVanArmor_animated_vve|windowrearreinforcedleft,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = TRUE,

	}

	model SVU_R_Window_VanSeats_Light_a_vve
	{
		mesh = vehicles/CarVanArmor_animated_vve|windowlightrear_seats,
		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_VanSeats_Light_Spiked_a_vve
	{
		mesh = vehicles/CarVanArmor_animated_vve|windowlightspikedrear_seats,
		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_VanSeats_Heavy_a_vve
	{
		mesh = vehicles/CarVanArmor_animated_vve|windowheavyrear_seats,
		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_VanSeats_Heavy_Spiked_a_vve
	{
		mesh = vehicles/CarVanArmor_animated_vve|windowheavyspikedrear_seats,
		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_VanSeats_Reinforced_a_vve
	{
		mesh = vehicles/CarVanArmor_animated_vve|windowreinforcedrear_seats,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = TrunkLeftBone 1.0,
		boneWeight = TrunkRightBone 1.0,
		boneWeight = VehicleBone 1.0,
	}


	template vehicle PU_armor_VanSeats_vve_animated

	{
		part EngineDoor
		{

			model Scooped
			{
				file = SVU_Van_Hood_Scoop_a_vve,				
			}			
			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_vve,
			}
			model Heavy
			{
				file = SVU_FL_Window_Van_Heavy_a_vve,
			}
			model LightSpiked
			{
				file = SVU_FL_Window_Van_Light_Spiked_a_vve,
			}
			model HeavySpiked
			{
				file = SVU_FL_Window_Van_Heavy_Spiked_a_vve,
			}
			model LightRusted
			{
				file = SVU_FL_Window_Van_Light_a_vve,
			}
			model HeavyRusted
			{
				file = SVU_FL_Window_Van_Heavy_a_vve,
			}
			model LightSpikedRusted
			{
				file = SVU_FL_Window_Van_Light_Spiked_a_vve,
			}
			model HeavySpikedRusted
			{
				file = SVU_FL_Window_Van_Heavy_Spiked_a_vve,
			}
			model Reinforced
			{
				file = SVU_FL_Window_Van_Reinforced_a_vve,
			}
			model ReinforcedRusted
			{
				file = SVU_FL_Window_Van_Reinforced_a_vve,
			}
		}
		part ATA2ProtectionWindowFrontRight
		{
			parent = DoorFrontRight,
			model Light
			{
				file = SVU_FR_Window_Van_Light_a_vve,
			}
			model Heavy
			{
				file = SVU_FR_Window_Van_Heavy_a_vve,
			}
			model LightSpiked
			{
				file = SVU_FR_Window_Van_Light_Spiked_a_vve,
			}
			model HeavySpiked
			{
				file = SVU_FR_Window_Van_Heavy_Spiked_a_vve,
			}
			model LightRusted
			{
				file = SVU_FR_Window_Van_Light_a_vve,
			}
			model HeavyRusted
			{
				file = SVU_FR_Window_Van_Heavy_a_vve,
			}
			model LightSpikedRusted
			{
				file = SVU_FR_Window_Van_Light_Spiked_a_vve,
			}
			model HeavySpikedRusted
			{
				file = SVU_FR_Window_Van_Heavy_Spiked_a_vve,
			}
			model Reinforced
			{
				file = SVU_FR_Window_Van_Reinforced_a_vve,
			}
			model ReinforcedRusted
			{
				file = SVU_FR_Window_Van_Reinforced_a_vve,
			}
		}
		part ATA2ProtectionWindowMiddleRight
		{
			parent = DoorMiddleRight,
			model Light
			{
				file = SVU_RR_Window_VanSeats_Light_a_vve,
			}
			model Heavy
			{
				file = SVU_RR_Window_VanSeats_Heavy_a_vve,
			}
			model LightSpiked
			{
				file = SVU_RR_Window_VanSeats_Light_Spiked_a_vve,
			}
			model HeavySpiked
			{
				file = SVU_RR_Window_VanSeats_Heavy_Spiked_a_vve,
			}
			model LightRusted
			{
				file = SVU_RR_Window_VanSeats_Light_a_vve,
			}
			model HeavyRusted
			{
				file = SVU_RR_Window_VanSeats_Heavy_a_vve,
			}
			model LightSpikedRusted
			{
				file = SVU_RR_Window_VanSeats_Light_Spiked_a_vve,
			}
			model HeavySpikedRusted
			{
				file = SVU_RR_Window_VanSeats_Heavy_Spiked_a_vve,
			}
			model Reinforced
			{
				file = SVU_RR_Window_VanSeats_Reinforced_a_vve,
			}
			model ReinforcedRusted
			{
				file = SVU_RR_Window_VanSeats_Reinforced_a_vve,
			}
		}
		part ATA2ProtectionWindowMiddleLeft
		{
			model Light
			{
				file = SVU_RL_Window_VanSeats_Light_a_vve,
			}
			model Heavy
			{
				file = SVU_RL_Window_VanSeats_Heavy_a_vve,
			}
			model LightSpiked
			{
				file = SVU_RL_Window_VanSeats_Light_Spiked_a_vve,
			}
			model HeavySpiked
			{
				file = SVU_RL_Window_VanSeats_Heavy_Spiked_a_vve,
			}
			model LightRusted
			{
				file = SVU_RL_Window_VanSeats_Light_a_vve,
			}
			model HeavyRusted
			{
				file = SVU_RL_Window_VanSeats_Heavy_a_vve,
			}
			model LightSpikedRusted
			{
				file = SVU_RL_Window_VanSeats_Light_Spiked_a_vve,
			}
			model HeavySpikedRusted
			{
				file = SVU_RL_Window_VanSeats_Heavy_Spiked_a_vve,
			}
			model Reinforced
			{
				file = SVU_RL_Window_VanSeats_Reinforced_a_vve,
			}
			model ReinforcedRusted
			{
				file = SVU_RL_Window_VanSeats_Reinforced_a_vve,
			}
		}


        	part ATA2ProtectionDoorFrontLeft
		{
			parent = DoorFrontLeft,
			model Light
			{
				file = SVU_Door_FL_Van_Light_a_vve,
			}
			model Heavy
			{
				file = SVU_Door_FL_Van_Heavy_a_vve,
			}
			model LightSpiked
			{
				file = SVU_Door_FL_Van_Light_Spiked_a_vve,
			}
			model HeavySpiked
			{
				file = SVU_Door_FL_Van_Heavy_Spiked_a_vve,
			}
			model LightRusted
			{
				file = SVU_Door_FL_Van_Light_a_vve,
			}
			model HeavyRusted
			{
				file = SVU_Door_FL_Van_Heavy_a_vve,
			}
			model LightSpikedRusted
			{
				file = SVU_Door_FL_Van_Light_Spiked_a_vve,
			}
			model HeavySpikedRusted
			{
				file = SVU_Door_FL_Van_Heavy_Spiked_a_vve,
			}
			model Reinforced
			{
				file = SVU_Door_FL_Van_Reinforced_a_vve,
			}
			model ReinforcedRusted
			{
				file = SVU_Door_FL_Van_Reinforced_a_vve,
			}
		}

		part ATA2ProtectionDoorFrontRight
		{
			parent = DoorFrontRight,
			model Light
			{
				file = SVU_Door_FR_Van_Light_a_vve,
			}
			model Heavy
			{
				file = SVU_Door_FR_Van_Heavy_a_vve,
			}
			model LightSpiked
			{
				file = SVU_Door_FR_Van_Light_Spiked_a_vve,
			}
			model HeavySpiked
			{
				file = SVU_Door_FR_Van_Heavy_Spiked_a_vve,
			}
			model LightRusted
			{
				file = SVU_Door_FR_Van_Light_a_vve,
			}
			model HeavyRusted
			{
				file = SVU_Door_FR_Van_Heavy_a_vve,
			}
			model LightSpikedRusted
			{
				file = SVU_Door_FR_Van_Light_Spiked_a_vve,
			}
			model HeavySpikedRusted
			{
				file = SVU_Door_FR_Van_Heavy_Spiked_a_vve,
			}
			model Reinforced
			{
				file = SVU_Door_FR_Van_Reinforced_a_vve,
			}
			model ReinforcedRusted
			{
				file = SVU_Door_FR_Van_Reinforced_a_vve,
			}
		}
		part ATA2ProtectionDoorMiddleRight
		{
			parent = DoorMiddleRight,
			model Light
			{
				file = SVU_Door_RR_VanSeats_Light_a_vve,
			}
			model Heavy
			{
				file = SVU_Door_RR_VanSeats_Heavy_a_vve,
			}
			model LightSpiked
			{
				file = SVU_Door_RR_VanSeats_Light_Spiked_a_vve,
			}
			model HeavySpiked
			{
				file = SVU_Door_RR_VanSeats_Heavy_Spiked_a_vve,
			}
			model LightRusted
			{
				file = SVU_Door_RR_VanSeats_Light_a_vve,
			}
			model HeavyRusted
			{
				file = SVU_Door_RR_VanSeats_Heavy_a_vve,
			}
			model LightSpikedRusted
			{
				file = SVU_Door_RR_VanSeats_Light_Spiked_a_vve,
			}
			model HeavySpikedRusted
			{
				file = SVU_Door_RR_VanSeats_Heavy_Spiked_a_vve,
			}
			model Reinforced
			{
				file = SVU_Door_RR_VanSeats_Reinforced_a_vve,
			}
			model ReinforcedRusted
			{
				file = SVU_Door_RR_VanSeats_Reinforced_a_vve,
			}
		}

		part ATA2ProtectionHood
		{
			parent = EngineDoor,
			model Light
			{
				file = SVU_Hood_Van_Light_a_vve,
			}
			model Heavy
			{
				file = SVU_Hood_Van_Heavy_a_vve,
			}
			model LightSpiked
			{
				file = SVU_Hood_Van_Light_Spiked_a_vve,
			}
			model HeavySpiked
			{
				file = SVU_Hood_Van_Heavy_Spiked_a_vve,
			}
			model LightRusted
			{
				file = SVU_Hood_Van_Light_a_vve,
			}
			model HeavyRusted
			{
				file = SVU_Hood_Van_Heavy_a_vve,
			}
			model LightSpikedRusted
			{
				file = SVU_Hood_Van_Light_Spiked_a_vve,
			}
			model HeavySpikedRusted
			{
				file = SVU_Hood_Van_Heavy_Spiked_a_vve,
			}
			model Reinforced
			{
				file = SVU_Hood_Van_Reinforced_a_vve,
			}
			model ReinforcedRusted
			{
				file = SVU_Hood_Van_Reinforced_a_vve,
			}
			model LightScoop
			{
				file = SVU_Hood_Van_Light_Scoop_a_vve,
			}
			model HeavyScoop
			{
				file = SVU_Hood_Van_Heavy_Scoop_a_vve,
			}
			model LightSpikedScoop
			{
				file = SVU_Hood_Van_Light_Spiked_Scoop_a_vve,
			}
			model HeavySpikedScoop
			{
				file = SVU_Hood_Van_Heavy_Spiked_Scoop_a_vve,
			}
			model LightRustedScoop
			{
				file = SVU_Hood_Van_Light_Scoop_a_vve,
			}
			model HeavyRustedScoop
			{
				file = SVU_Hood_Van_Heavy_Scoop_a_vve,
			}
			model LightSpikedRustedScoop
			{
				file = SVU_Hood_Van_Light_Spiked_Scoop_a_vve,
			}
			model HeavySpikedRustedScoop
			{
				file = SVU_Hood_Van_Heavy_Spiked_Scoop_a_vve,
			}
			model ReinforcedScoop
			{
				file = SVU_Hood_Van_Reinforced_Scoop_a_vve,
			}
			model ReinforcedRustedScoop
			{
				file = SVU_Hood_Van_Reinforced_Scoop_a_vve,
			}
		}
		part ATA2ProtectionWindshieldRear
		{
			parent = DoorRear,
			model Light
			{
				file = SVU_R_Window_VanSeats_Light_a_vve,
			}
			model Heavy
			{
				file = SVU_R_Window_VanSeats_Heavy_a_vve,
			}
			model LightSpiked
			{
				file = SVU_R_Window_VanSeats_Light_Spiked_a_vve,
			}
			model HeavySpiked
			{
				file = SVU_R_Window_VanSeats_Heavy_Spiked_a_vve,
			}
			model LightRusted
			{
				file = SVU_R_Window_VanSeats_Light_a_vve,
			}
			model HeavyRusted
			{
				file = SVU_R_Window_VanSeats_Heavy_a_vve,
			}
			model LightSpikedRusted
			{
				file = SVU_R_Window_VanSeats_Light_Spiked_a_vve,
			}
			model HeavySpikedRusted
			{
				file = SVU_R_Window_VanSeats_Heavy_Spiked_a_vve,
			}
			model Reinforced
			{
				file = SVU_R_Window_VanSeats_Reinforced_a_vve,
			}
			model ReinforcedRusted
			{
				file = SVU_R_Window_VanSeats_Reinforced_a_vve,
			}
		}
		part ATA2ProtectionDoorsRear
		{
			parent = DoorRear,
			model Light
			{
				file = SVU_Trunk_Van_Light_a_vve,
			}
			model Heavy
			{
				file = SVU_Trunk_Van_Heavy_a_vve,
			}
			model LightSpiked
			{
				file = SVU_Trunk_Van_Light_Spiked_a_vve,
			}
			model HeavySpiked
			{
				file = SVU_Trunk_Van_Heavy_Spiked_a_vve,
			}
			model LightRusted
			{
				file = SVU_Trunk_Van_Light_a_vve,
			}
			model HeavyRusted
			{
				file = SVU_Trunk_Van_Heavy_a_vve,
			}
			model LightSpikedRusted
			{
				file = SVU_Trunk_Van_Light_Spiked_a_vve,
			}
			model HeavySpikedRusted
			{
				file = SVU_Trunk_Van_Heavy_Spiked_a_vve,
			}
			model Reinforced
			{
				file = SVU_Trunk_Van_Reinforced_a_vve,
			}
			model ReinforcedRusted
			{
				file = SVU_Trunk_Van_Reinforced_a_vve,
			}
		}

        	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,
            		}
        	}
		part ATA2AirScoop
		{
			model Small
			{
				file = SVU_Airscoop_Van_Small_vve,
			}
			model SmallRusted
			{
				file = SVU_Airscoop_Van_Small_Rusted_vve,
			}
			model Medium
			{
				file = SVU_Airscoop_Van_Medium_vve,
			}
			model MediumRusted
			{
				file = SVU_Airscoop_Van_Medium_Rusted_vve,
			}
			model Large
			{
				file = SVU_Airscoop_Van_Large_vve,
			}
			model LargeRusted
			{
				file = SVU_Airscoop_Van_Large_Rusted_vve,
			}
			model Piped
			{
				file = SVU_Airscoop_Van_Piped_vve,
			}
			model PipedRusted
			{
				file = SVU_Airscoop_Van_Piped_Rusted_vve,
			}
			model SmallRound
			{
				file = SVU_Airscoop_Van_Small_Round_vve,
			}
			model SmallRoundRusted
			{
				file = SVU_Airscoop_Van_Small_Round_Rusted_vve,
			}
			model LargeRound
			{
				file = SVU_Airscoop_Van_Large_Round_vve,
			}
			model LargeRoundRusted
			{
				file = SVU_Airscoop_Van_Large_Round_Rusted_vve,
			}
		}   	       	
	}
}