Class_name = "CTurret"
object_name = "_GAZ-MM-72K_T1"

AimingRay=true

[COCKPIT_LIMITS]
x= -0.3, 0.3
y= -0.3, 0.2
z= -0.7, 0.2
[END]

[OPEN_COCKPIT_LIMITS]
x= -0.3, 0.3
y= -0.3, 0.2
z= -0.7, 0.2
[END]

CollisionBody="graphics\Vehicles\_GAZ-MM\_GAZ-MM-72K-C2.col"	//   ,   child       

TransparentCockpit=true	// If false - Attached bot will be not rendered if cockpit hatch is closed (default =true)

VisualRadius=5.0

mp_site=true

CopyPosAttachID=1	//Copy orientation from other parent's object, on AttachID==1

[attach=0]
	object = "LuaScripts/WorldObjects/Bots/BotTankGAZMM72K_Commander.txt"
	position = 0,0,0
	convex="bot_pos",false	//false: Attach object relative to "bot_pos" convex (not absolute)
[end]

TargetingScript = "LuaScripts/WorldObjects/Ballistics/Projectiles/SHELL_RUS_76_AP.bin"

//SoundScript="LuaScripts/Sound/Vehicles/PzIII-M_Turret_T1.cfg"

Script="LuaScripts\ObjectScripts\Vehicles\_GAZ-MM-72K_T1.sc"

FlarePos= 0.0, 2.0, -1.0
FlareDir= 0.5, 1.0, -0.5
FlarePath= "LuaScripts/WorldObjects/Ballistics/Flare.txt"

SightPos = 0.0, 1.3, 0.0
PositionChangeTime = 0.5
StandDuration = 1.0
SitDuration = 1.0
PreEjectDuration = 1.0
ReloadDelay = 0.3
FreezeOnReload = false
AutoRecharge = true

BotRotaionValueZ = 0	// not used for tank
LegsParameter = 0 // not used for tank

BotMaxSecondAngle = 25.0 // not used for tank
BotMinSecondAngle = -5.0 // not used for tank

BotMaxFirstAngle  = 10.0 // not used for tank
BotMinFirstAngle  = -10.0  // not used for tank

FirstToSecondInterp = 0.0 // not used for tank

IsCritical=false	//true -       
LifeK=200			//         ( -  )

KillChildObjectsOnParentDeath = true

SphereHitProtection=0	//       

////	Energy loss for bullet travel through HitBody convices	////
energyloss="",true,1,200	//     , true -       -,       ,        

Armor=0	//   

/////Functional Damage Groups

[DGroup=Body]		//   _KV1s.txt     DGroup
	IsCritical=true
	LifeK=20
	DamageArg=5000
	MinValidLife=0.02
[end]

//End of Functional Damage Groups

[Entrance]
	EntrancePos= 0.0, 0.0, -5.5
	EntranceRot= 0,270,0
	JumpDir= 0,0,0
	GroundAligned= true
	ForceDropByDecline=55.0
[end]

DefaultGun=0	//default=-1, all of the guns are active

FixedHatch=true				// True -     
FixedWindow=true			// True -     
CanopyOpenByDefault=true
WindowOpenByDefault=false
NoAimingWhenOpened=true  // True -      
NoVisorCameraWhenOpened=true		// True -   -   
canopytime=4.75	//   Arg=0  Arg=0.95.     Arg=0.1  Arg=0.9     (4 ),    0.95/0.8*4=4.75.
windowtime=1.5

AutoCanopy=false
canopyLockSoundMask=2	// 0 bit - canopy unlock, start
						// 1 bit - canopy unlock, end
						// 2 bit - canopy lock, start
						// 3 bit - canopy lock, end

AutoWindow=false

TechChatCrewRole=5	//    (Driver: 1, Gunner: 3, Commander: 5, Machinegunner: 7, Radioman: 9)

[moveBotDeviator]
  HiFreqAmp = 0.2f
  MaxDeviation = 0.3f
  Periods = 2.1, 0.4;
[end]
accelBotDirK = 0.2
accelBotDirSmooth = 0.03
accelBotSideK = 0.2
accelBotSideSmooth = 0.03