// ------------------------------------------------------ Naming ------------------------------------------------------
Name USS Utah AG-16 (1941)
ShortName ussUtah1941
ItemID 12741
// ------------------------------------------------------ Visuals ------------------------------------------------------
Icon ussUtah1941
Model rainfire.Utah1941
Texture SkinUtah1941
//Third Person Camera Distance
CameraDistance 40.0
// ------------------------------------------------------ Movement ------------------------------------------------------
//Throttle
MaxThrottle 0.552
MaxNegativeThrottle 0.3
ThrottleDecay 0.0
//Steering modifiers
TurnLeftSpeed 0.15
TurnRightSpeed 0.15
Drag 4.0
//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 -400 -16 -20
WheelPosition 1 -400 -16 20
WheelPosition 2 382 -16 14
WheelPosition 3 382 -16 -14
//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 80
ShootDelaySecondary 2
//Whether to alternate or fire all together
AlternatePrimary True
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 229 69 0 turret1 
ShootPointPrimary 175 69 0 turret2 
ShootPointPrimary 72 50 -81 core 
ShootPointPrimary 25 50 -81 core 
ShootPointPrimary 72 52 85 core 
ShootPointPrimary 25 52 85 core 
ShootPointSecondary -115 30 65 core 28mmGun
ShootPointSecondary -113 30 65 core 28mmGun
ShootPointSecondary -111 30 65 core 28mmGun
ShootPointSecondary -109 30 65 core 28mmGun
ShootPointSecondary -115 30 -65 core 28mmGun
ShootPointSecondary -113 30 -65 core 28mmGun
ShootPointSecondary -111 30 -65 core 28mmGun
ShootPointSecondary -109 30 -65 core 28mmGun
ShootParticlesPrimary hugeexplosion 0.6 0 0
ShootParticlesPrimary largeexplode 0.6 0 0
ShootParticlesPrimary explode 0.7 0 0
ShootParticlesPrimary cloud 0.6 0 0
ShootParticlesSecondary cloud 0.6 0 0
------- Inventory ------------------------------------------------------
CargoSlots 16
BombSlots 0
MissileSlots 6
AllowAllAmmo False
AddAmmo 5in25ShellHC
AddAmmo 5in25ShellAA
AddAmmo 5in38ShellHE
AddAmmo 5in38ShellAP
AddAmmo shittyShell
//Fuel Tank Size (1 point of fuel will keep one propeller going with throttle at 1 for 1 tick)
FuelTankSize 10700
// ------------------------------------------------------ Passengers ------------------------------------------------------
Driver 108 105 0 -360 360 -15 85
Passengers 3
Passenger 1 -220 48 0 turret4 -360 360 -10 82 5in38Mk30Gun Mount51
GunOrigin 1 -220 38 0
Passenger 2 -274 48 0 turret5 -360 360 -10 82 5in38Mk30Gun Mount52
GunOrigin 2 -274 38 0
Passenger 3 90 182 0 core
PassengerAimSpeed 1 3 2 0
PassengerAimSpeed 2 3 2 0
//Passenger turret sounds
PassengerTraverseSounds 1 true
PassengerTraverseSounds 2 true
//Turret 1
PassengerPitchSound 1 TurretTraverse1
PassengerPitchSoundLength 3 19
PassengerYawSound 1 TurretTraverse2
PassengerYawSoundLength 1 19
//Turret 2
PassengerPitchSound 2 TurretTraverse1
PassengerPitchSoundLength 3 19
PassengerYawSound 2 TurretTraverse2
PassengerYawSoundLength 2 19
// ------------------------------------------------------- Sounds -------------------------------------------------------
StartSound ShipEngine3
StartSoundLength 24
EngineSound ShipEngine2
EngineSoundLength 29
ShootSoundPrimary 5inGun
ShootSoundSecondary 25mmFire
//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 navalSteelSegment5000
AddRecipeParts citadel 1 navalSteelSegment1000
AddRecipeParts bulkhead 2 navalSteelSegment500
AddRecipeParts bow 1 navalSteelSegment500
AddRecipeParts stern 1 navalSteelSegment500 4 metalPropeller
//AddRecipeParts belt 1 navalSteelSegment1000
//AddRecipeParts rightsideArmor 4 navalSteelSegment1000
//AddRecipeParts leftsideArmor 4 navalSteelSegment1000
AddRecipeParts deck1 1 navalSteelSegment1000
AddRecipeParts deck2 1 navalSteelSegment1000
AddRecipeParts conningTower 1 navalSteelSegment500
AddRecipeParts rightTrack 2 boiler
AddRecipeParts leftTrack 2 boiler
AddRecipeParts engineRoom1 2 steamTurbine
AddRecipeParts engineRoom2 2 steamTurbine
//Health and collision 21825t, 65475hp total
SetupPart core 16475 -318 -33 -48 566 42 96
SetupPart citadel 5000 -324 -34 -57 604 45 114 279
SetupPart bulkhead 3500 -324 -50 -60 610 60 120 127
SetupPart bow 2500 286 -51 -51 120 84 102 25
SetupPart stern 2500 -420 -51 -48 95 69 96 25

//SetupPart belt 7000 -330 -36 -60 640 51 120 279
//SetupPart rightsideArmor 6000 -330 -36 -75 640 51 15 229
//SetupPart leftsideArmor 6000 -330 -36 60 640 51 15 229

SetupPart deck1 4500 -330 15 -66 346 3 132 38
SetupPart deck2 4500 16 15 -66 294 18 132 38
SetupPart conningTower 3500 102 33 -24 25 46 48 292

SetupPart rightTrack 1000 -54 -48 -54 166 46 54
SetupPart leftTrack 1000 -54 -48 0 166 46 54
SetupPart engineRoom1 1000 -204 -48 -48 94 43 48
SetupPart engineRoom2 1000 -204 -48 0 94 43 48

SetupPart turret1 4365 212 47 -6 12 18 12 15
SetupPart turret2 4365 158 47 -6 12 18 12 15
SetupPart turret3 4365 -94 19 -18 36 32 36 610
SetupPart turret4 4365 -237 34 -8 16 18 16 38
SetupPart turret5 4365 -290 34 -8 16 18 16 38
BulletDetection 20
ModelScale 1.2
Description Formerly BB-31, she was converted to a gunnery training ship in the 30's._She was sunk during the Pearl Harbor attack and attempts to raise her failed._Displ. - 21825t | L.D. - 1909_Length - 53m | Beam - 8.96m | Draft - 3m_Spd. - 21kn | Rng. - 10700 | 4x Steam Turbines | 4x Boilers
Boat
PlaceableOnLand False
PlaceableOnWater True
FloatOnWater True
WheelStepHeight 0
Buoyancy 0.08
IsExplosionWhenDestroyed true
DeathExplosionRadius 24
DeathExplosionDamageVsVehicle 2.0
DeathExplosionDamageVsLiving 200.0
DeathExplosionDamageVsPlane 2.0
//isExplosionWhenDestroyedRadius 25
//bigDeath True
DriverAimSpeed 3 3 0
BulletSpeed 6
BulletSpread 2
TurretOrigin -64 -50 0
CollisionDamageEnable true
CollisionDamageThrottle 0.35
CollisionDamageTimes 40
RotateWheels True

////Smonkstaks

//Stage 1
AddEmitter largesmoke 1 [15,120,0] [3,10,3] [0,2,0] 0.02 0.5 0 1 core

//Stage 2
AddEmitter largesmoke 2 [15,120,0] [3,10,3] [-0.2,3,0] 0.5 1 0 1 core

//Owie 1
AddEmitter largesmoke 4 [15,120,0] [4,4,4] [0,0,0] -1 1 0 0.35 core

//Owie 2
AddEmitter flame 2 [15,120,0] [4,8,4] [0,0,0] -1 1 0 0.15 core