﻿//---Standard Plane Config for Flans Mod----------
//Created by Minecraft-SMP Toolbox 2.3.0.0


//---Standard-------------------------------------
// Naming
Name Lockheed C-130 Hercules
ShortName C130


// Visuals
Model WW3.C130
ModelScale 2.22
Icon C130


//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 metalCockpit 18 vehicleSeat 1 bombBay 4 passengerBay 
AddRecipeParts leftWing 1 metalWingSmall
AddRecipeParts rightWing 1 metalWingSmall
//Dye colours are "black", "red", "green", "brown", "blue", "purple", "cyan", "silver", "gray", "pink", "lime", "yellow", "lightBlue", "magenta", "orange", "white"
AddDye 5 grey


//Misc

//------------------------------------------------

//---Driveables-----------------------------------
//Visuals
Model WW3.C130
Texture SkinC130


//Movement
MaxThrottle 3.0
MaxNegativeThrottle 0.0
Drag 2.0


//Wheels
NumWheels 4
WheelPosition 0 -45 8 -20
WheelPosition 1 -45 8 20
WheelPosition 2 43 8 20
WheelPosition 3 43 8 -20
WheelRadius 1.5
WheelSpringStrength 0.5


//Floating








CargoSlots 182
BombSlots 0
MissileSlots 0
AllowAllAmmo False
//Fuel Tank Size (1 point of fuel will keep one propeller going with throttle at 1 for 1 tick)
FuelTankSize 16000


//Driver and Passengers
Pilot 216 39 -13
Passengers 17
Passenger 1 216 39 14 core
Passenger 2 -23 33 -23 core
Passenger 3 -3 33 -23 core
Passenger 4 17 33 -23 core
Passenger 5 37 33 -23 core
Passenger 6 57 33 -23 core
Passenger 7 58 33 27 core
Passenger 8 38 33 27 core
Passenger 9 18 33 27 core
Passenger 10 -2 33 27 core
Passenger 11 -22 33 27 core
Passenger 12 95 29 -22 core
Passenger 13 115 29 -22 core
Passenger 14 135 29 -22 core
Passenger 15 135 29 24 core
Passenger 16 115 29 24 core
Passenger 17 96 29 24 core






//Recipe


//Health and Collision
SetupPart core 7500 -88 6 -32 270 65 68
SetupPart tail 3000 -220 27 -18 130 45 41
SetupPart rightWing 2500 -52 58 37 93 5 221
SetupPart leftWing 2500 -51 58 -254 92 5 221
SetupPart nose 5000 184 11 -27 65 55 58
SetupPart coreWheel 500 192 -5 -2 19 14 8
SetupPart tailWheel 2000 -34 -8 -28 89 13 60
CollisionPoint 260 36 2 nose
CollisionPoint 43 60 255 rightWing
CollisionPoint 43 60 -256 leftWing
BulletDetection 10


//Misc
CameraDistance 40.0


//Sounds
StartSound propStart
StartSoundLength 20
ShootSoundPrimary MG42Shoot
ShootSoundSecondary bomb

//------------------------------------------------

//---Plane----------------------------------------
//Flying Mode
Mode PLANE


//Visuals


//Movement
TurnLeftSpeed 1.5
TurnRightSpeed 1.5
LookUpSpeed 0.75
LookDownSpeed 0.75
RollLeftSpeed 1.5
RollRightSpeed 1.5


//Weapon


//Misc
RestingPitch 5.0


//Propeller
Propeller 0 -40 -21 38 rightWing metalPropeller
Propeller 1 -34 -21 76 rightWing metalPropeller
Propeller 2 -34 -21 -74 leftWing metalPropeller
Propeller 3 -40 -21 -37 leftWing metalPropeller


//Sound
PropSoundLength 49
PropSound LancasterProp

//------------------------------------------------