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


//---Standard-------------------------------------
// Naming
Name RAH-66 Comanche
ShortName GFS_Comanche
ItemID Your ID


// Visuals
Model gfs.Comanche
ModelScale 0.95
Icon IconComanche


// Recipe


//Misc
Description US Stealth Attack Helicopter_1x Gatling Gun_6x AGM-114 Hellfire

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

//---Driveables-----------------------------------
//Visuals
Texture SkinComanche


//Movement
MaxThrottle 5.50
MaxNegativeThrottle 0.0
Drag 0.8


//Wheels
NumWheels 3
WheelPosition 0 26 -12 -22
WheelPosition 1 26 -12 22
WheelPosition 2 -106 -10 0
WheelSpringStrength 0.125


//Floating


//Ammo
AllowAllAmmo False
AddAmmo GFS_AGM114


//Weapons
Primary MISSILE
Secondary MISSILE
ShootDelayPrimary 75
ShootDelaySecondary 75
AlternatePrimary True
AlternateSecondary True
ModePrimary SEMIAUTO
ModeSecondary SEMIAUTO
ShootPointPrimary 0 10 -29 leftWing 
ShootPointSecondary 0 10 29 rightWing 
ShootPointPrimary 0 12 -24 leftWing 
ShootPointSecondary 0 12 24 rightWing 
ShootPointPrimary 0 14 -19 leftWing 
ShootPointSecondary 0 14 19 rightWing 


//Driver and Passengers
Pilot 22 22 0
Passengers 1
Passenger 1 48 16 0 core -100 100 -50 20 GFS_20mmHeliGatling PassengerGun1
GunOrigin 1 -74 -5 0


//Inventory Slots
CargoSlots 0
BombSlots 0
MissileSlots 4
FuelTankSize 5000


//Recipe
AddRecipeParts core 1 GFS_GFS_HeliCockpit 1 bombBay
AddRecipeParts skids 2 helicopterSkid
AddRecipeParts blades 2 GFS_GFS_HeliRotor
AddRecipeParts tail 1 HeliTail
AddDye 6 green


//Health and Collision
SetupPart core 300 -55 5 -15 122 40 30
SetupPart tail 250 -158 5 -10 103 34 20
SetupPart tailWheel 100 -109 -8,5 -2 8 8 3
SetupPart leftWingWheel 100 21 -10,5 -23,5 12 12 3
SetupPart rightWingWheel 100 21 -10,5 20,5 12 12 3
SetupPart nose 175 67 6 -12 30 20 24
BulletDetection 8


//Misc
CameraDistance 18.0


//Sounds
StartSound Engine_Hel_Z10W
StartSoundLength 20
EngineSound Engine_Hel_Z10W
EngineSoundLength 20
ShootSoundPrimary Shoot_RocketUS
ShootSoundSecondary Shoot_Hellfire

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

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


//Visuals
HasDoor T	rue
HasWing True


//Movement
TurnLeftSpeed 2.25
TurnRightSpeed 2.25
LookUpSpeed 2
LookDownSpeed 2
RollLeftSpeed 2.15
RollRightSpeed 2.15
Lift 2


//Weapon


//Misc
RestingPitch 0.0


//Propeller
HeliPropeller 0 3 69 0 blades metalPropeller
HeliTailPropeller 0 172 59 -7 blades metalPropeller


//Sound

//------------------------------------------------
FlareDelay 250
FlareSound FlareDeploy
TimeFlareUsing 3
LockedOnSound Lockon_Warning
SoundTime 14
LockedOnSoundRange 1
LockOnToPlanes True
LockOnToVehicles True
LockOnToPlayers False
LockOnToLivings False
CanLockOnAngle 10
MaxRangeLockOn 250
LockedOnSoundRange 1
LockOnSound Lockon_ATGM
LockOnSoundTime 14
Stealth True