

mount_vfs_model_path	(current_mod_path.."/Shapes")
mount_vfs_texture_path  (current_mod_path.."/Textures")
mount_vfs_texture_path  (current_mod_path.."/Textures/MirageF1")
mount_vfs_texture_path  (current_mod_path.."/Textures/French Weappons")
mount_vfs_texture_path  (current_mod_path.."/Textures/generator")

declare_loadout({
	category		 = CAT_PODS,                                                
	CLSID			 = "COLD START",
	attribute		 =  {wsType_Air,wsType_Free_Fall,wsType_FuelTank,WSTYPE_PLACEHOLDER},
	Picture			 = "COLD START.png",
	displayName		 = _("COLD START"),
	Weight_Empty	 = 12,
	--Weight			 = 12 +  0.0775 * 70,
	Weight			 = 5,
	Cx_pil			 = 0.002,
	shape_table_data = 
	{
		{
			name 	= "COLD START",
			file	= "COLD START";
			life	= 1;                 
			fire	= { 0, 1};
			username	= "COLD START";
			index	= WSTYPE_PLACEHOLDER;
		},
	},
	Elements	= 
	{
		{
			ShapeName	= "COLD START",
			
			
		}, 
	}, 
})


declare_loadout({
		category		= CAT_PODS,
		CLSID			= "{Barax}",
		attribute	=	{4,15,50,WSTYPE_PLACEHOLDER},
		Picture			= "TS.png",
		displayName		= _("Barax"),
		Smoke  = {alpha = 0,r  = 255,g  = 255,b  = 255,dx = -3.85, dy = -0.062}, 
		shape_table_data = {{
					name 	= "Barax",
					file	= "Barax";
					life	= 1;
					fire	= { 0, 1};
					username	= "Barax";
					index	= WSTYPE_PLACEHOLDER;
				     },},
		Weight			= 1.0,
		Count 			= 1,
		Cx_pil			= 0.001313754,
		Elements		={{
						ShapeName	=	"Barax", 
						Position	=	{-18, 0, 0}, 
						DrawArgs	=	{[1] = {1,0.1}}
					 }}
	   	})
		
	
	declare_loadout({
		category		= CAT_PODS,
		CLSID			= "{Phimat}",
		attribute	=	{4,15,50,WSTYPE_PLACEHOLDER},
		Picture			= "TS.png",
		displayName		= _("Phimat"),
		Smoke  = {alpha = 0,r  = 255,g  = 255,b  = 255,dx = -3.85, dy = -0.062}, 
		shape_table_data = {{
					name 	= "Phimat",
					file	= "Phimat";
					life	= 1;
					fire	= { 0, 1};
					username	= "Phimat";
					index	= WSTYPE_PLACEHOLDER;
				     },},
		Weight			= 1.0,
		Count 			= 1,
		Cx_pil			= 0.001313754,
		Elements		={{
						ShapeName	=	"Phimat", 
						Position	=	{-18, 0, 0}, 
						DrawArgs	=	{[1] = {1,0.1}}
					 }}
	   	})
		
	

declare_loadout(
	{
		category	= CAT_FUEL_TANKS,
		CLSID		= "{PTB_200}",
		attribute	=  {wsType_Air,wsType_Free_Fall,wsType_FuelTank,WSTYPE_PLACEHOLDER},
		Picture		= "PTB.png",
		displayName	= _("PTB_200"),
		Weight_Empty	= 7,
		Weight		= 7 +  3.028 * 200,
		Cx_pil		= 0.002,
		shape_table_data = 
		{
			{
				name 	= "PTB_200",
				file	= "PTB_200";
				life	= 1;
				fire	= { 0, 1};
				username	= "PTB_200";
				index	= WSTYPE_PLACEHOLDER;
			},
		},
		Elements	= 
		{
			{
				ShapeName	= "PTB_200",
			}, 
		}, 
	}
)


declare_loadout(
	{
		category	= CAT_FUEL_TANKS,
		CLSID		= "{PTB_300}",
		attribute	=  {wsType_Air,wsType_Free_Fall,wsType_FuelTank,WSTYPE_PLACEHOLDER},
		Picture		= "PTB.png",
		displayName	= _("PTB_300"),
		Weight_Empty	= 7,
		Weight		= 7 +  3.028 * 300,
		Cx_pil		= 0.002,
		shape_table_data = 
		{
			{
				name 	= "PTB_300",
				file	= "PTB_300";
				life	= 1;
				fire	= { 0, 1};
				username	= "PTB_300";
				index	= WSTYPE_PLACEHOLDER;
			},
		},
		Elements	= 
		{
			{
				ShapeName	= "PTB_300",
			}, 
		}, 
	}
)


declare_loadout(
	{
		category	= CAT_FUEL_TANKS,
		CLSID		= "{PTB_700}",
		attribute	=  {wsType_Air,wsType_Free_Fall,wsType_FuelTank,WSTYPE_PLACEHOLDER},
		Picture		= "PTB.png",
		displayName	= _("PTB_700"),
		Weight_Empty	= 7,
		Weight		= 7 +  3.028 * 300,
		Cx_pil		= 0.002,
		shape_table_data = 
		{
			{
				name 	= "PTB_700",
				file	= "PTB_700";
				life	= 1;
				fire	= { 0, 1};
				username	= "PTB_700";
				index	= WSTYPE_PLACEHOLDER;
			},
		},
		Elements	= 
		{
			{
				ShapeName	= "PTB_700",
			}, 
		}, 
	}
)
		
MirageF1CT =  {
        
	Name 				=   'MirageF1CT',
	DisplayName			= _('MirageF1CT'),
	Cannon = "yes",
    WorldID = MirageF1CT,
	HumanCockpit 		= true,
	HumanCockpitPath    = current_mod_path..'/Cockpit/',
	Picture 			= "MirageF1CT.png",
	Rate 				= 40, -- RewardPoint in Multiplayer
	Shape 				= "MirageF1CT",
	
	shape_table_data 	= 
	{
		{
			file  	 	= 'MirageF1CT';
			life  	 	= 20; -- lifebar
			vis   	 	= 3; -- visibility gain.
			desrt    	= 'MirageF1_destr'; -- Name of destroyed object file name
			fire  	 	= { 300, 2}; -- Fire on the ground after destoyed: 300sec 2m
			username	= 'MirageF1CT';
			index    	=  WSTYPE_PLACEHOLDER;
		},
		{
			name  = "MirageF1_destr";
			file  = "MirageF1_destr";
			fire  = { 240, 2};
		},

	},
	
		net_animation ={ },
	-------------------------
	
	--WorldID      = 6,
   -- index        =  MirageF1;
	
	mapclasskey 		= "P0091000024",
	attribute = {wsType_Air, wsType_Airplane, wsType_Fighter,MirageF1CT, F_15,
     "Multirole fighters", "Refuelable"
        },
	Categories= {"{78EFB7A2-FD52-4b57-A6A6-3BF0E1D6555F}", "Interceptor",},
		M_empty		=	9275,
		M_nominal	=	14400,
		M_max		=	22600,
		M_fuel_max	=	4530,
		H_max		=	18000,
		
	
		average_fuel_consumption	=	0.168,
		CAS_min		=	50, 
		V_opt		=	170,
		V_take_off	=	65, 
		V_land		=	100, 
		V_max_sea_level	=	400,
		V_max_h		=	588,   
		Vy_max		=	260,  
		Mach_max	=	2,  
		Ny_min		=	-3,
		Ny_max		=	9,
		Ny_max_e 	= 	8.0,  
   		AOA_take_off	=	0.16,
		bank_angle_max	=	60,
		
		has_afteburner	=	true,
		has_speedbrake	=	true,
		radar_can_see_ground	=	true,
		detection_range_max	=	190,
		
		nose_gear_pos = 	{5.074,-1.78, -0.000},
		main_gear_pos = 	{-0.423,-1.82, -1.387},
		wing_tip_pos = 	    {-3.14, 0.10, 4.15},
		air_refuel_receptacle_pos 	= {7.050, 0.89, 0.37},
		
		
		
		
	    nose_gear_amortizer_direct_stroke   		=  0.09,  -- down from nose_gear_pos !!!
	    nose_gear_amortizer_reversal_stroke  		=  -0.11,  -- up 
	    nose_gear_amortizer_normal_weight_stroke 	=  0,   -- up 
	    nose_gear_wheel_diameter 	                = 0.754, -- in m
	
	    main_gear_amortizer_direct_stroke	 	    =   0, --  down from main_gear_pos !!!
	    main_gear_amortizer_reversal_stroke  	    = 	0, --  up 
	    main_gear_amortizer_normal_weight_stroke    =   0,-- down from main_gear_pos
	    main_gear_wheel_diameter 				    =   0.972, -- in m
		
		
		tand_gear_max	=	0.577,
		tanker_type	=	2,--KC-130 (With others tanker change the value) /KC-135 BDA value= 3/ F-3B Tanker value= 4 
		wing_area	=	33.1,
		wing_span	=	9.75,
		thrust_sum_max	=	6800,
		thrust_sum_ab	=	9500,
		length	=	16.43,
		height	=	5.43,
		flaps_maneuver	=	0.5,
		range	=	1250,
		RCS	=	4,
		IR_emission_coeff	=	0.6,
		IR_emission_coeff_ab	=	1,
	

		brakeshute_name	=	3,
		is_tanker	=	false,
		engines_count	=	1,
		engines_nozzles = 
		{
			[1] = 
			{
				pos = 	{-5.813, -0.07, 0.0},
				elevation	=	0,
				diameter	=	1.1,
				exhaust_length_ab	=	8.6,
				exhaust_length_ab_K	=	0.5,
				smokiness_level     = 	0.1, 
			}, -- end of [1]
			
				[2] = 
			{
				pos = 	{-5.813, -0.07, 0.0},
				elevation	=	0,
				diameter	=	0,
				exhaust_length_ab	=	-0.1,
				exhaust_length_ab_K	=	0.5,
				smokiness_level     = 	0.1, 
			}, -- end of [1]
			
				
			
		}, -- end of engines_nozzles
		
		
		
	crew_size	=	1,
		crew_members = 
		{
			[1] = 
			{
				ejection_seat_name	=	9,
			--	drop_canopy_name	=	35,
			   drop_canopy_name	=	'MirageF1-CANOPY',
				pos = 	{4.79,	0.7,	0},
			}, -- end of [1]
		}, -- end of crew_members
		
		fires_pos = 
		{
			[1] = 	{-2.351,	-0.696,	0},
			[2] = 	{-0.681,	0.749,	1.649},
			[3] = 	{-0.681,	0.749,	-1.649},
			[4] = 	{-0.82,	0.265,	2.774},
			[5] = 	{-0.82,	0.265,	-2.774},
			[6] = 	{-0.82,	0.255,	4.274},
			[7] = 	{-0.82,	0.255,	-4.274},
			[8] = 	{-7.828,	0.051,	0.73},
			[9] = 	{-7.828,	0.051,	-0.73},
			[10] = 	{-2.84,	0.549,	2.6},
			[11] = 	{-2.84,	0.549,	-2.6},
		}, -- end of fires_pos



	Countermeasures = {
		ECM = "AN/ALQ-135"
	},

		passivCounterm = {
			CMDS_Edit = true,
			SingleChargeTotal = 10000,
			chaff = {default = 5000, increment = 8, chargeSz = 1},
			flare = {default = 5000, increment = 8, chargeSz = 1}
        			},
					
		chaff_flare_dispenser = 
		{

			
		{ dir =  {0, 1,  0}, pos =  {-4.827,  0.35, -0.3}, }, -- Chaff L
		{ dir =  {0, 1,  0}, pos =  {-4.827,  0.35, 0.3}, },  -- Chaff R		
		{ dir =  {0, 1,  0}, pos =  {-4.832,  0.35, -0.3}, }, -- Flares L	
		{ dir =  {0, 1,  0}, pos =  {-4.832,  0.35,  0.3}, }, -- Flares R
			
		}, 

		--sensors
	detection_range_max		 = 120,
	radar_can_see_ground 	 = true,  
	sound_name	=	"aircraft\MirageF1\Sounds",
		
		CanopyGeometry = {
           		 azimuth = {-145.0, 145.0},
           		 elevation = {-50.0, 90.0}
       		},
			
       		Sensors = {
	RADAR = "N-011M",
	IRST = "OLS-27",
	RWR = "Abstract RWR"     
		},
		
		Failures = {
		--
		    { id = 'asc', 		label = _('ASC'), 		enable = false, hh = 0, mm = 0, mmint = 1, prob = 100 },
			{ id = 'autopilot', label = _('AUTOPILOT'), enable = false, hh = 0, mm = 0, mmint = 1, prob = 100 },
			{ id = 'hydro',  	label = _('HYDRO'), 	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 = 'radar',  	label = _('RADAR'), 	enable = false, hh = 0, mm = 0, mmint = 1, prob = 100 },
			{ id = 'eos',  		label = _('EOS'), 		enable = false, hh = 0, mm = 0, mmint = 1, prob = 100 },
			{ id = 'helmet',  	label = _('HELMET'), 	enable = false, hh = 0, mm = 0, mmint = 1, prob = 100 },
			{ id = 'rws',  		label = _('RWS'), 		enable = false, hh = 0, mm = 0, mmint = 1, prob = 100 },
			{ id = 'ecm',   	label = _('ECM'), 		enable = false, hh = 0, mm = 0, mmint = 1, prob = 100 },
			{ id = 'hud',  		label = _('HUD'), 		enable = false, hh = 0, mm = 0, mmint = 1, prob = 100 },
			{ id = 'mfd',  		label = _('MFD'), 		enable = false, hh = 0, mm = 0, mmint = 1, prob = 100 },
	
	
	},
		
		
		
		
		Guns = {
		
		
         gun_mount("DEFA_554", { count = 535 },{muzzle_pos = {2.93, -0.53, 0.31}})--Version Mirage F1CT a single canon to the right
		 
		},

		
	Pylons =     {
	
	pylon(1, 0, 0, 0, 0, {use_full_connector_position=false,connector = "PYLON_1",arg = 308,arg_value = -1.0, FiZ = 2},
		
		{
		

		
		                { CLSID = "{FC23864E-3B80-48E3-9C03-4DA8B1D7497B}",arg = 308,arg_value = 0.5 }, -- MAGIC II (R550)
						{ CLSID = "{6CEB49FC-DED8-4DED-B053-E1F033FF72D3}",arg = 308,arg_value = 0.8 }, -- AIM-9M
						{ CLSID = "{D3F65166-1AB8-490f-AF2F-2FB6E24A61C1}",arg = 308,arg_value = 0.8 }, -- Magic SmokeGenerator_red
				        { CLSID = "{D3F65166-1AB8-490f-AF2F-2FB6E24A61C2}",arg = 308,arg_value = 0.8 }, -- Magic SmokeGenerator_green
				        { CLSID = "{D3F65166-1AB8-490f-AF2F-2FB6E24A61C3}" ,arg = 308,arg_value = 0.8}, -- Magic SmokeGenerator_blue
				        { CLSID = "{D3F65166-1AB8-490f-AF2F-2FB6E24A61C4}",arg = 308,arg_value = 0.8 }, -- Magic SmokeGenerator_white
				        { CLSID = "{D3F65166-1AB8-490f-AF2F-2FB6E24A61C5}" ,arg = 308,arg_value = 0.8}, -- Magic SmokeGenerator_yellow
				        { CLSID = "{D3F65166-1AB8-490f-AF2F-2FB6E24A61C6}" ,arg = 308,arg_value = 0.8}, -- Magic SmokeGenerator_orange    
		
		
		}
		
		),
		
		pylon(2, 0, 0, 0, 0, {use_full_connector_position=false,connector = "PYLON_2",arg = 309,arg_value = -1.0, FiZ = 2},
		
		{

			    
             
			    { CLSID = "{F3EFE0AB-E91A-42D8-9CA2-B63C91ED570A}" ,arg = 309,arg_value = 0.8, attach_point_position = {0, -0.10 ,0 }  }, -- LAU-10\LRF3 lance Roquette 4*100mm
				{ CLSID = "{FD90A1DC-9147-49FA-BF56-CB83EF0BD32B}",arg = 309,arg_value = 0.8, attach_point_position = {0, -0.10 ,0 }   }, -- LAU-61\LRF4 lance Roquette 18*68mm
                { CLSID = "{90321C8E-7ED1-47D4-A160-E074D5ABD902}",arg = 309,arg_value = 0.8, attach_point_position = {0.15, 0.15 ,0 }  }, -- Mk-81
                { CLSID = "{BCE4E030-38E9-423E-98ED-24BE3DA87C32}",arg = 309,arg_value = 0.8 , attach_point_position = {0.15, -0.10 ,0 } }, -- Mk-82
				{ CLSID = "{Matra155RocketPod}",arg = 309, arg_value = 0.35 ,attach_point_position = {0, 0.05 ,0 }   }, -- Matra Type 155 Rocket pod
				{ CLSID = "{BLG66_BELOUGA_AC}", arg = 309,arg_value = 0.35, attach_point_position = {0, 0.10 ,0 }  }, -- BLG-66 Belouga anti char
                {CLSID = "{DB769D48-67D7-42ED-A2BE-108D566C8B1E}", arg_value = 0.25, attach_point_position = {0.15, -0.10 ,0 } }, -- GBU-12
				{CLSID = "{0D33DDAE-524F-4A4E-B5B8-621754FE3ADE}", arg_value = 0.25, attach_point_position = {0.15, -0.10 ,0 } }, -- GBU-16
				{CLSID = "{34759BBC-AF1E-4AEE-A581-498FF7A6EBCE}", arg_value = 0.25, attach_point_position = {0.15, 0.05 ,0 } }, -- GBU-24
			    { CLSID = "{7A44FF09-527C-4B7E-B42B-3F111CFE50FB}",arg = 309,arg_value = 0.8, attach_point_position = {0.15, -0.10 ,0 }},--Mk-83
				{ CLSID = "{D5D51E24-348C-4702-96AF-97A714E72697}",arg = 309,arg_value = 0.8},--MER*2 MK-82
				{ CLSID = "{18617C93-78E7-4359-A8CE-D754103EDF63}",arg = 309,arg_value = 0.8},--MER*2 MK-83
  			    { CLSID	= "{Barax}"                                        ,arg_value = 0.3}, 
			    { CLSID	= "{Phimat}"                                        ,arg_value = 0.3}, 
			    { CLSID	 = "{samp_mk_82}",arg_value = 0.3,attach_point_position = {0.15, 0.05 ,0 } },
				{ CLSID	 = "{samp_type21}",arg_value = 0.3,attach_point_position = {0.15, 0.05 ,0 } }, 
			    { CLSID = "{752B9781-F962-11d5-9190-00A0249B6F00}",arg = 309,arg_value = 0.5 }, -- BLU-107 Durandal Anti-piste
			
			
		}),
		
		
		pylon(3, 0, 0, 0, 0, {use_full_connector_position=false,connector = "PYLON_3",arg = 310,arg_value = -1.0, FiZ = 2},
		
		{
	
			
			    { CLSID = "{AS_30L}"  ,arg_value = 0.3 ,attach_point_position = {0.15, 0.15 ,0 } }, --Missile antichar
                { CLSID = "{90321C8E-7ED1-47D4-A160-E074D5ABD902}",arg = 310,arg_value = 0.8,attach_point_position = {0.15, 0.15 ,0 } }, -- Mk-81
                { CLSID = "{BCE4E030-38E9-423E-98ED-24BE3DA87C32}",arg = 310,arg_value = 0.8 ,attach_point_position = {0.15, -0.10 ,0 }}, -- Mk-82
                { CLSID = "{7A44FF09-527C-4B7E-B42B-3F111CFE50FB}",arg = 310,arg_value = 0.8,attach_point_position = {0.15, -0.10 ,0 } }, -- Mk-83
				{ CLSID = "{B26BE7F3-3493-4fd2-AA73-8847B83A1A03}",arg = 310,arg_value = 0.8 }, -- MER*2 MK-82
				{ CLSID = "{4741A78E-95AD-405c-B396-0AD3C73BBC5C}",arg = 310,arg_value = 0.8 }, -- MER*2 MK-83
        	    { CLSID = "{F3EFE0AB-E91A-42D8-9CA2-B63C91ED570A}",arg = 310,arg_value = 0.8, attach_point_position = {0, 0.10 ,0 }  }, -- LAU-10\LRF3 lance Roquette 4*100mm
                { CLSID = "{FD90A1DC-9147-49FA-BF56-CB83EF0BD32B}" ,arg = 310,arg_value = 0.8, attach_point_position = {0.40, 0.10 ,0 }}, -- LAU-61\LRF4 lance Roquette 18*68mm
                { CLSID = "{637334E4-AB5A-47C0-83A6-51B7F1DF3CD5}" ,arg = 310,arg_value = 0.8, attach_point_position = {0.55, 0.10 ,0 }}, -- UB-32A\LRF1 lance Roquette 36(32)*68mm
				{ CLSID = "{M2KC_RAFAUT_MK82}", arg = 310, arg_value = 0.35,attach_point_position = {-0.15, 0.15 ,0 }    }, -- MK-82 x2
				{ CLSID = "{M2KC_RAFAUT_MK82S}", arg = 310, arg_value = 0.35,attach_point_position = {-0.15, 0.15 ,0 }  }, -- MK-82S x2
				{ CLSID = "{M2KC_RAFAUT_BLG66}", arg = 310, arg_value = 0.35,attach_point_position = {-0.15, 0.15 ,0 } }, -- Belouga x2 (now loads MK-20s)
			    { CLSID = "{Matra155RocketPod}", arg = 310,arg_value = 0.35,attach_point_position = {0.15, 0.05 ,0 }}, -- Matra Type 155 Rocket pod
			    { CLSID = "{BLG66_BELOUGA_AC}", arg = 310, arg_value = 0.35,attach_point_position = {0.15, 0.05 ,0 }}, -- BLG-66 Belouga AC
                { CLSID = "{DB769D48-67D7-42ED-A2BE-108D566C8B1E}", arg_value = 0.25,attach_point_position = {0.15, -0.10 ,0 } }, -- GBU-12
				{ CLSID = "{0D33DDAE-524F-4A4E-B5B8-621754FE3ADE}", arg_value = 0.25,attach_point_position = {0.15, -0.10 ,0 } }, -- GBU-16
                { CLSID = "{34759BBC-AF1E-4AEE-A581-498FF7A6EBCE}", arg_value = 0.25,attach_point_position = {0.15, 0.05 ,0 } }, -- GBU-24					
			    { CLSID	= "{PTB_300}"       ,arg_value = 0.3},--RESERVOIR LATERAL
			    { CLSID	 = "{samp_mk_82}",arg_value = 0.3,attach_point_position = {0.15, 0.05 ,0 } },
				{ CLSID	 = "{samp_type21}",arg_value = 0.3,attach_point_position = {0.15, 0.05 ,0 } }, 
			    { CLSID = "{752B9781-F962-11d5-9190-00A0249B6F00}",arg = 310,arg_value = 0.5 }, -- BLU-107 Durandal Anti-piste
		        
		}),
		
		pylon(4, 0, 0, 0, 0, {use_full_connector_position=false,connector = "PYLON_4",arg = 311,arg_value = -1.0, FiZ = 1.2},   
			
		{
			
	
			            {CLSID = "{B1EF6B0E-3D91-4047-A7A5-A99E7D8B4A8B}",arg_value = 0.3,attach_point_position = {0.40, 0.15 ,0 }},-- Mercury LLTV Pod    
			            { CLSID = "{DB769D48-67D7-42ED-A2BE-108D566C8B1E}", arg_value = 0.25,attach_point_position = {0.15, -0.10 ,0 } }, -- GBU-12
				        { CLSID = "{0D33DDAE-524F-4A4E-B5B8-621754FE3ADE}", arg_value = 0.25,attach_point_position = {0.15, -0.10 ,0 } }, -- GBU-16
				        { CLSID = "{34759BBC-AF1E-4AEE-A581-498FF7A6EBCE}", arg_value = 0.25,attach_point_position = {0.15, 0.05 ,0 } }, -- GBU-24                      
				        { CLSID = "{90321C8E-7ED1-47D4-A160-E074D5ABD902}",arg = 311,arg_value = 0.8, attach_point_position = {0.15, 0.15 ,0 }  }, -- Mk-81
				        { CLSID = "{BCE4E030-38E9-423E-98ED-24BE3DA87C32}" ,arg = 311,arg_value = 0.8, attach_point_position = {0.15, -0.10 ,0 }}, -- Mk-82
				        { CLSID = "{7A44FF09-527C-4B7E-B42B-3F111CFE50FB}" ,arg = 311,arg_value = 0.8, attach_point_position = {0.15, -0.10 ,0 } }, -- Mk-83
				        { CLSID = "{B26BE7F3-3493-4fd2-AA73-8847B83A1A03}" ,arg = 311,arg_value = 0.8 }, -- MER*2 MK-82
				        { CLSID = "{4741A78E-95AD-405c-B396-0AD3C73BBC5C}" ,arg = 311,arg_value = 0.8 }, -- MER*2 MK-83
        				{ CLSID = "{752B9781-F962-11d5-9190-00A0249B6F00}",arg = 311,arg_value = 0.5 }, -- BLU-107 Durandal Anti-piste
					   	{ CLSID = "{M2KC_RPL_522}",arg = 311,arg_value = 0.8}, -- RPL 522 FUEL TANK RESERVOIR VENTRAL
						
			             
			
			
			
		}),
			
		
		
		pylon(5, 0, 0, 0, 0, {use_full_connector_position=false,connector = "PYLON_5",arg = 312,arg_value = -1.0, FiZ = 2 },
		
		
		{
	
			   
                { CLSID = "{AS_30L}"  ,arg_value = 0.3 ,attach_point_position = {0.15, 0.15 ,0 } },  --Missile antichar
                { CLSID = "{BLG66_BELOUGA_AC}", arg = 310, arg_value = 0.35,attach_point_position = {0.15, 0.05 ,0 }}, -- BLG-66 Belouga
                { CLSID = "{90321C8E-7ED1-47D4-A160-E074D5ABD902}",arg = 312,arg_value = 0.8,attach_point_position = {0.15, 0.15 ,0 }  }, -- Mk-81
                { CLSID = "{BCE4E030-38E9-423E-98ED-24BE3DA87C32}",arg = 312,arg_value = 0.8,attach_point_position = {0.15, -0.10 ,0 }  }, -- Mk-82
                { CLSID = "{7A44FF09-527C-4B7E-B42B-3F111CFE50FB}",arg = 312,arg_value = 0.8 ,attach_point_position = {0.15, -0.10 ,0 } }, -- Mk-83
			    { CLSID = "{M2KC_RAFAUT_MK82}", arg = 310, arg_value = 0.35,attach_point_position = {-0.15, 0.15 ,0 }    }, -- MK-82 x2
				{ CLSID = "{M2KC_RAFAUT_MK82S}", arg = 310, arg_value = 0.35,attach_point_position = {-0.15, 0.15 ,0 }  }, -- MK-82S x2
				{ CLSID = "{M2KC_RAFAUT_BLG66}", arg = 310, arg_value = 0.35,attach_point_position = {-0.15, 0.15 ,0 } }, -- Belouga x2 (now loads MK-20s)
				{ CLSID = "{4741A78E-95AD-405c-B396-0AD3C73BBC5C}",arg = 312,arg_value = 0.8 }, -- MER*2 MK-83
        	    { CLSID = "{F3EFE0AB-E91A-42D8-9CA2-B63C91ED570A}",arg = 312,arg_value = 0.8,attach_point_position = {0, 0.10 ,0 }  }, -- LAU-10\LRF3 lance Roquette 4*100mm
                { CLSID = "{FD90A1DC-9147-49FA-BF56-CB83EF0BD32B}" ,arg = 312,arg_value = 0.8, attach_point_position = {0.40, 0.10 ,0 }}, -- LAU-61\LRF4 lance Roquette 18*68mm
                { CLSID = "{637334E4-AB5A-47C0-83A6-51B7F1DF3CD5}" ,arg = 312,arg_value = 0.8, attach_point_position = {0.55, 0.10 ,0 }}, -- UB-32A\LRF1 lance Roquette 36(32)*68mm
			    { CLSID = "{Matra155RocketPod}", arg = 310,arg_value = 0.35,attach_point_position = {0.15, 0.05 ,0 }}, -- Matra Type 155 Rocket pod
                { CLSID = "{DB769D48-67D7-42ED-A2BE-108D566C8B1E}", arg_value = 0.25,attach_point_position = {0.15, -0.10 ,0 } }, -- GBU-12
				{ CLSID = "{0D33DDAE-524F-4A4E-B5B8-621754FE3ADE}", arg_value = 0.25,attach_point_position = {0.15, -0.10 ,0 } }, -- GBU-16
                { CLSID = "{34759BBC-AF1E-4AEE-A581-498FF7A6EBCE}", arg_value = 0.25,attach_point_position = {0.15, 0.05 ,0 } }, -- GBU-24				    
			    { CLSID	= "{PTB_300}"       ,arg_value = 0.3},--RESERVOIR LATERAL
	            { CLSID	 = "{samp_mk_82}",arg_value = 0.3,attach_point_position = {0.15, 0.05 ,0 } },
				{ CLSID	 = "{samp_type21}",arg_value = 0.3,attach_point_position = {0.15, 0.05 ,0 } }, 
			    { CLSID = "{752B9781-F962-11d5-9190-00A0249B6F00}",arg = 312,arg_value = 0.5 }, -- BLU-107 Durandal Anti-piste
			    
		}),
		
	--	
				
		pylon(6, 0, 0, 0, 0, {use_full_connector_position=false,connector = "PYLON_6",arg = 313,arg_value = -1.0, FiZ = 2 },
		
		
		{		
                
                { CLSID = "{Matra155RocketPod}",arg = 313, arg_value = 0.35 ,attach_point_position = {0, 0.10 ,0 }   }, -- Matra Type 155 Rocket pod
                { CLSID = "{F3EFE0AB-E91A-42D8-9CA2-B63C91ED570A}" ,arg = 313,arg_value = 0.8,attach_point_position = {0, -0.10 ,0 }  }, -- LAU-10\LRF3 lance Roquette 4*100mm
                { CLSID = "{FD90A1DC-9147-49FA-BF56-CB83EF0BD32B}",arg = 313,arg_value = 0.8, attach_point_position = {0, -0.10 ,0 }   }, -- LAU-61\LRF4 lance Roquette 18*68mm
                { CLSID = "{90321C8E-7ED1-47D4-A160-E074D5ABD902}",arg = 313,arg_value = 0.8,attach_point_position = {0.15, 0.15 ,0 }  }, -- Mk-81
                { CLSID = "{BCE4E030-38E9-423E-98ED-24BE3DA87C32}",arg = 313,arg_value = 0.8 ,attach_point_position = {0.15, -0.10 ,0 } }, -- Mk-82
                { CLSID = "{7A44FF09-527C-4B7E-B42B-3F111CFE50FB}",arg = 313,arg_value = 0.8,attach_point_position = {0.15, -0.10 ,0 }},    --Mk-83
				{ CLSID = "{BLG66_BELOUGA_AC}", arg = 313,arg_value = 0.35, attach_point_position = {0, 0.10 ,0 }  }, -- BLG-66 Belouga
                { CLSID = "{DB769D48-67D7-42ED-A2BE-108D566C8B1E}", arg_value = 0.25,attach_point_position = {0.15, -0.10 ,0 } }, -- GBU-12
				{ CLSID = "{0D33DDAE-524F-4A4E-B5B8-621754FE3ADE}", arg_value = 0.25,attach_point_position = {0.15, -0.10 ,0 } }, -- GBU-16
                { CLSID = "{34759BBC-AF1E-4AEE-A581-498FF7A6EBCE}", arg_value = 0.25,attach_point_position = {0.15, 0.05 ,0 } }, -- GBU-24		
  				{ CLSID = "{D5D51E24-348C-4702-96AF-97A714E72697}",arg = 313,arg_value = 0.8},--MER*2 MK-82
				{ CLSID = "{18617C93-78E7-4359-A8CE-D754103EDF63}",arg = 313,arg_value = 0.8},--MER*2 MK-83
  			    { CLSID			= "{Barax}"                                        ,arg_value = 0.3}, 
			    { CLSID			= "{Phimat}"                                        ,arg_value = 0.3}, 
			    { CLSID	 = "{samp_mk_82}",arg_value = 0.3,attach_point_position = {0.15, 0.05 ,0 }}, 
		        { CLSID	 = "{samp_type21}",arg_value = 0.3,attach_point_position = {0.15, 0.05 ,0 }}, 
			    { CLSID = "{752B9781-F962-11d5-9190-00A0249B6F00}",arg = 313,arg_value = 0.5 }, -- BLU-107 Durandal Anti-piste
			
		}),
		
	pylon(7, 0, 0, 0, 0, {use_full_connector_position=false,connector = "PYLON_7",arg = 314,arg_value = -1.0 , FiZ = 2},
		
		
		{

		
		                { CLSID = "{FC23864E-3B80-48E3-9C03-4DA8B1D7497B}",arg = 314,arg_value = 0.5 }, -- MAGIC II (R550)
						{ CLSID = "{6CEB49FC-DED8-4DED-B053-E1F033FF72D3}",arg = 314,arg_value = 0.8 }, -- AIM-9M
						{ CLSID = "{D3F65166-1AB8-490f-AF2F-2FB6E24A61C1}",arg = 314,arg_value = 0.8 }, -- Magic SmokeGenerator_red
				        { CLSID = "{D3F65166-1AB8-490f-AF2F-2FB6E24A61C2}",arg = 314,arg_value = 0.8 }, -- Magic SmokeGenerator_green
				        { CLSID = "{D3F65166-1AB8-490f-AF2F-2FB6E24A61C3}" ,arg = 314,arg_value = 0.8}, -- Magic SmokeGenerator_blue
				        { CLSID = "{D3F65166-1AB8-490f-AF2F-2FB6E24A61C4}",arg = 314,arg_value = 0.8 }, -- Magic SmokeGenerator_white
				        { CLSID = "{D3F65166-1AB8-490f-AF2F-2FB6E24A61C5}" ,arg = 314,arg_value = 0.8}, -- Magic SmokeGenerator_yellow
				        { CLSID = "{D3F65166-1AB8-490f-AF2F-2FB6E24A61C6}" ,arg = 314,arg_value = 0.8}, -- Magic SmokeGenerator_orange    
			
				}),
		
	pylon(8, 0,  6.300000, -1.800, 4.275000,   { use_full_connector_position=true,arg = 24 , arg_value = 0.00,DisplayName = _("COLD START"),
		
		},
		{

		
		        { CLSID	 = "COLD START", arg = 24,arg_value = 1.00},   
						
						
						
						
			
		}),
		

pylon(9, 0,  4.65000, -0.12, 0.20,    --  -0.03 milieu
        {
         FiY = 00,	DisplayName = _("POD"),
         FiZ= -15.00,	---20.00
         FiX = 90, 
		 },
		{

		
		        { CLSID = "ECARTOMETRE LASER"},  
						
						
						
						
			
		}),
		
   
    },



   
   


	Tasks = {
	    aircraft_task(CAP),
     	aircraft_task(Escort),
    	aircraft_task(FighterSweep),
	    aircraft_task(Intercept),
	    aircraft_task(Reconnaissance),
    	aircraft_task(GroundAttack),
     	aircraft_task(CAS),
        aircraft_task(AFAC),
	    aircraft_task(RunwayAttack),
    	aircraft_task(AntishipStrike),
    },	
	DefaultTask = aircraft_task(CAP),
	
	
--
	SFM_Data = {
	aerodynamics = 
		{
			Cy0	=	0,
			Mzalfa	=	4.355,
			Mzalfadt	=	0.8,
			kjx = 2.8,
			kjz = 0.00125,
			Czbe = -0.014,
			cx_gear = 0.08,
			cx_flap = 0.05,
			cy_flap = 0.4,
			cx_brk = 0.07,
			table_data =
			{
			     --M   	Cx0	         Cya	      B	    B4  	Omxmax  	Aldop	Cymax
				{0.0,	0.024,		0.075,		0.095,	0.12,	0.5,		25,		1.52},
				{0.2,	0.024,		0.075,		0.095,	0.12,	1.5,		25,		1.52},
				{0.4,	0.024,		0.075,		0.095,	0.12,	2.5,		25,		1.52},
				{0.6,	0.024,		0.073,		0.095,	0.12,	3.5,		25,		1.52},
				{0.7,	0.024,		0.076,		0.095,	0.12,	3.5,		25.6,	1.48},
				{0.8,	0.0235,		0.079,		0.095,	0.12,	3.5,		25.3,	1.36},
				{0.9,	0.025,		0.083,		0.095,	0.125,	3.5,		25,		1.14},
				{1.0,	0.044,		0.085,		0.14,	0.1,	3.5,		24.6,	1.12},
				{1.05,	0.0465,		0.0855,		0.1775,	0.125,	3.5,		24,		1.11},
				{1.1,	0.049,		0.086,		0.215,	0.15,	3.15,		18,		1.1},
				{1.2,	0.049,		0.083,		0.228,	0.17,	2.45,		17,		1.05},
				{1.3,	0.049,		0.077,		0.237,	0.2,	1.75,		16,		1},
				{1.5,	0.0475,		0.062,		0.251,	0.2,	1.5,		13,		0.9},					
				{1.7,	0.0452,		0.0513,		0.243,	0.32,	0.9,		12,		0.7},				
				{1.8,	0.044,		0.046,		0.24,	0.38,	0.86,		11.4,	0.64},
				{2,		0.043,		0.039,		0.222,	2.5,	0.78,		10.2,	0.52},				
				{2.2,	0.041,		0.034,		0.227,	3.2,	0.7,		9,		0.4},
				{2.5,	0.04,		0.033,		0.25,	4.5,	0.7,		9,		0.4},	
				{3.9,	0.035,		0.033,		0.35,	6,		0.7,		9,		0.4},	
			}, -- end of table_data
		}, -- end of aerodynamics
		engine = 
		{
			Nmg	=	65,
			MinRUD	=	0,
			MaxRUD	=	1,
			MaksRUD	=	0.85,
			ForsRUD	=	0.91,
			typeng	=	1,
			hMaxEng	=	19.5,
			dcx_eng	=	0.0124,
			cemax	=	1.24,
			cefor	=	2.56,
			dpdh_m	=	2000,
			dpdh_f	=	4200,
			table_data = {
			--   M		Pmax		 Pfor
				{0,		88000,	141000},
				{0.2,	80000,	143000},
				{0.4,	83000,	155000},
				{0.6,	82000,	165000},
			    {0.7,	90000,	177000},
		  	    {0.8,	94000,	193000},
				{0.9,	96000,	200000},
				{1,		100000,	205000},
				{1.1,	100000,	214000},
				{1.2,	98000,	222000},
				{1.3,	100000,	235000},
				{1.5,	98000,	258000},
				{1.8,	94000,	276000},
				{2,	    88000,	283000}, --88000,	283000
				{2.2,	82000,	285000}, --82000,  285000
				{2.5,	80000,	287000}, --80000,	287000
				{3.9,   50000,	200000}, --50000,	200000
				}                 
		}, -- end of engine
	},


	--damage , index meaning see in  Scripts\Aircrafts\_Common\Damage.lua
	Damage = {
		-- NOSE, COCKPIT & AVIONICS
		[0]	 = {critical_damage =  3, args = {82}},		
		[1]	 = {critical_damage =  8, args = {150}},	
		[2]	 = {critical_damage =  8, args = {149}},	
		[3]	 = {critical_damage =  2, args = {65}},		
		[4]	 = {critical_damage =  8, args = {298}},	
		[5]	 = {critical_damage =  8, args = {299}},	
		[90] = {critical_damage =  5},					
		[86] = {critical_damage =  8, args = {300}},	
		[87] = {critical_damage =  8, args = {301}},	
		[88] = {critical_damage =  8, args = {302}},	

		-- CONTROL SURFACES
		[53] = {critical_damage =  5, args = {248}},	
		[25] = {critical_damage =  5, args = {226}},	
		[51] = {critical_damage =  5, args = {240}},	
		[52] = {critical_damage =  5, args = {238}},	
		[26] = {critical_damage =  5, args = {216}},	
		[21] = {critical_damage =  5, args = {232}},	
		[33] = {critical_damage =  5, args = {230}},	
		[22] = {critical_damage =  5, args = {222}},	
		[34] = {critical_damage =  5, args = {220}},	
		[19] = {critical_damage =  5, args = {183}},	
		[20] = {critical_damage =  5, args = {185}},	

		-- ENGINE & FUEL TANKS
		[11] = {critical_damage = 10, args = {271}},	
		[61] = {critical_damage = 10, args = {224}},	
		[62] = {critical_damage = 10, args = {214}},	
		[65] = {critical_damage = 10, args = {155}},	

		-- FUSELAGE & WINGS
		[39] = {critical_damage = 10, args = {244}},								
		[41] = {critical_damage = 10, args = {245}, deps_cells = {39,53}},			
		[43] = {critical_damage = 10, args = {246}, deps_cells = {41,88}},			
		[23] = {critical_damage = 8,  args = {223}, deps_cells = {21}},				
		[29] = {critical_damage = 9,  args = {224}, deps_cells = {19,23,84}},	    
		[35] = {critical_damage = 10, args = {225}, deps_cells = {23,21,29,33,61,84}},	
		[36] = {critical_damage = 10, args = {215}, deps_cells = {24,22,30,34,62,85}},	
		[30] = {critical_damage = 9,  args = {214}, deps_cells = {20,24,85}},	    
		[24] = {critical_damage = 8,  args = {213}, deps_cells = {22}},				
		[9]	 = {critical_damage = 10, args = {154}},								
		[82] = {critical_damage = 10, args = {152}},								
		[10] = {critical_damage = 10, args = {153}},								
		[55] = {critical_damage = 10, args = {159}},								
		[56] = {critical_damage = 10, args = {158}},								
		[57] = {critical_damage = 10, args = {157}},								
		[58] = {critical_damage = 10, args = {156}},								

		-- LANDING GEAR
		[8]  = {critical_damage = 8, args = {265}, deps_cells = {83}},	
		[15] = {critical_damage = 8, args = {267}, deps_cells = {84}},	
		[16] = {critical_damage = 8, args = {266}, deps_cells = {85}},	
		[83] = {critical_damage = 3, args = {134}},						
		[84] = {critical_damage = 3, args = {135}},						
		[85] = {critical_damage = 3, args = {136}},						

		-- WEAPONS
		[7]  = {critical_damage = 5, args = {296}},						
},
	
	DamageParts = 
	{  

	
	
	},
	

		lights_data = {
		typename = "collection",
		lights = {
		
		
		   
				
			[2] = { typename = "collection", -- form lights aft
				lights = {
					{typename = "spotlight",argument = 208, dir_correction = {elevation = math.rad(3)}}, -- form front
					{typename = "spotlight",argument = 209, dir_correction = {elevation = math.rad(-1)}}, -- form aft
					{typename = "argnatostrobelight",connector = "TOP_BEACON",argument = 83,period = 2.0,color = {1.0, 0.0, 0.0},phase_shift = 0.0},  --Alt L
					
				},
			},
			[3] = { typename = "collection", -- left nav light
				lights = {
					{typename = "omnilight",argument = 190}, -- left nav light red
					{typename = "omnilight",argument = 191}, -- tail nav light white
					{typename = "omnilight",argument = 192}, -- right nav light green
				},
			},
			[4] = { typename = "collection", -- tail nav light
				lights = {
					{typename = "argumentlight",argument = 200}, -- FORMATION LIGHTS
					{typename = "argumentlight",argument = 201}, -- FORMATION LIGHTS
					{typename = "argnatostrobelight",connector = "BOTTOM_BEACON",argument = 802,period = 2.0,color = {0.99, 0.99, 0.99},phase_shift = 0.0},
				},
			},
			
		}
	}, -- end lights_data
	
	
-- end lights_data
	
}

add_aircraft(MirageF1CT)

