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


//---Standard-------------------------------------
// Naming
Name AH-2 Ninja
ShortName GFS_OH1
ItemID Your ID


// Visuals
Model gfs.OH1
ModelScale 0.95
Icon IconZ10W


// Recipe


//Misc
Description Japanese Attack Helicopter_1x 20mm Gatling Gun_2x Unguided Rocket Pod_8x BGM-71 TOW_Introduction: 2020

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

//---Driveables-----------------------------------
//Visuals
Texture SkinOH1


//Movement
MaxThrottle 1.6
MaxNegativeThrottle 0.0
TurnLeftSpeed 6.0
TurnRightSpeed 6.0
LookUpSpeed 6.5
LookDownSpeed 6.5
RollLeftSpeed 4.5
RollRightSpeed 4.5
Drag 0.85


//Wheels
NumWheels 3
WheelPosition 0 28 -9 -18
WheelPosition 1 28 -9 18
WheelPosition 2 -122 -9 0
WheelSpringStrength 0.125


//Floating


//Ammo
BulletSpeed 5
AllowAllAmmo False
AddAmmo GFS_BGM71
AddAmmo GFS_AGM114
AddAmmo GFS_AIM92


//Weapons
Primary GUN
Secondary MISSILE
ShootDelayPrimary 3
ShootDelaySecondary 70
AlternatePrimary True
AlternateSecondary True
ModePrimary FULLAUTO
ModeSecondary SEMIAUTO
ShootPointPrimary 23 16 -23 rightWing GFS_USRocketPod
ShootPointPrimary 23 16 23 leftWing GFS_USRocketPod
ShootPointSecondary 6 17 39 leftWing
ShootPointSecondary 6 17 -39 rightWing
ShootPointSecondary 6 17 31 leftWing
ShootPointSecondary 6 17 -31 rightWing
ShootPointSecondary 6 11 39 leftWing
ShootPointSecondary 6 11 -39 rightWing
ShootPointSecondary 6 11 31 leftWing
ShootPointSecondary 6 11 -31 rightWing


//Driver and Passengers
Pilot 21 17 0
Passengers 1
Passenger 1 49 12 0 core -115 115 -90 10 GFS_20mmHeliGatling PassengerGun1
GunOrigin 1 82 -1 0


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


//Recipe
AddRecipeParts core 1 GFS_HeliCockpit 1 GFS_HeliRotor
AddRecipeParts rightWing 1 GFS_HeliWing
AddRecipeParts leftWing 1 GFS_HeliWing
AddRecipeParts tail 1 GFS_HeliTail
AddDye 4 green 3 brown 1 black


//Health and Collision
SetupPart core 300 -60 4 -11 150 40 22
SetupPart tail 150 -160 5 -9 100 32 18
SetupPart rightWing 50 -13 9 11 36 20 29
SetupPart leftWing 50 -13 9 -40 36 20 29
BulletDetection 8
ShootParticlesPrimary flansmod.fmflame 0 0 0


//Misc
CameraDistance 18.0


//Sounds
StartSound Engine_Hel_Z9
StartSoundLength 20
EngineSound Engine_Hel_Z9
EngineSoundLength 20
ShootSoundPrimary Shoot_RocketPod
ShootSoundSecondary Shoot_TOW

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

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


//Misc
RestingPitch 0.0


//Propeller
HeliPropeller 0 2 68 0 blades metalPropeller
HeliTailPropeller 0 146 22 -2 blades metalPropeller


//------------------------------------------------
HasFlare True
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 False