//Naming
Name M113 APC
ShortName M113
//Visuals
Icon M113
Model Cloneguy.DECM113
Texture M113
//Third Person Camera Distance
CameraDistance 7.5
//Throttle
MaxThrottle 1.0
MaxNegativeThrottle 0.2
//Steering modifiers
TurnLeftSpeed 0.5
TurnRightSpeed 0.5
Drag 5.8
//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 -47 -6 -12
WheelPosition 1 -47 -6 12
WheelPosition 2 37 -6 13
WheelPosition 3 37 -6 -13
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 2
//Driver and passenger positions
Driver 11 18 -15 -90 90 -45 45
Passengers 7
Passenger 1 -19 9 -14 core 60 160 -45 45
Passenger 2 -35 9 -14 core 60 160 -45 45
Passenger 3 -37 9 14 core -160 -60 -45 45
Passenger 4 -21 9 14 core -160 -60 -45 45
Passenger 5 -5 9 14 core -160 -60 -45 45
Passenger 6 -3 9 -14 core 60 160 -45 45
Passenger 7 -9 28 0 core -30 30 -20 20 vechMG PassengerGun0
GunOrigin 7 7 20 0
StartSound TankIdle
StartSoundLength 20
EngineSound TankMove
EngineSoundLength 60
//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 500 -59 -2 -25 103 33 50
SetupPart rightTrack 200 -52 -10 -25 95 17 7
SetupPart leftTrack 200 -52 -10 18 95 17 7
BulletDetection 7
ModelScale 1.25
RotateWheels True