// Identity
Name M10 Wolverine
ShortName M10
Description American Tank Destroyer

// Item and rendering
Icon M10
Model ww2.M10
FlashModel DefaultFlash
Texture m10
RotateWheels True
AddDye 10 green
ModelScale 1.15

// 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 American3inAPShell
AddAmmo American3inHEShell

// Real-world physics
RealMassKg 29600
RealEnginePowerHp 375
RealMaxSpeedKmh 48
DriveType TRACKED
RealMaxReverseSpeedKmh 5

// Movement
MaxThrottle 0.5
MaxNegativeThrottle 0.3
TurnLeftSpeed 0.2
TurnRightSpeed 0.2
RealTurnRateDegPerSec 20
WheelRadius 1.0
WheelSpringStrength 0.5
FourWheelDrive true
Tank true

// Weaponry
GunOrigin 1 12.4 25 -9.2
BarrelPosition 69.6 32.2 0
ShootDelay 1
ShellDelay 100
TurretRotationSpeed 0.025
DamageModifierPrimary 44
ShootDelayPrimarySeconds 5
ReadWeaponsFromGunTypes true

// Optics
hasScope true
Gunsight official_m10scope
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
ArmorFrontMm 51 55
ArmorSideMm 25
ArmorRearMm 25
ArmorTopMm 19
ArmorBottomMm 13
TurretArmorFrontMm 57
TurretArmorSideMm 25
TurretArmorRearMm 25
TurretArmorTopMm 0
UseRealisticVehicleHealth true

// 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 32 0 -360 360 -10 30
RotatedDriverOffset -14 0 9
Passengers 1
Passenger 1 0 32 0 turret -360 360 -20 20 browning PassengerGun1
RotatedPassengerOffset 1 -14 0 -9
PassengerLegacyAiming 1 true

// Sounds and particles
StartSound tankidle2
StartSoundLength 41
EngineSound engine_mt_m4
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
