//Naming
Name Challenger II
ShortName ChallyII
//Visuals
Icon ChallyII
Model mw.ChallengerII
Texture ChallySimple
//Third Person Camera Distance
CameraDistance 11.5
//Throttle
MaxThrottle 0.6
MaxNegativeThrottle 0.4
//Steering modifiers
TurnLeftSpeed 0.3
TurnRightSpeed 0.3
//Drag
Drag 10.0
//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 -51 -10 -33
WheelPosition 1 -51 -10 33
WheelPosition 2 56 -10 33
WheelPosition 3 56 -10 -33
WheelSpringStrength 0.5
//If true, then all wheels will apply drive forces
FourWheelDrive true
//Tank mode activate
Tank 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
//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
AddAmmo shell
AddAmmo HEshell
BarrelPosition 131 26 0
//Secondary gun
AddGun 8 34 8 turret m60
//Delays are in ticks or 1/20ths of seconds
ShootDelay 1
ShellDelay 70
//Sounds
StartSound ChallengerIdle
StartSoundLength 40
EngineSound ChallengerRun
EngineSoundLength 40
ShootSoundPrimary 90mm
ShootSoundSecondary M60Shoot
TurretRotationSpeed 0.06
DamageModifierPrimary 100
//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 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

RotateWheels true
Description British Main Battle Tank