//Naming
Name Back To The Future Time Machine
Description You're telling me you built a time machine? Out of a DeLorean?!
ShortName BackToTheFutureTimeMachineI
ItemID 21001
//Visuals
Icon BackToTheFutureTimeMachineI
Model BTTF.BackToTheFutureTimeMachineI
Texture BackToTheFutureTimeMachineI
RotateWheels true
//Third Person Camera Distance
CameraDistance 5.0
//Throttle
MaxThrottle 1.0
MaxNegativeThrottle 0.0
//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
//Wheel positions for collision handling. Tanks still have 4 wheels, they are just the corner ones.
WheelPosition 0 -40 -7 -31
WheelPosition 1 -40 -7 31
WheelPosition 2 45 -7 31
WheelPosition 3 45 -7 -31
WheelSpringStrength 0.5
//If true, then all wheels will apply drive forces
FourWheelDrive true
//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 1000
//Inventory Slots
CargoSlots 36
ShellSlots 0
//Driver and passenger positions
Driver 0 0 -12
RotatedDriverOffset 0 0 0
Passengers 1
Passenger 1 0 0 12 core
//Delays are in ticks or 1/20ths of seconds
ShootDelay 999
ShellDelay 999
//Sounds
StartSound Engine
StartSoundLength 20
EngineSound Engine
EngineSoundLength 20
ShootSound bullet
ShellSound shell
//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 SMP_Part_Chassis_Car 4 SMP_Part_Misc_Seat_Car 6 SMP_Part_Mat_Plate_Aluminium 1 Fluxcapasitor 10 SMP_Part_Misc_Computer 15 SMP_Part_Misc_Part_Electronic 1 SMP_Part_Misc_Radar 20 SMP_Part_Misc_Part_Mechanical
AddRecipeParts frontRightWheel 1 SMP_Part_Wheel_Car
AddRecipeParts backLeftWheel 1 SMP_Part_Wheel_Car
AddRecipeParts frontLeftWheel 1 SMP_Part_Wheel_Car
AddRecipeParts backRightWheel 1 SMP_Part_Wheel_Car
//Dye colours are "black", "red", "green", "brown", "blue", "purple", "cyan", "silver", "gray", "pink", "lime", "yellow", "lightBlue", "magenta", "orange", "white"
AddDye 5 silver
//Health and collision
SetupPart frontLeftWheel 100 37 -7 24 16 16 7
SetupPart frontRightWheel 100 37 -7 -31 16 16 7
SetupPart backRightWheel 100 -48 -7 -31 16 16 7
SetupPart backLeftWheel 100 -48 -7 24 16 16 7
SetupPart core 200 -70 -1 -31 144 32 62
BulletDetection 5
Modelscale 0.75