//Naming
Name M1A2 Abrams
ShortName abrams
//Visuals
Icon Abrams
Model mw.Abrams
Texture M1A2
//Third Person Camera Distance
CameraDistance 12
//Throttle
MaxThrottle 1.5
MaxNegativeThrottle 1.0
//Steering modifiers
TurnLeftSpeed 0.5
TurnRightSpeed 0.5
//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 -57 -10 -27
WheelPosition 1 -57 -10 27
WheelPosition 2 57 -10 27
WheelPosition 3 57 -10 -27
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 37 0 -360 360 -10 20
RotatedDriverOffset -18 0 -14
Passengers 1
Passenger 1 0 36 0 turret -360 360 -15 40 m60 M2
RotatedPassengerOffset 1 -14 0 12
GunOrigin 1 6 50 1
BarrelPosition 110 30 0
//Secondary gun
AddGun 46 31 4 turret m60
//Delays are in ticks or 1/20ths of seconds
ShootDelay 1
ShellDelay 70
//Sounds
StartSound M1A2Start
StartSoundLength 300
EngineSound M1A2_Run
EngineSoundLength 40
ShootSoundPrimary 90mm
ShootSoundSecondary M60Shoot
//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 tankTurret
AddRecipeParts core 1 advancedTankBody 1 vehicleSeat
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 10 gray
//Health and collision
SetupPart core 23000 -82 -1 -34 153 26 68
SetupPart turret 18000 -59 25 -29 98 15 58
SetupPart rightTrack 12000 -81 -10 -34 154 20 13
SetupPart leftTrack 12000 -81 -10 21 154 21 13
BulletDetection 7
RotateWheels true