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


//---Standard-------------------------------------
// Naming
Name Su-57
ShortName GFS_Su57
ItemID Your ID


// Visuals
Model gfs.Su57
ModelScale 1
Icon IconSu57


// Recipe


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

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

//---Driveables-----------------------------------
//Visuals
Texture SkinSu57


//Movement
MaxThrottle 2.75
MaxNegativeThrottle 0.0
TurnLeftSpeed 1.8
TurnRightSpeed 1.8
LookUpSpeed 2.5
LookDownSpeed 2.5
RollLeftSpeed 2.5
RollRightSpeed 2.5
Drag 0.55


//Wheels
NumWheels 3
WheelPosition 0 -49 -13 -45
WheelPosition 1 -49 -13 45
WheelPosition 2 73 -7 0
WheelSpringStrength 0.125


//Floating


//Ammo
BulletSpeed 8
BulletSpread 2
AllowAllAmmo False
AddAmmo GFS_R77
AddAmmo GFS_Kh29


//Weapons
Primary GUN
Secondary MISSILE
ShootDelayPrimary 1
ShootDelaySecondary 20
AlternatePrimary False
AlternateSecondary True
ModePrimary FULLAUTO
ModeSecondary FULLAUTO
ShootPointPrimary 77 40 20 core GFS_30mmAirGun
ShootPointSecondary 0 20 -10 core 
ShootPointSecondary 0 20 0 core 
ShootPointSecondary 0 20 10 core 


//Driver and Passengers
Pilot 110 38 0
Passengers 0


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


//Recipe
AddRecipeParts core 1 GFS_FighterFrame
AddRecipeParts rightWing 1 GFS_FighterWing
AddRecipeParts leftWing 1 GFS_FighterWing
AddDye 6 grey 2 Cyan


//Health and Collision
SetupPart core 450 -99 16 -20 235 30 40
SetupPart tail 400 -160 24 -64 59 49 128
SetupPart rightWing 375 -100 24 20 140 14 105
SetupPart leftWing 375 -100 24 -125 140 14 105
BulletDetection 8
ShootParticlesPrimary flansmod.fmsmoke 0 0 0
ShootParticlesPrimary flansmod.fmsmoke 0 -0.5 0
ShootParticlesPrimary flansmod.fmflame 0 0 0
AddEmitter flansmod.fmsmoke 1 [-160,31,28] [1,1,1] [-1,0,0] 0.25 0.5 0 1 tail
AddEmitter flansmod.fmsmoke 1 [-160,31,-28] [1,1,1] [-1,0,0] 0.25 0.5 0 1 tail
AddEmitter flansmod.fmsmoke 1 [-160,31,28] [1,1,1] [-3,0,0] 0.5 0.8 0 1 tail

AddEmitter flansmod.fmsmoke 1 [-160,31,-28] [3,1,1] [-3,0,0] 0.5 0.8 0 1 tail
AddEmitter flansmod.fmflame 1 [-160,31,28] [3,3,3] [-3,0,0] 0.75 2 0 1 tail
AddEmitter flansmod.fmflame 1 [-160,31,-28] [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 31 -20 core metalPropeller
Propeller 1 -6 31 20 core metalPropeller


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