class_name = "CTank"
object_name = "KV-1s"
detail_type = "DET_TANK" //list of types is in \inc\SimulationSystem\DetailTypes.inc

VisualImage=0,"graphics/vehicles/KV1s/KV1s.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/KV1s/KV1s_Phys.col"
HitBody="graphics/vehicles/KV1s/KV1s.col"

ConvexAnimThreshold=0.0005	//  

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

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

[attach=1]
	position= 0.354, 1.604, 0.0
	object = "LuaScripts/WorldObjects/Vehicles/Turrets/KV1sTurretMain.txt"
[end]

[attach=2]
	position= 2.1569, 1.47966, -0.50566
	object = "LuaScripts/WorldObjects/Vehicles/Turrets/KV1sTurretMG.txt"
[end]

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

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

TargetHeight = 1.5			//            

CommandMonitor="LuaScripts/WorldObjects/VehicleMonitor.txt"

sendrate = 20				//    50     (=20    2.5)

PrioritySpeed = 6.7			//    ,     ,        
PrioritySpeedRoad = 12.5	//    ,     
Mass = 42500.0				//   
WidthTrack = 3.1			//   , ..        
LengthTrack = 4.64			//    
StartEngineForce = 100.0	//  ,            
MaxEngineForce = 135000.0	//    ,   ,           0.95,      
MaxTransmissionKoeff = 3.0	//      ,  ,     \Missions\TestTank_hill.Mission     1.1..1.2/
TrackDistance = 0.322		//       
WheelRadius = 1.28			//   ,    .  -1    4 ,       ,     4  
CrrExt = 4000.0				//    ,   
Crr = 2000.0				//   ,   
CrrOffRoad = 4000.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 = 929.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 = 900000		//      ,    .    7   .    .
ImpulseMinimumLevel = 180000	//      ,    .         .
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

//  .         60000.

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,16.0,1000
energyloss="#track_R",false,16.0,1000
energyloss="#gun",true,15.0,1000
energyloss="armor_06",false,75,1		//Hull bow upper armour plate, 75mm, K=1.0
energyloss="armor_07",false,50,1		//Hull bow middle armour plate, 50mm, K=1.0
energyloss="armor_08",false,60,1		//Hull bow lower armour plate, 60mm, K=1.0
energyloss="armor_02",false,60,1		//Hull stern upper armour plate, 60mm, K=1.0
energyloss="armor_03",false,60,1		//Hull stern lower armour plate, 60mm, K=1.0
energyloss="armor_10",false,60,1		//Hull port forward armour plate, 60mm, K=1.0
energyloss="armor_04",false,60,1		//Hull port aft armour plate, 60mm, K=1.0
energyloss="armor_09",false,60,1		//Hull starboard forward armour plate, 60mm, K=1.0
energyloss="armor_05",false,60,1		//Hull starboard aft armour plate, 60mm, K=1.0
energyloss="armor_01",false,40,1		//Hull roof forward armour plate, 40mm, K=1.0
energyloss="armor_12",false,30,1		//Hull roof aft armour plate, 30mm, K=1.0
energyloss="armor_11",false,30,1		//Hull bottom armour plate, 30mm, K=1.0
energyloss="armor_trt_01",false,60,1	//Turret bow armouring, 70mm, K=0.85
energyloss="armor_trt_03",false,60,1	//Turret stern armouring, 60mm, K=1.0
energyloss="armor_trt_05",false,60,1	//Turret port armouring, 60mm, K=1.0
energyloss="armor_trt_04",false,60,1	//Turret starboard armouring, 60mm, K=1.0
energyloss="armor_trt_02",false,40,1	//Turret roof armouring, 40mm, K=1.0

Armor=60			//  ,  ,        

[ReflectArmorBox]	//    ,    energyloss=0,1.    ,     ,   ,     Armor=
	FovH=90			//          ,     ,  ArmorFront
	FovV=120		//          ,     ,  ArmorFront
					//  5        
	ArmorFront=60
	ArmorBack=60
	ArmorTop=40
	ArmorBottom=30
	ArmorRight=60
	ArmorLeft=60
[end]

[DmgElement = ammo]
	damageablePart="ammo"
	LifeRate=60000
	LifeRateFg=60000
	Armor=5				//     (BeamHit)
	[SphereHitArmorBox]	//    ,        ,   ,     SphereHitProtection,     -    Armor/ArmorBox
		FovH=90			//          ,     ,  ArmorFront
		FovV=120		//          ,     ,  ArmorFront
						//  5        
		ArmorFront=60
		ArmorBack=60
		ArmorTop=40
		ArmorBottom=30
		ArmorRight=60
		ArmorLeft=60
	[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=60
		ArmorBack=60
		ArmorTop=40
		ArmorBottom=30
		ArmorRight=60
		ArmorLeft=60
	[end]
	CollisioDamageSens=0
[End]

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

[DmgElement = engine]
	damageablePart="engine"
	LifeRate=30000		// 0.5   
	LifeRateFg=30000
	Armor=5				//     (BeamHit)
	[SphereHitArmorBox]	//    ,        ,   ,     SphereHitProtection,     -    Armor/ArmorBox
		FovH=90			//          ,     ,  ArmorFront
		FovV=120		//          ,     ,  ArmorFront
						//  5        
		ArmorFront=60
		ArmorBack=60
		ArmorTop=40
		ArmorBottom=30
		ArmorRight=60
		ArmorLeft=60
	[end]
	CollisioDamageSens=1
[End]

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

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

[DmgElement = turret]
	damageablePart="tower"
	LifeRate=30000		// 0.5     , 2000  
	LifeRateFg=30000
	Armor=0				//     (BeamHit)
	[SphereHitArmorBox]			//    ,     ,   ,     Armor=
		FovH=90			//          ,     ,  ArmorFront
		FovV=170		//          ,     ,  ArmorFront
						//  5        
		ArmorFront=60
		ArmorBack=60
		ArmorTop=40
		ArmorBottom=30
		ArmorRight=60
		ArmorLeft=60
	[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				//           