class_name = "CTrainWagon"
object_name = "Wagon_PlatformAA-MG34"
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/trains/Wagons/AAPlatform-MG.mgm",true

CollisionBody="graphics/trains/Wagons/AAPlatform-MG.col"

SoundScript="LuaScripts/Sound/Vehicles/Car_Tan.cfg"

TargetHeight = 1.8			//            

AttachedCameras = "LuaScripts\WorldObjects\fixcameras\TrainCarriageCameras.txt"

CommandMonitor="LuaScripts/WorldObjects/LandObjectMonitor.txt"

[attach=0]
	position= 1.7, 1.368, -0.1
	object = "LuaScripts/WorldObjects/Vehicles/mg08-aa-attach.txt"
	rotation= 0, 270, 0
	convex = "Coll05"
[end]

[attach=1]
	position= -1.7, 1.368, 0.1
	object = "LuaScripts/WorldObjects/Vehicles/mg08-aa-attach.txt"
	rotation= 0, 90, 0
	convex = "Coll05"
[end]

//////	Controled body specific

sendrate = 7						//    50     (=7    7.1)

Cdrag = 20.0						//    ,    
Crr = 500.0							//   ,   
Csf = 0.17							//     ,  ,        (  )
Cang = 30.0							//    
CrrExt = 7000.0						//    ,   
CBraking = 4000.0					//   
Mass = 15000.0						//   
WheelRadius = 0.5					//  
LengthBetweenCenterAndBack  = 1.91	//        
LengthBetweenCenterAndFront = 1.91	//        
LengthBetweenWheels = 1.49			//  (    )
OrientSmoothParam = 0.01			//       /

LengthBack = 3.96					//        
LengthFront = 3.96					//        

// Damage model

energyloss="",true,1.0,1000		//     , true -       -,       ,        

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

Firing=0.002				//     ,  Life  
SmokeStartHealth = 0.5		//  ,      
MinFiringHealth = 0.5		//  ,    
MinMovementHealth = 0.25	//  ,    
MinAttackHealth = 0.10		//  ,    

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


ExplosionScript = "LuaScripts/WorldObjects/explosions/Detonation/VehicleNoDmg.txt"	//    
OnDropLandScript = "LuaScripts/WorldObjects/Emitters/DustBlow4.txt"			//     
OnDropWaterScript = "LuaScripts/WorldObjects/Emitters/WaterSpray4.txt"		//     

CriticalWaterLevel = 1.0		//   
CriticalHeigthLevel = 4.0		//      
DivingSpeed = 0.3				//    
ImpulseToDestroy = 200000		//      ,    
ImpulseMinimumLevel = 40000		//      ,     ()

logtreshold=0.0001				//   ,    

[moveDeviator]
  HiFreqAmp = 0.1f
  MaxDeviation = 1.0f
  Periods = 2.1, 0.4;
[end]
accelDirK = 0.3
accelDirSmooth = 0.1
accelSideK = 0.3
accelSideSmooth = 0.1

Armor=0					//  ,  ,        

//  .         30000.

[DmgElement = ammo]
	damageablePart="cargo"
	LifeRate=20000
	LifeRateFrag=20000
	Armor=0
	CollisioDamageSens=1
[End]

[DmgElement = engine]
	damageablePart="body"
	LifeRate=40000
	LifeRateFrag=40000
	Armor=0
	CollisioDamageSens=1
[End]

DebugInfo = false				//           