module Base
{
        
    model ATA_Luton_armor_front
    {
        mesh = vehicles/ATA_Luton_body|armor_front,
        texture = Vehicles/ATA_Luton_items,
        shader = vehiclewheel,
        scale = 0.035,
    }
    model ATA_Luton_armor_engine
    {
        mesh = vehicles/ATA_Luton_body|armor_engine,
        texture = Vehicles/ATA_Luton_items,
        shader = vehiclewheel,
        scale = 0.035,
    }
    model ATA_Luton_armor_leftwindow
    {
        mesh = vehicles/ATA_Luton_body|armor_leftwindow,
        texture = Vehicles/ATA_Luton_items,
        shader = vehiclewheel,
        scale = 0.035,
    }
    model ATA_Luton_armor_rightwindow
    {
        mesh = vehicles/ATA_Luton_body|armor_rightwindow,
        texture = Vehicles/ATA_Luton_items,
        shader = vehiclewheel,
        scale = 0.035,
    }
    model ATA_Luton_armor_window
    {
        mesh = vehicles/ATA_Luton_body|armor_window,
        texture = Vehicles/ATA_Luton_items,
        shader = vehiclewheel,
        scale = 0.035,
    }
    
    template vehicle ATA_Luton_Template_Protection
    {
        template = ATA2Protection/part/ATA2ProtectionSideFront,
        part ATA2ProtectionSideFront
        {
            model Default
            {
                file = ATA_Luton_armor_front,
            }
        }

        template = ATA2Protection/part/ATA2ProtectionHood,
        part ATA2ProtectionHood
        {
            table install
            {
                requireInstalled = EngineDoor;ATAProtectionSideFront,
            }
            model Default
            {
                file = ATA_Luton_armor_engine,
            }
        }

        template = ATA2Protection/part/ATA2ProtectionWindshield,
        part ATA2ProtectionWindshield
        {
            table install
            {
                requireInstalled = ATAProtectionSideFront,
            }
            model Default
            {
                file = ATA_Luton_armor_window,
            }
        }

        template = ATA2Protection/part/ATA2ProtectionWindowFrontLeft,
        part ATA2ProtectionWindowFrontLeft
        {
            model Default
            {
                file = ATA_Luton_armor_leftwindow,
            }
        }
        
        template = ATA2Protection/part/ATA2ProtectionWindowFrontRight,
        part ATA2ProtectionWindowFrontRight
        {
            model Default
            {
                file = ATA_Luton_armor_rightwindow,
            }
        }
    }
}