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


//---Standard-------------------------------------
//Naming
Name Yakovlev Yak-3
ShortName Yak-3


//Visuals
Model russia.yak3
ModelScale 1
Icon iconyak3


//Recipe


//Misc

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

//---Driveables-----------------------------------
//Visuals
Texture yak3


//Movement
MaxThrottle 0.75
MaxNegativeThrottle 0.0
Drag 0.95


//Wheels
NumWheels 3
WheelPosition 0 -92 -22 -15
WheelPosition 1 -92 -22 15
WheelPosition 2 12 -19 0
WheelSpringStrength 0.125


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


//Recipe
AddRecipeParts airframe 1 lostWing
AddRecipeParts core 1 Repair
AddRecipeParts rightWing 1 lostWing
AddRecipeParts leftWing 1 lostWing
AddRecipeParts tail 4 Repair

//Floating


//Weapons
AllowAllAmmo False
AddAmmo 100kg
AddAmmo 50kg

Primary Gun
ShootParticlesPrimary flame 0 0 0
ModePrimary FullAuto
AlternatePrimary False
ShootPointPrimary 68 34 4 core twelveMM
ShootPointPrimary 68 34 -4 core twelveMM
ShootPointPrimary 68 27 0 nose twentyMM
ShootDelayPrimary 2
Secondary Bomb
ModeSecondary FullAuto
AlternateSecondary False
ShootPointSecondary 0 -12 0
ShootDelaySecondary 65



//Driver and Passengers
Pilot -11 21 0
Passengers 0
flightCeiling 1070
planeDiveFactor 1

//Sounds
StartSound 4749_Plane_Yak9Start
StartSoundLength 20
PropSound 4749_Plane_Yak9Engine
PropSoundLength 40
ShootSoundPrimary ChristmasLaser
ShootSoundSecondary bomb
PlaceSoundPrimary A6M2_PlaceSound


//Health and collision
SetupPart core 30 -16 21 -5 10 20 10
SetupPart airframe 70 -76 13 -9 125 25 18
SetupPart tail 26 -110 19 -4 33 25 8
SetupPart leftWing 34 -19 13 -89 35 9 80
SetupPart rightWing 34 -19 13 9 35 9 80
CollisionPoint 52 28 0 core
CollisionPoint 52 28 0 core
CollisionPoint 52 28 0 core
CollisionPoint 52 28 0 core
CollisionPoint 52 28 0 core
CollisionPoint 52 28 0 core
CollisionPoint 52 28 0 core
CollisionPoint 52 28 0 core
CollisionPoint -80 30 0 tail
CollisionPoint -96 30 0 tail
CollisionPoint -96 46 0 tail
CollisionPoint 0 17 15 rightWing
CollisionPoint 0 18 32 rightWing
CollisionPoint 0 19 48 rightWing
CollisionPoint 0 20 64 rightWing
CollisionPoint 0 21 80 rightWing
CollisionPoint 0 17 -15 leftWing
CollisionPoint 0 18 -32 leftWing
CollisionPoint 0 19 -48 leftWing
CollisionPoint 0 20 -64 leftWing
CollisionPoint 0 21 -80 leftWing
BulletDetection 3

BulletSpeed 8
BulletSpread 2


//Misc
CameraDistance 10.0

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

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


//Visuals


//Movement
LookDownSpeed 2.7
LookUpSpeed 2.7
RollLeftSpeed 2.7
RollRightSpeed 2.7
TurnLeftSpeed 2
TurnRightSpeed 2


//Sound

//Weapon


//Misc
RestingPitch 0


//Propeller
Propeller 0 0 0 0 nose Repair

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

IsExplosionWhenDestroyed true
CollisionDamageEnable true
CollisionDamageThrottle 0.21
CollisionDamageTimes 20