module Base
{
	model SVU_RR_Window_VanSeats_Light_a
	{
		mesh = vehicles/CarVanArmor_animated|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
	{
		mesh = vehicles/CarVanArmor_animated|windowrearlightspikedright,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = RearRightDoorBone 1.0,
	}
	model SVU_RR_Window_VanSeats_Heavy_a
	{
		mesh = vehicles/CarVanArmor_animated|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
	{
		mesh = vehicles/CarVanArmor_animated|windowrearheavyspikedright,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = RearRightDoorBone 1.0,
	}
	model SVU_RR_Window_VanSeats_Reinforced_a
	{
		mesh = vehicles/CarVanArmor_animated|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
	{
		mesh = vehicles/CarVanArmor_animated|doorrearlightspikedright,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = RearRightDoorBone 1.0,
	}
	model SVU_Door_RR_VanSeats_Light_a
	{
		mesh = vehicles/CarVanArmor_animated|doorrearlightright,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = RearRightDoorBone 1.0,
	}
	model SVU_Door_RR_VanSeats_Heavy_a
	{
		mesh = vehicles/CarVanArmor_animated|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
	{
		mesh = vehicles/CarVanArmor_animated|doorrewarheavyspikedright,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = RearRightDoorBone 1.0,
	}
	model SVU_Door_RR_VanSeats_Reinforced_a
	{
		mesh = vehicles/CarVanArmor_animated|doorrearreinforcedright,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = RearRightDoorBone 1.0,
	}

	model SVU_RL_Window_VanSeats_Light_a
	{
		mesh = vehicles/CarVanArmor_animated|windowrearlightleft,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = RearLeftDoorBone 1.0,
	}
	model SVU_RL_Window_VanSeats_Light_Spiked_a
	{
		mesh = vehicles/CarVanArmor_animated|windowrearlightspikedleft,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = RearLeftDoorBone 1.0,
	}
	model SVU_RL_Window_VanSeats_Heavy_a
	{
		mesh = vehicles/CarVanArmor_animated|windowrearheavyleft,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = RearLeftDoorBone 1.0,
	}
	model SVU_RL_Window_VanSeats_Heavy_Spiked_a
	{
		mesh = vehicles/CarVanArmor_animated|windowrearheavyspikedleft,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = RearLeftDoorBone 1.0,
	}
	model SVU_RL_Window_VanSeats_Reinforced_a
	{
		mesh = vehicles/CarVanArmor_animated|windowrearreinforcedleft,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = RearLeftDoorBone 1.0,

	}
	model SVU_Door_RL_VanSeats_Light_Spiked_a
	{
		mesh = vehicles/CarVanArmor_animated|doorrearlightspikedleft,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = RearLeftDoorBone 1.0,
	}
	model SVU_Door_RL_VanSeats_Light_a
	{
		mesh = vehicles/CarVanArmor_animated|doorrearlightleft,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = RearLeftDoorBone 1.0,
	}
	model SVU_Door_RL_VanSeats_Heavy_a
	{
		mesh = vehicles/CarVanArmor_animated|doorrearheavyleft,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = RearLeftDoorBone 1.0,
    	}
	model SVU_Door_RL_VanSeats_Heavy_Spiked_a
	{
		mesh = vehicles/CarVanArmor_animated|doorrewarheavyspikedleft,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = RearLeftDoorBone 1.0,
	}
	model SVU_Door_RL_VanSeats_Reinforced_a
	{
		mesh = vehicles/CarVanArmor_animated|doorrearreinforcedleft,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = RearLeftDoorBone 1.0,
	}

	model SVU_R_Window_VanSeats_Light_a
	{
		mesh = vehicles/CarVanArmor_animated|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
	{
		mesh = vehicles/CarVanArmor_animated|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
	{
		mesh = vehicles/CarVanArmor_animated|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
	{
		mesh = vehicles/CarVanArmor_animated|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
	{
		mesh = vehicles/CarVanArmor_animated|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_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 ATA2ProtectionWindowMiddleRight
		{
			parent = DoorMiddleRight,
			model Light
			{
				file = SVU_RR_Window_VanSeats_Light_a,
			}
			model Heavy
			{
				file = SVU_RR_Window_VanSeats_Heavy_a,
			}
			model LightSpiked
			{
				file = SVU_RR_Window_VanSeats_Light_Spiked_a,
			}
			model HeavySpiked
			{
				file = SVU_RR_Window_VanSeats_Heavy_Spiked_a,
			}
			model LightRusted
			{
				file = SVU_RR_Window_VanSeats_Light_a,
			}
			model HeavyRusted
			{
				file = SVU_RR_Window_VanSeats_Heavy_a,
			}
			model LightSpikedRusted
			{
				file = SVU_RR_Window_VanSeats_Light_Spiked_a,
			}
			model HeavySpikedRusted
			{
				file = SVU_RR_Window_VanSeats_Heavy_Spiked_a,
			}
			model Reinforced
			{
				file = SVU_RR_Window_VanSeats_Reinforced_a,
			}
			model ReinforcedRusted
			{
				file = SVU_RR_Window_VanSeats_Reinforced_a,
			}
		}
		part ATA2ProtectionWindowMiddleLeft
		{
			parent = DoorMiddleLeft,
			model Light
			{
				file = SVU_RL_Window_VanSeats_Light_a,
			}
			model Heavy
			{
				file = SVU_RL_Window_VanSeats_Heavy_a,
			}
			model LightSpiked
			{
				file = SVU_RL_Window_VanSeats_Light_Spiked_a,
			}
			model HeavySpiked
			{
				file = SVU_RL_Window_VanSeats_Heavy_Spiked_a,
			}
			model LightRusted
			{
				file = SVU_RL_Window_VanSeats_Light_a,
			}
			model HeavyRusted
			{
				file = SVU_RL_Window_VanSeats_Heavy_a,
			}
			model LightSpikedRusted
			{
				file = SVU_RL_Window_VanSeats_Light_Spiked_a,
			}
			model HeavySpikedRusted
			{
				file = SVU_RL_Window_VanSeats_Heavy_Spiked_a,
			}
			model Reinforced
			{
				file = SVU_RL_Window_VanSeats_Reinforced_a,
			}
			model ReinforcedRusted
			{
				file = SVU_RL_Window_VanSeats_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 ATA2ProtectionDoorMiddleRight
		{
			parent = DoorMiddleRight,
			model Light
			{
				file = SVU_Door_RR_VanSeats_Light_a,
			}
			model Heavy
			{
				file = SVU_Door_RR_VanSeats_Heavy_a,
			}
			model LightSpiked
			{
				file = SVU_Door_RR_VanSeats_Light_Spiked_a,
			}
			model HeavySpiked
			{
				file = SVU_Door_RR_VanSeats_Heavy_Spiked_a,
			}
			model LightRusted
			{
				file = SVU_Door_RR_VanSeats_Light_a,
			}
			model HeavyRusted
			{
				file = SVU_Door_RR_VanSeats_Heavy_a,
			}
			model LightSpikedRusted
			{
				file = SVU_Door_RR_VanSeats_Light_Spiked_a,
			}
			model HeavySpikedRusted
			{
				file = SVU_Door_RR_VanSeats_Heavy_Spiked_a,
			}
			model Reinforced
			{
				file = SVU_Door_RR_VanSeats_Reinforced_a,
			}
			model ReinforcedRusted
			{
				file = SVU_Door_RR_VanSeats_Reinforced_a,
			}
		}
		part ATA2ProtectionDoorMiddleLeft
		{
			parent = DoorMiddleLeft,
			model Light
			{
				file = SVU_Door_RL_VanSeats_Light_a,
			}
			model Heavy
			{
				file = SVU_Door_RL_VanSeats_Heavy_a,
			}
			model LightSpiked
			{
				file = SVU_Door_RL_VanSeats_Light_Spiked_a,
			}
			model HeavySpiked
			{
				file = SVU_Door_RL_VanSeats_Heavy_Spiked_a,
			}
			model LightRusted
			{
				file = SVU_Door_RL_VanSeats_Light_a,
			}
			model HeavyRusted
			{
				file = SVU_Door_RL_VanSeats_Heavy_a,
			}
			model LightSpikedRusted
			{
				file = SVU_Door_RL_VanSeats_Light_Spiked_a,
			}
			model HeavySpikedRusted
			{
				file = SVU_Door_RL_VanSeats_Heavy_Spiked_a,
			}
			model Reinforced
			{
				file = SVU_Door_RL_VanSeats_Reinforced_a,
			}
			model ReinforcedRusted
			{
				file = SVU_Door_RL_VanSeats_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_VanSeats_Light_a,
			}
			model Heavy
			{
				file = SVU_R_Window_VanSeats_Heavy_a,
			}
			model LightSpiked
			{
				file = SVU_R_Window_VanSeats_Light_Spiked_a,
			}
			model HeavySpiked
			{
				file = SVU_R_Window_VanSeats_Heavy_Spiked_a,
			}
			model LightRusted
			{
				file = SVU_R_Window_VanSeats_Light_a,
			}
			model HeavyRusted
			{
				file = SVU_R_Window_VanSeats_Heavy_a,
			}
			model LightSpikedRusted
			{
				file = SVU_R_Window_VanSeats_Light_Spiked_a,
			}
			model HeavySpikedRusted
			{
				file = SVU_R_Window_VanSeats_Heavy_Spiked_a,
			}
			model Reinforced
			{
				file = SVU_R_Window_VanSeats_Reinforced_a,
			}
			model ReinforcedRusted
			{
				file = SVU_R_Window_VanSeats_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,
            		}
        	}
	}
}