d//Naming
Name Challenger II
ShortName ChallyII
//Visuals
Icon ChallyII
Model mw.ChallengerII
Texture ChallySimple
//Third Person Camera Distance
CameraDistance 11.5
//Throttle
MaxThrottle 0.70
MaxNegativeThrottle 0.45
//Steering modifiers
TurnLeftSpeed 0.50
TurnRightSpeed 0.50
//Drag
Drag 10.0
Tank true
//For calculating whether wheels are on the ground or not for driving
WheelRadius 1.5
//Wheel positions for collision handling. Tanks still have 4 wheels, they are just the corner ones.
WheelPosition 0 -46 -10 -29
WheelPosition 1 -46 -10 29
WheelPosition 2 51 -10 29
WheelPosition 3 51 -10 -29
WheelSpringStrength 0.5
//If true, then all wheels will apply drive forces
FourWheelDrive true
//Fuel Tank Size (1 point of fuel will keep one propeller going with throttle at 1 for 1 tick)
FuelTankSize 2000
//Inventory Slots
CargoSlots 0
ShellSlots 5
FlareSlots 4
WeaponHud True
//Driver and passenger positions
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
GunOrigin 1 -2 28 -13
AllowAllAmmo False
AddAmmo 120mmHE
AddAmmo 120mmAP
BarrelPosition 131 26 0
//Secondary gun
AddGun 8 34 8 turret m60
//Delays are in ticks or 1/20ths of seconds
ShootDelay 2
ShellDelay 75
//Sounds
StartSound ChallengerIdle
StartSoundLength 40
EngineSound ChallengerRun
EngineSoundLength 40
ShootSoundPrimary sound_tank1
ShootSoundSecondary sound_m60
TurretRotationSpeed 0.06
//Recipe
//Each section of the plane may have many parts
//The sections are tailWheel, tail, bay, topWing, leftWingWheel, leftWing, rightWingWheel,
//rightWing, nose, turret, coreWheel, core
AddRecipeParts turret 1 heavytankTurret 2 vehicleSeat
AddRecipeParts core 1 advancedTankBody
AddRecipeParts leftTrack 1 catTrack
AddRecipeParts rightTrack 1 catTrack
//Dye colours are "black", "red", "green", "brown", "blue", "purple", "cyan", "silver", "gray", "pink", "lime", "yellow", "lightBlue", "magenta", "orange", "white"
AddDye 4 brown
AddDye 5 yellow
//Health and collision
SetupPart core 21500 -69 0 -33 137 23 66
SetupPart rightTrack 12000 -69 -10 -33 136 10 12
SetupPart leftTrack 12000 -69 -10 21 136 10 12
SetupPart turret 15500 -48 23 -27 92 16 54
BulletDetection 7

RotateWheels true
Description British Main Battle Tank

TurretStabilization True