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


//---Standard-------------------------------------
// Naming
Name Mi-24 Hind-A
ShortName CW_Mi24
ItemID Your ID


// Visuals
Model CW.Mi24
ModelScale 1
Icon IconMi24


// Recipe


//Misc
Description Soviet Attack Helicopter

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

//---Driveables-----------------------------------
//Visuals
Texture SkinMi24


//Movement
MaxThrottle 1.2
MaxNegativeThrottle 0.0
TurnLeftSpeed 4
TurnRightSpeed 4
LookUpSpeed 4.25
LookDownSpeed 4.25
RollLeftSpeed 2.5
RollRightSpeed 2.5
Drag 1


//Wheels
NumWheels 3
WheelPosition 0 -22 -12 -32
WheelPosition 1 -30 -12 32
WheelPosition 2 62 -12 0
WheelSpringStrength 0.125


//Floating


//Ammo
AllowAllAmmo False
AddAmmo CW_Fleyta


//Weapons
Primary GUN
Secondary MISSILE
ShootDelayPrimary 4
ShootDelaySecondary 80
AlternatePrimary True
AlternateSecondary True
ModePrimary FULLAUTO
ModeSecondary FULLAUTO
ShootPointPrimary -2 17 -51 core CW_S5Pod
ShootPointPrimary -2 17 51 core CW_S5Pod
ShootPointPrimary -2 19 -36 core CW_S5Pod
ShootPointPrimary -2 19 36 core CW_S5Pod
ShootPointSecondary -25 19 -76 core
ShootPointSecondary -25 19 76 core
ShootPointSecondary -25 19 -68 core
ShootPointSecondary -25 19 68 core


//Driver and Passengers
Pilot 59 18 0
Passengers 5
Passenger 1 83 12 0 core -25 25 -45 10 CW_AfanasevA PassengerGun1
Passenger 2 16 14 -4 core
Passenger 3 32 14 -4 core
Passenger 4 16 14 4 core
Passenger 5 32 14 4 core
GunOrigin 1 105 -15 0


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


//Recipe
AddRecipeParts core 1 GFS_HeliCockpit
AddRecipeParts tail 1 GFS_HeliTail
AddRecipeParts rightWing 1 GFS_HeliWing
AddRecipeParts leftWing 1 GFS_HeliWing
AddDye 5 grey 1 cyan


//Health and Collisioncore 
SetupPart core 500 -57 7 -18 160 59 36
SetupPart tail 350 -206 26 -12 149 28 24
SetupPart rightWing 250 -39 12 18 29 30 55
SetupPart leftWing 250 -39 12 -73 29 30 55
BulletDetection 8


//Misc
CameraDistance 18.0


//Sounds
StartSound Engine_Hel_HindHip
StartSoundLength 20
EngineSound Engine_Hel_HindHip
EngineSoundLength 20
ShootSoundPrimary Shoot_RocketPod
ShootSoundSecondary Shoot_RocketPod

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

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


//Misc
RestingPitch 0.0


//Propeller
HeliPropeller 0 0 48 0 blades Repair


SquashMobs false
IsExplosionWhenDestroyed true
CollisionDamageEnable false
CollisionDamageThrottle 0.25
CollisionDamageTimes 0

IsExplosionWhenDestroyed true

ShootParticlesPrimary explode 0 0 0
ShootParticlesPrimary explode 0 -0.5 0
ShootParticlesPrimary flame 0 0 0
ShootParticlesSecondary flanemod.fmflame 0 0 0

ReloadSoundPrimary PG_reload
ReloadTimePrimary 80
ReloadSoundSecondary PlaneBomb_reload1

EngineSoundRange 300

HasFlare True
FlareDelay 300
FlareSound FlareDeploy
TimeFlareUsing 3
LockedOnSound LockonWarning
SoundTime 14
LockedOnSoundRange 5

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