// ------------------------------------------------------ Naming ------------------------------------------------------
Name USS Atlanta CL-51
ShortName ussAtlanta1942
ItemID 111242
// ------------------------------------------------------ Visuals ------------------------------------------------------
Icon ussAtlanta1942
Model rainfire.Atlanta1942
Texture SkinAtlanta1942
//Third Person Camera Distance
CameraDistance 50.0
// ------------------------------------------------------ Movement ------------------------------------------------------
//Throttle
MaxThrottle 0.852
MaxNegativeThrottle 0.4
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 -400 -8 -26
WheelPosition 1 -400 -8 26
WheelPosition 2 380 -8 16
WheelPosition 3 380 -8 -16
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 5
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 209 64 -5 turret3 
ShootPointPrimary -125 31 -55 turret7 
ShootPointPrimary 253 53 -5 turret2 
ShootPointPrimary -211 50 -5 turret4 
ShootPointPrimary 298 44 -5 turret1 
ShootPointPrimary -257 42 -5 turret5 
ShootPointPrimary -125 31 55 turret8 
ShootPointPrimary -301 32 -5 turret6 
ShootPointPrimary 209 64 5 turret3 
ShootPointPrimary -125 31 -55 turret7 
ShootPointPrimary 253 53 5 turret2 
ShootPointPrimary -211 50 5 turret4 
ShootPointPrimary 298 44 5 turret1 
ShootPointPrimary -257 42 5 turret5 
ShootPointPrimary -125 31 55 turret8 
ShootPointPrimary -301 44 5 turret6 
ShootPointSecondary 153 46 16 core olerikon20mm
ShootPointSecondary 153 46 -16 core olerikon20mm
ShootPointSecondary -27 29 39 core olerikon20mm
ShootPointSecondary -27 29 -39 core olerikon20mm
ShootPointSecondary -50 29 39 core olerikon20mm
ShootPointSecondary -50 29 -39 core olerikon20mm
ShootPointSecondary -387 18 18 core olerikon20mm
ShootPointSecondary -387 18 -18 core olerikon20mm
ShootPointSecondary 107 49 34 core 28mmGun
ShootPointSecondary 107 49 28 core 28mmGun
ShootPointSecondary 107 49 -34 core 28mmGun
ShootPointSecondary 107 49 -28 core 28mmGun
ShootPointSecondary -160 51 3 core 28mmGun
ShootPointSecondary -160 51 -3 core 28mmGun
ShootPointSecondary -426 19 3 core 28mmGun
ShootPointSecondary -426 19 -3 core 28mmGun
ShootParticlesPrimary largeexplode 0.6 0 0
ShootParticlesPrimary largeexplode 0.6 0 0
ShootParticlesPrimary explode 0.7 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 16
BombSlots 0
MissileSlots 16
AllowAllAmmo False
AddAmmo 5in38ShellAA
AddAmmo 5in38ShellHE
AddAmmo 5in38ShellAP
//Fuel Tank Size (1 point of fuel will keep one propeller going with throttle at 1 for 1 tick)
FuelTankSize 15700
// ------------------------------------------------------ Passengers ------------------------------------------------------
Driver 97 104 0 -360 360 -10 85
Passengers 2
Passenger 1 -87 16 27 core 5 150 0 0 53cmTorpShip PassengerGun1
GunOrigin 1 -87 12 26
Passenger 2 -87 16 -27 core -150 -5 0 0 53cmTorpShip PassengerGun2
GunOrigin 2 -87 12 -26
PassengerAimSpeed 1 1.2 1.4 0
PassengerAimSpeed 2 1.2 1.4 0
//Passenger turret sounds
PassengerTraverseSounds 1 true
PassengerTraverseSounds 2 true
//Turret 1
PassengerPitchSound 1 TurretElectric3
PassengerPitchSoundLength 1 20
PassengerYawSound 1 TurretElectric3
PassengerYawSoundLength 1 19
//Turret 2
PassengerPitchSound 2 TurretElectric3
PassengerPitchSoundLength 2 20
PassengerYawSound 2 TurretElectric3
PassengerYawSoundLength 2 19
// ------------------------------------------------------- Sounds -------------------------------------------------------
StartSound ShipEngine1
StartSoundLength 94
EngineSound ShipEngine4
EngineSoundLength 86
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 6000t
AddRecipeParts core 3 navalSteelSegment1000 8 blockRedstone
AddRecipeParts belt 1 navalSteelSegment500
AddRecipeParts bulkhead 1 navalSteelSegment500
AddRecipeParts deck 1 navalSteelSegment500
AddRecipeParts leftTrack 1 steamTurbine
AddRecipeParts engineRoom1 1 boiler
AddRecipeParts boilerRoom1 1 boiler
AddRecipeParts engineRoom2 1 boiler
AddRecipeParts boilerRoom2 1 boiler
AddRecipeParts rightTrack 1 steamTurbine
AddRecipeParts steering 1 12Cylinder
AddRecipeParts superstructure 1 navalSteelSegment500
AddRecipeParts bow 1 navalSteelSegment500
AddRecipeParts stern 1 navalSteelSegment500 2 metalPropeller
AddRecipeParts turret1 1 5in38Mk30Gun
AddRecipeParts turret2 1 5in38Mk30Gun
AddRecipeParts turret3 1 5in38Mk30Gun
AddRecipeParts turret4 1 5in38Mk30Gun
AddRecipeParts turret5 1 5in38Mk30Gun
AddRecipeParts turret6 1 5in38Mk30Gun
AddRecipeParts turret7 1 5in38Mk30Gun
AddRecipeParts turret8 1 5in38Mk30Gun
//Dye colours are "black", "red", "green", "brown", "blue", "purple", "cyan", "silver", "gray", "pink", "lime", "yellow", "lightBlue", "magenta", "orange", "white"
AddDye 16 gray
AddDye 24 blue
//Health and collision 6600t, 18150hp
SetupPart core 6350 -294 -37 -26 580 35 53 95
SetupPart bow 750 -438 -28 -31 115 39 61 13
SetupPart stern 750 313 -43 -25 115 69 50 13
SetupPart conningTower 500 37 11 -20 106 60 40 64
SetupPart superstructure 500 -68 11 -26 310 16 51 64
SetupPart belt 3000 -330 -42 -40 660 48 80 95
SetupPart bulkhead 2000 -318 -42 -40 636 48 79 95
SetupPart deck 1500 -324 6 -40 648 8 80 32

SetupPart rightTrack 400 -141 -40 -30 75 32 30 95
SetupPart engineRoom1 400 -141 -40 0 75 32 30 95
SetupPart boilerRoom1 400 -66 -40 -30 64 32 60 95
SetupPart engineRoom2 400 -2 -40 -30 70 32 30 95
SetupPart boilerRoom2 400 68 -40 -30 64 32 60 95
SetupPart leftTrack 400 -2 -40 0 75 32 30 95
SetupPart steering 400 -321 -34 -24 30 32 47 95

SetupPart turret1 840 263 21 -11 22 21 22 64
SetupPart turret2 840 216 31 -11 22 20 22 64
SetupPart turret3 840 173 42 -11 22 20 22 64
SetupPart turret4 840 -197 29 -11 22 20 22 64
SetupPart turret5 840 -242 21 -11 22 20 22 64
SetupPart turret6 840 -287 11 -11 22 20 22 64
SetupPart turret7 840 -141 9 -40 22 20 22 64
SetupPart turret8 840 -141 9 18 22 20 22 64
BulletDetection 14
ModelScale 1.2
Description A specialized U.S. Navy CL for flotilla leader and AA work._Can take down nearly any airplane that comes at it,_but suffers in surface combat._Displ. - 6720t | L.D. - 1940_Length - 55m | Beam - 5.36m | Draft - 2.08m_Spd. - 32.5kn | Rng. - 15700 | 2x Steam Turbines | 4x Boilers
Boat
PlaceableOnLand False
PlaceableOnWater True
FloatOnWater True
WheelStepHeight 0
Buoyancy 0.08
IsExplosionWhenDestroyed true
CollisionDamageEnable true
CollisionDamageThrottle 0.35
CollisionDamageTimes 40
DriverAimSpeed 4.5 5.5 0
BulletSpeed 6
BulletSpread 2
TurretOrigin 54 -140 0
//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 1800
radarVisible true
radarRefreshDelay 25
IsExplosionWhenDestroyed true
DeathExplosionRadius 18
DeathExplosionDamageVsVehicle 1.5
DeathExplosionDamageVsLiving 100.0
DeathExplosionDamageVsPlane 2.0
//isExplosionWhenDestroyedRadius 25
//bigDeath True

////Smonkstacs

//Stage 1
AddEmitter largesmoke 2 [44,99,0] [8,8,4] [-0.25,0,0] 0.03 0.35 0 1 core
AddEmitter largesmoke 2 [-44,93,0] [8,8,4] [-0.25,0,0] 0.03 0.35 0 1 core

//Stage 2
AddEmitter cloud 2 [44,99,0] [8,8,4] [-0.5,0.25,0] 0.35 0.7 0 1 core
AddEmitter cloud 2 [-44,93,0] [8,8,4] [-0.25,0.25,0] 0.35 0.7 0 1 core

//Stage 3
AddEmitter explode 3 [44,99,0] [8,8,4] [-0.5,0.5,0] 0.65 1 0 1 core
AddEmitter explode 3 [-44,93,0] [8,8,4] [-0.5,0.5,0] 0.65 1 0 1 core

//Owie 1
AddEmitter largesmoke 4 [44,99,0] [8,10,4] [-0.25,0,0] -1 1 0 0.4 core
AddEmitter largesmoke 4 [-44,93,0] [8,10,4] [-0.25,0,0] -1 1 0 0.4 core

//Owie 2
AddEmitter flame 2 [44,99,0] [8,12,4] [-0.25,0,0] -1 1 0 0.2 core
AddEmitter flame 2 [-44,93,0] [8,12,4] [-0.25,0,0] -1 1 0 0.2 core
