// ------------------------------------------------------ Naming ------------------------------------------------------
Name S9 Osprey
ShortName s9Osprey
ItemID 23318
// ------------------------------------------------------ Visuals ------------------------------------------------------
Icon S9OspreyKantai
Model rainfire.S9Osprey
Texture SkinS9Osprey
//Third Person Camera Distance
CameraDistance 15.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 1.0
// ------------------------------------------------------ Movement ------------------------------------------------------
//Mode : One of Plane, Heli or VTOL. The VTOL has a toggle button that switches some model aesthetics and the flight mode
Mode Plane
//Throttle
MaxThrottle 3
MaxNegativeThrottle 0.0
//Yaw modifiers
TurnLeftSpeed 2
TurnRightSpeed 2
//Pitch modifiers
LookUpSpeed 2.25
LookDownSpeed 2.3
//Roll modifiers
RollLeftSpeed 2.5
RollRightSpeed 2.5
//Drag 1.0 is standard. Modify to make the plane / heli more or less sluggish
Drag 1.4
//Wheels
NumWheels 4
WheelPosition 0 -31 -9 -23
WheelPosition 1 -31 -9 23
WheelPosition 2 31 -9 23
WheelPosition 3 31 -9 -23
WheelSpringStrength 0.125
//Propeller Positions
//Propeller <ID> <x> <y> <z> <planePart> <recipeItem>
Propeller 0 -12 -7 0 nose metalPropeller
// ------------------------------------------------------ Weaponry ------------------------------------------------------
//Weapon types. Options are Missile, Bomb, Gun, Shell, None
Primary Gun
Secondary Bomb
//Time between shots in 1/20ths of seconds
ShootDelayPrimary 2
ShootDelaySecondary 120
//Whether to alternate or fire all together
AlternatePrimary False
AlternateSecondary False
//Firing modes. One of SemiAuto, FullAuto or Minigun
ModePrimary FullAuto
ModeSecondary FullAuto
//Add shoot origins. These are the points on your vehicle from which bullets / missiles / shells / bombs appear
ShootPointPrimary 15 33 0 nose lewisGunM191X
ShootPointSecondary 0 0 0 core
ShootParticlesPrimary cloud 0.2 0 0
ShootParticlesPrimary flansmod.fmflame 0.3 0 0
// ------------------------------------------------------ Inventory ------------------------------------------------------
CargoSlots 4
BombSlots 1
MissileSlots 0
AllowAllAmmo False
AddAmmo torpedoBomb
AddAmmo aswTorpedo
AddAmmo generic150lbBomb
AddAmmo smallBomb
AddAmmo largeBomb
//Fuel Tank Size (1 point of fuel will keep one propeller going with throttle at 1 for 1 tick)
FuelTankSize 4000
// ------------------------------------------------------ Passengers ------------------------------------------------------
Pilot -7 17 0
Passengers 1
Passenger 1 -22 17 0 core
heliGuiSeat 1 true
heliGUI reconGUI
passengerZoom 1 5
// ------------------------------------------------------ Sounds ------------------------------------------------------
StartSound propStart
StartSoundLength 20
PropSound propSound
PropSoundLength 30
ShootSoundPrimary .303caliberRifle
ShootSoundSecondary bomb
// ------------------------------------------------------ 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 metalCockpit
AddRecipeParts skids 2 wheel 2 ingotIron
AddRecipeParts nose 1 metalNose
AddRecipeParts rightWing 2 metalWingSmall
AddRecipeParts leftWing 2 metalWingSmall
AddRecipeParts tail 1 metalTail
//Dye colours are "black", "red", "green", "brown", "blue", "purple", "cyan", "silver", "gray", "pink", "lime", "yellow", "lightBlue", "magenta", "orange", "white"
AddDye 4 lightBlue
AddDye 1 yellow
// ------------------------------------------------------ Health and hitboxes ------------------------------------------------------
SetupPart core 160 -27 15 -9 42 15 18
SetupPart tail 150 -80 16 -6 53 15 13
SetupPart nose 155 15 12 -10 16 20 20
SetupPart rightWing 150 -6 37 10 28 4 64
SetupPart leftWing 150 -6 37 -74 28 4 64
SetupPart leftWing 150 -18 10 6 22 4 60
SetupPart rightWing 150 -18 10 -66 22 4 60
SetupPart skids 100 -56 -16 -27 112 12 8
SetupPart skids 100 -57 -16 19 112 12 8
BulletDetection 6
//Collision points for breaking wings etc. upon crashing
//Left Wing
CollisionPoint 14 39 -72 leftWing
CollisionPoint 19 39 -56 leftWing
CollisionPoint 20 39 -40 leftWing
CollisionPoint 20 39 -24 leftWing
CollisionPoint 0 12 -64 leftWing
CollisionPoint 3 12 -48 leftWing
CollisionPoint 3 12 -32 leftWing
CollisionPoint 3 12 -16 leftWing
//Right Wing
CollisionPoint 14 39 72 rightWing
CollisionPoint 19 39 56 rightWing
CollisionPoint 20 39 40 rightWing
CollisionPoint 20 39 24 rightWing
CollisionPoint 0 12 64 rightWing
CollisionPoint 3 12 48 rightWing
CollisionPoint 3 12 32 rightWing
CollisionPoint 3 12 16 rightWing
//Nose
CollisionPoint 38 22 0 nose
//Tail
CollisionPoint -80 42 0 tail

PlaceableOnLand True
PlaceableOnWater True
FloatOnWater True
WheelStepHeight 0
Buoyancy 0.08
helipadLandable true
ModelScale 3.1
Description A license-produced Hawker Osprey built in Sweden_with 600hp engine and aluminum parts._6 produced for use on Gotland CLV.