class_name = "CAttachedVehicle"
object_name = "M4 turret"


//////	PhysicsBody properties
//VisualImage = <int TYPE>,<string File_PathName>,<bool cast_shadows>

VisualImage=0,"graphics/Artillery/Maksim4-AA/Maksim4-AA.mgm",true

CollisionBody="graphics/Artillery/Maksim4-AA/Maksim4-AA.col"

SoundScript="LuaScripts\Sound\Vehicles\Maksim4_AA.cfg"

[attach=0]
	position= 0.0, 0.0, 0.0
	object = "LuaScripts/WorldObjects/Vehicles/Maksim4-AATurret.txt"
[end]

TargetHeight = 1.0			//            

//////	Controled body specific

Mass                 	= 100.0

// Damage model

energyloss="",true,0.5,300		//     , true -       -,       ,        

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

Firing=0.0				//     ,  Life  
SmokeStartHealth = 0.0		//  ,      
MinFiringHealth = 0.0		//  ,    
MinMovementHealth = 0.0		//  ,    
MinAttackHealth = 0.6		//  ,    

FireEffectTime = 0.0		//       
DestructArg = 281
SmokeArgBase    = 60000
SmokeArgTotalNum = 1
FiringArg = 60100

ExplosionScript = "LuaScripts/WorldObjects/explosions/Detonation/VehicleNoFire.txt"
OnDropLandScript = ""			//     
OnDropWaterScript = ""		//     

CriticalWaterLevel = 1.5		//   
CriticalHeigthLevel = 3.0		//      
DivingSpeed = 0.8				//    
ImpulseToDestroy = 5000		//      ,    
ImpulseMinimumLevel = 1000	//      ,     ()

// 
logtreshold=0.0001

[CrewEscape]
	EscapeHealth=0.95f  //0.75
	EscapeAtLeast=1
	DistanceToRun=50.0f
	EscapePos=-2,0,0

	EscapeVisArg=1000
	
	Bot="LuaScripts\WorldObjects\Bots\BotField_SoldierRU.txt"
[end]

Armor=0					//  ,  ,        

//  .         500.

[DmgElement = ammo]
	damageablePart="collision"
	LifeRate=2000
	LifeRateFg=2000
	Armor=2
	CollisioDamageSens=1
[End]

DebugInfo = false				//           