
local R_8T_Inert_warhead =
{
    mass                 = 40,
    caliber              = 200,
    expl_mass            = 0,
    piercing_mass        = 0.0,
    other_factors        = { 1.0, 1.0, 1.0 },
    concrete_factors     = { 1.0, 1.0, 1.0 },
    concrete_obj_factor  = 1.0,
    obj_factors          = { 2.0, 1.0 },
    cumulative_factor    = 2.0,
    cumulative_thickness = 0.0,
}															   

local R_8T_Inert =
{
	category		= CAT_AIR_TO_AIR,
	name			= "R-8T Inert", -- R-8T Inert
	user_name		= _("R-8T Inert"),
	wsTypeOfWeapon 	= {wsType_Weapon,wsType_Missile,wsType_AA_Missile,WSTYPE_PLACEHOLDER},
Escort = 0,
        Head_Type = 1,
		sigma = {5, 5, 5},
        M = 265.0,
        H_max = 23000.0,
        H_min = 300.0,
        Diam = 280.0,
        Cx_pil = 4,
        D_max = 7000.0,
        D_min = 2000.0,
        Head_Form = 0,
        Life_Time = 65.0,
        Nr_max = 14,
        v_min = 140.0,
        v_mid = 600.0,
        Mach_max = 3.2,
        t_b = 0.0,
        t_acc = 6.5,
        t_marsh = 0.0,
        Range_max = 14000.0,
        H_min_t = 20.0,
        Fi_start = 0.3,
        Fi_rak = 3.14152,
        Fi_excort = 0.87,
        Fi_search = 0.09,
        OmViz_max = 0.35,
        exhaust = tail_solid,
        X_back = -2.0,
        Y_back = -0.14,
        Z_back = 0.0,
        Reflection = 0.08,
        KillDistance = 0.0,
ccm_k0 = 1.5,  -- Counter Countermeasures Probability Factor. Value = 0 - missile has absolutely resistance to countermeasures. Default = 1 (medium probability)
		--seeker sensivity params
		SeekerSensivityDistance = 14000, -- The range of target with IR value = 1. In meters. In forward hemisphere.
		SeekerCooled	= true, -- True is cooled seeker and false is not cooled seeker.

	warhead		= R_8T_Inert_warhead,
	warhead_air = R_8T_Inert_warhead,

shape_table_data =
	{
		{
			name	 = "R-8T_inert",
			file	 = "R-8T_inert",
			life	 = 1,
			fire	 = { 0, 1},
			username = "R-8T_inert",
			index = WSTYPE_PLACEHOLDER,
		},
	},				
		ModelData = {   58 ,  -- model params count
						1.1 ,   -- characteristic square (õàðàêòåðèñòè÷åñêàÿ ïëîùàäü)
						
						-- ïàðàìåòðû çàâèñèìîñòè Ñx
						0.15 , -- Cx_k0 ïëàíêà Ñx0 íà äîçâóêå ( M << 1)
						0.14 , -- Cx_k1 âûñîòà ïèêà âîëíîâîãî êðèçèñà
						0.02 , -- Cx_k2 êðóòèçíà ôðîíòà íà ïîäõîäå ê âîëíîâîìó êðèçèñó
						0.017, -- Cx_k3 ïëàíêà Cx0 íà ñâåðõçâóêå ( M >> 1)
						2.0 , -- Cx_k4 êðóòèçíà ñïàäà çà âîëíîâûì êðèçèñîì 
						1.4 , -- êîýôôèöèåíò îòâàëà ïîëÿðû (ïðîïîðöèîíàëüíî sqrt (M^2-1))
						
						-- ïàðàìåòðû çàâèñèìîñòè Cy
						0.9 , -- Cy_k0 ïëàíêà Ñy0 íà äîçâóêå ( M << 1)
						0.8	 , -- Cy_k1 ïëàíêà Cy0 íà ñâåðõçâóêå ( M >> 1)
						1.38  , -- Cy_k2 êðóòèçíà ñïàäà(ôðîíòà) çà âîëíîâûì êðèçèñîì  
						
						0.23 , -- 7 Alfa_max  ìàêñèìàëüíûé áàëàíñèðîâà÷íûé óãîë, ðàäèàíû
						0.0, --óãëîâàÿ ñêîðîñòü ñîçäàâàéìàÿ ìîìåíòîì ãàçîâûõ ðóëåé
						
					-- Engine data. Time, fuel flow, thrust.	
					--	t_statr		t_b		t_accel		t_march		t_inertial		t_break		t_end			-- Stage
						-1.0,		-1.0,	6.5,  		0.0,		0.0,			0.0,		1.0e9,         -- time of stage, sec
						 0.0,		0.0,	7.69,		0.0,		0.0,			0.0,		0.0,           -- fuel flow rate in second, kg/sec(ñåêóíäíûé ðàñõîä ìàññû òîïëèâà êã/ñåê)
						 0.0,		0.0,	110324.0,	0.0,		0.0,			0.0,		0.0,           -- thrust, newtons
					
						 1.0e9, -- òàéìåð ñàìîëèêâèäàöèè, ñåê
						 120.0, -- âðåìÿ ðàáîòû ýíåðãîñèñòåìû, ñåê
						 0, -- àáñîëþòíàÿ âûñîòà ñàìîëèêâèäàöèè, ì
						 1.0, -- âðåìÿ çàäåðæêè âêëþ÷åíèÿ óïðàâëåíèÿ (ìàíåâð îòëåòà, áåçîïàñíîñòè), ñåê
						 1e9, -- äàëüíîñòü äî öåëè â ìîìåíò ïóñêà, ïðè ïðåâûøåíèè êîòîðîé ðàêåòà âûïîëíÿåòñÿ ìàíåâð "ãîðêà", ì
						 1e9, -- äàëüíîñòü äî öåëè, ïðè êîòîðîé ìàíåâð "ãîðêà" çàâåðøàåòñÿ è ðàêåòà ïåðåõîäèò íà ÷èñòóþ ïðîïîðöèîíàëüíóþ íàâèãàöèþ (äîëæåí áûòü áîëüøå èëè ðàâåí ïðåäûäóùåìó ïàðàìåòðó), ì 
						 0.0,  -- ñèíóñ óãëà âîçâûøåíèÿ òðàåêòîðèè íàáîðà ãîðêè
						 30.0, -- ïðîäîëüíîå óñêîðåíèÿ âçâåäåíèÿ âçðûâàòåëÿ
						 0.0, -- ìîäóëü ñêîðîñòè ñîîáùàéìûé êàòàïóëüòíûì óñòðîéñòâîì, âûøèáíûì çàðÿäîì è òä
						 1.19, -- õàðàêòðèñòèêà ñèñòåìû ÑÀÓ-ÐÀÊÅÒÀ,  êîýô ôèëüòðà âòîðîãî ïîðÿäêà K0
						 1.0, -- õàðàêòðèñòèêà ñèñòåìû ÑÀÓ-ÐÀÊÅÒÀ,  êîýô ôèëüòðà âòîðîãî ïîðÿäêà K1
						 2.0, -- õàðàêòðèñòèêà ñèñòåìû ÑÀÓ-ÐÀÊÅÒÀ,  ïîëîñà ïðîïóñêàíèÿ êîíòóðà óïðàâëåíèÿ
						 0.0,
						 0.0,
						 0.0,
						 0.0,
						 0.0,
						  -- DLZ. Äàííûå äëÿ ðàññ÷åòà äàëüíîñòåé ïóñêà (èíäèêàöèÿ íà ïðèöåëå)
						 1.0,
						 1.0,
						 1.0,
						 0.2, 
						 0.6,
						 1.4,
						-3.0,
						0.5,
},

}


declare_weapon(R_8T_Inert) 

declare_loadout({
	category		=	CAT_AIR_TO_AIR,
	CLSID			= 	"{R-8TInert}",
	Picture	=	"R-8T_inert.png",
	wsTypeOfWeapon	=	R_8T_Inert.wsTypeOfWeapon,
	displayName	=	_("R-8T Inert"),
	attribute	=	{4,	4,	32,	103,	WSTYPE_PLACEHOLDER},
	Count			=	1,
	Weight			=	265,
	Elements	=	
	{
		{
		
			ShapeName	=	"R-8T_inert",
			Position	=	{0,	0,	0}
		},
	}, -- end of Elements
})
