class_name = "CStaticVehicle"
object_name = "MG-34 AA"
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/mg34-aa/mg34-aa.mgm",true

CollisionBody="graphics/Artillery/mg34-aa/mg34-aa.col"

ConvexAnimThreshold=0.0005	//  

SoundScript="LuaScripts\Sound\Vehicles\MG-34_AA.cfg"

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

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

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

AttachedCameras = "LuaScripts\WorldObjects\fixcameras\Vehicles\MG34-AA.txt"

TargetHeight = 1.0			//            

CommandMonitor="LuaScripts/WorldObjects/LandObjectMonitor.txt"

//////	Controled body specific

//Mass = 19.0				//  ,  CStaticVehicle  default=0
Mass = 100000.0				//         ,   100    ImpulseToDestroy.   ,      .
FreezeOnDestroy=true		//   , true -   ,   -    

// 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		//  ,     0.0

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

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

ImpulseToDestroy = 50000			//      ,    .    4   .      .
ImpulseMinimumLevel = 5			//      ,    .         .
ColDamageDelay=0.2				//      (  ,      ,     )

// 
logtreshold=0.0001

[CrewEscape]
	EscapeHealth=0.95f
	EscapeAtLeast=1
	DistanceToRun=50.0f
	EscapePos=-1.0,0,0

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

Armor=0					//  ,  ,        

//  .         500.

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

DebugInfo = false				//           