class_name = "CStaticVehicle"
object_name = "Flak 38"
detail_type = "DET_AAA" //list of types is in \inc\SimulationSystem\DetailTypes.inc


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

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

ConvexAnimThreshold=0.0005	//  

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

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

[attach=1]
	position= 0.0, 1.5, -0.3
	rotation= 30, 0, 0
	object = "LuaScripts/WorldObjects/FlareGun.txt"
[end]

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

AttachedCameras = "LuaScripts\WorldObjects\fixcameras\Vehicles\Flak38.txt"

TargetHeight = 1.0			//            

CommandMonitor="LuaScripts/WorldObjects/LandObjectMonitor.txt"

//////	Controled body specific

//Mass = 420.0				//  ,  CStaticVehicle  default=0
FreezeOnDestroy=true		//   , true -   ,   -    

// Damage model

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.85		//  ,    

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

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

ImpulseToDestroy = 150000		//      ,    .    4   .      .
ImpulseMinimumLevel = 50		//      ,    .         .
ColDamageDelay=0.2				//      (  ,      ,     )

// 
logtreshold=0.0001

[CrewEscape]
	EscapeHealth=0.95f
	EscapeAtLeast=2
	DistanceToRun=50.0f
	EscapePos=0.5,0,-1.25

	EscapeVisArg=1000

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

Armor=0					//  ,  ,        

//  .         1500.

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

DebugInfo = false				//           