module Base
{
	model SVU_FL_Window_LuxuryCar_Light_a
 	{
		mesh = vehicles/CarLuxuryArmor_animated|windowfrontlightleft,
		texture = Vehicles/puv_parts,
 		shader = vehicle_armor,
 		scale = 0.004,
		static = FALSE,
		boneWeight = FrontLeftDoorBone 1.0,
		boneWeight = VehicleBone 1.0,
 	}
	model SVU_FL_Window_LuxuryCar_Light_Spiked_a
	{
		mesh = vehicles/CarLuxuryArmor_animated|windowfrontlightspikedleft,
        	texture = Vehicles/puv_parts,
        	shader = vehicle_armor,
        	scale = 0.004,
		static = FALSE,
		boneWeight = FrontLeftDoorBone 1.0,
		boneWeight = VehicleBone 1.0,
    	}
	model SVU_FL_Window_LuxuryCar_Heavy_a
	{
		mesh = vehicles/CarLuxuryArmor_animated|windowfrontheavyleft,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = FrontLeftDoorBone 1.0,
		boneWeight = VehicleBone 1.0,
	}
	model SVU_FL_Window_LuxuryCar_Heavy_Spiked_a
	{
		mesh = vehicles/CarLuxuryArmor_animated|windowfrontheavyspikedleft,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = FrontLeftDoorBone 1.0,
		boneWeight = VehicleBone 1.0,
	}
	model SVU_FL_Window_LuxuryCar_Reinforced_a
	{
		mesh = vehicles/CarLuxuryArmor_animated|windowfrontreinforcedleft,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = FrontLeftDoorBone 1.0,
		boneWeight = VehicleBone 1.0,
	}

	model SVU_FR_Window_LuxuryCar_Light_a
	{
		mesh = vehicles/CarLuxuryArmor_animated|windowfrontlightright,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = FrontRightDoorBone 1.0,
		boneWeight = VehicleBone 1.0,
	}
	model SVU_FR_Window_LuxuryCar_Light_Spiked_a
	{
		mesh = vehicles/CarLuxuryArmor_animated|windowfrontlightspikedright,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = FrontRightDoorBone 1.0,
		boneWeight = VehicleBone 1.0,
	}
	model SVU_FR_Window_LuxuryCar_Heavy_a
	{
		mesh = vehicles/CarLuxuryArmor_animated|windowfrontheavyright,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = FrontRightDoorBone 1.0,
		boneWeight = VehicleBone 1.0,
	}
	model SVU_FR_Window_LuxuryCar_Heavy_Spiked_a
	{
		mesh = vehicles/CarLuxuryArmor_animated|windowfrontheavyspikedright,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = FrontRightDoorBone 1.0,
		boneWeight = VehicleBone 1.0,
	}
	model SVU_FR_Window_LuxuryCar_Reinforced_a
	{
		mesh = vehicles/CarLuxuryArmor_animated|windowfrontreinforcedright,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = FrontRightDoorBone 1.0,
		boneWeight = VehicleBone 1.0,
	}

	model SVU_Hood_LuxuryCar_Light_a
	{
		mesh = vehicles/CarLuxuryArmor_animated|hoodlightfront,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = HoodBone 1.0,
	}
	model SVU_Hood_LuxuryCar_Light_Scoop_a
	{
		mesh = vehicles/CarLuxuryArmor_animated|hoodlightfrontscoop,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = HoodBone 1.0,
	}
	model SVU_Hood_LuxuryCar_Light_Spiked_a
	{
		mesh = vehicles/CarLuxuryArmor_animated|hoodlightspikedfront,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = HoodBone 1.0,
	}
	model SVU_Hood_LuxuryCar_Light_Spiked_Scoop_a
	{
		mesh = vehicles/CarLuxuryArmor_animated|hoodlightspikedfrontscoop,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = HoodBone 1.0,
	}
	model SVU_Hood_LuxuryCar_Heavy_a
	{
		mesh = vehicles/CarLuxuryArmor_animated|hoodheavyfront,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = HoodBone 1.0,
	}
	model SVU_Hood_LuxuryCar_Heavy_Scoop_a
	{
		mesh = vehicles/CarLuxuryArmor_animated|hoodheavyfrontscoop,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = HoodBone 1.0,
	}
	model SVU_Hood_LuxuryCar_Heavy_Spiked_a
	{
		mesh = vehicles/CarLuxuryArmor_animated|hoodheavyspikedfront,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = HoodBone 1.0,
	}
	model SVU_Hood_LuxuryCar_Heavy_Spiked_Scoop_a
	{
		mesh = vehicles/CarLuxuryArmor_animated|hoodheavyspikedfrontscoop,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = HoodBone 1.0,
	}
	model SVU_Hood_LuxuryCar_Reinforced_a
	{
		mesh = vehicles/CarLuxuryArmor_animated|hoodreinforcedfront,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = HoodBone 1.0,
	}
	model SVU_Hood_LuxuryCar_Reinforced_Scoop_a
	{
		mesh = vehicles/CarLuxuryArmor_animated|hoodreinforcedfrontscoop,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = HoodBone 1.0,
	}

	model SVU_Door_FL_LuxuryCar_Light_a
	{
		mesh = vehicles/CarLuxuryArmor_animated|doorfrontlightleft,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = FrontLeftDoorBone 1.0,
	}
	model SVU_Door_FL_LuxuryCar_Light_Spiked_a
	{
		mesh = vehicles/CarLuxuryArmor_animated|doorfrontlightspikedleft,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = FrontLeftDoorBone 1.0,
	}
	model SVU_Door_FL_LuxuryCar_Heavy_a
	{
		mesh = vehicles/CarLuxuryArmor_animated|doorfrontheavyleft,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = FrontLeftDoorBone 1.0,
	}
	model SVU_Door_FL_LuxuryCar_Heavy_Spiked_a
	{
		mesh = vehicles/CarLuxuryArmor_animated|doorfrontheavyspikedleft,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = FrontLeftDoorBone 1.0,
	}
	model SVU_Door_FL_LuxuryCar_Reinforced_a
	{
		mesh = vehicles/CarLuxuryArmor_animated|doorfrontreinforcedleft,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = FrontLeftDoorBone 1.0,
	}

	model SVU_Door_FR_LuxuryCar_Light_Spiked_a
	{
		mesh = vehicles/CarLuxuryArmor_animated|doorfrontlightspikedright,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = FrontRightDoorBone 1.0,
	}
	model SVU_Door_FR_LuxuryCar_Light_a
	{
		mesh = vehicles/CarLuxuryArmor_animated|doorfrontlightright,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = FrontRightDoorBone 1.0,
	}
	model SVU_Door_FR_LuxuryCar_Heavy_a
	{
		mesh = vehicles/CarLuxuryArmor_animated|doorfrontheavyright,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = FrontRightDoorBone 1.0,
    	}
	model SVU_Door_FR_LuxuryCar_Heavy_Spiked_a
	{
		mesh = vehicles/CarLuxuryArmor_animated|doorfrontheavyspikedright,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
		boneWeight = FrontRightDoorBone 1.0,
	}
	model SVU_Door_FR_LuxuryCar_Reinforced_a
	{
		mesh = vehicles/CarLuxuryArmor_animated|doorfrontreinforcedleft,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		invertX = TRUE,
		static = FALSE,
		boneWeight = FrontRightDoorBone 1.0,
	}

	model SVU_LuxuryCar_Hood_Scoop_a
	{
		mesh = vehicles/Car_Luxury_animated|Hood_scooped_obj,
		texture = Vehicles/puv_parts_rusted,
		shader = vehicle_multiuv_noreflect,
		scale = 0.004,
		static = FALSE,
		boneWeight = HoodBone 1.0,
	}
	

	template vehicle PU_Armor_LuxuryCar_animated
	{
		part EngineDoor
		{
			model Scooped
			{
				file = SVU_LuxuryCar_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_LuxuryCar_Light_a,
			}
			model Heavy
			{
				file = SVU_FL_Window_LuxuryCar_Heavy_a,
			}
			model LightSpiked
			{
				file = SVU_FL_Window_LuxuryCar_Light_Spiked_a,
			}
			model HeavySpiked
			{
				file = SVU_FL_Window_LuxuryCar_Heavy_Spiked_a,
			}
			model LightRusted
			{
				file = SVU_FL_Window_LuxuryCar_Light_a,
			}
			model HeavyRusted
			{
				file = SVU_FL_Window_LuxuryCar_Heavy_a,
			}
			model LightSpikedRusted
			{
				file = SVU_FL_Window_LuxuryCar_Light_Spiked_a,
			}
			model HeavySpikedRusted
			{
				file = SVU_FL_Window_LuxuryCar_Heavy_Spiked_a,
			}
			model Reinforced
			{
				file = SVU_FL_Window_LuxuryCar_Reinforced_a,
			}
			model ReinforcedRusted
			{
				file = SVU_FL_Window_LuxuryCar_Reinforced_a,
			}
		}
		part ATA2ProtectionWindowFrontRight
		{
			parent = DoorFrontRight,
			model Light
			{
				file = SVU_FR_Window_LuxuryCar_Light_a,
			}
			model Heavy
			{
				file = SVU_FR_Window_LuxuryCar_Heavy_a,
			}
			model LightSpiked
			{
				file = SVU_FR_Window_LuxuryCar_Light_Spiked_a,
			}
			model HeavySpiked
			{
				file = SVU_FR_Window_LuxuryCar_Heavy_Spiked_a,
			}
			model LightRusted
			{
				file = SVU_FR_Window_LuxuryCar_Light_a,
			}
			model HeavyRusted
			{
				file = SVU_FR_Window_LuxuryCar_Heavy_a,
			}
			model LightSpikedRusted
			{
				file = SVU_FR_Window_LuxuryCar_Light_Spiked_a,
			}
			model HeavySpikedRusted
			{
				file = SVU_FR_Window_LuxuryCar_Heavy_Spiked_a,
			}
			model Reinforced
			{
				file = SVU_FR_Window_LuxuryCar_Reinforced_a,
			}
			model ReinforcedRusted
			{
				file = SVU_FR_Window_LuxuryCar_Reinforced_a,
			}

		}

        	part ATA2ProtectionDoorFrontLeft
		{
			parent = DoorFrontLeft,
			model Light
			{
				file = SVU_Door_FL_LuxuryCar_Light_a,
			}
			model Heavy
			{
				file = SVU_Door_FL_LuxuryCar_Heavy_a,
			}
			model LightSpiked
			{
				file = SVU_Door_FL_LuxuryCar_Light_Spiked_a,
			}
			model HeavySpiked
			{
				file = SVU_Door_FL_LuxuryCar_Heavy_Spiked_a,
			}
			model LightRusted
			{
				file = SVU_Door_FL_LuxuryCar_Light_a,
			}
			model HeavyRusted
			{
				file = SVU_Door_FL_LuxuryCar_Heavy_a,
			}
			model LightSpikedRusted
			{
				file = SVU_Door_FL_LuxuryCar_Light_Spiked_a,
			}
			model HeavySpikedRusted
			{
				file = SVU_Door_FL_LuxuryCar_Heavy_Spiked_a,
			}
			model Reinforced
			{
				file = SVU_Door_FL_LuxuryCar_Reinforced_a,
			}
			model ReinforcedRusted
			{
				file = SVU_Door_FL_LuxuryCar_Reinforced_a,
			}
		}

		part ATA2ProtectionDoorFrontRight
		{
			parent = DoorFrontRight,
			model Light
			{
				file = SVU_Door_FR_LuxuryCar_Light_a,
			}
			model Heavy
			{
				file = SVU_Door_FR_LuxuryCar_Heavy_a,
			}
			model LightSpiked
			{
				file = SVU_Door_FR_LuxuryCar_Light_Spiked_a,
			}
			model HeavySpiked
			{
				file = SVU_Door_FR_LuxuryCar_Heavy_Spiked_a,
			}
			model LightRusted
			{
				file = SVU_Door_FR_LuxuryCar_Light_a,
			}
			model HeavyRusted
			{
				file = SVU_Door_FR_LuxuryCar_Heavy_a,
			}
			model LightSpikedRusted
			{
				file = SVU_Door_FR_LuxuryCar_Light_Spiked_a,
			}
			model HeavySpikedRusted
			{
				file = SVU_Door_FR_LuxuryCar_Heavy_Spiked_a,
			}
			model Reinforced
			{
				file = SVU_Door_FR_LuxuryCar_Reinforced_a,
			}
			model ReinforcedRusted
			{
				file = SVU_Door_FR_LuxuryCar_Reinforced_a,
			}
		}

		part ATA2ProtectionHood
		{
			parent = EngineDoor,
			model Light
			{
				file = SVU_Hood_LuxuryCar_Light_a,
			}
			model Heavy
			{
				file = SVU_Hood_LuxuryCar_Heavy_a,
			}
			model LightSpiked
			{
				file = SVU_Hood_LuxuryCar_Light_Spiked_a,
			}
			model HeavySpiked
			{
				file = SVU_Hood_LuxuryCar_Heavy_Spiked_a,
			}
			model LightRusted
			{
				file = SVU_Hood_LuxuryCar_Light_a,
			}
			model HeavyRusted
			{
				file = SVU_Hood_LuxuryCar_Heavy_a,
			}
			model LightSpikedRusted
			{
				file = SVU_Hood_LuxuryCar_Light_Spiked_a,
			}
			model HeavySpikedRusted
			{
				file = SVU_Hood_LuxuryCar_Heavy_Spiked_a,
			}
			model Reinforced
			{
				file = SVU_Hood_LuxuryCar_Reinforced_a,
			}
			model ReinforcedRusted
			{
				file = SVU_Hood_LuxuryCar_Reinforced_a,
			}
			model LightScoop
			{
				file = SVU_Hood_LuxuryCar_Light_Scoop_a,
			}
			model HeavyScoop
			{
				file = SVU_Hood_LuxuryCar_Heavy_Scoop_a,
			}
			model LightSpikedScoop
			{
				file = SVU_Hood_LuxuryCar_Light_Spiked_Scoop_a,
			}
			model HeavySpikedScoop
			{
				file = SVU_Hood_LuxuryCar_Heavy_Spiked_Scoop_a,
			}
			model LightRustedScoop
			{
				file = SVU_Hood_LuxuryCar_Light_Scoop_a,
			}
			model HeavyRustedScoop
			{
				file = SVU_Hood_LuxuryCar_Heavy_Scoop_a,
			}
			model LightSpikedRustedScoop
			{
				file = SVU_Hood_LuxuryCar_Light_Spiked_Scoop_a,
			}
			model HeavySpikedRustedScoop
			{
				file = SVU_Hood_LuxuryCar_Heavy_Spiked_Scoop_a,
			}
			model ReinforcedScoop
			{
				file = SVU_Hood_LuxuryCar_Reinforced_Scoop_a,
			}
			model ReinforcedRustedScoop
			{
				file = SVU_Hood_LuxuryCar_Reinforced_Scoop_a,
			}
		}
        	part ATA2Protection*
        	{
            		model anchorNormal {
				file = SVU_Dummy_LuxuryCar,
			}
			model anchorRusted {
				file = SVU_Dummy_LuxuryCar_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,
            		}
        	}
        }
}