// ------------------------------------------------------ Naming ------------------------------------------------------
Name Grumman F7F-1 Tigercat
ShortName F7F-1
// ------------------------------------------------------ Visuals ------------------------------------------------------
Icon iconf7f1
Model usncw.f7f1
Texture f7f1
//Third Person Camera Distance
HasGear True
HasWing True
CameraDistance 10.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 2.5
MaxNegativeThrottle 0.0
//Yaw modifiers
TurnLeftSpeed 2
TurnRightSpeed 2
//Pitch modifiers
LookUpSpeed 2
LookDownSpeed 2
//Roll modifiers
RollLeftSpeed 2
RollRightSpeed 2
//Drag 1.0 is standard. Modify to make the plane / heli more or less sluggish
Drag 1
//Wheels
NumWheels 3
WheelPosition 0 29 -10 -62
WheelPosition 1 29 -10 62
WheelPosition 2 134 -18 0
WheelSpringStrength 0.125
//Propeller Positions
//Propeller <ID> <x> <y> <z> <planePart> <recipeItem>
Propeller 0 -91 -42 -57 leftWing metalPropeller
Propeller 1 -91 -42 57 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 10
//Whether to alternate or fire all together
AlternatePrimary False
AlternateSecondary True
//Firing modes. One of SemiAuto, FullAuto or Minigun
ModePrimary FullAuto
ModeSecondary SemiAuto
//Add shoot origins. These are the points on your vehicle from which bullets / missiles / shells / bombs appear
ShootPointPrimary 133 21 -6 nose browning
ShootPointPrimary 131 18 -4 nose browning
ShootPointPrimary 133 21 6 nose browning
ShootPointPrimary 131 18 4 nose browning
ShootPointPrimary 58 37 -14 leftWing browning
ShootPointPrimary 58 38 -18 leftWing browning
ShootPointPrimary 58 37 14 rightWing browning
ShootPointPrimary 58 38 18 rightWing browning
ShootPointSecondary 66 45 -109 leftWing
ShootPointSecondary 66 45 -119 leftWing
ShootPointSecondary 66 47 -129 leftWing
ShootPointSecondary 66 47 -139 leftWing
ShootPointSecondary 66 45 109 rightWing
ShootPointSecondary 66 45 119 rightWing
ShootPointSecondary 66 47 129 rightWing
ShootPointSecondary 66 47 139 rightWing
// ------------------------------------------------------ Inventory ------------------------------------------------------
CargoSlots 0
BombSlots 0
MissileSlots 8
AllowAllAmmo True
AddAmmo zuni
//Fuel Tank Size (1 point of fuel will keep one propeller going with throttle at 1 for 1 tick)
FuelTankSize 5000
// ------------------------------------------------------ Passengers ------------------------------------------------------
Pilot 66 37 0
Passengers 0
// ------------------------------------------------------ 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 metalCockpit
AddRecipeParts coreWheel 2 wheel
AddRecipeParts nose 1 metalNose
AddRecipeParts rightWing 1 metalWingSmall
AddRecipeParts leftWing 1 metalWingSmall
AddRecipeParts bay 1 bombBay
AddRecipeParts tail 1 metalTail
AddRecipeParts tailWheel 1 wheel
//Dye colours are "black", "red", "green", "brown", "blue", "purple", "cyan", "silver", "gray", "pink", "lime", "yellow", "lightBlue", "magenta", "orange", "white"
AddDye 6 green
// ------------------------------------------------------ Health and hitboxes ------------------------------------------------------
SetupPart nose 100 94 12 -10 58 40 20
SetupPart core 100 -14 12 -10 108 49 20
SetupPart tail 100 -158 12 -10 144 49 20
SetupPart tail 100 -134 50 -65 46 5 130
SetupPart tail 100 -158 56 -2 63 51 4
SetupPart leftWing 100 -21 33 -154 82 27 144
SetupPart leftWing 100 -20 17 -75 107 36 35
SetupPart rightWing 100 -21 33 10 82 27 144
SetupPart rightWing 100 -20 17 40 107 36 35
CollisionPoint 152 28 0 nose
CollisionPoint 117 28 0 nose
CollisionPoint 55 28 0 core
CollisionPoint -62 28 0 tail
CollisionPoint -125 83 0 tail
CollisionPoint 74 45 -58 leftWing
CollisionPoint 38 46 -75 leftWing
CollisionPoint 74 45 58 rightWing
CollisionPoint 38 46 75 rightWing
//Collision points for breaking wings etc. upon crashing

IsExplosionWhenDestroyed true
CollisionDamageEnable true
CollisionDamageThrottle 0.21
CollisionDamageTimes 30