module Base
{
	model SVU_RL_Window_Van_Light_a
 	{
		mesh = vehicles/SVU/VVA/Van/doorR|windowrearlightleft,
		shader = vehicle_armor,
 		scale = 0.004,
		static = FALSE,
 	}
	model SVU_RL_Window_Van_Light_Spiked_a
	{
		mesh = vehicles/SVU/VVA/Van/doorR|windowrearlightspikedleft,
        texture = Vehicles/puv_parts,
        shader = vehicle_armor,
        scale = 0.004,
		static = FALSE,
	}
	model SVU_RL_Window_Van_Heavy_a
	{
		mesh = vehicles/SVU/VVA/Van/doorR|windowrearheavyleft,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
	}
	model SVU_RL_Window_Van_Heavy_Spiked_a
	{
		mesh = vehicles/SVU/VVA/Van/doorR|windowrearheavyspikedleft,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
	}
	model SVU_RL_Window_Van_Reinforced_a
	{
		mesh = vehicles/SVU/VVA/Van/doorR|windowrearreinforcedleft,
		texture = Vehicles/puv_parts,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
	}
	template vehicle PU_armor_Van_doorwindowsML {
        part ATA2ProtectionWindowMiddleLeft
		{
			parent = DoorMiddleLeft,
			model anchorNormal {
				file = VVA_SVU_Dummy,
			}
			model anchorRusted {
				file = VVA_SVU_DummyRust,
			}
			model Light
			{
				file = SVU_RL_Window_Van_Light_a,
			}
			model Heavy
			{
				file = SVU_RL_Window_Van_Heavy_a,
			}
			model LightSpiked
			{
				file = SVU_RL_Window_Van_Light_Spiked_a,
			}
			model HeavySpiked
			{
				file = SVU_RL_Window_Van_Heavy_Spiked_a,
			}
			model LightRusted
			{
				file = SVU_RL_Window_Van_Light_a,
			}
			model HeavyRusted
			{
				file = SVU_RL_Window_Van_Heavy_a,
			}
			model LightSpikedRusted
			{
				file = SVU_RL_Window_Van_Light_Spiked_a,
			}
			model HeavySpikedRusted
			{
				file = SVU_RL_Window_Van_Heavy_Spiked_a,
			}
			model Reinforced
			{
				file = SVU_RL_Window_Van_Reinforced_a,
			}
			model ReinforcedRusted
			{
				file = SVU_RL_Window_Van_Reinforced_a,
			}

			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,
            }
		}
    }
}
