return helicopter("{F324202D-A045-418B-86D0-7594454FDA81}", "AH-64A", _("AH-64A"),
    {
        Cannon = "yes",
        EmptyWeight = "5345",
        HumanCockpit = "yes",
        LandRWCategories = 
        {
            [1] = 
            {
                CLSID = "{05708AED-329E-41c3-9C51-9CCE4AA09380}",
                Name = "Carrier",
            }, -- end of [1]
            [2] = 
            {
                CLSID = "{62BA70C0-33E4-4cdb-89D8-9AB1D30ABF5D}",
                Name = "HelicopterCarrier",
            }, -- end of [2]
        }, -- end of LandRWCategories
        MaxFuelWeight = "1157",
        MaxHeight = "6400",
        MaxSpeed = "300",
        MaxTakeOffWeight = "9225",
        Picture = "AH-64A.png",
        Rate = "50",
        Shape = "AH-64A",
        TakeOffRWCategories = 
        {
            [1] = 
            {
                CLSID = "{05708AED-329E-41c3-9C51-9CCE4AA09380}",
                Name = "Carrier",
            }, -- end of [1]
            [2] = 
            {
                CLSID = "{62BA70C0-33E4-4cdb-89D8-9AB1D30ABF5D}",
                Name = "HelicopterCarrier",
            }, -- end of [2]
        }, -- end of TakeOffRWCategories
        WorldID = 157,
                                
        -- Countermeasures,  2xM-160 = 60 Chaffs/Flares (60)
        SingleChargeTotal = 60,
        CMDS_Incrementation = 30,
        ChaffDefault = 30, 
        ChaffChargeSize = 1,
        FlareDefault = 30, 
        FlareChargeSize = 1,
        CMDS_Edit = "yes",
        
        ColorSchemes = {
            color_scheme("{01EC6D3C-3B39-456A-99CE-9A26FE2208DC}", _("Standard"), 0),
            color_scheme("{12DFEF4D-3A51-4b99-96E0-F4E27B15DAF1}", _("AH-64_A_Green UK"), 1),
            color_scheme("{A648CB24-F026-4c33-BBC2-5A89163B8F9E}", _("AH-64_A_Green NETH"), 2),
            color_scheme("{50BCD3A5-1F57-4037-9FC4-708EF6F25442}", _("AH-64_A_Green ISR"), 3),
            color_scheme("{0CE364E9-FA11-4400-A649-BD8DBDEC4D66}", _("Standard Dirty"), 4),
        },
        Categories = {
        },
        Crew = 2,
        CanopyGeometry = {
            azimuth = {-165.0, 165.0},
            elevation = {-80.0, 90.0}
        },
        Sensors = {
            OPTIC = {"TADS DTV", "TADS DVO", "TADS FLIR"},
            --OPTIC = {"PNVS", "TADS DTV", "TADS DVO", "TADS FLIR"},
            RWR = "Abstract RWR"
        },
        Countermeasures = {         
        },
		Failures = {
			{ id = 'hydro_main',  label = _('HYDRO MAIN'), 		enable = false, hh = 0, mm = 0, mmint = 1, prob = 100 },
			{ id = 'hydro_common',  label = _('HYDRO COMMON'), 	enable = false, hh = 0, mm = 0, mmint = 1, prob = 100 },
			{ id = 'l_engine',  label = _('L-ENGINE'), 		enable = false, hh = 0, mm = 0, mmint = 1, prob = 100 },
			{ id = 'r_engine',  label = _('R-ENGINE'), 		enable = false, hh = 0, mm = 0, mmint = 1, prob = 100 },
			{ id = 'asc_p',  	label = _('ASC PITCH'), 	enable = false, hh = 0, mm = 0, mmint = 1, prob = 100 },
			{ id = 'asc_r',  	label = _('ASC ROLL'), 		enable = false, hh = 0, mm = 0, mmint = 1, prob = 100 },
			{ id = 'asc_y',  	label = _('ASC YAW'), 		enable = false, hh = 0, mm = 0, mmint = 1, prob = 100 },
			{ id = 'asc_a',  	label = _('ASC ALT'), 		enable = false, hh = 0, mm = 0, mmint = 1, prob = 100 },
		},
        mapclasskey = "P0091000021",
    },
    {
        pylon(1, 0, 0.288000, -0.976000, -2.425000,
            {
                FiZ = 0,
            },
            {
                { CLSID = "{88D18A5E-99C8-4B04-B40B-1C02F2018B6E}" },
                { CLSID = "{FD90A1DC-9147-49FA-BF56-CB83EF0BD32B}" },
            }
        ),
        pylon(2, 0, 0.288000, -0.976000, -1.685000,
            {
                FiZ = 0,
            },
            {
                { CLSID = "{3DFB7321-AB0E-11d7-9897-000476191836}" },
                { CLSID = "{88D18A5E-99C8-4B04-B40B-1C02F2018B6E}" },
                { CLSID = "{FD90A1DC-9147-49FA-BF56-CB83EF0BD32B}" },
            }
        ),
        pylon(3, 0, 0.288000, -0.976000, 1.685000,
            {
                FiZ = 0,
            },
            {
                { CLSID = "{3DFB7321-AB0E-11d7-9897-000476191836}" },
                { CLSID = "{88D18A5E-99C8-4B04-B40B-1C02F2018B6E}" },
                { CLSID = "{FD90A1DC-9147-49FA-BF56-CB83EF0BD32B}" },
            }
        ),
        pylon(4, 0, 0.288000, -0.976000, 2.425000,
            {
                FiZ = 0,
            },
            {
                { CLSID = "{88D18A5E-99C8-4B04-B40B-1C02F2018B6E}" },
                { CLSID = "{FD90A1DC-9147-49FA-BF56-CB83EF0BD32B}" },
            }
        ),
    },
    {
        aircraft_task(CAS),
        aircraft_task(GroundAttack),
        aircraft_task(AFAC),
        aircraft_task(AntishipStrike)
    },
	aircraft_task(CAS)
);
