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


//---Standard-------------------------------------
// Naming
Name Lockheed AC-130 Harpoon Hercules
ShortName AC130H


// Visuals
Model WW3.AC130
ModelScale 2.22
Icon AC130




//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 1 RocketHolder
AddRecipeParts rightWing 1 metalWingSmall 1 RocketHolder
//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.AC130
Texture SkinAC130


//Movement
MaxThrottle 2.8
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



//Ammo
AllowAllAmmo False
AddAmmo mk4Rocket
AddAmmo HellFire
AddAmmo Harpoon

//Weapons
Primary GUN
Secondary MISSILE
ShootDelayPrimary 100
ShootDelaySecondary 15
AlternatePrimary False
AlternateSecondary False
ModePrimary SemiAuto
ModeSecondary FullAuto
ShootPointSecondary 35 39 257 rightWing 
ShootPointPrimary 35 39 -238 leftWing 



CargoSlots 128
BombSlots 0
MissileSlots 4
//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 0 0 0 0 Harpoon PassengerGun1
GunOrigin 0 0 0 0
GunOrigin 1 0 0 0
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







//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 20


//Misc
CameraDistance 40.0


//Sounds
StartSound propStart
StartSoundLength 20
ShootSoundPrimary bazookaShoot
ShootSoundSecondary bazookaShoot

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

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


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




//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

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