// ------------------------------------------------------ Naming ------------------------------------------------------
Name USS Brooke FFG-1
ShortName ussBrooke
ItemID 31266
// ------------------------------------------------------ Visuals ------------------------------------------------------
Icon ussBrooke
Model rainfire.Brooke
Texture SkinBrooke
//Third Person Camera Distance
CameraDistance 48.0
// ------------------------------------------------------ Movement ------------------------------------------------------
//Throttle
MaxThrottle 0.712
MaxNegativeThrottle 0.35
ThrottleDecay 0.0
//Steering modifiers
TurnLeftSpeed 0.18
TurnRightSpeed 0.18
Drag 1.2
//For calculating whether wheels are on the ground or not for driving
WheelRadius 1.0
//Wheel positions for collision handling. Tanks still have 4 wheels, they are just the corner ones.
NumWheels 4
WheelPosition 0 -316 -9 -24
WheelPosition 1 -316 -9 24
WheelPosition 2 280 -9 8
WheelPosition 3 280 -9 -8
WheelSpringStrength 0.5
//If true, then all wheels will apply drive forces
FourWheelDrive true
// ------------------------------------------------------ Weaponry ------------------------------------------------------
//Weapon types. Options are Missile, Bomb, Gun, Shell, None
Primary Shell
Secondary Missile
//Time between shots in 1/20ths of seconds
ShootDelayPrimary 160
ShootDelaySecondary 20
//Whether to alternate or fire all together
AlternatePrimary False
AlternateSecondary True
//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 -129 46 0 core
ShootPointSecondary 161 39 -7 turret 
ShootPointSecondary 161 39 -2 turret 
ShootPointSecondary 161 39 2 turret 
ShootPointSecondary 161 39 7 turret 
ShootPointSecondary 161 34 -7 turret 
ShootPointSecondary 161 34 -2 turret 
ShootPointSecondary 161 34 2 turret 
ShootPointSecondary 161 34 7 turret 
------- Inventory ------------------------------------------------------
CargoSlots 8
BombSlots 0
MissileSlots 2
AllowAllAmmo False
AddAmmo rim66SM1
AddAmmo rim67SM2
AddAmmo rim24Tartar
AddAmmo rim2Terrier
AddAmmo rim2TerrierW45
AddAmmo 12.75inTorpMk46
AddAmmo asrocMunition
AddAmmo asrocW44NDC
//Fuel Tank Size (1 point of fuel will keep one propeller going with throttle at 1 for 1 tick)
FuelTankSize 7400
// ------------------------------------------------------ Passengers ------------------------------------------------------
Driver 98 58 0 -360 360 -15 85
Passengers 4
Passenger 1 199 37 0 turret1 -140 140 -5 85 5in38Mk30Gun Mount51
GunOrigin 1 198 29 0
Passenger 2 -72 27 -24 core -180 0 0 0 12.75inMk32SVTT PortsideTorpedoMount
GunOrigin 2 -72 18 -25
Passenger 3 -72 27 24 core 0 180 0 0 12.75inMk32SVTT StarboardTorpedoMount
GunOrigin 3 -72 18 25
Passenger 4 -270 15 0 core
helipad 4 true
PassengerAimSpeed 1 3.0 1.8 0
PassengerAimSpeed 2 1.0 0.9 0
PassengerAimSpeed 3 1.0 0.9 0
//Passenger turret sounds
PassengerTraverseSounds 1 true
PassengerTraverseSounds 2 true
PassengerTraverseSounds 3 true
//Turret 1
PassengerPitchSound 1 TurretElectric2
PassengerPitchSoundLength 1 20
PassengerYawSound 1 TurretElectric2
PassengerYawSoundLength 1 19
//Turret 2
PassengerPitchSound 2 TurretElectric3
PassengerPitchSoundLength 2 20
PassengerYawSound 2 TurretElectric3
PassengerYawSoundLength 2 19
//Turret 3
PassengerPitchSound 3 TurretElectric3
PassengerPitchSoundLength 3 20
PassengerYawSound 3 TurretElectric3
PassengerYawSoundLength 3 19
// ------------------------------------------------------- Sounds -------------------------------------------------------
StartSound ModernEngine
StartSoundLength 24
EngineSound ModernEngine
EngineSoundLength 29
ShootSoundPrimary ShipMissile
ShootSoundSecondary TankShell
//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 navalSteelSegment1000 1 navalSteelSegment500
AddRecipeParts bulkhead 1 navalSteelSegment500
AddRecipeParts bow 2 navalSteelSegment100
AddRecipeParts stern 2 navalSteelSegment100
AddRecipeParts superstructure 2 navalSteelSegment100
AddRecipeParts leftTrack 1 boiler
AddRecipeParts rightTrack 1 steamTurbine
//Dye colours are "black", "red", "green", "brown", "blue", "purple", "cyan", "silver", "gray", "pink", "lime", "yellow", "lightBlue", "magenta", "orange", "white"
AddDye 32 white
AddDye 16 gray
//Health and collision, 2620t, 5240hp (turrets not count)
SetupPart core 3240 -216 -30 -27 375 40 54
SetupPart bulkhead 600 -225 -36 -33 390 51 66
SetupPart superstructure 500 -210 15 -21 282 24 42
SetupPart trailer 200 72 15 -24 30 39 48
SetupPart bow 400 165 -33 -24 131 54 48
SetupPart stern 400 -333 -27 -27 106 42 53
SetupPart rightTrack 250 -126 -33 -30 120 27 30
SetupPart leftTrack 250 -126 -33 0 120 27 30
SetupPart turret 500 139 18 -9 18 24 18
SetupPart turret1 1000 199 18 -6 12 21 12
BulletDetection 20
ModelScale 1.2
Description The first guided missile frigate of the US Navy commissioned in 1966._Displ. - 2620t | L.D. - 1962_Length - 42.11m | Beam - 4.48m | Draft - 1.47m-2.43m_Spd. - 27.2kn | Rng. - 7400 | 1x Steam Turbine | 2x Boilers
Boat
PlaceableOnLand False
PlaceableOnWater True
FloatOnWater True
WheelStepHeight 0
Buoyancy 0.08
CollisionDamageEnable true
CollisionDamageThrottle 0.35
CollisionDamageTimes 40
BulletSpeed 8
BulletSpread 1
DriverAimSpeed 4 4 0
RotateWheels True
TurretOrigin 124 -23 0
//Defense
LockedOnSound LockonWarning
SoundTime 8
LockedOnSoundRange 16
//Smokepoints
AddSmokePoint [0,36,-18] [1,8,-0.05] 20 turret
AddSmokePoint [0,36,-18] [0.7,8,-0.3] 20 turret
AddSmokePoint [0,36,-18] [0.5,8,-0.5] 20 turret
AddSmokePoint [0,36,18] [1,8,0.05] 20 turret
AddSmokePoint [0,36,18] [0.7,8,0.3] 20 turret
AddSmokePoint [0,36,18] [0.5,8,0.5] 20 turret
AddSmokePoint [0,38,-12] [1,8,-0.05] 20 turret
AddSmokePoint [0,38,-12] [0.7,8,-0.3] 20 turret
AddSmokePoint [0,38,-12] [0.5,8,-0.5] 20 turret
AddSmokePoint [0,38,12] [1,8,0.05] 20 turret
AddSmokePoint [0,38,12] [0.7,8,0.3] 20 turret
AddSmokePoint [0,38,12] [0.5,8,0.5] 20 turret
//Radar shit, range in blocks and delay in ticks. Visible means if it does/doesn't have stealth, offset the lowness on screen.
hasRadar true
radarPositionOffset 25
radarRange 2000
radarRefreshDelay 20
IsExplosionWhenDestroyed true
DeathExplosionRadius 15
DeathExplosionDamageVsVehicle 1.5
DeathExplosionDamageVsLiving 50.0
DeathExplosionDamageVsPlane 1.0
//isExplosionWhenDestroyedRadius 25
//bigDeath True

//Smonkstaks

AddEmitter largesmoke 1 [12,80,11] [3,4,3] [0,3,0] 0.01 0.5 0 1 core
AddEmitter largesmoke 2 [12,80,11] [3,4,3] [0,3,0] 0.5 1 0 1 core

//Owie
AddEmitter largesmoke 3 [12,80,11] [3,4,3] [0,2,0] 0 1 0 0.35 core
AddEmitter flame 2 [12,80,11] [3,3,3] [0,1,0] 0 1 0 0.15 core