//Naming
Name M35 Truck
ShortName M35
ItemID 28031
//Visuals
Icon M35
Model mw.M35
Texture SkinM35
RotateWheels True
//Third Person Camera Distance
CameraDistance 5.0
//Throttle
MaxThrottle 0.8
MaxNegativeThrottle 0.5
//Steering modifiers
TurnLeftSpeed 1
TurnRightSpeed 1
//Drag
Drag 1.0
//Mass (In tons)
Mass 1.0
//Moment of Inertia (in crazy units. Just fiddle with this until you find something nice)
MomentOfInertia 10.0
//More bounciness means the vehicle will bounce more upon going up slopes, but fall through the ground less
Bounciness 0.3
//For calculating whether wheels are on the ground or not for driving
WheelRadius 1.0
//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 1500
//Inventory Slots
CargoSlots 18
ShellSlots 0
//Driver and passenger positions
Driver 11 15 -9 -360 360 -89 89
RotatedDriverOffset 0 0 0
Passengers 9
Passenger 1 11 15 8 core
Passenger 2 -8 22 18 core
Passenger 3 -25 22 18 core
Passenger 4 -42 22 18 core
Passenger 5 -59 22 18 core
Passenger 6 -59 22 -18 core
Passenger 7 -42 22 -18 core
Passenger 8 -25 22 -18 core
Passenger 9 -8 22 -18 core
//Delays are in ticks or 1/20ths of seconds
ShootDelay 999
ShellDelay 999
//Sounds
StartSound lkw_start
StartSoundLength 34
EngineSound lkw_lauf
EngineSoundLength 105
ShootSound bullet
ShellSound TankShell
//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 27064_Part_Chassis_Van 10 27010_Mat_Plate_Steel
AddRecipeParts frontLeftWheel 1 27072_Part_Wheel_Car
AddRecipeParts frontRightWheel 1 27072_Part_Wheel_Car
AddRecipeParts backLeftWheel 1 27072_Part_Wheel_Car
AddRecipeParts backRightWheel 1 27072_Part_Wheel_Car
//Dye colours are "black", "red", "green", "brown", "blue", "purple", "cyan", "silver", "gray", "pink", "lime", "yellow", "lightBlue", "magenta", "orange", "white"
AddDye 5 black
AddDye 5 white
//Health and collision
SetupPart frontRightWheel 100 22 -10 -19 12 12 5
SetupPart backRightWheel 100 -34 -10 -19 12 12 5
SetupPart frontLeftWheel 100 22 -10 14 12 12 5
SetupPart backLeftWheel 100 -34 -10 14 12 12 5
SetupPart core 250 -43 -3 -17 81 33 34
BulletDetection 5
WheelPosition 0 -28 -8 -17
WheelPosition 1 -28 -8 17
WheelPosition 2 28 -8 17
WheelPosition 3 28 -8 -17