﻿// Identity
Name Messerschmidt Me 262A Schwalbe, KG(J)54
ShortName WW2_Plane_ME262A_1A

// Model and Rendering
Model Manus_WW2.Plane.WW2_Plane_ME262A_1
Icon Icon_WW2_Plane_ME262A_1A
Texture Skin_WW2_Plane_ME262A_1A

// Recipe and Inventory
FuelTankSize 6000
BombSlots 3
CargoSlots 0
MissileSlots 0
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 6 SMP_Part_Mat_Plate_Steel
AddRecipeParts rightWing 1 SMP_Part_Wing_Jet 6 SMP_Part_Mat_Plate_Steel
AddRecipeParts leftWingWheel 1 SMP_Part_Wheel_Plane
AddRecipeParts rightWingWheel 1 SMP_Part_Wheel_Plane
AddRecipeParts coreWheel 1 SMP_Part_Wheel_Plane
AddDye 5 green
AllowAllAmmo False
AddAmmo WW2_Bomb_German50kg

// Movement and Physics
MaxThrottle 6.0
MaxNegativeThrottle 0.0
Drag 1.0
WheelSpringStrength 0.125
Mode Plane
LookDownSpeed 2
LookUpSpeed 2
RollLeftSpeed 2
RollRightSpeed 2
TurnLeftSpeed 2
TurnRightSpeed 2
RestingPitch 0.0
RealMassKg 6473
RealEngineThrustKn 17.62
RealMaxSpeedKmh 900
RealWingSpanM 12.6
RealWingAreaM2 21.7
RealClimbRateMs 20

// Weapons
Primary Gun
ModePrimary FullAuto
AlternatePrimary False
ShootPointPrimary 52 34 4 core WW2_MG_MK108FF_1A
ShootPointPrimary 52 34 -4 core WW2_MG_MK108FF_1A
ShootPointPrimary 52 31 8 core WW2_MG_MK108FF_1A
ShootPointPrimary 52 31 -8 core WW2_MG_MK108FF_1A
ShootPointSecondary -35 0 0 core
ShootDelayPrimary 7
Secondary Bomb
ModeSecondary FullAuto
AlternateSecondary False
ShootDelaySecondary 100
ReadWeaponsFromGunTypes true

// Protection
UseRealisticVehicleHealth true

// Parts and Seats
WheelPosition 0 -36 -8 -24
WheelPosition 1 -36 -8 24
WheelPosition 2 42 -8 0
Pilot -38 25 0
Passengers 0
SetupPart core 200 -75 17 -16 105 23 32
SetupPart nose 100 30 17 -10 20 18 20
SetupPart tail 200 -149 22 -10 73 17 20
SetupPart rightWing 100 -58 19 16 42 9 109
SetupPart leftWing 100 -58 19 -125 42 9 109
SetupPart coreWheel 80 36 -10 -3 13 30 6
SetupPart rightWingWheel 80 -43 -10 22 14 30 8
SetupPart leftWingWheel 80 -43 -10 -30 14 30 8
CollisionPoint 40 27 0 nose
CollisionPoint -78 27 0 tail
CollisionPoint -94 27 0 tail
CollisionPoint -110 27 0 tail
CollisionPoint -126 27 0 tail
CollisionPoint -142 27 0 tail
CollisionPoint -142 43 0 tail
CollisionPoint -142 59 0 tail
CollisionPoint -31 23 26 rightWing
CollisionPoint -31 23 42 rightWing
CollisionPoint -31 23 58 rightWing
CollisionPoint -36 25 74 rightWing
CollisionPoint -40 26 90 rightWing
CollisionPoint -45 26 106 rightWing
CollisionPoint -47 28 122 rightWing
CollisionPoint -31 23 -26 leftWing
CollisionPoint -31 23 -42 leftWing
CollisionPoint -36 25 -74 leftWing
CollisionPoint -31 23 -58 leftWing
CollisionPoint -40 26 -90 leftWing
CollisionPoint -45 26 -106 leftWing
CollisionPoint -48 28 -122 leftWing
BulletDetection 10
CameraDistance 10.0
Propeller 0 0 0 0 leftWing SMP_Part_Propeller_TurbineJet
Propeller 1 0 0 0 leftWing SMP_Part_Propeller_TurbineJet
Propeller 2 0 0 0 rightWing SMP_Part_Propeller_TurbineJet
Propeller 3 0 0 0 rightWing SMP_Part_Propeller_TurbineJet

// Sounds
StartSound propStart
StartSoundLength 20
ShootSoundPrimary PlaneShoot
ShootSoundSecondary bomb
PropSound propSound
PropSoundLength 30