// Identity
Name T-34/76 Mod. 1942 [76mm]
ShortName 44_T3476
Description Soviet Medium Tank__Uses : 76mm AP Tank Shell_Medium Cal. HE Tank Shell __Year Introduced : 1942

// Rendering
Icon 44_T3476Mod1942
Model W44.T3476Mod1942
ModelScale 1.1
Texture Skin44_T34Mod1942
RotateWheels True
CameraDistance 7.5

// Recipe and inventory
AddRecipeParts turret 1 44_Light_Tank_Turret 1 44_Vehicle_Seat
AddRecipeParts core 1 44_Medium_Tank_Chassis 1 44_Vehicle_Seat
AddRecipeParts leftTrack 1 44_Tank_Track
AddRecipeParts rightTrack 1 44_Tank_Track
AddRecipeParts frontalArmor 5 44_Reinforced_Plating
CargoSlots 20
ShellSlots 4
FuelTankSize 2000

// Paintjobs
AddDye 5 green

// Real-world specifications
DriveType TRACKED
RealMassKg 30900
RealEnginePowerPS 500
RealMaxSpeedKmh 55
RealMaxReverseSpeedKmh 7

// Movement
Tank true
FourWheelDrive true
MaxThrottle 0.96
MaxNegativeThrottle 0.51
ClutchBrake 0.024
TurnLeftSpeed 0.48
TurnRightSpeed 0.48
CanRoll true

// Wheels and tracks
WheelRadius 1.0
WheelPosition 0 -32 -8 -18
WheelPosition 1 -32 -8 18
WheelPosition 2 32 -8 18
WheelPosition 3 32 -8 -18
WheelSpringStrength 0.5
TrackLinkLength 2
LeftLinkPoint [30,8.5,24.5]
LeftLinkPoint [38,9.5,24.5]
LeftLinkPoint [43,9.5,24.5]
LeftLinkPoint [46.5,7,24.5]
LeftLinkPoint [46.5,1,24.5]
LeftLinkPoint [43,-2,24.5]
LeftLinkPoint [30,-9.5,24.5]
LeftLinkPoint [-55,-9.5,24.5]
LeftLinkPoint [-69,-2,24.5]
LeftLinkPoint [-72.5,0,24.5]
LeftLinkPoint [-72.5,7,24.5]
LeftLinkPoint [-69,9,24.5]
RightLinkPoint [30,8.5,-24.5]
RightLinkPoint [38,9.5,-24.5]
RightLinkPoint [43,9.5,-24.5]
RightLinkPoint [46.5,7,-24.5]
RightLinkPoint [46.5,1,-24.5]
RightLinkPoint [43,-2,-24.5]
RightLinkPoint [30,-9.5,-24.5]
RightLinkPoint [-55,-9.5,-24.5]
RightLinkPoint [-69,-2,-24.5]
RightLinkPoint [-72.5,0,-24.5]
RightLinkPoint [-72.5,7,-24.5]
RightLinkPoint [-69,9,-24]
FixTrackLink 7
FlipLinkFix true

// Weapons
ReadWeaponsFromGunTypes true
ShootDelayPrimarySeconds 5
ShootDelay 2
ReloadTimeSecondary 100
PlaceTimePrimary 80
BulletSpread 3
BulletSpeed 8
BulletDetection 5
AllowAllAmmo false
AddAmmo 44_76APShell
AddAmmo 44_MediumHEShell
AddAmmo 44_76APCRShell
AddAmmo 44_76HEATShell
AddGun 27 32 6 turret 44_DT28
GunOrigin 1 35 -5 11
BarrelPosition 75 34 0
ShootParticlesPrimary largeexplode 0 0 0
ShootParticlesPrimary explode 1.5 0 0
ShootParticlesPrimary largesmoke 0.5 0 0.1
ShootParticlesPrimary largesmoke 0.5 0 -0.1
ShootParticlesPrimary largesmoke 0.5 0.06 0.06
ShootParticlesPrimary largesmoke 0.5 0.06 -0.06
ShootParticlesPrimary largesmoke 0.5 -0.06 0.06
ShootParticlesPrimary largesmoke 0.5 -0.06 -0.06
ShootParticlesPrimary largesmoke 0.5 -0.1 0
ShootParticlesPrimary largesmoke 0.5 0.1 0
ShootParticlesPrimary cloud 0.05 0 0.2
ShootParticlesPrimary cloud 0.05 0 -0.2
ShootParticlesPrimary cloud 0.05 0.13 0.13
ShootParticlesPrimary cloud 0.05 0.13 -0.13
ShootParticlesPrimary cloud 0.05 -0.13 0.13
ShootParticlesPrimary cloud 0.05 -0.13 -0.13
ShootParticlesPrimary cloud 0.05 -0.2 0
ShootParticlesPrimary cloud 0.05 0.2 0
ShootParticlesPrimary flansmod.fmflame 1 0 0
ShootParticlesPrimary flansmod.fmflame 1.75 0 0
ShootParticlesPrimary flansmod.fmflame 1.5 0 0
ShootParticlesPrimary flansmod.fmflame 1.25 0 0
ShootParticlesPrimary flansmod.fmflame 0.75 0 0
ShootParticlesPrimary flansmod.fmflame 0.5 0 0
ShootParticlesPrimary flansmod.fmflame 0.25 0 0
ShootParticlesPrimary flansmod.fmflame 1.5 0 0
ShootParticlesPrimary flansmod.fmflame 0.5 0 0.1
ShootParticlesPrimary flansmod.fmflame 0.5 0 -0.1
ShootParticlesPrimary flansmod.fmflame 0.5 0.06 0.06
ShootParticlesPrimary flansmod.fmflame 0.5 0.06 -0.06
ShootParticlesPrimary flansmod.fmflame 0.5 -0.06 0.06
ShootParticlesPrimary flansmod.fmflame 0.5 -0.06 -0.06
ShootParticlesPrimary flansmod.fmflame 0.5 -0.1 0
ShootParticlesPrimary flansmod.fmflame 0.5 0.1 0
ShootParticlesPrimary flansmod.fmflame 0.05 0 0.2
ShootParticlesPrimary flansmod.fmflame 0.05 0 -0.2
ShootParticlesPrimary flansmod.fmflame 0.05 0.13 0.13
ShootParticlesPrimary flansmod.fmflame 0.05 0.13 -0.13
ShootParticlesPrimary flansmod.fmflame 0.05 -0.13 0.13
ShootParticlesPrimary flansmod.fmflame 0.05 -0.13 -0.13
ShootParticlesPrimary flansmod.fmflame 0.05 -0.2 0
ShootParticlesPrimary flansmod.fmflame 0.05 0.2 0
ShootParticlesPrimary flansmod.fmflame 0.1 0 0.4
ShootParticlesPrimary flansmod.fmflame 0.1 0 -0.4
ShootParticlesPrimary flansmod.fmflame 0.1 0.26 0.26
ShootParticlesPrimary flansmod.fmflame 0.1 0.26 -0.26
ShootParticlesPrimary flansmod.fmflame 0.1 -0.26 0.26
ShootParticlesPrimary flansmod.fmflame 0.1 -0.26 -0.26
ShootParticlesPrimary flansmod.fmflame 0.1 -0.4 0
ShootParticlesPrimary flansmod.fmflame 0.1 0.4 0
ShootParticlesSecondary crit 0.5 0 0

// Armour and damage
UseRealisticVehicleHealth true
ArmorFrontMm 45 60
ArmorSideMm 45 40
ArmorRearMm 40
ArmorTopMm 20
ArmorBottomMm 20
TurretArmorFrontMm 53
TurretArmorSideMm 53
TurretArmorRearMm 53
TurretArmorTopMm 16
IsExplosionWhenDestroyed true

// Parts and collision
SetupPart core 1750 -77 -1 -24 90 46 46
SetupPart frontalArmor 1750 13 -1 -24 38 43 46
SetupPart leftTrack 300 -77 -10 -33 131 23 11
SetupPart rightTrack 300 -77 -10 22 131 23 11

// Seats
Driver 0 34 0 -360 360 -5 28
Passengers 1
Passenger 1 32 3 -7 core -10 10 -10 10 44_DT28 PassengerGun1
RotatedDriverOffset 3 0 -6
DriverAimSpeed 1.17 1.07 0
DriverYawBeforePitch false

// Optics
hasScope true
Gunsight warfare44_t3476sight
gunsightZoom 3.5

// Sounds
StartSound TankIdle2
StartSoundLength 41
StartSoundRange 12
EngineSound Engine_MT_T34
EngineSoundLength 39
EngineSoundRange 50
BackSound Engine_MT_T34
BackSoundLength 39
BackSoundRange 25
YawSound TurretTraverse1
YawSoundLength 21
PitchSound TurretTraverse2
PitchSoundLength 20
DriverTraverseSounds true
ShootSoundPrimary Shoot_76mmUSSR
ShootSoundSecondary Shoot_MG_DT28
PlaceSoundPrimary TankPlace
ReloadSoundSecondary Mg34Reload
ShootReloadSound Breach
VehicleGunReloadTick 40

// Effects
AddEmitter smoke 1 [-77,10,-11] [1,1,1] [0,0.5,0] -1 1 0 1 core
AddEmitter smoke 1 [-77,10,11] [1,1,1] [0,0.5,0] -1 1 0 1 core
AddEmitter smoke 2 [-34,26,-25.25] [7,1,7] [0,0.5,0] -1 1 0 0.75 core
AddEmitter smoke 2 [-34,26,25.25] [7,1,7] [0,0.5,0] -1 1 0 0.75 core
AddEmitter smoke 2 [5,43,14] [3,1,3] [0,0.5,0] -1 1 0 0.75 turret
AddEmitter largesmoke 3 [-34,26,-25.25] [7,1,7] [0,1,0] -1 1 0 0.5 core
AddEmitter largesmoke 3 [-34,26,25.25] [7,1,7] [0,1,0] -1 1 0 0.5 core
AddEmitter largesmoke 2 [5,43,14] [3,1,3] [0,0.5,0] -1 1 0 0.5 turret
AddEmitter largesmoke 1 [-34,26,-25.25] [7,1,7] [0,1.5,0] -1 1 0 0.25 core
AddEmitter largesmoke 1 [-34,26,25.25] [7,1,7] [0,1.5,0] -1 1 0 0.25 core
AddEmitter flame 1 [-34,26,-25.25] [5,1,5] [0,1,0] -1 1 0 0.25 core
AddEmitter flame 1 [-34,26,25.25] [5,1,5] [0,1,0] -1 1 0 0.25 core
AddEmitter largesmoke 1 [5,43,14] [3,1,3] [0,1,0] -1 1 0 0.5 turret
AddEmitter largesmoke 1 [-77,10,-11] [1,1,1] [0,1.5,0] 0.02 0.07 0 1 core
AddEmitter explode 1 [-77,10,-11] [1,1,1] [0,0.2,0] 0.05 0.2 0 1 core
AddEmitter largesmoke 1 [-77,10,-11] [1,1,1] [0,3,0] 0.2 0.25 0 1 core
AddEmitter explode 1 [-77,10,-11] [1,1,1] [0,0.7,0] 0.2 0.5 0 1 core
AddEmitter largesmoke 1 [-77,10,-11] [1,1,1] [0,4,0] 0.5 0.52 0 1 core
AddEmitter flame 1 [-77,10,-11] [1,1,1] [0,2,0] 0.5 0.51 0 1 core
AddEmitter explode 1 [-77,10,-11] [1,1,1] [0,0.7,0] 0.5 2 0 1 core
AddEmitter largesmoke 3 [-77,10,-11] [1,1,1] [0,0.5,0] 0.8 2 0 1 core
AddEmitter largesmoke 1 [-77,10,-11] [1,1,1] [0,5,0] 0.7 0.75 0 1 core
AddEmitter flame 1 [-77,10,-11] [1,1,1] [0,5,0] 0.7 0.73 0 1 core
AddEmitter largesmoke 1 [-77,10,11] [1,1,1] [0,1.5,0] 0.02 0.07 0 1 core
AddEmitter explode 1 [-77,10,11] [1,1,1] [0,0.2,0] 0.05 0.2 0 1 core
AddEmitter largesmoke 1 [-77,10,11] [1,1,1] [0,3,0] 0.2 0.25 0 1 core
AddEmitter explode 1 [-77,10,11] [1,1,1] [0,0.7,0] 0.2 0.5 0 1 core
AddEmitter largesmoke 1 [-77,10,11] [1,1,1] [0,4,0] 0.5 0.52 0 1 core
AddEmitter flame 1 [-77,10,11] [1,1,1] [0,2,0] 0.5 0.51 0 1 core
AddEmitter explode 1 [-77,10,11] [1,1,1] [0,0.7,0] 0.5 2 0 1 core
AddEmitter largesmoke 3 [-77,10,11] [1,1,1] [0,0.5,0] 0.8 2 0 1 core
AddEmitter largesmoke 1 [-77,10,11] [1,1,1] [0,5,0] 0.7 0.75 0 1 core
AddEmitter flame 1 [-77,10,11] [1,1,1] [0,5,0] 0.7 0.73 0 1 core
