// ------------------------------------------------------ Naming ------------------------------------------------------
Name Lockheed P-3C Orion
ShortName P-3C
// ------------------------------------------------------ Visuals ------------------------------------------------------
Icon iconp3c
Model usnmw.p3c
Texture p3c
//Third Person Camera Distance
CameraDistance 45.0
//Resting Pitch. Set this so the plane spawns level. It will fall onto its collision boxes automatically, but this lets you start it flat
RestingPitch 0
HasGear True
ModelScale 1
// ------------------------------------------------------ Movement ------------------------------------------------------
//Throttle
MaxThrottle 1.4
MaxNegativeThrottle 0.0
//Yaw modifiers
TurnLeftSpeed 1
TurnRightSpeed 1
//Pitch modifiers
LookUpSpeed 1
LookDownSpeed 1
//Roll modifiers
RollLeftSpeed 1
RollRightSpeed 1
//Drag (A (maxThrottle * numPropellers) : drag ratio of 1 : 1 with mass should keep the plane going at some reasonable speed at full throttle
Drag 1.0
//Lift (A lift : mass ratio of 1 : 1 should keep the plane perfectly level at full throttle
//Mass (In tons)
//Moment of Inertia (in crazy units. Just fiddle with this until you find something nice)
//More bounciness means the vehicle will bounce more upon going up sopes, but fall through the ground less
Bounciness 1.0
//Wheels
NumWheels 3
WheelPosition 0 -92 -10 -97
WheelPosition 1 92 -10 97
WheelPosition 2 288 -10 0
WheelSpringStrength 0.125
//Propeller <ID> <x> <y> <z> <planePart> <recipeItem>
Propeller 0 -178 -51 -97 leftWing metalPropeller
Propeller 1 -178 -64 -183 leftWing metalPropeller
Propeller 2 -178 -51 97 rightWing metalPropeller
Propeller 3 -178 -64 183 rightWing metalPropeller
// ------------------------------------------------------ Weaponry ------------------------------------------------------
//Weapon types. Options are Missile, Bomb, Gun, Shell, None
Primary Missile
Secondary None
//Time between shots in 1/20ths of seconds
ShootDelayPrimary 10
ShootDelaySecondary 0
//Whether to alternate or fire all together
AlternatePrimary True
AlternateSecondary False
//Firing modes. One of SemiAuto, FullAuto or Minigun
ModePrimary SemiAuto
ModeSecondary FullAuto
//Add shoot origins. These are the points on your vehicle from which bullets / missiles / shells / bombs appear
ShootPointPrimary 154 52 -237 leftWing
ShootPointPrimary 154 54 -254 leftWing
ShootPointPrimary 154 57 -271 leftWing
ShootPointPrimary 154 52 237 rightWing
ShootPointPrimary 154 54 254 rightWing
ShootPointPrimary 154 57 271 rightWing
// ------------------------------------------------------ Inventory ------------------------------------------------------
CargoSlots 15
BombSlots 0
MissileSlots 6
AllowAllAmmo False
AddAmmo AGM-84
//Fuel Tank Size (1 point of fuel will keep one propeller going with throttle at 1 for 1 tick)
FuelTankSize 6000
// ------------------------------------------------------ Passengers ------------------------------------------------------
Pilot 293 68 -10
Passengers 11
Passenger 1 293 68 10 core
Passenger 2 276 68 0 core
Passenger 3 80 73 18 core
Passenger 4 24 73 -18 core
Passenger 5 -32 73 -18 core
Passenger 6 -86 73 -18 core
Passenger 7 131 73 -3 core
Passenger 8 110 73 -3 core
Passenger 9 22 73 1 core
Passenger 10 1 73 1 core
Passenger 11 -19 73 1 core
// ------------------------------------------------------ Sounds ------------------------------------------------------
StartSound propStart
StartSoundLength 60
PropSound propSound
PropSoundLength 47
ShootSoundPrimary RocketFire2
ShootSoundSecondary RocketFire2
// ------------------------------------------------------ Recipe ------------------------------------------------------
//Each section of the plane may have many parts
//The sections are tailWheel, tail, bay, topWing, leftWingWheel, leftWing, rightWingWheel,
//rightWing, nose, turret, coreWheel, core
AddRecipeParts core 1 advancedMetalCockpit
AddRecipeParts coreWheel 2 wheel
AddRecipeParts nose 1 metalNose
AddRecipeParts rightWing 1 metalWingSmall
AddRecipeParts leftWing 1 metalWingSmall
AddRecipeParts tail 1 metalTail
AddRecipeParts rightWingWheel 1 wheel
AddRecipeParts leftWingWheel 1 wheel
//Dye colours are "black", "red", "green", "brown", "blue", "purple", "cyan", "silver", "gray", "pink", "lime", "yellow", "lightBlue", "magenta", "orange", "white"
AddDye 5 white
AddDye 1 gray
// ------------------------------------------------------ Health and hitboxes ------------------------------------------------------
SetupPart core 480 -94 -2 -31 264 64 62
SetupPart tail 325 -272 -2 -31 178 64 62
SetupPart rightWing 260 -70 54 -336 80 8 304
SetupPart leftWing 260 -70 54 31 80 8 304
BulletDetection 25
CollisionPoint 9 10 -80 rightWing
CollisionPoint 9 10 -60 rightWing
CollisionPoint 9 10 -40 rightWing
CollisionPoint 9 10 -20 rightWing
//LeftWing
CollisionPoint 9 10 80 leftWing
CollisionPoint 9 10 60 leftWing
CollisionPoint 9 10 40 leftWing
CollisionPoint 9 10 20 leftWing
//Nose
CollisionPoint 50 35 0 core
CollisionPoint 90 35 0 core
//Tail
CollisionPoint -60 15 0 tail
HasGear True
HasDoor True

IsExplosionWhenDestroyed true
CollisionDamageEnable true
CollisionDamageThrottle 0.30
CollisionDamageTimes 20
