class_name = "CTank"
object_name = "T-34-76 UVZ 43"
detail_type = "DET_TANK" //list of types is in \inc\SimulationSystem\DetailTypes.inc

VisualImage=0,"graphics/vehicles/T34-76-43/T34-76-43.mgm",true

ImageAttr=24	// IA_NOMINPIXELS | IA_NOMINPIXELS
//	IA_DEFAULT=0,
//	IA_NOCLIP=1,
//	IA_NOCLIP_ANIM=2,
//	IA_NOROTINTERPOLATION=4,
//	IA_NOMINZ=8,
//	IA_NOMINPIXELS=16,
//	IA_NOPOSINTERPOLATION=32,
//	IA_CLOSEVIEWARG=64,
//	IA_ALWAYSVISIBLE=128,
//	IA_SCALEARG=256,
//	ImageAttr=Attr1+Attr2+...+AttrN

CollisionBody="graphics/vehicles/T34-76-43/T34-76-43_Phys.col"
HitBody="graphics/vehicles/T34-76-43/T34-76-43.col"

ConvexAnimThreshold=0.0005	//  

SoundScript="LuaScripts/Sound/Vehicles/T34.cfg"

[attach=0]
	position= -0.17, 0.7, 0
	object = "LuaScripts/WorldObjects/Bots/BotDriverTank.txt"
[end]

[attach=1]
	position= 0.56852, 1.49783, 0.0
	object = "LuaScripts/WorldObjects/Vehicles/Turrets/T34-76-43TurretMain.txt"
[end]

[attach=2]
	position= 2.05286, 1.18473, 0.55177
	object = "LuaScripts/WorldObjects/Vehicles/Turrets/T34-76-43TurretMG.txt"
[end]

[attach=3]
	position= 0.6, 2.4, -0.3
	rotation= 30, 0, 0
	object = "LuaScripts/WorldObjects/FlareGun.txt"
[end]

[attach=4]
	position= 0.6, 2.4, 0.0
	object = "LuaScripts/WorldObjects/Spotter.txt"
[end]

TargetHeight = 1.5			//            

CommandMonitor="LuaScripts/WorldObjects/VehicleMonitor.txt"

sendrate = 15				//    50     (=15    3.3)

PrioritySpeed = 7.2			//    ,     ,        
PrioritySpeedRoad = 15.0	//    ,     
Mass = 28120.0				//   
WidthTrack = 3.0			//   , ..        
LengthTrack = 3.92			//    
StartEngineForce = 100.0	//  ,           
MaxEngineForce = 104000.0	//    ,  ,           0.95,      
MaxTransmissionKoeff = 2.4	//      ,  ,     \Missions\TestTank_hill.Mission     1.1..1.2/
TrackDistance = 0.352		//       
WheelRadius = 1.66			//   ,    .  -34    4 ,       ,     4  
CrrExt = 4000.0				//    ,   
Crr = 2000.0				//   ,   
CrrOffRoad = 4500.0			//     ,   .  ,             0.95.
Cdrag = 50.0				//    ,    
Csf = 0.25					//     ,  ,        (  )
CsfOffRoad = 0.25			//       .    CrrOffRoad.
Crt = 10.0					//  
Cbraking = 9000.0			//   
Cang = 30.0					//    
MaxTurningAngle = 30.0		//     
OrientSmoothParam = 0.01	//       /
WheelSmokeArg = 61010		//   
LightsCount = 1				// -   
LightsArgBase = 60200		//   
FreezeOnDestroy=true		//   , true -   ,   -    

RegenerationMax = 1.0		//   Life - 
RegenerationMin = 0.5		//   Life,     
RegenerationPercent = 0.0	//  ,  Life  

Firing=0.002				//     ,  Life  
SmokeStartHealth = 0.5		//  ,      
MinFiringHealth = 0.5		//  ,    
MinMovementHealth = 0.25	//  ,    
MinAttackHealth = 0.10		//  ,    

FireEffectTime = 990.0		//       
DestructArg = 281			//  
SmokeArgBase    = 60000		//   
SmokeArgTotalNum = 4		// -  , 1-     60000,   60001,   60002  ..
FiringArg = 60100			//   

ExplosionScript = "LuaScripts/WorldObjects/explosions/Detonation/TankExplosion.txt"	//    
OnDropLandScript = "LuaScripts/WorldObjects/Emitters/DustBlow5_3.txt"			//     
OnDropWaterScript = "LuaScripts/WorldObjects/Emitters/WaterSpray5_3.txt"		//     

CriticalWaterLevel = 1.5		//   
CriticalHeigthLevel = 3.0		//      
DivingSpeed = 0.8				//    

ImpulseToDestroy = 520000		//      ,    .    7   .    .
ImpulseMinimumLevel = 104000	//      ,    .         .
ColDamageDelay=0.5				//      (  ,      ,     )

logtreshold=0.0001				//   ,    


[moveDeviator]
  HiFreqAmp = 0.2f
  MaxDeviation = 1.0f
  Periods = 2.1, 0.4;
[end]
accelDirK = 0.3
accelDirSmooth = 0.15
accelSideK = 0.3
accelSideSmooth = 0.15

//  .         40000.

energyloss="",true,5.0,200		//     , true -       -,       ,        
energyloss="#hull_1",true,0,1
energyloss="#hull_2",true,0,1
energyloss="tower",true,1,1
energyloss="#track_L",false,17.0,1000
energyloss="#track_R",false,17.0,1000
energyloss="#gun",true,15.0,1000
energyloss="armor_05",false,45,1		//Hull bow upper armour plate, 45mm, K=1.0
energyloss="armor_08",false,45,1		//Hull bow upper armour plate, 45mm, K=1.0
energyloss="armor_13",false,45,1		//Hull bow lower armour plate, 45mm, K=1.0
energyloss="armor_02",false,40,1		//Hull stern upper armour plate, 40mm, K=1.0
energyloss="armor_10",false,40,1		//Hull stern upper armour plate, 40mm, K=1.0
energyloss="armor_11",false,40,1		//Hull stern lower armour plate, 40mm, K=1.0
energyloss="armor_03",false,40,1		//Hull port upper armour plate, 40mm, K=1.0
energyloss="armor_06",false,16,1		//Hull port undershelf armour plate, 16mm, K=1.0
energyloss="armor_09",false,45,1		//Hull port lower armour plate, 45mm, K=1.0
energyloss="armor_04",false,40,1		//Hull starboard upper armour plate, 40mm, K=1.0
energyloss="armor_07",false,16,1		//Hull starboard undershelf armour plate, 16mm, K=1.0
energyloss="armor_12",false,45,1		//Hull starboard lower armour plate, 45mm, K=1.0
energyloss="armor_01",false,16,1		//Hull roof armour plate, 16mm, K=1.0
energyloss="armor_14",false,15,1		//Hull bottom armour plate, 20mm, K=1.0
energyloss="armor_trt_05",false,44,1	//Turret bow armouring, 52mm, K=0.85
energyloss="armor_trt_04",false,44,1	//Turret stern armouring, 52mm, K=0.85
energyloss="armor_trt_02",false,44,1	//Turret port armouring, 52mm, K=0.85
energyloss="armor_trt_03",false,44,1	//Turret starboard armouring, 52mm, K=0.85
energyloss="armor_trt_01",false,20,1	//Turret roof armouring, 20mm, K=1.0

Armor=60			//  ,  ,        

[ReflectArmorBox]	//    ,    energyloss=0,1.    ,     ,   ,     Armor=
	FovH=90			//          ,     ,  ArmorFront
	FovV=160		//          ,     ,  ArmorFront
					//  5        
	ArmorFront=45
	ArmorBack=45
	ArmorTop=20
	ArmorBottom=20
	ArmorRight=40
	ArmorLeft=40
[end]

[DmgElement = ammo]
	damageablePart="ammo"
	LifeRate=40000
	LifeRateFg=40000
	Armor=5				//     (BeamHit)
	[SphereHitArmorBox]	//    ,        ,   ,     SphereHitProtection,     -    Armor/ArmorBox
		FovH=90			//          ,     ,  ArmorFront
		FovV=160		//          ,     ,  ArmorFront
						//  5        
		ArmorFront=45
		ArmorBack=40
		ArmorTop=16
		ArmorBottom=20
		ArmorRight=40
		ArmorLeft=40
	[end]
	CollisioDamageSens=0.5
[End]

[DmgElement = crew]
	damageablePart="crew"
	LifeRate=500		//  500  
	LifeRateFg=500
	Armor=0				//     (BeamHit)
	[SphereHitArmorBox]	//    ,        ,   ,     SphereHitProtection,     -    Armor/ArmorBox
		FovH=90			//          ,     ,  ArmorFront
		FovV=160		//          ,     ,  ArmorFront
						//  5        
		ArmorFront=45
		ArmorBack=40
		ArmorTop=16
		ArmorBottom=20
		ArmorRight=40
		ArmorLeft=40
	[end]
	CollisioDamageSens=0
[End]

[DmgElement = hull]
	damageablePart="#hull_1","#hull_2"
	LifeRate=20000		// 0.5   
	LifeRateFg=20000
	Armor=5
	CollisioDamageSens=1
[End]

[DmgElement = engine]
	damageablePart="engine"
	LifeRate=20000		// 0.5   
	LifeRateFg=20000
	Armor=5				//     (BeamHit)
	[SphereHitArmorBox]	//    ,        ,   ,     SphereHitProtection,     -    Armor/ArmorBox
		FovH=90			//          ,     ,  ArmorFront
		FovV=160		//          ,     ,  ArmorFront
						//  5        
		ArmorFront=45
		ArmorBack=40
		ArmorTop=16
		ArmorBottom=20
		ArmorRight=40
		ArmorLeft=40
	[end]
	CollisioDamageSens=1
[End]

[DmgElement = track_L]
	damageablePart="#track_L"
	LifeRate=20000		// 0.5   
	LifeRateFg=20000
	Armor=20
	[SphereHitArmorBox]		//    ,        ,   ,     SphereHitProtection=
		FovH=140			//          ,     ,  ArmorFront
		FovV=140			//          ,     ,  ArmorFront
							//  5        
		ArmorFront=20
		ArmorBack=20
		ArmorTop=60
		ArmorBottom=20
		ArmorRight=100
		ArmorLeft=20
	[end]
	DamageArg=293
	CollisioDamageSens=1
[End]

[DmgElement = track_R]
	damageablePart="#track_R"
	LifeRate=20000		// 0.5   
	LifeRateFg=20000
	Armor=20
	[SphereHitArmorBox]		//    ,        ,   ,     SphereHitProtection=
		FovH=140			//          ,     ,  ArmorFront
		FovV=140			//          ,     ,  ArmorFront
							//  5        
		ArmorFront=20
		ArmorBack=20
		ArmorTop=60
		ArmorBottom=20
		ArmorRight=20
		ArmorLeft=100
	[end]
	DamageArg=294
	CollisioDamageSens=1
[End]

[DmgElement = turret]
	damageablePart="tower"
	LifeRate=20000		// 0.5     , 2000  
	LifeRateFg=20000
	Armor=0				//     (BeamHit)
	[SphereHitArmorBox]	//    ,        ,   ,     SphereHitProtection,     -    Armor/ArmorBox
		FovH=90			//          ,     ,  ArmorFront
		FovV=160		//          ,     ,  ArmorFront
						//  5        
		ArmorFront=44
		ArmorBack=44
		ArmorTop=20
		ArmorBottom=20
		ArmorRight=44
		ArmorLeft=44
	[end]
	CollisioDamageSens=0
[End]

[DmgElement = gun]
	damageablePart="#gun"
	LifeRate=4000		// 1000    , 4000  , 10000  
	LifeRateFg=40000	// x10
	Armor=15			// 5   , 10  , 15  , 20  
	CollisioDamageSens=0
[End]

DebugInfo = false				//           