class_name = "CAttachedVehicle"
object_name = "Flak 36 turret"


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

VisualImage=0,"graphics/Artillery/Flak36/Flak36.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/Artillery/Flak36/Flak36.col"

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

[attach=0]
	position= 0, 0.1378, 0
	object = "LuaScripts/WorldObjects/Vehicles/Flak36Turret.txt"
[end]

TargetHeight = 1.0			//            

//////	Controled body specific

Mass = 420.0				//  

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

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

ExplosionScript = "LuaScripts/WorldObjects/explosions/Detonation/VehicleNoDmg.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 = 10000		//      ,    
ImpulseMinimumLevel = 1500		//      ,     ()

// 
logtreshold=0.0001

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

	EscapeVisArg=1000
	
	Bot=""
[end]

Armor=0					//  ,  ,        

//  .         1500.

[DmgElement = ammo]
	damageablePart="collision"
	LifeRate=3000
	LifeRateFg=3000
	Armor=3
	CollisioDamageSens=1
[End]

DebugInfo = false				//           