// Identity
Name M24 Chaffee
ShortName Chaffee
Description American Light Tank

// Item and rendering
Icon Chaffee
Model ww2.Chaffee
Texture chaffee
RotateWheels True
AddDye 8 green
ModelScale 1

// Recipe
AddRecipeParts turret 1 lightTankBody 1 vehicleSeat
AddRecipeParts core 1 lightTankBody
AddRecipeParts leftTrack 1 catTrack
AddRecipeParts rightTrack 1 catTrack

// Inventory
FuelTankSize 2000
CargoSlots 10
ShellSlots 5
AllowAllAmmo False
AddAmmo shell
AddAmmo HEshell
AddAmmo Allied75APShell
AddAmmo Allied75HEShell

// Real-world physics
RealMassKg 18370
RealEnginePowerHp 220
RealMaxSpeedKmh 56
DriveType TRACKED
RealMaxReverseSpeedKmh 23

// Movement
MaxThrottle 0.8
MaxNegativeThrottle 0.6
TurnLeftSpeed 0.35
TurnRightSpeed 0.35
WheelRadius 1.0
WheelSpringStrength 0.5
FourWheelDrive true
Tank true

// Weaponry
BarrelPosition 5 25 2
AddGun 8 34 8 turret browning
ShootDelay 1
ShellDelay 85
TurretRotationSpeed 0.02
DamageModifierPrimary 38
ShootDelayPrimarySeconds 6
ReadWeaponsFromGunTypes true

// Optics
hasScope true
Gunsight official_m4a3
gunsightZoom 4

// Health and armour
SetupPart core 9000 -56 -1 -21 101 23 42
SetupPart turret 8800 -36 22 -28 56 22 56
SetupPart rightTrack 6000 -50 -10 -28 94 19 7
SetupPart leftTrack 6000 -50 -10 21 94 19 7
BulletDetection 7
ArmorFrontMm 25
ArmorSideMm 25
ArmorRearMm 19
ArmorTopMm 13
ArmorBottomMm 10
TurretArmorFrontMm 25
TurretArmorSideMm 25
TurretArmorRearMm 25
TurretArmorTopMm 13
UseRealisticVehicleHealth true

// Seats and geometry
CameraDistance 7.5
WheelPosition 0 -20 -10 -18
WheelPosition 1 -20 -10 18
WheelPosition 2 20 -10 18
WheelPosition 3 20 -10 -18
Driver 0 28 0 -360 360 -15 20
RotatedDriverOffset -5 0 -9
Passengers 0

// Sounds and particles
StartSound tankidle2
StartSoundLength 41
EngineSound engine_mt_m4a3
EngineSoundLength 39
ShootSoundPrimary shoot_75mmus
ShootSoundSecondary BrenShoot
