// Identity
Name Challenger II
ShortName ChallyII
Description British Main Battle Tank

// Item and rendering
Icon ChallyII
Model mw.ChallengerII
FlashModel DefaultFlash
Texture ChallySimple
AddDye 4 brown
AddDye 5 yellow
RotateWheels true

// Recipe
AddRecipeParts turret 1 heavyTankTurret 2 vehicleSeat
AddRecipeParts core 1 advancedTankBody
AddRecipeParts leftTrack 1 catTrack
AddRecipeParts rightTrack 1 catTrack

// Inventory
FuelTankSize 2000
CargoSlots 0
ShellSlots 5
AddAmmo shell
AddAmmo HEshell
AddAmmo Shell120mmL27A1
AddAmmo Shell120mmL31A7

// Real-world physics
RealMassKg 62500
RealEnginePowerHp 1200
RealMaxSpeedKmh 59
DriveType TRACKED
RealMaxReverseSpeedKmh 25

// Movement
MaxThrottle 0.6
MaxNegativeThrottle 0.4
TurnLeftSpeed 0.65
TurnRightSpeed 0.65
RealTurnRateDegPerSec 28
Drag 10.0
WheelRadius 1.5
WheelSpringStrength 0.5
FourWheelDrive true
Tank true

// Weaponry
GunOrigin 1 20 25.9 -14
BarrelPosition 131 26 0
AddGun 8 34 8 turret m60
ShootDelay 1
ShellDelay 70
TurretRotationSpeed 0.06
DamageModifierPrimary 100
ShootDelayPrimarySeconds 6
ReadWeaponsFromGunTypes true

// Optics
hasScope true
Gunsight official_leo2a6 official_leo2a6 official_leo2a6 official_leo2a6
gunsightZoom 3 12 3 12
thermalSight true
ThermalGuis 3 4

// Health and armour
SetupPart core 23500 -69 0 -33 137 23 66
SetupPart rightTrack 10000 -69 -10 -33 136 10 12
SetupPart leftTrack 10000 -69 -10 21 136 10 12
SetupPart turret 21500 -48 23 -27 92 16 54
BulletDetection 7
ArmorFrontMm 550
ArmorSideMm 70
ArmorRearMm 40
ArmorTopMm 50
ArmorBottomMm 35
TurretArmorFrontMm 800
TurretArmorSideMm 250
TurretArmorRearMm 70
TurretArmorTopMm 70
UseRealisticVehicleHealth true

// Seats and geometry
CameraDistance 11.5
WheelPosition 0 -51 -10 -33
WheelPosition 1 -51 -10 33
WheelPosition 2 56 -10 33
WheelPosition 3 56 -10 -33
Driver 0 28 0 -360 360 -10 20
RotatedDriverOffset -5 0 10
Passengers 1
Passenger 1 0 33 0 turret -360 360 -15 40 m60 PassengerGun1
RotatedPassengerOffset 1 -13 0 -7

// Sounds and particles
StartEngineSound ChallengerIdle
StartEngineSound 40
EngineSound ChallengerRun
EngineSoundLength 40
ShootSoundPrimary 90mm
ShootParticlesPrimary largeexplode 0 0 0
ShootParticlesPrimary explode 1.4 0 0
ShootParticlesPrimary flansmod.fmflame 1.7 0 0
ShootParticlesPrimary flansmod.fmflame 0.9 0.08 0.12
ShootParticlesPrimary flansmod.fmflame 0.85 -0.08 -0.12
ShootParticlesPrimary largesmoke 0.5 0.1 0.12
ShootParticlesPrimary largesmoke 0.48 -0.1 -0.12
ShootParticlesPrimary cloud 0.08 0 0
ShootSoundSecondary M60Shoot
