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


//---Standard-------------------------------------
// Naming
Name Su-35 Flanker-E
ShortName GFS_Su35
ItemID Your ID


// Visuals
Model gfs.Su35
ModelScale 1.15
Icon IconSu35


// Recipe


//Misc
Description Russian Fighter Aircraft_1x 30mm Autocannon_6x Weapon Hardpoints_Introduction: 2007

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

//---Driveables-----------------------------------
//Visuals
Texture SkinSu35


//Movement
MaxThrottle 2.5
MaxNegativeThrottle 0.0
TurnLeftSpeed 1.5
TurnRightSpeed 1.5
LookUpSpeed 1.9
LookDownSpeed 1.9
RollLeftSpeed 1.9
RollRightSpeed 1.9
Drag 0.5


//Wheels
NumWheels 3
WheelPosition 0 -50 -12 -36
WheelPosition 1 -50 -12 36
WheelPosition 2 45 -13 0
WheelSpringStrength 0.125


//Floating


//Ammo
AllowAllAmmo False
AddAmmo GFS_R73
AddAmmo GFS_R77
AddAmmo GFS_Kh29


//Weapons
Primary GUN
Secondary MISSILE
ShootDelayPrimary 1
ShootDelaySecondary 20
ReloadTimeSecondary 120
AlternatePrimary False
AlternateSecondary True
ModePrimary FULLAUTO
ModeSecondary FULLAUTO
ShootPointPrimary 58 36 16 core GFS_30mmAirGun
ShootPointSecondary -10 26 77 core 
ShootPointSecondary -10 26 -77 core 
ShootPointSecondary -32 26 102 core 
ShootPointSecondary -32 26 -102 core 
ShootPointSecondary -50 36 124 core 
ShootPointSecondary -50 36 -124 core 


//Driver and Passengers
Pilot 86 32 0
Passengers 0


//Inventory Slots
CargoSlots 0
BombSlots 0
MissileSlots 6
FuelTankSize 6000


//Recipe
AddRecipeParts core 1 GFS_FighterFrame
AddRecipeParts rightWing 1 GFS_FighterWing
AddRecipeParts leftWing 1 GFS_FighterWing
AddDye 6 black 2 cyan


//Health and Collision
SetupPart core 450 -77 14 -34 200 38 68
SetupPart tail 400 -144 11 -80 65 80 160
SetupPart rightWing 350 -95 32 34 100 4 90
SetupPart leftWing 350 -95 32 -124 100 4 90
BulletDetection 8
ShootParticlesPrimary explode 0 0 0
ShootParticlesPrimary flansmod.fmflame 0 0 0
AddEmitter flansmod.fmsmoke 1 [-135,27,19] [1,1,1] [-1,0,0] 0.25 0.5 0 1 tail
AddEmitter flansmod.fmsmoke 1 [-135,27,-19] [1,1,1] [-1,0,0] 0.25 0.5 0 1 tail
AddEmitter flansmod.fmsmoke 1 [-135,27,19] [1,1,1] [-3,0,0] 0.5 0.8 0 1 tail

AddEmitter flansmod.fmsmoke 1 [-135,27,-19] [3,1,1] [-3,0,0] 0.5 0.8 0 1 tail
AddEmitter flansmod.fmflame 1 [-135,27,19] [3,3,3] [-3,0,0] 0.75 2 0 1 tail
AddEmitter flansmod.fmflame 1 [-135,27,-19] [3,3,3] [-3,0,0] 0.75 2 0 1 tail


//Misc
CameraDistance 18.0


//Sounds
StartSound Engine_Jet_Sukhoi
StartSoundLength 20
EngineSound Engine_Jet_Sukhoi
EngineSoundLength 20
ShootSoundPrimary Shoot_Jet_Autocannon
ShootSoundSecondary Shoot_AIM2

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

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


//Misc
RestingPitch 0


//Propeller
Propeller 0 -6 -20 16 core metalPropeller
Propeller 1 -6 -20 -16 core metalPropeller


//------------------------------------------------
HasFlare True
FlareDelay 150
FlareSound FlareDeploy
TimeFlareUsing 2
LockedOnSound Lockon_Warning
SoundTime 14
LockedOnSoundRange 5
LockOnToPlanes True
LockOnToVehicles False
LockOnToPlayers False
LockOnToLivings False
CanLockOnAngle 10
MaxRangeLockOn 400
LockedOnSoundRange 1
LockOnSound Lockon_AA2
LockOnSoundTime 14

//Paintjob Settings
//Format is "Paintjob iconName textureName requiredDyeColour requiredDyeAmount" Multiple colours may be listed in order, seperated by a space
//Dye colours are "black", "red", "green", "brown", "blue", "purple", "cyan", "silver", "gray", "pink", "lime", "yellow", "lightBlue", "magenta", "orange", "white"

Paintjob IconSu35 SkinSu35S blue 6