class_name = "CTank"
object_name = "StuG III Ausf.C-D"
detail_type = "DET_TANK" //list of types is in \inc\SimulationSystem\DetailTypes.inc

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

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

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

[attach=1]
	position= 0.837, 1.552, 0.102
	object = "LuaScripts/WorldObjects/Vehicles/Turrets/Stug37L24TurretMain.txt"
[end]

[attach=2]
	position= 0.4, 2.0, -0.5
	rotation= 30, 0, 0
	object = "LuaScripts/WorldObjects/FlareGun.txt"
[end]

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

TargetHeight = 1.2			//            

CommandMonitor="LuaScripts/WorldObjects/VehicleMonitor.txt"

sendrate = 20				//    50     (=20    2.5)

PrioritySpeed = 5.0			//    ,     ,        
PrioritySpeedRoad = 11.1	//    ,     
Mass = 22000.0				//   
WidthTrack = 2.75			//   , ..        
LengthTrack = 2.78			//    
StartEngineForce = 100.0	//  ,           
MaxEngineForce = 79500.0	//    ,   ,           0.95,      
MaxTransmissionKoeff = 4.0	//      ,  ,     \Missions\TestTank_hill.Mission     1.1..1.2/
TrackDistance = 0.273		//       
WheelRadius = 0.792			//   ,    .  StuG3    3 ,       ,     3  
CrrExt = 4000.0				//    ,   
Crr = 2000.0				//   ,   
CrrOffRoad = 4900.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 = 61012		//   
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 = 903.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 = 282000		//      ,    .    7   .    .
ImpulseMinimumLevel = 56000		//      ,    .         .
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

//  .         30000.

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,10.0,1000
energyloss="armor_17",false,50,1		//Hull cabin windshield upper armour plate, 50mm, K=1.0
energyloss="armor_21",false,30,1		//Hull cabin windshield middle armour plate, 30mm, K=1.0
energyloss="armor_22",false,50,1		//Hull cabin windshield lower armour plate, 50mm, K=1.0
energyloss="armor_24",false,30,1		//Hull cabin left forward armour plate, 30mm, K=1.0
energyloss="armor_16",false,30,1		//Hull cabin left aft armour plate, 30mm, K=1.0
energyloss="armor_23",false,30,1		//Hull cabin right forward armour plate, 30mm, K=1.0
energyloss="armor_20",false,30,1		//Hull cabin right intermideate armour plate, 30mm, K=1.0
energyloss="armor_19",false,30,1		//Hull cabin right aft armour plate, 30mm, K=1.0
energyloss="armor_25",false,16,1		//Hull cabin right undershelf armour plate, 16mm, K=1.0
energyloss="armor_10",false,30,1		//Hull cabin stern armour plate, 30mm, K=1.0
energyloss="armor_15",false,11,1		//Hull cabin roof armour plate, 11mm, K=1.0
energyloss="armor_10",false,26,1		//Hull bow upper armour plate, 26mm, K=1.0
energyloss="armor_11",false,50,1		//Hull bow middle armour plate, 50mm, K=1.0
energyloss="armor_12",false,50,1		//Hull bow middle armour plate, 50mm, K=1.0
energyloss="armor_13",false,20,1		//Hull bow lower armour plate, 20mm, K=1.0
energyloss="armor_02",false,17,1		//Hull stern upper armour plate, 17mm, K=1.0
energyloss="armor_03",false,30,1		//Hull stern upper armour plate, 30mm, K=1.0
energyloss="armor_06",false,30,1		//Hull stern lower armour plate, 30mm, K=1.0
energyloss="armor_07",false,20,1		//Hull stern lower armour plate, 20mm, K=1.0
energyloss="armor_04",false,30,1		//Hull port middle armour plate, 30mm, K=1.0
energyloss="armor_05",false,30,1		//Hull port lower armour plate, 30mm, K=1.0
energyloss="armor_08",false,30,1		//Hull starboard middle armour plate, 30mm, K=1.0
energyloss="armor_09",false,30,1		//Hull starboard lower armour plate, 30mm, K=1.0
energyloss="armor_01",false,17,1		//Hull roof armour plate, 17mm, K=1.0
energyloss="armor_14",false,16,1		//Hull bottom armour plate, 16mm, K=1.0

Armor=50			//  ,  ,        

[ReflectArmorBox]	//    ,    energyloss=0,1.    ,     ,   ,     Armor=
	FovH=90			//          ,     ,  ArmorFront
	FovV=165		//          ,     ,  ArmorFront
					//  5        
	ArmorFront=50
	ArmorBack=30
	ArmorTop=17
	ArmorBottom=16
	ArmorRight=30
	ArmorLeft=30
[end]

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

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

[DmgElement = engine]
	damageablePart="engine"
	LifeRate=15000		// 0.5   
	LifeRateFg=15000
	Armor=5				//     (BeamHit)
	[SphereHitArmorBox]	//    ,        ,   ,     SphereHitProtection,     -    Armor/ArmorBox
		FovH=90			//          ,     ,  ArmorFront
		FovV=165		//          ,     ,  ArmorFront
					//  5        
		ArmorFront=50
		ArmorBack=30
		ArmorTop=17
		ArmorBottom=16
		ArmorRight=30
		ArmorLeft=30
	[end]
	CollisioDamageSens=1
[End]

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

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

[DmgElement = turret]
	damageablePart="#hull_3"
	LifeRate=15000		// 0.5     , 2000  
	LifeRateFg=15000
	Armor=0				//     (BeamHit)
	[SphereHitArmorBox]			//    ,     ,   ,     Armor=
		FovH=90			//          ,     ,  ArmorFront
		FovV=165		//          ,     ,  ArmorFront
					//  5        
		ArmorFront=50
		ArmorBack=30
		ArmorTop=11
		ArmorBottom=16
		ArmorRight=30
		ArmorLeft=30
	[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				//           