//Naming
Name Buggy
ShortName buggy
//Visuals
Icon Buggy
Model apocalypse.Buggy
Texture Buggy
RotateWheels True
//Third Person Camera Distance
CameraDistance 7.5
//Throttle
MaxThrottle 0.8
MaxNegativeThrottle 0.5
//Steering modifiers
TurnLeftSpeed 0.4
TurnRightSpeed 0.4
//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 -36 -10 -19
WheelPosition 1 -36 -10 19
WheelPosition 2 22 -10 18
WheelPosition 3 22 -10 -18
WheelSpringStrength 0.5
//If true, then all wheels will apply drive forces
FourWheelDrive true
//Tank mode activate
Tank false
//Fuel Tank Size (1 point of fuel will keep one propeller going with throttle at 1 for 1 tick)
FuelTankSize 2000
//Inventory Slots
CargoSlots 32
ShellSlots 0
//Driver and passenger positions
Driver -19 -2 -6 -360 360 -89 89
RotatedDriverOffset 0 0 0
Passengers 1
Passenger 1 -19 -2 6 core -360 360 -89 89
BarrelPosition 0 0 0
//Delays are in ticks or 1/20ths of seconds
ShootDelay 1
ShellDelay 70
//Sounds
StartSound Engine
StartSoundLength 20
EngineSound Engine
EngineSoundLength 20
ShootSoundPrimary TankShell
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 core 1 smallChassis 2 vehicleSeat
AddRecipeParts frontLeftWheel 1 wheel
AddRecipeParts frontRightWheel 1 wheel
AddRecipeParts backLeftWheel 1 wheel
AddRecipeParts backRightWheel 1 wheel
//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 120 -42 -5 -14 75 25 28
SetupPart frontLeftWheel 75 13 -10 15 15 15 5
SetupPart frontRightWheel 75 13 -10 -20 15 15 5
SetupPart backRightWheel 85 -43 -10 -22 15 15 7
SetupPart backLeftWheel 85 -43 -10 15 15 15 7
BulletDetection 7