class FDustEffects_none {};

class CfgPatches
{
	class JSDF_VLA_90TK
	{
		units[] = {"JGSDF_VLA_90TK"};
		weapons[] = {};
		requiredVersion = 0.1;
		requiredAddons[] = {};
	};
};
class CfgVehicles
{
	class Land;
	class LandVehicle 			: Land
	{
		class NewTurret;
		class ViewPilot;
		class Sounds;
	};
	class JSDF_VLA	 			: LandVehicle
	{
		class Turrets			{class MainTurret;};
		class NewTurret;
		class ViewPilot;
		class CommanderOptics;
		class AnimationSources;
		
		class Sounds : Sounds
		{
			class Engine;
			class Movement;
		};
		class HitPoints
		{
			class HitHull;
			class HitEngine;
			class HitLTrack;
			class HitRTrack;
		};
	};
	class JSDF_VLA_90TK_Base		: JSDF_VLA
	{
		scope 				= 2;
		faction 			= JGSDF;
		displayName 			= "Type90 TK";
		model 				= "\JSDF_VLA\90TK\JGSDF_Type90TK_2";
		picture 			= "\ca\tracked2\Data\UI\Picture_t34_CA.paa";
		Icon 				= "\ca\tracked2\Data\UI\Icon_t34_CA.paa";
		mapSize 			= 7;

		driverForceOptics 		= 1;
		driverAction 			= "T90_Driver";
		driverInAction 			= "T90_Driver";

		tracksSpeed 			= 2.5;
		wheelCircumference 		= 4.0;

		maxSpeed 			= 70;
		accuracy 			= 0.8;
		armor 				= 900;
		damageResistance 		= 0.005;
		cost 				= 1500000;
		
		class HitPoints : HitPoints
		{
			class HitHull	{armor = 0.85;	material = -1;	name = "telo";	visual= "telo";		passThrough 	= 1;	};
		};

//		typicalCargo[] = {"GUE_Soldier_1", "GUE_Soldier_1", "GUE_Soldier_1"};
		
		class Turrets: Turrets
		{
			class MainTurret			: MainTurret
			{
				gunBeg				= "turret_gun_beg";
				gunEnd				= "turret_gun_end";
				gun				= "turret_gun";
				body				= "turret";

				maxHorizontalRotSpeed		= 1.3;
				maxVerticalRotSpeed		= 1.04;
				insideSoundCoef 		= 0.5;
				soundServo[]			={\ca\Weapons\Data\Sound\gun_elevate,db-50,1.0};
				gunnerAction			= Abrams_CommanderOut;
				gunnerInAction			= Abrams_Gunner;
				gunnerCompartments		="Compartment2";
				minElev=-7; maxElev=+10; initElev=0;
				class ViewOptics
				{
					initAngleX=0;	minAngleX= -30;	maxAngleX= +30;
					initAngleY=0;	minAngleY=-100;	maxAngleY=+100;
					initFov=0.166;	minFov=0.025;	maxFov=0.333;
				};

				weapons[]			={JSDF_W_TKG_L44,JSDF_MG_Type74_coax};
				magazines[]			=
				{
JSDF_M_TKG_120mm_JM33_APFSDS_T,		JSDF_M_TKG_120mm_JM33_APFSDS_T,		JSDF_M_TKG_120mm_JM33_APFSDS_T,		JSDF_M_TKG_120mm_JM33_APFSDS_T,
JSDF_M_TKG_120mm_JM33_APFSDS_T,		JSDF_M_TKG_120mm_JM33_APFSDS_T,		JSDF_M_TKG_120mm_JM33_APFSDS_T,		JSDF_M_TKG_120mm_JM33_APFSDS_T,
JSDF_M_TKG_120mm_JM12A1_HEAT_MP_T,	JSDF_M_TKG_120mm_JM12A1_HEAT_MP_T,	JSDF_M_TKG_120mm_JM12A1_HEAT_MP_T,	JSDF_M_TKG_120mm_JM12A1_HEAT_MP_T,
JSDF_M_TKG_120mm_JM12A1_HEAT_MP_T,	JSDF_M_TKG_120mm_JM12A1_HEAT_MP_T,	JSDF_M_TKG_120mm_JM12A1_HEAT_MP_T,	JSDF_M_TKG_120mm_JM12A1_HEAT_MP_T,
				4500Rnd_7_62x51_M13
				};
				class Turrets: Turrets
				{
					class CommanderOptics		: CommanderOptics
					{
						gunnerCompartments	="Compartment2";
						body			="turretC";
						gun			="turretC_view";
						memoryPointGunnerOptics	="turretC_view";

						stabilizedInAxes 	= 3;
						outGunnerMayFire	= 0;
						inGunnerMayFire		= 1;
						forceHideGunner		= 0;
						viewGunnerInExternal	= 1;
						gunnerForceOptics	= 0;
						insideSoundCoef 	= 0.5;

						gunnerAction		= Abrams_CommanderOut;
						gunnerInAction		= Abrams_Commander;
						gunnerOpticsModel	="\ca\Tracked\optika_M1A1_commander";

						minElev= -10; maxElev= +10; initElev=0;
						minTurn= -90; maxTurn= +90; initTurn=0;
					};
				};
			};
		};
		type = 1;
		threat[] = {0.4, 0.4, 0.0};

		class AnimationSources
		{
			class mainGun_recoil
			{
				source="user";
				animPeriod 	=0.5;
				initPhase	=0.01;
			};
			class obsGun_recoil
			{
				source="reload";
				weapon="M2";
			};
			class belt_rotation
			{
				source="reload";
				weapon="M2";
			};
		};
		
		class Damage {
			tex[] = {};
			mat[] = {};
		};
	};
	class JGSDF_Type90TK			: JSDF_VLA_90TK_Base
	{
		scope 				= 2;
		displayName 			=0 Type90;
		model 				= "\JSDF_VLA\90TK\JGSDF_Type90TK";
		class Turrets			: Turrets
		{
			class MainTurret			: MainTurret
			{
				body				="MainTurret";
				gun				="MainGun";
				gunBeg				="FGun_beg";
				gunEnd				="FGun_end";
				selectionFireAnim		="FGun_zasleh";

				memoryPointGunnerOptics		="hatchF_view";
			};
			class CommanderOptics			: CommanderOptics {};
		};
	};
};
