// ------------------------------------------------------ Naming ------------------------------------------------------
Name USS Stark FFG-31
ShortName ussStarkFFG
ItemID 7464
// ------------------------------------------------------ Visuals ------------------------------------------------------
Icon ussOHP
Model rainfire.OliverHazardPerry
Texture SkinStarkFFG
//Third Person Camera Distance
CameraDistance 48.0
// ------------------------------------------------------ Movement ------------------------------------------------------
//Throttle
MaxThrottle 0.786
MaxNegativeThrottle 0.35
ThrottleDecay 0.0
//Steering modifiers
TurnLeftSpeed 0.2
TurnRightSpeed 0.2
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 -342 -9 -27
WheelPosition 1 -342 -9 27
WheelPosition 2 274 -9 12
WheelPosition 3 274 -9 -12
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 Gun
//Time between shots in 1/20ths of seconds
ShootDelayPrimary 160
ShootDelaySecondary 1
//Whether to alternate or fire all together
AlternatePrimary True
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 214 40 0 core
ShootPointSecondary -221 55 0 superstructure m61Vulcan
------- Inventory ------------------------------------------------------
CargoSlots 8
BombSlots 0
MissileSlots 2
AllowAllAmmo False
AddAmmo rim66SM1
AddAmmo rim24Tartar
AddAmmo rim2Terrier
AddAmmo rim2TerrierW45
//Fuel Tank Size (1 point of fuel will keep one propeller going with throttle at 1 for 1 tick)
FuelTankSize 9300
// ------------------------------------------------------ Passengers ------------------------------------------------------
Driver 132 61 0 -360 360 -15 85
Passengers 4
Passenger 1 -83 56 0 turret1 -360 360 -15 85 3in62Mk75Gun Mount31
GunOrigin 1 -83 42 0
Passenger 2 -45 18 -23 core -180 0 0 0 12.75inMk32SVTT PortsideTorpedoMount
GunOrigin 2 -45 10 -27
Passenger 3 -45 18 23 core 0 180 0 0 12.75inMk32SVTT StarboardTorpedoMount
GunOrigin 3 -45 10 27
Passenger 4 -294 12 0 core
helipad 4 true
PassengerAimSpeed 1 3.0 1.75 0
PassengerAimSpeed 2 1.0 1.75 0
PassengerAimSpeed 3 1.0 1.75 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 20mmGatlingFire
//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 3 navalSteelSegment1000
AddRecipeParts bulkhead 1 navalSteelSegment500 1 navalSteelSegment100
AddRecipeParts bow 1 navalSteelSegment500
AddRecipeParts stern 1 navalSteelSegment500 1 metalPropeller
AddRecipeParts superstructure 1 navalSteelSegment500
AddRecipeParts leftTrack 1 gasTurbine
AddRecipeParts steering 1 gasTurbine
//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, 4100t, 8200hp (turret not count)
SetupPart core 3500 -228 -33 -27 404 40 54 32
SetupPart bulkhead 1500 -231 -36 -36 412 46 72 38
SetupPart bow 850 181 -36 -30 112 61 60 10
SetupPart stern 850 -361 -24 -36 130 37 72 10
SetupPart superstructure 500 -231 12 -33 379 31 67 38
SetupPart turret1 500 -88 44 -8 16 13 16 13
SetupPart leftTrack 500 -175 -33 -20 100 30 40
SetupPart steering 500 -223 -30 -14 46 27 29
BulletDetection 20
ModelScale 1.2
Description Part of the mass-produced Oliver Hazard Perry class, Stark was_attacked in 1988 by Iranian Exocet missiles._Displ. - 4100t | L.D. - 1979_Length - 45.33m | Beam - 4.6m | Draft - 2.23m_Spd. - 30kn | Rng. - 9300 | 2x Gas Turbines
Boat
PlaceableOnLand False
PlaceableOnWater True
FloatOnWater True
WheelStepHeight 0
Buoyancy 0.08
CollisionDamageEnable true
CollisionDamageThrottle 0.35
CollisionDamageTimes 40
BulletSpeed 10
BulletSpread 1
DriverAimSpeed 6 6 0
RotateWheels True
TurretOrigin 62.5 -92.5 0
//Defense
HasFlare True
HasSmoke True
FlareDelay 180
FlareSound 81mmMortar
TimeFlareUsing 8
LockedOnSound LockonWarning
SoundTime 8
LockedOnSoundRange 15
//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 2400
radarRefreshDelay 10
IsExplosionWhenDestroyed true
DeathExplosionRadius 15
DeathExplosionDamageVsVehicle 2.0
DeathExplosionDamageVsLiving 150.0
DeathExplosionDamageVsPlane 2.0
//isExplosionWhenDestroyedRadius 25
//bigDeath True

//Smonkstaks
CollisionPoint 136 55 5 core
CollisionPoint 136 55 -5 core

AddEmitter smoke 1 [-136,55,0] [16,8,8] [0,4,0] 0.01 1 0 1 core
AddEmitter smoke 1 [-136,55,0] [16,8,8] [0,4,0] 0.01 1 0 1 core

//Owie
AddEmitter largesmoke 3 [-136,55,0] [14,8,8] [0,4,0] 0 1 0 0.35 core
AddEmitter flame 2 [-136,55,0] [14,8,8] [0,3,0] 0 1 0 0.15 core