﻿// Identity
Name Vought F4U-4 Corsair -  VBF-10 "The Twilight Warriors"
ShortName WW2_Plane_F4U_2A

// Model and Rendering
Model Manus_WW2.Plane.WW2_Plane_F4U_2
FlashModel DefaultFlash
ModelScale 1
Icon Icon_WW2_Plane_F4U_2A
Texture Skin_WW2_Plane_F4U_2A

// Recipe and Inventory
AllowAllAmmo False
AddAmmo largeBomb
AddAmmo smallBomb
AddAmmo napalm
CargoSlots 0
BombSlots 1
MissileSlots 0
FuelTankSize 5000
AddRecipeParts core 1 SMP_Part_Cockpit_Jet 6 SMP_Part_Mat_Plate_Steel
AddRecipeParts nose 1 SMP_Part_Nose_Plane 3 SMP_Part_Mat_Plate_Steel
AddRecipeParts tail 1 SMP_Part_Tail_Jet 5 SMP_Part_Mat_Plate_Steel
AddRecipeParts leftWing 1 SMP_Part_Wing_Jet 5 SMP_Part_Mat_Plate_Steel
AddRecipeParts rightWing 1 SMP_Part_Wing_Jet 5 SMP_Part_Mat_Plate_Steel
AddRecipeParts leftWingWheel 1 SMP_Part_Wheel_Plane
AddRecipeParts rightWingWheel 1 SMP_Part_Wheel_Plane
AddRecipeParts tailWheel 1 SMP_Part_Wheel_Plane
AddDye 6 blue

// Movement and Physics
MaxThrottle 2.5
MaxNegativeThrottle 0.0
Drag 1.0
WheelSpringStrength 0.125
Mode Plane
TurnLeftSpeed 2
TurnRightSpeed 2
LookUpSpeed 2
LookDownSpeed 2
RollLeftSpeed 2
RollRightSpeed 2
RestingPitch 5.0
RealMassKg 6654
RealEnginePowerHp 2380
RealMaxSpeedKmh 717
RealTurnRateDegPerSec 25.47
RealWingSpanM 12.497
RealWingAreaM2 29.17
RealClimbRateMs 22.1

// Weapons
Primary Gun
Secondary Bomb
ShootDelayPrimary 5
ShootDelaySecondary 100
AlternatePrimary False
AlternateSecondary False
ModePrimary FullAuto
ModeSecondary FullAuto
ShootPointPrimary 32 21 48 rightWing WW2_MG_MG532_1A
ShootPointPrimary 32 21 -48 leftWing WW2_MG_MG532_1A
ShootPointPrimary 32 21 51 rightWing WW2_MG_MG532_1A
ShootPointPrimary 32 21 -51 leftWing WW2_MG_MG532_1A
ShootPointPrimary 32 21 54 rightWing WW2_MG_MG532_1A
ShootPointPrimary 32 21 -54 leftWing WW2_MG_MG532_1A
ShootPointSecondary 0 -10 0
ReadWeaponsFromGunTypes true

// Protection
UseRealisticVehicleHealth true

// Parts and Seats
WheelPosition 0 30 -8 -36
WheelPosition 1 30 -8 36
WheelPosition 2 -94 13 0
Pilot -22 34 0
Passengers 0
SetupPart core 200 -78 20 -13 136 31 26
SetupPart tail 150 -115 20 -6 36 49 10
SetupPart nose 100 58 20 -13 7 26 26
SetupPart rightWing 100 -23 20 13 53 11 107
SetupPart leftWing 100 -23 20 -120 53 11 107
SetupPart leftWingWheel 50 22 -10 -38 15 28 7
SetupPart rightWingWheel 50 22 -10 31 15 28 7
SetupPart tailWheel 50 -96 11 -2 7 13 4
CollisionPoint 61 34 0 nose
CollisionPoint -80 34 0 tail
CollisionPoint -96 34 0 tail
CollisionPoint -112 34 0 tail
CollisionPoint 10 26 16 rightWing
CollisionPoint 10 19 32 rightWing
CollisionPoint 10 21 48 rightWing
CollisionPoint 10 24 64 rightWing
CollisionPoint 10 26 80 rightWing
CollisionPoint 10 29 96 rightWing
CollisionPoint 10 31 112 rightWing
CollisionPoint 10 26 -16 leftWing
CollisionPoint 10 19 -32 leftWing
CollisionPoint 10 21 -48 leftWing
CollisionPoint 10 24 -64 leftWing
CollisionPoint 10 26 -80 leftWing
CollisionPoint 10 29 -96 leftWing
CollisionPoint 10 31 -112 leftWing
BulletDetection 10
CameraDistance 10.0
Propeller 0 0 0 0 nose SMP_Part_Propeller_RotorPlane

// Sounds
StartSound propStart
StartSoundLength 20
BombSound bomb
PropSoundLength 30
PropSound propSound
ShootSound PlaneShoot
BombSound bomb