// ------------------------------------------------------ Naming ------------------------------------------------------
Name USS Alabama BB-60 (1945)
ShortName ussAlabama1945
ItemID 12741
// ------------------------------------------------------ Visuals ------------------------------------------------------
Icon ussAlabama1945
Model rainfire.Alabama1945
Texture SkinAlabama1945
//Third Person Camera Distance
CameraDistance 64.0
// ------------------------------------------------------ Movement ------------------------------------------------------
//Throttle
MaxThrottle 0.72
MaxNegativeThrottle 0.36
ThrottleDecay 0.0
//Steering modifiers
TurnLeftSpeed 0.175
TurnRightSpeed 0.175
Drag 1.0
//For calculating whether wheels are on the ground or not for driving
WheelRadius 0.1
//Wheel positions for collision handling. Tanks still have 4 wheels, they are just the corner ones.
NumWheels 4
WheelPosition 0 -484 -16 -40
WheelPosition 1 -484 -16 40
WheelPosition 2 480 -16 12
WheelPosition 3 480 -16 -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 6
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 22 73 70 core 
ShootPointPrimary 12 73 70 core 
ShootPointPrimary -12 62 92 core 
ShootPointPrimary -22 62 92 core 
ShootPointPrimary -44 73 70 core 
ShootPointPrimary -54 73 70 core 
ShootPointPrimary -79 62 92 core 
ShootPointPrimary -89 62 92 core 
ShootPointPrimary -113 73 70 core 
ShootPointPrimary -122 73 70 core 
ShootPointPrimary 22 73 -70 core 
ShootPointPrimary 12 73 -70 core 
ShootPointPrimary -12 62 -92 core 
ShootPointPrimary -22 62 -92 core 
ShootPointPrimary -44 73 -70 core 
ShootPointPrimary -54 73 -70 core 
ShootPointPrimary -79 62 -92 core 
ShootPointPrimary -89 62 -92 core 
ShootPointPrimary -113 73 -70 core 
ShootPointPrimary -122 73 -70 core 

ShootPointSecondary 130 68 4 core bofors40mmGun
ShootPointSecondary 83 46 71 core bofors40mmGun
ShootPointSecondary 76 46 71 core bofors40mmGun
ShootPointSecondary 21 98 33 core bofors40mmGun
ShootPointSecondary 14 98 33 core bofors40mmGun
ShootPointSecondary -149 34 75 core bofors40mmGun
ShootPointSecondary -157 34 75 core bofors40mmGun
ShootPointSecondary -165 59 30 core bofors40mmGun
ShootPointSecondary -172 59 30 core bofors40mmGun
ShootPointSecondary -231 51 4 core bofors40mmGun
ShootPointSecondary -521 34 37 core bofors40mmGun
ShootPointSecondary -529 34 37 core bofors40mmGun
ShootPointSecondary -368 33 18 core olerikon20mm
ShootPointSecondary -366 33 58 core olerikon20mm
ShootPointSecondary -357 33 58 core olerikon20mm
ShootPointSecondary -348 33 18 core olerikon20mm
ShootPointSecondary -346 33 58 core olerikon20mm
ShootPointSecondary -181 33 45 core olerikon20mm
ShootPointSecondary -139 45 52 core olerikon20mm
ShootPointSecondary -139 68 27 core olerikon20mm
ShootPointSecondary -139 82 14 core olerikon20mm
ShootPointSecondary -102 77 26 core olerikon20mm
ShootPointSecondary -88 77 26 core olerikon20mm
ShootPointSecondary -77 77 26 core olerikon20mm
ShootPointSecondary -65 98 26 core olerikon20mm
ShootPointSecondary -51 98 26 core olerikon20mm
ShootPointSecondary -47 44 83 core olerikon20mm
ShootPointSecondary -21 98 33 core olerikon20mm
ShootPointSecondary 55 44 81 core olerikon20mm
ShootPointSecondary 63 98 24 core olerikon20mm
ShootPointSecondary 110 44 70 core olerikon20mm
ShootPointSecondary 121 44 63 core olerikon20mm
ShootPointSecondary 152 33 68 core olerikon20mm
ShootPointSecondary 161 33 61 core olerikon20mm
ShootPointSecondary 171 33 54 core olerikon20mm
ShootPointSecondary 392 37 35 core olerikon20mm
ShootPointSecondary 413 38 32 core olerikon20mm
ShootPointSecondary 495 43 20 core olerikon20mm

ShootPointSecondary 130 68 -4 core bofors40mmGun
ShootPointSecondary 83 46 -71 core bofors40mmGun
ShootPointSecondary 76 46 -71 core bofors40mmGun
ShootPointSecondary 21 98 -33 core bofors40mmGun
ShootPointSecondary 14 98 -33 core bofors40mmGun
ShootPointSecondary -149 34 -75 core bofors40mmGun
ShootPointSecondary -157 34 -75 core bofors40mmGun
ShootPointSecondary -165 59 -30 core bofors40mmGun
ShootPointSecondary -172 59 -30 core bofors40mmGun
ShootPointSecondary -231 51 -4 core bofors40mmGun
ShootPointSecondary -521 34 -37 core bofors40mmGun
ShootPointSecondary -529 34 -37 core bofors40mmGun
ShootPointSecondary -368 33 -18 core olerikon20mm
ShootPointSecondary -366 33 -58 core olerikon20mm
ShootPointSecondary -357 33 -58 core olerikon20mm
ShootPointSecondary -348 33 -18 core olerikon20mm
ShootPointSecondary -346 33 -58 core olerikon20mm
ShootPointSecondary -181 33 -45 core olerikon20mm
ShootPointSecondary -139 45 -52 core olerikon20mm
ShootPointSecondary -139 68 -27 core olerikon20mm
ShootPointSecondary -139 82 -14 core olerikon20mm
ShootPointSecondary -102 77 -26 core olerikon20mm
ShootPointSecondary -88 77 -26 core olerikon20mm
ShootPointSecondary -77 77 -26 core olerikon20mm
ShootPointSecondary -65 98 -26 core olerikon20mm
ShootPointSecondary -51 98 -26 core olerikon20mm
ShootPointSecondary -47 44 -83 core olerikon20mm
ShootPointSecondary -21 98 -33 core olerikon20mm
ShootPointSecondary 55 44 -81 core olerikon20mm
ShootPointSecondary 63 98 -24 core olerikon20mm
ShootPointSecondary 110 44 -70 core olerikon20mm
ShootPointSecondary 121 44 -63 core olerikon20mm
ShootPointSecondary 152 33 -68 core olerikon20mm
ShootPointSecondary 161 33 -61 core olerikon20mm
ShootPointSecondary 171 33 -54 core olerikon20mm
ShootPointSecondary 392 37 -35 core olerikon20mm
ShootPointSecondary 413 38 -32 core olerikon20mm
ShootPointSecondary 495 43 -20 core olerikon20mm

ShootParticlesPrimary largeexplode 0.6 0 0
ShootParticlesPrimary explode 0.7 0 0
ShootParticlesPrimary cloud 0.6 0 0
ShootParticlesPrimary cloud 0.6 0 0
ShootParticlesSecondary cloud 0.2 0 0
------- Inventory ------------------------------------------------------
CargoSlots 32
BombSlots 0
ShellSlots 20
AllowAllAmmo False
AddAmmo 5in38ShellAA
AddAmmo 5in38ShellHE
AddAmmo 5in38ShellAP
AddAmmo 12.7cmShellAA
//Fuel Tank Size (1 point of fuel will keep one propeller going with throttle at 1 for 1 tick)
FuelTankSize 28000
// ------------------------------------------------------ Passengers ------------------------------------------------------
Driver 80 99 0 -360 360 -10 85
Passengers 5
Passenger 1 263 42 0 turret1 -150 150 -5 45 16in45Mk6Gun TurretI
GunOrigin 1 270 34 0
Passenger 2 152 59 0 turret2 -150 150 -5 45 16in45Mk6Gun TurretII
GunOrigin 2 161 51 0
Passenger 3 -251 43 0 turret3 50 310 -5 45 16in45Mk6Gun TurretIII
GunOrigin 3 -260 34 0
Passenger 4 -462 36 -42 stern
Passenger 5 -462 36 42 stern
PassengerAimSpeed 1 0.6 0.6 0
PassengerAimSpeed 2 0.6 0.6 0
PassengerAimSpeed 3 0.6 0.6 0
//Passenger turret sounds
PassengerTraverseSounds 1 true
PassengerTraverseSounds 2 true
PassengerTraverseSounds 3 true
PassengerTraverseSounds 4 true
//Turret 1
PassengerPitchSound 1 shipTurret
PassengerPitchSoundLength 1 19
PassengerYawSound 1 shipTurret
PassengerYawSoundLength 1 18
//Turret 2
PassengerPitchSound 2 shipTurret
PassengerPitchSoundLength 2 19
PassengerYawSound 2 shipTurret
PassengerYawSoundLength 2 18
//Turret 3
PassengerPitchSound 3 shipTurret
PassengerPitchSoundLength 3 19
PassengerYawSound 3 shipTurret
PassengerYawSoundLength 3 18
// ------------------------------------------------------- Sounds -------------------------------------------------------
StartSound ShipEngine1
StartSoundLength 93
EngineSound ShipEngine4
EngineSoundLength 85
ShootSoundPrimary 5inGun
ShootSoundSecondary 40mmFire2
//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 2 navalSteelSegment5000 4 blockRedstone
AddRecipeParts citadel 2 navalSteelSegment1000 2 navalSteelSegment100
AddRecipeParts bulkhead 3 navalSteelSegment500
AddRecipeParts bow 1 navalSteelSegment1000
AddRecipeParts stern 1 navalSteelSegment1000 4 metalPropeller
AddRecipeParts belt 2 navalSteelSegment1000
AddRecipeParts leftsideArmor 4 navalSteelSegment1000
AddRecipeParts rightsideArmor 4 navalSteelSegment1000
AddRecipeParts torpedoBulge 2 navalSteelSegment500
AddRecipeParts torpedoBulge2 2 navalSteelSegment500
AddRecipeParts deck 2 navalSteelSegment1000
AddRecipeParts deck2 1 navalSteelSegment1000
AddRecipeParts superstructure 2 navalSteelSegment500
AddRecipeParts conningTower 1 navalSteelSegment500
AddRecipeParts steering 1 steamTurbine
AddRecipeParts leftTrack 4 boiler
AddRecipeParts engineRoom1 2 steamTurbine
AddRecipeParts rightTrack 4 boiler
AddRecipeParts engineRoom2 2 steamTurbine
//Dye colours are "black", "red", "green", "brown", "blue", "purple", "cyan", "silver", "gray", "pink", "lime", "yellow", "lightBlue", "magenta", "orange", "white"
AddDye 16 gray
AddDye 12 blue
AddDye 12 lightBlue
AddDye 10 white
//Health and collision, 38000t, 114000hp total
SetupPart core 25000 -288 -36 -30 586 32 60 25
SetupPart citadel 9500 -294 -39 -44 598 56 88 287
SetupPart bulkhead 9000 -315 -60 -48 631 78 96 336
SetupPart bow 2750 316 -60 -45 223 84 90 25
SetupPart stern 2750 -547 -39 -54 204 64 108 25
//6000 orig
SetupPart belt 12200 -342 -58 -54 665 78 108 440
SetupPart rightsideArmor 9400 -356 -58 -66 670 78 12 440
SetupPart leftsideArmor 9400 -356 -58 54 670 78 12 440
SetupPart torpedoBulge 14000 -350 -58 66 652 64 24 38
SetupPart torpedoBulge2 14000 -350 -58 -90 652 64 24 38

SetupPart deck 9000 -405 21 -85 742 5 170 154
SetupPart deck2 5000 -153 25 -71 290 12 141 25
SetupPart superstructure 4000 -147 38 -35 238 40 70 25
SetupPart conningTower 4000 -18 78 -20 34 100 40 406

SetupPart leftTrack 2500 -192 -48 -42 130 38 42 38
SetupPart engineRoom1 2500 -61 -48 -42 130 38 42 38
SetupPart engineRoom2 2500 -192 -48 0 130 38 42 38
SetupPart rightTrack 2500 -61 -48 0 130 38 42 38
SetupPart steering 2000 -465 -12 -24 84 12 48 38

SetupPart turret1 12650 239 17 -25 50 28 50 1293
SetupPart turret2 12650 130 17 -25 50 44 50 1293
SetupPart turret3 12650 -280 17 -25 50 28 50 1293

BulletDetection 30
ModelScale 1.2
Description A South Dakota-class BB that helped the Royal Navy in '43_and went to the Pacific in '44 to fight the IJN there._Currently resides as a musuem ship in Mobile, Alabama._Displ. - 38000t | L.D. - 1940_Length - 69m | Beam - 11m | Draft - 3.66m_Spd. - 27kn | Rng. - 28000 | 4x Steam Turbines | 8x Boilers
Boat
PlaceableOnLand False
PlaceableOnWater True
FloatOnWater True
WheelStepHeight 0
Buoyancy 0.08
IsExplosionWhenDestroyed true
CollisionDamageEnable true
CollisionDamageThrottle 0.35
CollisionDamageTimes 40
DriverAimSpeed 3.5 4 0
BulletSpeed 6
BulletSpread 2
TurretOrigin -14 -185 0
RotateWheels True
//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
radarVisible true
radarRefreshDelay 20
IsExplosionWhenDestroyed true
DeathExplosionRadius 30
DeathExplosionDamageVsVehicle 2.0
DeathExplosionDamageVsLiving 200.0
DeathExplosionDamageVsPlane 2.0
//isExplosionWhenDestroyedRadius 25
//bigDeath True

////Smonkstaks
CollisionPoint 52 126 0 core
CollisionPoint 69 120 0 core

//Stage 1
AddEmitter largesmoke 1 [-52,126,0] [14,2,10] [0,2,0] 0.03 0.25 0 1 core
AddEmitter largesmoke 1 [-69,120,0] [14,2,10] [0,2,0] 0.03 0.25 0 1 core

//Stage 2
AddEmitter largesmoke 2 [-52,126,0] [10,2,10] [0,3,0] 0.25 0.6 0 1 core
AddEmitter largesmoke 2 [-69,120,0] [10,2,10] [0,3,0] 0.25 0.6 0 1 core

//Stage 3
AddEmitter largesmoke 2 [-52,126,0] [10,0,10] [0,3,0] 0.6 0.9 0 1 core
AddEmitter largesmoke 2 [-69,120,0] [10,0,10] [0,3,0] 0.6 0.9 0 1 core

//Stage 4
AddEmitter largesmoke 2 [-52,126,0] [10,0,10] [0,4,0] 0.9 1 0 1 core
AddEmitter largesmoke 2 [-69,120,0] [10,0,10] [0,4,0] 0.9 1 0 1 core

//Owie 1
AddEmitter largesmoke 3 [-52,126,0] [6,4,8] [0,0,0] -1 1 0 0.4 core
AddEmitter largesmoke 3 [-69,120,0] [6,4,8] [0,0,0] -1 1 0 0.4 core

//Owie 2
AddEmitter flame 2 [-52,126,0] [4,3,8] [0,0,0] -1 1 0 0.2 core
AddEmitter flame 2 [-69,104,0] [4,3,8] [0,0,0] -1 1 0 0.2 core
