// ------------------------------------------------------ Naming ------------------------------------------------------
Name de Havilland AB-1B Sea Mosquito
ShortName AB-1B
// ------------------------------------------------------ Visuals ------------------------------------------------------
Icon iconab1b
Model usncw.ab1b
Texture ab1b
//Third Person Camera Distance
CameraDistance 20.0
HasGear True
HasWing True
ModelScale 1
// ------------------------------------------------------ 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 1.00
MaxNegativeThrottle 0.0
//Yaw modifiers
TurnLeftSpeed 1.4
TurnRightSpeed 1.4
//Pitch modifiers
LookUpSpeed 2.4
LookDownSpeed 2.4
//Roll modifiers
RollLeftSpeed 2.2
RollRightSpeed 2.2
//Drag 1.0 is standard. Modify to make the plane / heli more or less sluggish
Drag 0.5
//Lift (A lift : mass ratio of 1 : 1 should keep the plane perfectly level at full throttle
Lift 3.2
//Mass (In tons)
Mass 2.7
//Moment of Inertia (in crazy units. Just fiddle with this until you find something nice)
MomentOfInertia 10.0
//More bounciness means the vehicle will bounce more upon going up slopes, but fall through the ground less
Bounciness 1.0
//Wheels
NumWheels 3
WheelPosition 0 73 -48 -50
WheelPosition 1 73 -48 50
WheelPosition 2 -104 -10 0
WheelSpringStrength 0.125
//Propeller <ID> <x> <y> <z> <planePart> <recipeItem>
Propeller 0 -107 -39 -50 leftWing metalPropeller
Propeller 1 -106 -39 50 rightWing metalPropeller
// ------------------------------------------------------ Weaponry ------------------------------------------------------
//Weapon types. Options are Missile, Bomb, Gun, Shell, None
Primary Gun
Secondary Bomb
//Time between shots in 1/20ths of seconds
ShootDelayPrimary 1
ShootDelaySecondary 15
//Whether to alternate or fire all together
AlternatePrimary False
AlternateSecondary True
//Firing modes. One of SemiAuto, FullAuto or Minigun
ModePrimary Two of FullAuto
ModeSecondary SemiAuto
//Add shoot origins. These are the points on your vehicle from which bullets / missiles / shells / bombs appear
ShootPointPrimary 124 -3 -6 nose browning
ShootPointPrimary 125 -3 -1 nose browning
ShootPointPrimary 125 -3 2 nose browning
ShootPointPrimary 124 -3 6 nose browning
ShootPointPrimary 114 -9 -5 nose browning
ShootPointPrimary 117 -9 -1 nose browning
ShootPointPrimary 117 -9 2 nose browning
ShootPointPrimary 115 -9 6 nose browning
ShootPointSecondary 28 -17 -3 bay
ShootPointSecondary 28 -17 3 bay
// ------------------------------------------------------ Inventory ------------------------------------------------------
CargoSlots 1
BombSlots 2
MissileSlots 0
AddAmmo 250_Ib_General-Purpose_Bomb
AddAmmo 500_Ib_General-Purpose_Bomb
AddAmmo largeBomb
AddAmmo smallBomb
AddAmmo napalm
//Fuel Tank Size (1 point of fuel will keep one propeller going with throttle at 1 for 1 tick)
FuelTankSize 6000
// ------------------------------------------------------ Passengers ------------------------------------------------------
Pilot 79 -3 -4
Passengers 1
Passenger 1 70 -3 4 core
// ------------------------------------------------------ Sounds ------------------------------------------------------
StartSound propStart
StartSoundLength 20
PropSound propSound
PropSoundLength 30
ShootSoundPrimary PlaneShoot
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 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 nose 100 95 -16 -13 26 29 26
SetupPart core 100 4 -17 -14 91 36 28
SetupPart tail 100 -126 -15 -14 130 34 28
SetupPart tail 100 -108 19 -3 34 39 6
SetupPart tail 100 -121 7 -64 36 4 128
SetupPart leftWing 100 4 -3 -165 77 15 151
SetupPart leftWing 100 5 -17 -62 113 29 23
SetupPart rightWing 100 4 -3 14 77 15 151
SetupPart rightWing 100 5 -18 39 113 29 23

BulletDetection 10

//Collison Points
CollisionPoint 121 -2 0 nose
CollisionPoint 97 0 0 nose
CollisionPoint 76 10 0 core
CollisionPoint 25 9 0 core
CollisionPoint -20 9 0 tail
CollisionPoint -94 9 0 tail
CollisionPoint -105 11 -38 tail
CollisionPoint -104 11 39 tail
CollisionPoint 49 1 -51 leftWing
CollisionPoint 58 12 -154 leftWing
CollisionPoint 118 1 -51 leftWing
CollisionPoint 49 0 51 rightWing
CollisionPoint 58 12 154 rightWing
CollisionPoint 118 1 51 rightWing
