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

Description US Marine Attack Helicopter

//---Standard-------------------------------------
// Naming
Name AH-1Z Viper
ShortName AH1Z
ItemID Your ID


// Visuals
Model gfs.AH1Z
ModelScale 1
Icon IconAH1Z


// Recipe


//Misc

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

//---Driveables-----------------------------------
//Visuals
Texture SkinAH1Z


//Movement
MaxThrottle 5.0
MaxNegativeThrottle 0.0
Drag 1.0


//Wheels
NumWheels 4
WheelPosition 0 -27 -9 -14
WheelPosition 1 -27 -9 14
WheelPosition 2 33 -9 14
WheelPosition 3 33 -9 -17
WheelSpringStrength 0.125


//Floating

//Weapons
WeaponHud True
UseNewWeaponSystem True

AddWeapon Unguided Rockets
WeaponType GUN
FireMode FullAuto
ShootDelay 5
Alternate True
AmmoSlots 2
ShootSound sound_rocketPod
ShootPoint 18 16 -26 24 12 26 rightWing
ShootPoint 24 12 -26 leftWing
Ammo HydraAmmo
Ammo SmartAmmo
Ammo ZuniAmmo

AddWeapon AA Missiles
WeaponType Missile
FireMode FullAuto
ShootDelay 150
Damage 1
Alternate True
AmmoSlots 2
ShootSound sound_rocketSmall
ShootPoint 28 9 -41 leftWing
ShootPoint 28 9 41 rightWing
Ammo HeatSeeker
Ammo ActiveRadar

AddWeapon AT Missiles
WeaponType Missile
FireMode FullAuto
ShootDelay 200
Alternate True
AmmoSlots 1
ShootSound sound_rocketMedium
ShootPoint 28 9 -41 leftWing
ShootPoint 28 9 41 rightWing
Ammo Hellfire

//Driver and Passengers
Pilot 21 20 0
Passengers 1
Passenger 1 45 12 0 core -100 100 -75 5 HeliGun PassengerGun1
GunOrigin 1 63 7 0


//Inventory Slots
FlareSlots 2
FuelTankSize 5000

//Recipe
AddDye 16 green


//Health and Collision
SetupPart core 2500 -62 0 -12 126 53 24
SetupPart nose 500 64 12 -12 18 16 24
SetupPart tail 1200 -153 5 -8 91 46 18
SetupPart blades 1000 -64 65 -64 132 4 132
SetupPart leftWing 1000 -26 4 -49 40 22 37
SetupPart rightWing 1000 -26 4 12 40 22 37
SetupPart skids 1000 -34 -10 -18 76 18 36
CollisionPoint -120 20 0 tail
CollisionPoint -70 15 0 tail
CollisionPoint 0 16 0 core
CollisionPoint 45 12 0 core
CollisionPoint -8 12 34 rightWing
CollisionPoint -8 12 -34 leftWing
BulletDetection 8


//Misc
CameraDistance 18.0


//Sounds
StartSound HeliStartup
StartSoundLength 100
EngineSound HelicopterFly5
EngineSoundLength 40

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

//---Plane----------------------------------------
//Flying Mode
Mode HELI


//Visuals


//Movement
YawSpeed 3.40
PitchSpeed 3.40
RollSpeed 3.4
ForwardSpeed 1
SidewaysSpeed 0.8
ClimbSpeed 0.8
Weight 0.8
DiagonalLift 1.1
EnergyRetention 1.1
HeightLimit 320


//Weapon


//Misc
RestingPitch 0.0


//Propeller
HeliPropeller 0 1 -50 0 blades metalPropeller
HeliPropeller 1 135 -49 -2 blades metalPropeller

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