module Base
{
	repeat
	model VVA_Vehicles_[LABEL]_LightCapFL
	{
checkprop: LabelModels
		mesh = vehicles/[FILENAME]|Light_FrontLeft_[LABEL][Postfix]_obj,
else
		mesh = vehicles/[FILENAME]|Light_FrontLeft[Postfix]_obj,
end
		shader = vehicle_multiuv_noreflect,
		scale = [SCALE],
	}
	model VVA_Vehicles_[LABEL]_LightCapFR
	{
checkprop: LabelModels
		mesh = vehicles/[FILENAME]|Light_FrontRight_[LABEL][Postfix]_obj,
else
		mesh = vehicles/[FILENAME]|Light_FrontRight[Postfix]_obj,
end
		shader = vehicle_multiuv_noreflect,
		scale = [SCALE],
	}
	model VVA_Vehicles_[LABEL]_LightCapFL_nr
	{
checkprop: LabelModels
		mesh = vehicles/[FILENAME]|Light_FrontLeft_[LABEL][Postfix]_obj,
else
		mesh = vehicles/[FILENAME]|Light_FrontLeft[Postfix]_obj,
end
		shader = vehicle_norandom_multiuv_noreflect,
		scale = [SCALE],
	}
	model VVA_Vehicles_[LABEL]_LightCapFR_nr
	{
checkprop: LabelModels
		mesh = vehicles/[FILENAME]|Light_FrontRight_[LABEL][Postfix]_obj,
else
		mesh = vehicles/[FILENAME]|Light_FrontRight[Postfix]_obj,
end
		shader = vehicle_norandom_multiuv_noreflect,
		scale = [SCALE],
	}

	model VVA_Vehicles_[LABEL]_LightCapRL
	{
checkprop: LabelModels
		mesh = vehicles/[FILENAME]|Light_RearLeft_[LABEL][Postfix]_obj,
else
		mesh = vehicles/[FILENAME]|Light_RearLeft[Postfix]_obj,
end
		shader = vehicle_multiuv_noreflect,
		scale = [SCALE],
	}
	model VVA_Vehicles_[LABEL]_LightCapRR
	{
checkprop: LabelModels
		mesh = vehicles/[FILENAME]|Light_RearRight_[LABEL][Postfix]_obj,
else
		mesh = vehicles/[FILENAME]|Light_RearRight[Postfix]_obj,
end
		shader = vehicle_multiuv_noreflect,
		scale = [SCALE],
	}
	model VVA_Vehicles_[LABEL]_LightCapRL_nr
	{
checkprop: LabelModels
		mesh = vehicles/[FILENAME]|Light_RearLeft_[LABEL][Postfix]_obj,
else
		mesh = vehicles/[FILENAME]|Light_RearLeft[Postfix]_obj,
end
		shader = vehicle_norandom_multiuv_noreflect,
		scale = [SCALE],
	}
	model VVA_Vehicles_[LABEL]_LightCapRR_nr
	{
checkprop: LabelModels
		mesh = vehicles/[FILENAME]|Light_RearRight_[LABEL][Postfix]_obj,
else
		mesh = vehicles/[FILENAME]|Light_RearRight[Postfix]_obj,
end
		shader = vehicle_norandom_multiuv_noreflect,
		scale = [SCALE],
	}


	template vehicle VVA_[LABEL]_FrontLightCaps {
		part HeadlightCapLeft
		{
			parent = EngineDoor,
			model Default 
			{
				file = VVA_Vehicles_[LABEL]_LightCapFL,
			}
			category = nodisplay,
			specificItem = false,
			itemType = Base.LightBulb,
			lua
			{
				create = Vehicles.Create.Default,
				init = Vehicles.Init.Default,
			}
		}
		part HeadlightCapRight
		{
			parent = EngineDoor,
			model Default 
			{
				file = VVA_Vehicles_[LABEL]_LightCapFR,
			}
			category = nodisplay,
			specificItem = false,
			itemType = Base.LightBulb,
			lua
			{
				create = Vehicles.Create.Default,
				init = Vehicles.Init.Default,
			}
		}
		part HeadlightLeft 
		{
			table install {
				complete = Vehicles.Install.RemoveCapFL,
			}
		}
		part HeadlightRight 
		{
			table install {
				complete = Vehicles.Install.RemoveCapFR,
			}
		}
	}
	template vehicle VVA_[LABEL]_FrontLightCaps_nr {
		part HeadlightCapLeft
		{
			model Default 
			{
				file = VVA_Vehicles_[LABEL]_LightCapFL_nr,
			}
			category = nodisplay,
			specificItem = false,
			itemType = Base.LightBulb,
			lua
			{
				create = Vehicles.Create.Default,
				init = Vehicles.Init.Default,
			}
		}
		part HeadlightCapRight
		{
			model Default 
			{
				file = VVA_Vehicles_[LABEL]_LightCapFR_nr,
			}
			category = nodisplay,
			specificItem = false,
			itemType = Base.LightBulb,
			lua
			{
				create = Vehicles.Create.Default,
				init = Vehicles.Init.Default,
			}
		}
		part HeadlightLeft 
		{
			table install {
				complete = Vehicles.Install.RemoveCapFL,
			}
		}
		part HeadlightRight 
		{
			table install {
				complete = Vehicles.Install.RemoveCapFR,
			}
		}
	}




	template vehicle VVA_[LABEL]_RearLightCaps {
		part TaillightCapLeft
		{
			model Default 
			{
				file = VVA_Vehicles_[LABEL]_LightCapRL,
			}
			category = nodisplay,
			specificItem = false,
			itemType = Base.LightBulb,
			lua
			{
				create = Vehicles.Create.Default,
				init = Vehicles.Init.Default,
			}
		}
		part TaillightCapRight
		{
			model Default 
			{
				file = VVA_Vehicles_[LABEL]_LightCapRR,
			}
			category = nodisplay,
			specificItem = false,
			itemType = Base.LightBulb,
			lua
			{
				create = Vehicles.Create.Default,
				init = Vehicles.Init.Default,
			}
		}
		part HeadlightRearLeft 
		{
			table install {
				complete = Vehicles.Install.RemoveCapRL,
			}
		}
		part HeadlightRearRight 
		{
			table install {
				complete = Vehicles.Install.RemoveCapRR,
			}
		}
	}
	template vehicle VVA_[LABEL]_RearLightCaps_nr {
		part TaillightCapLeft
		{
			model Default 
			{
				file = VVA_Vehicles_[LABEL]_LightCapRL_nr,
			}
			category = nodisplay,
			specificItem = false,
			itemType = Base.LightBulb,
			lua
			{
				create = Vehicles.Create.Default,
				init = Vehicles.Init.Default,
			}
		}
		part TaillightCapRight
		{
			model Default 
			{
				file = VVA_Vehicles_[LABEL]_LightCapRR_nr,
			}
			category = nodisplay,
			specificItem = false,
			itemType = Base.LightBulb,
			lua
			{
				create = Vehicles.Create.Default,
				init = Vehicles.Init.Default,
			}
		}
		part HeadlightRearLeft 
		{
			table install {
				complete = Vehicles.Install.RemoveCapRL,
			}
		}
		part HeadlightRearRight 
		{
			table install {
				complete = Vehicles.Install.RemoveCapRR,
			}
		}
	}
	end
}