// Identity
Name M18 Hellcat
ShortName Hellcat
Description American Tank Destroyer

// Item and rendering
Icon Hellcat
Model ww2.Hellcat
FlashModel DefaultFlash
Texture hellcat
RotateWheels True
AddDye 10 green
ModelScale 1

// Recipe
AddRecipeParts turret 1 mediumTankTurret 2 vehicleSeat
AddRecipeParts core 1 mediumTankBody
AddRecipeParts leftTrack 1 catTrack
AddRecipeParts rightTrack 1 catTrack

// Inventory
FuelTankSize 2000
CargoSlots 20
ShellSlots 5
AddAmmo shell
AddAmmo HEshell
AddAmmo American76APShell
AddAmmo American76HEShell

// Real-world physics
RealMassKg 17036
RealEnginePowerHp 400
RealMaxSpeedKmh 89
DriveType TRACKED
RealMaxReverseSpeedKmh 32

// Movement
MaxThrottle 0.8
MaxNegativeThrottle 0.65
TurnLeftSpeed 0.25
TurnRightSpeed 0.25
RealTurnRateDegPerSec 36
WheelRadius 1.0
WheelSpringStrength 0.5
FourWheelDrive true
Tank true

// Weaponry
GunOrigin 1 22 17.4 -11
BarrelPosition 77 26.5 0
ShootDelay 1
ShellDelay 100
TurretRotationSpeed 0.025
DamageModifierPrimary 44
ShootDelayPrimarySeconds 5
ReadWeaponsFromGunTypes true

// Optics
heliGuiSeat 1 true
heliGUI official_uscomm
hasScope true
Gunsight official_sherman
gunsightZoom 3.5

// Health and armour
SetupPart core 9550 -61 -3 -15 114 28 30
SetupPart turret 8550 -25 25 -25 50 18 50
SetupPart leftTrack 7000 -61 -10 -28 112 17 13
SetupPart rightTrack 7000 -61 -10 15 112 17 13
BulletDetection 7
UseRealisticVehicleHealth true
ArmorFrontMm 12.7 64
ArmorRearMm 12.7 13
ArmorSideMm 12.7 23
ArmorTopMm 7.9
ArmorBottomMm 4.8
TurretArmorFrontMm 25.4 23
TurretArmorRearMm 12.7 9
TurretArmorSideMm 12.7 23
TurretArmorTopMm 0

// Seats and geometry
CameraDistance 7.5
WheelPosition 0 -32 -10 -18
WheelPosition 1 -32 -10 18
WheelPosition 2 32 -10 18
WheelPosition 3 32 -10 -18
Driver 0 16 0 -360 360 -10 20
RotatedDriverOffset 7 0 -8
Passengers 1
Passenger 1 0 26 0 turret -360 360 -10 20 50Cal PassengerGun1
RotatedPassengerOffset 1 -9 0 -11
PassengerLegacyAiming 1 true

// Sounds and particles
StartSound tankidle2
StartSoundLength 41
EngineSound engine_td_m18
EngineSoundLength 39
ShootSoundPrimary shoot_76mmus
ShootParticlesPrimary largeexplode 0 0 0
ShootParticlesPrimary explode 1.0 0 0
ShootParticlesPrimary flansmod.fmflame 1.25 0 0
ShootParticlesPrimary flansmod.fmflame 0.68 0.07 0.09
ShootParticlesPrimary flansmod.fmflame 0.64 -0.07 -0.09
ShootParticlesPrimary largesmoke 0.4 0.08 0.1
ShootParticlesPrimary largesmoke 0.38 -0.08 -0.1
ShootParticlesPrimary cloud 0.06 0 0
ShootSoundSecondary BrowningShoot
DriverTraverseSounds true
PitchSound TurretTraverse1
PitchSoundLength 61
YawSound TurretTraverse2
YawSoundLength 38
