class_name = "CAttachedVehicle"
object_name = "Flak 38 turret"


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

VisualImage=0,"graphics/Artillery/Flak38/Flak38-attach.mgm",true

ImageAttrs="IA_NOMINPIXELS","IA_NOMINZ"

CollisionBody="graphics/Artillery/Flak38/Flak38-attach.col"

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

[attach=0]
	position= -0.018, 0.203, 0.0
	object = "LuaScripts/WorldObjects/Vehicles/Turrets/Flak38Turret_attach.txt"
[end]

TargetHeight = 1.3			//            

//////	Controled body specific

Mass=420.0					//   

energyloss="",true,5.0,200		//     , 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.0		//  ,    

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

ExplosionScript = "LuaScripts/WorldObjects/explosions/Detonation/VehicleNoDmg.txt"

CriticalWaterLevel = 1.5		//   
CriticalHeigthLevel = 3.0		//      
DivingSpeed = 0.8				//    
ImpulseToDestroy = 138416		//      ,    .       CStaticVehicle_ImpulseToDestroy.xlsx
ImpulseMinimumLevel = 100		//      ,    .         .

// 
logtreshold=0.0001

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

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

Armor=0					//  ,  ,        

//  .         1500.

[DmgElement = ammo]
	damageablePart="collision"
	LifeRate=1500
	LifeRateFrag=1500
	Armor=0
	CollisioDamageSens=1
[End]

DebugInfo = false				//           