// ------------------------------------------------------ Naming ------------------------------------------------------
Name USS Des Moines CA-134
ShortName ussDesMoines
ItemID 7464
// ------------------------------------------------------ Visuals ------------------------------------------------------
Icon USSDesMoines
Model rainfire.DesMoines
Texture SkinDesMoines
//Third Person Camera Distance
CameraDistance 55.0
// ------------------------------------------------------ Movement ------------------------------------------------------
//Throttle
MaxThrottle 0.863
MaxNegativeThrottle 0.4
ThrottleDecay 0.0
//Steering modifiers
TurnLeftSpeed 0.18
TurnRightSpeed 0.18
Drag 1.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 -430 -9 -37
WheelPosition 1 -430 -9 37
WheelPosition 2 465 -9 12
WheelPosition 3 465 -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 8
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 -178 38 -4 core
ShootPointPrimary -178 38 4 core
ShootPointPrimary -96 26 52 leftsideArmor 
ShootPointPrimary -87 26 52 leftsideArmor 
ShootPointPrimary 89 26 52 leftsideArmor 
ShootPointPrimary 98 26 52 leftsideArmor 
ShootPointPrimary 146 45 4 turret
ShootPointPrimary 146 45 -4 turret 
ShootPointPrimary -96 26 -52 rightsideArmor 
ShootPointPrimary -87 26 -52 rightsideArmor 
ShootPointPrimary 89 26 -52 rightsideArmor 
ShootPointPrimary 98 26 -52 rightsideArmor 
ShootPointSecondary -67 39 45 core bofors40mmGun
ShootPointSecondary -59 39 45 core bofors40mmGun
ShootPointSecondary -29 39 51 core bofors40mmGun
ShootPointSecondary -21 39 51 core bofors40mmGun
ShootPointSecondary 19 39 51 core bofors40mmGun
ShootPointSecondary 28 39 51 core bofors40mmGun
ShootPointSecondary 58 39 45 core bofors40mmGun
ShootPointSecondary 67 39 46 core bofors40mmGun
ShootPointSecondary -67 39 -45 core bofors40mmGun
ShootPointSecondary -59 39 -45 core bofors40mmGun
ShootPointSecondary -29 39 -52 core bofors40mmGun
ShootPointSecondary -21 39 -52 core bofors40mmGun
ShootPointSecondary 20 39 -52 core bofors40mmGun
ShootPointSecondary 28 39 -51 core bofors40mmGun
ShootPointSecondary 58 39 -45 core bofors40mmGun
ShootPointSecondary 67 39 -46 core bofors40mmGun
ShootPointSecondary -402 33 35 backWheel bofors40mmGun
ShootPointSecondary -410 33 35 leftTrack bofors40mmGun
ShootPointSecondary -402 33 -37 backWheel bofors40mmGun
ShootPointSecondary -410 33 -37 leftTrack bofors40mmGun
ShootPointSecondary 332 35 4 frontWheel bofors40mmGun
ShootPointSecondary 332 35 -4 frontWheel bofors40mmGun
ShootPointSecondary 399 36 4 frontWheel bofors40mmGun
ShootPointSecondary 399 36 -4 frontWheel bofors40mmGun
------- Inventory ------------------------------------------------------
CargoSlots 27
BombSlots 0
ShellSlots 12
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 19400
// ------------------------------------------------------ Passengers ------------------------------------------------------
Driver 97 89 0 -360 360 -10 85
Passengers 4
Passenger 1 203 47 0 turret1 -145 145 -5 41 8in55Mk16Gun PassengerGun1
GunOrigin 1 198 37 0
Passenger 2 272 37 0 turret2 -145 145 -5 41 8in55Mk16Gun PassengerGun2
GunOrigin 2 268 27 0
Passenger 3 -245 34 0 turret3 45 325 -5 41 8in55Mk16Gun PassengerGun3
GunOrigin 3 -240 24 0
Passenger 4 -330 16 0 core
helipad 4 true
PassengerAimSpeed 1 0.75 1.2 0
PassengerAimSpeed 2 0.75 1.2 0
PassengerAimSpeed 3 0.75 1.2 0
//Passenger turret sounds
PassengerTraverseSounds 1 true
PassengerTraverseSounds 2 true
PassengerTraverseSounds 3 true
PassengerTraverseSounds 4 true
//Turret 1
PassengerPitchSound 1 shipTurret2
PassengerPitchSoundLength 1 20
PassengerYawSound 1 shipTurret2
PassengerYawSoundLength 1 20
//Turret 2
PassengerPitchSound 2 shipTurret2
PassengerPitchSoundLength 2 21
PassengerYawSound 2 shipTurret2
PassengerYawSoundLength 2 20
//Turret 3
PassengerPitchSound 3 shipTurret2
PassengerPitchSoundLength 3 20
PassengerYawSound 3 shipTurret2
PassengerYawSoundLength 3 19
// ------------------------------------------------------- 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
AddRecipeParts core 2 navalSteelSegment5000 8 blockRedstone 4 blockGold
AddRecipeParts frontalArmor 1 navalSteelSegment500
AddRecipeParts superstructure 1 navalSteelSegment500
AddRecipeParts conningTower 1 navalSteelSegment500
AddRecipeParts leftsideArmor 2 navalSteelSegment1000
AddRecipeParts rightsideArmor 2 navalSteelSegment1000
AddRecipeParts leftTrack 2 steamTurbine 2 boiler
AddRecipeParts rightTrack 2 steamTurbine 2 boiler
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 red
AddDye 32 gray
//Health and collision, 53200hp total
SetupPart core 12000 -340 -31 -35 680 46 70
SetupPart bow 2450 341 -40 -33 132 62 66
SetupPart leftTrack 2500 -474 -29 -33 132 52 66
SetupPart leftsideArmor 5000 -346 -40 35 700 66 22
SetupPart rightsideArmor 5000 -346 -40 -58 700 66 22
SetupPart frontalArmor 4500 -346 18 -35 695 7 70
SetupPart rightTrack 2300 -175 -33 -43 302 27 86
SetupPart stern 2200 -438 -44 -40 148 15 80
SetupPart superstructure 3000 5 23 -33 124 53 66
SetupPart conningTower 4000 -171 23 -30 176 26 60
SetupPart turret1 3250 194 23 -18 36 29 36
SetupPart turret2 3250 263 9 -18 36 29 36
SetupPart turret3 3250 -269 9 -18 36 29 36
BulletDetection 50
ModelScale 1.55
Description The first of last all-gun cruisers to be built,_it's also the most advanced with rapid-firing_8"/55 Mk.16 guns, good AA, and decent protection._Displ. - 17255t | L.D. - 1945_Length - 72.8m | Beam - 7.77m | Draft - 2.23m_Spd. - 33kn | Rng. - 19400 | 4x Steam Turbines | 4x Boilers
Boat
PlaceableOnLand False
PlaceableOnWater True
FloatOnWater True
WheelStepHeight 0
Buoyancy 0.16
CollisionDamageEnable true
CollisionDamageThrottle 0.35
CollisionDamageTimes 40
DriverAimSpeed 4 4.5 0
BulletSpeed 6
BulletSpread 1.75
RotateWheels True
TurretOrigin 12 -114 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 2.0
DeathExplosionDamageVsLiving 150.0
DeathExplosionDamageVsPlane 2.0
//isExplosionWhenDestroyedRadius 25
//bigDeath True

////Smonkstaks

//Stage 1
AddEmitter largesmoke 2 [-36,95,0] [3,12,14] [0,0,0] 0.02 0.25 0 1 core
AddEmitter largesmoke 2 [-31,97,0] [3,12,14] [0,0,0] 0.02 0.25 0 1 core
AddEmitter largesmoke 2 [-25,97,0] [3,12,14] [0,0,0] 0.02 0.25 0 1 core
AddEmitter largesmoke 2 [-19,97,0] [3,12,14] [0,0,0] 0.02 0.25 0 1 core
AddEmitter largesmoke 2 [-14,98,0] [3,12,14] [0,0,0] 0.02 0.25 0 1 core

//Stage 2
AddEmitter largesmoke 2 [-36,95,0] [2,12,14] [0,1,0] 0.25 0.55 0 1 core
AddEmitter largesmoke 2 [-31,97,0] [2,12,14] [0,1,0] 0.25 0.55 0 1 core
AddEmitter largesmoke 2 [-25,97,0] [2,12,14] [0,1,0] 0.25 0.55 0 1 core
AddEmitter largesmoke 2 [-19,97,0] [2,12,14] [0,1,0] 0.25 0.55 0 1 core
AddEmitter largesmoke 2 [-14,98,0] [2,12,14] [0,1,0] 0.25 0.55 0 1 core

//Stage 3
AddEmitter explode 3 [-36,95,0] [2,12,14] [-0.5,2,0] 0.55 0.8 0 1 core
AddEmitter explode 3 [-31,97,0] [2,12,14] [-0.5,2,0] 0.55 0.8 0 1 core
AddEmitter explode 3 [-25,97,0] [2,12,14] [-0.5,2,0] 0.55 0.8 0 1 core
AddEmitter explode 3 [-19,97,0] [2,12,14] [-0.5,2,0] 0.55 0.8 0 1 core
AddEmitter explode 3 [-14,98,0] [2,12,14] [-0.5,2,0] 0.55 0.8 0 1 core

//Stage 4
AddEmitter explode 4 [-36,95,0] [2,12,14] [-0.5,3,0] 0.8 1 0 1 core
AddEmitter explode 4 [-31,97,0] [2,12,14] [-0.5,3,0] 0.8 1 0 1 core
AddEmitter explode 4 [-25,97,0] [2,12,14] [-0.5,3,0] 0.8 1 0 1 core
AddEmitter explode 4 [-19,97,0] [2,12,14] [-0.5,3,0] 0.8 1 0 1 core
AddEmitter explode 4 [-14,98,0] [2,12,14] [-0.5,3,0] 0.8 1 0 1 core

//Owie 1
AddEmitter largesmoke 4 [-36,95,0] [2,14,14] [-0.25,0,0] -1 1 0 0.4 core
AddEmitter largesmoke 4 [-31,97,0] [2,14,14] [-0.25,0,0] -1 1 0 0.4 core
AddEmitter largesmoke 4 [-25,97,0] [2,14,14] [-0.25,0,0] -1 1 0 0.4 core
AddEmitter largesmoke 4 [-19,97,0] [2,14,14] [-0.25,0,0] -1 1 0 0.4 core
AddEmitter largesmoke 4 [-14,98,0] [2,14,14] [-0.25,30,0] -1 1 0 0.4 core

//Owie 2
AddEmitter flame 2 [-36,95,0] [2,13,14] [-0.25,2,0] -1 1 0 0.2 core
AddEmitter flame 2 [-31,97,0] [2,13,14] [-0.25,2,0] -1 1 0 0.2 core
AddEmitter flame 2 [-25,97,0] [2,13,14] [-0.25,2,0] -1 1 0 0.2 core
AddEmitter flame 2 [-19,97,0] [2,13,14] [-0.25,2,0] -1 1 0 0.2 core
AddEmitter flame 2 [-14,98,0] [2,13,14] [-0.25,2,0] -1 1 0 0.2 core