// ------------------------------------------------------ Naming ------------------------------------------------------
Name USS Helena CL-50 (1943)
ShortName ussHelena1943
ItemID 69420
// ------------------------------------------------------ Visuals ------------------------------------------------------
Icon ussHelena1942
Model rainfire.Helena1942
Texture SkinHelena1942
//Third Person Camera Distance
CameraDistance 52.0
// ------------------------------------------------------ Movement ------------------------------------------------------
//Throttle
MaxThrottle 0.852
MaxNegativeThrottle 0.4
ThrottleDecay 0.0
//Steering modifiers
TurnLeftSpeed 0.17
TurnRightSpeed 0.17
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 -436 -9 -36
WheelPosition 1 -436 -9 36
WheelPosition 2 450 -9 12
WheelPosition 3 450 -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 7
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 76 65 56 core 
ShootPointPrimary 65 65 56 core 
ShootPointPrimary -99 65 56 core 
ShootPointPrimary -110 65 56 core 
ShootPointPrimary 76 65 -56 core 
ShootPointPrimary 65 65 -56 core 
ShootPointPrimary -99 65 -56 core 
ShootPointPrimary -110 65 -56 core 
ShootPointSecondary 134 35 45 core olerikon20mm
ShootPointSecondary 134 35 -45 core olerikon20mm
ShootPointSecondary 137 60 19 core olerikon20mm
ShootPointSecondary 137 60 -19 core olerikon20mm
ShootPointSecondary 157 64 0 core olerikon20mm
ShootPointSecondary -6 35 48 core olerikon20mm
ShootPointSecondary -34 35 -48 core olerikon20mm
ShootPointSecondary -66 35 -48 core olerikon20mm
ShootPointSecondary -218 35 48 core olerikon20mm
ShootPointSecondary -218 35 -48 core olerikon20mm
ShootPointSecondary -455 35 32 core olerikon20mm
ShootPointSecondary -455 35 -32 core olerikon20mm
ShootPointSecondary 26 47 45 core bofors40mmGun
ShootPointSecondary 20 47 45 core bofors40mmGun
ShootPointSecondary 26 47 -45 core bofors40mmGun
ShootPointSecondary 20 47 -45 core bofors40mmGun
ShootPointSecondary -176 49 15 core bofors40mmGun
ShootPointSecondary -176 49 10 core bofors40mmGun
ShootPointSecondary -176 49 -10 core bofors40mmGun
ShootPointSecondary -176 49 -15 core bofors40mmGun
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 20
BombSlots 0
ShellSlots 8
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 19000
// ------------------------------------------------------ Passengers ------------------------------------------------------
Driver 114 114 0 -360 360 -10 85
Passengers 7
Passenger 1 -387 37 -35 core
Passenger 2 312 45 0 turret1 -150 150 -5 60 6in47Mk16Gun TurretI
GunOrigin 2 312 35 0
Passenger 3 252 54 0 turret2 -150 150 -5 60 6in47Mk16Gun TurretII
GunOrigin 3 252 44 0
Passenger 4 191 41 0 turret3 45 315 -5 60 6in47Mk16Gun TurretIII
GunOrigin 4 191 31 0
Passenger 5 -224 55 0 turret4 45 315 -5 60 6in47Mk16Gun TurretIV
GunOrigin 5 -224 45 0
Passenger 6 -288 44 0 turret5 45 315 -5 60 6in47Mk16Gun TurretV
GunOrigin 6 -288 34 0
Passenger 7 -387 37 35 core
helipad 1 true
PassengerAimSpeed 2 1.0 1.0 0
PassengerAimSpeed 3 1.0 1.0 0
PassengerAimSpeed 4 1.0 1.0 0
PassengerAimSpeed 5 1.0 1.0 0
PassengerAimSpeed 6 1.0 1.0 0
//Passenger turret sounds
PassengerTraverseSounds 2 true
PassengerTraverseSounds 3 true
PassengerTraverseSounds 4 true
PassengerTraverseSounds 5 true
PassengerTraverseSounds 6 true
//Turret 1
PassengerPitchSound 2 shipTurret2
PassengerPitchSoundLength 2 20
PassengerYawSound 2 shipTurret2
PassengerYawSoundLength 2 20
//Turret 2
PassengerPitchSound 3 shipTurret2
PassengerPitchSoundLength 3 20
PassengerYawSound 3 shipTurret2
PassengerYawSoundLength 3 20
//Turret 3
PassengerPitchSound 4 shipTurret2
PassengerPitchSoundLength 4 20
PassengerYawSound 4 shipTurret2
PassengerYawSoundLength 4 20
//Turret 4
PassengerPitchSound 5 shipTurret2
PassengerPitchSoundLength 5 20
PassengerYawSound 5 shipTurret2
PassengerYawSoundLength 5 20
//Turret 5
PassengerPitchSound 6 shipTurret2
PassengerPitchSoundLength 6 20
PassengerYawSound 6 shipTurret2
PassengerYawSoundLength 6 20
// ------------------------------------------------------- Sounds -------------------------------------------------------
StartSound ShipEngine1
StartSoundLength 94
EngineSound ShipEngine4
EngineSoundLength 86
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 9500t
AddRecipeParts core 5 navalSteelSegment1000 12 blockRedstone
AddRecipeParts belt 3 navalSteelSegment500
AddRecipeParts bulkhead 1 navalSteelSegment500
AddRecipeParts deck 2 navalSteelSegment500
AddRecipeParts leftTrack 1 steamTurbine
AddRecipeParts engineRoom1 1 steamTurbine
AddRecipeParts boilerRoom1 4 boiler
AddRecipeParts engineRoom2 1 steamTurbine
AddRecipeParts boilerRoom2 4 boiler
AddRecipeParts rightTrack 1 steamTurbine
AddRecipeParts superstructure 1 navalSteelSegment500
AddRecipeParts bow 1 navalSteelSegment500
AddRecipeParts stern 1 navalSteelSegment500 4 metalPropeller
//Dye colours are "black", "red", "green", "brown", "blue", "purple", "cyan", "silver", "gray", "pink", "lime", "yellow", "lightBlue", "magenta", "orange", "white"
AddDye 16 gray
AddDye 16 blue
//Health and collision 10562t, 29046hp
SetupPart core 8546 -333 -35 -24 666 34 48 50
SetupPart bulkhead 3000 -340 -37 -36 680 42 72 50
SetupPart bow 1500 345 -40 -24 160 72 48 16
SetupPart stern 1500 -483 -26 -33 145 50 66 16
SetupPart conningTower 1500 64 22 -24 75 64 48 127
SetupPart superstructure 1000 -164 26 -25 232 13 50 16

SetupPart belt 5500 -345 -41 -44 689 60 89 143
SetupPart deck 3500 -345 19 -45 689 7 91 50

SetupPart leftTrack 500 -206 -36 0 64 38 30 127
SetupPart rightTrack 500 -142 -36 -30 64 38 30 127
SetupPart engineRoom1 500 -206 -36 -30 64 38 30 127
SetupPart engineRoom2 500 -142 -36 0 64 38 30 127
SetupPart boilerRoom1 500 -78 -36 -30 86 38 60 127
SetupPart boilerRoom2 500 8 -36 -30 80 38 60 127

SetupPart turret1 2000 311 22 -12 24 24 24 330
SetupPart turret2 2000 244 23 -12 24 32 24 330
SetupPart turret3 2000 175 19 -12 24 23 24 330
SetupPart turret4 2000 -246 24 -12 24 32 24 330
SetupPart turret5 2000 -301 21 -12 24 23 24 330

BulletDetection 20
ModelScale 1.26
Description An US Navy CL known as the "machine gun cruiser" due to it's action_off Kula Gulf, it was also an improved Brooklyn-class CL of the St. Louis subclass._Displ. - 10560t | L.D. - 1936_Length - 61.8m | Beam - 6.24m | Draft - 2.33m_Spd. - 32.5kn | Rng. - 19000 | 4x Steam Turbines | 8x Boilers
Boat
PlaceableOnLand False
PlaceableOnWater True
FloatOnWater True
WheelStepHeight 0
Buoyancy 0.08
CollisionDamageEnable true
CollisionDamageThrottle 0.35
CollisionDamageTimes 40
DriverAimSpeed 4 5 0
BulletSpeed 6
BulletSpread 2
RotateWheels True
TurretOrigin 50 -144 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 2000
radarVisible true
radarRefreshDelay 20
IsExplosionWhenDestroyed true
DeathExplosionRadius 20
DeathExplosionDamageVsVehicle 1.5
DeathExplosionDamageVsLiving 100.0
DeathExplosionDamageVsPlane 2.0
//isExplosionWhenDestroyedRadius 25
//bigDeath True


//Stage 1
AddEmitter largesmoke 2 [34,114,0] [2,12,12] [0,0,0] 0.02 0.25 0 1 core
AddEmitter largesmoke 2 [29,111,0] [2,12,12] [0,0,0] 0.02 0.25 0 1 core
AddEmitter largesmoke 2 [24,110,0] [2,12,12] [0,0,0] 0.02 0.25 0 1 core

AddEmitter largesmoke 2 [-35,111,0] [2,12,12] [0,0,0] 0.02 0.25 0 1 core
AddEmitter largesmoke 2 [-40,108,0] [2,12,12] [0,0,0] 0.02 0.25 0 1 core
AddEmitter largesmoke 2 [-45,108,0] [2,12,12] [0,0,0] 0.02 0.25 0 1 core

//Stage 2
AddEmitter explode 2 [34,114,0] [2,12,12] [0,2,0] 0.25 0.55 0 1 core
AddEmitter explode 2 [29,111,0] [3,12,12] [0,2,0] 0.25 0.55 0 1 core
AddEmitter explode 2 [24,110,0] [3,12,12] [0,2,0] 0.25 0.55 0 1 core

AddEmitter explode 2 [-35,111,0] [2,12,12] [0,2,0] 0.25 0.55 0 1 core
AddEmitter explode 2 [-40,108,0] [2,12,12] [0,2,0] 0.25 0.55 0 1 core
AddEmitter explode 2 [-45,108,0] [2,12,12] [0,2,0] 0.25 0.55 0 1 core

//Stage 3
AddEmitter explode 3 [34,114,0] [2,12,14] [-0.25,3,0] 0.55 1 0 1 core
AddEmitter explode 3 [29,111,0] [3,12,14] [-0.25,3,0] 0.55 1 0 1 core
AddEmitter explode 3 [24,110,0] [3,12,14] [-0.25,3,0] 0.55 1 0 1 core

AddEmitter explode 3 [-35,111,0] [3,12,14] [-0.25,3,0] 0.55 1 0 1 core
AddEmitter explode 3 [-40,108,0] [3,12,14] [-0.25,3,0] 0.55 1 0 1 core
AddEmitter explode 3 [-45,108,0] [3,12,14] [-0.25,3,0] 0.55 1 0 1 core

//Owie 1
AddEmitter largesmoke 4 [34,114,0] [3,14,14] [-0.25,0,0] -1 1 0 0.35 core
AddEmitter largesmoke 4 [29,111,0] [3,14,14] [-0.25,0,0] -1 1 0 0.35 core
AddEmitter largesmoke 4 [24,110,0] [2,14,14] [-0.25,0,0] -1 1 0 0.35 core

AddEmitter largesmoke 4 [-35,111,0] [3,14,14] [-0.25,0,0] -1 1 0 0.35 core
AddEmitter largesmoke 4 [-40,108,0] [3,14,14] [-0.25,3,0] -1 1 0 0.35 core
AddEmitter largesmoke 4 [-45,108,0] [3,14,14] [-0.25,0,0] -1 1 0 0.35 core

//Owie 2
AddEmitter flame 2 [34,114,0] [2,8,14] [-0.25,2,0] -1 1 0 0.15 core
AddEmitter flame 2 [29,111,0] [2,8,14] [-0.25,2,0] -1 1 0 0.15 core
AddEmitter flame 2 [24,110,0] [2,8,14] [-0.25,2,0] -1 1 0 0.15 core

AddEmitter flame 2 [-35,111,0] [2,8,14] [-0.25,2,0] -1 1 0 0.15 core
AddEmitter flame 2 [-40,108,0] [2,8,14] [-0.25,2,0] -1 1 0 0.15 core
AddEmitter flame 2 [-45,108,0] [2,8,14] [-0.25,2,0] -1 1 0 0.15 core
