// ------------------------------------------------------ Naming ------------------------------------------------------
Name USS Boston CAG-1 (1961)
ShortName ussBoston1955
ItemID 11955
// ------------------------------------------------------ Visuals ------------------------------------------------------
Icon ussBoston
Model rainfire.Boston1955
Texture SkinBoston1955
//Third Person Camera Distance
CameraDistance 55.0
// ------------------------------------------------------ Movement ------------------------------------------------------
//Throttle
MaxThrottle 0.863
MaxNegativeThrottle 0.4
ThrottleDecay 0.0
//Steering modifiers
TurnLeftSpeed 0.17
TurnRightSpeed 0.17
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 -500 -9 -39
WheelPosition 1 -500 -9 39
WheelPosition 2 502 -9 12
WheelPosition 3 502 -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 60
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 -354 76 9 core 
ShootPointPrimary -354 76 -9 core 
ShootPointPrimary -455 64 9 core 
ShootPointPrimary -455 64 -9 core 
ShootPointSecondary 38 56 56 core 3in50RFMk22
ShootPointSecondary 30 56 56 core 3in50RFMk22
ShootPointSecondary -94 56 56 core 3in50RFMk22
ShootPointSecondary -102 56 56 core 3in50RFMk22
ShootPointSecondary -205 32 56 core 3in50RFMk22
ShootPointSecondary -213 32 56 core 3in50RFMk22
ShootPointSecondary 38 56 -56 core 3in50RFMk22
ShootPointSecondary 30 56 -56 core 3in50RFMk22
ShootPointSecondary -94 56 -56 core 3in50RFMk22
ShootPointSecondary -102 56 -56 core 3in50RFMk22
ShootPointSecondary -205 32 -56 core 3in50RFMk22
ShootPointSecondary -213 32 -56 core 3in50RFMk22
ShootParticlesPrimary largeexplode 0.6 0 0
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
ShootParticlesSecondary explode 0.3 0 0
FixedPrimary true
PrimaryAngle 0 30 0
ReloadTimePrimary 120
------- Inventory ------------------------------------------------------
CargoSlots 27
BombSlots 0
ShellSlots 8
AllowAllAmmo False
AddAmmo rim2Terrier
AddAmmo rim2TerrierW45
AddAmmo rim66SM1
AddAmmo rim67SM2
//Fuel Tank Size (1 point of fuel will keep one propeller going with throttle at 1 for 1 tick)
FuelTankSize 19000
// ------------------------------------------------------ Passengers ------------------------------------------------------
Driver 116 117 0 -360 360 -15 85
Passengers 7
Passenger 1 302 41 0 turret1 -150 150 -5 41 8in55Mk15Gun TurretI
GunOrigin 1 302 31 0
Passenger 2 230 57 0 turret2 -150 150 -5 41 8in55Mk15Gun TurretII
GunOrigin 2 230 47 0
Passenger 3 162 57 0 core -150 150 -10 82 5in38Mk30Gun Mount51
GunOrigin 3 162 42 0
Passenger 4 100 50 -33 core -180 0 -10 82 5in38Mk30Gun Mount52
GunOrigin 4 100 42 -32
Passenger 5 -160 50 -33 core -180 0 -10 82 5in38Mk30Gun Mount53
GunOrigin 5 -160 42 -32
Passenger 6 100 50 33 core 0 180 -10 82 5in38Mk30Gun Mount54
GunOrigin 6 100 42 32
Passenger 7 -160 50 33 core 0 180 -10 82 5in38Mk30Gun Mount55
GunOrigin 7 -160 42 32
helipad 4 true
PassengerAimSpeed 1 0.75 1.2 0
PassengerAimSpeed 2 0.75 1.2 0
PassengerAimSpeed 3 3 2 0
PassengerAimSpeed 4 3 2 0
PassengerAimSpeed 5 3 2 0
PassengerAimSpeed 6 3 2 0
PassengerAimSpeed 7 3 2 0
//Passenger turret sounds
PassengerTraverseSounds 1 true
PassengerTraverseSounds 2 true
PassengerTraverseSounds 3 true
PassengerTraverseSounds 4 true
PassengerTraverseSounds 5 true
PassengerTraverseSounds 6 true
PassengerTraverseSounds 7 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 51
PassengerPitchSound 3 TurretElectric2
PassengerPitchSoundLength 3 20
PassengerYawSound 3 TurretElectric2
PassengerYawSoundLength 3 19
//Turret 52
PassengerPitchSound 4 TurretElectric2
PassengerPitchSoundLength 4 20
PassengerYawSound 4 TurretElectric2
PassengerYawSoundLength 4 19
//Turret 53
PassengerPitchSound 5 TurretElectric2
PassengerPitchSoundLength 5 20
PassengerYawSound 5 TurretElectric2
PassengerYawSoundLength 5 19
//Turret 54
PassengerPitchSound 6 TurretElectric2
PassengerPitchSoundLength 6 20
PassengerYawSound 6 TurretElectric2
PassengerYawSoundLength 6 19
//Turret 55
PassengerPitchSound 7 TurretElectric2
PassengerPitchSoundLength 7 20
PassengerYawSound 7 TurretElectric2
PassengerYawSoundLength 7 19
// ------------------------------------------------------- Sounds -------------------------------------------------------
StartSound ShipEngine1
StartSoundLength 94
EngineSound ShipEngine4
EngineSoundLength 86
ShootSoundPrimary ShipMissile
ShootSoundSecondary 3inGunAuto
//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 5 navalSteelSegment1000
AddRecipeParts bulkhead 2 navalSteelSegment500
AddRecipeParts deck 2 navalSteelSegment500
AddRecipeParts belt 2 navalSteelSegment500
AddRecipeParts conningTower 1 navalSteelSegment500
AddRecipeParts leftTrack 1 steamTurbine
AddRecipeParts rightTrack 1 steamTurbine
AddRecipeParts engineRoom1 1 steamTurbine
AddRecipeParts engineRoom2 1 steamTurbine
AddRecipeParts boilerRoom1 1 boiler 
AddRecipeParts boilerRoom2 1 boiler 
AddRecipeParts boilerRoom3 1 boiler 
AddRecipeParts boilerRoom4 1 boiler 
AddRecipeParts superstructure 3 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 red
AddDye 32 gray
//Health and collision 14480t, 39820hp
SetupPart core 9820 -330 -42 -30 660 42 60 152
SetupPart bulkhead 5000 -380 -48 -40 760 54 80 152
SetupPart bow 2000 382 -50 -35 157 72 70 25
SetupPart stern 1500 -546 -38 -45 145 58 90 25

SetupPart belt 6500 -400 -51 -52 800 67 104 152
SetupPart deck 4000 -430 16 -52 860 7 104 76

SetupPart conningTower 2500 27 22 -22 120 75 44 165
SetupPart superstructure 2500 -337 22 -30 364 24 60 165

SetupPart leftTrack 750 -210 -45 -32 67 40 32 25
SetupPart boilerRoom1 750 -143 -45 -32 100 40 32 25
SetupPart engineRoom3 750 -43 -45 -32 67 40 32 25
SetupPart boilerRoom3 750 24 -45 -32 100 40 32 25
SetupPart engineRoom2 750 -210 -45 0 67 40 32 25
SetupPart boilerRoom2 750 -143 -45 0 100 40 32 25
SetupPart rightTrack 750 -43 -45 0 67 40 32 25
SetupPart boilerRoom4 750 24 -45 0 100 40 32 25

SetupPart turret1 4500 293 18 -16 32 24 32 406
SetupPart turret2 4500 223 17 -16 32 40 32 406
SetupPart turret3 1500 -331 47 -7 32 24 14 127
SetupPart turret4 1500 -432 35 -7 32 24 14 127
BulletDetection 25
ModelScale 1.2
Description A Baltimore-class cruiser that had an 8"/55 gun turret removed and missile_systems installed to become the first missile cruiser in the world._Unlike Saint Paul, the 5"/38's are passenger controlled._Displ. - 14480t | L.D. - 1941_Length - 68.42m | Beam - 7.2m | Draft - 2.73m_Spd. - 33kn | Rng. - 19000 | 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 8
BulletSpread 1
RotateWheels True
TurretOrigin -126.5 -102 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 2500
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 1 [-27,111,0] [18,12,12] [0,0,0] 0.02 0.25 0 1 core
AddEmitter largesmoke 1 [-36,109,0] [18,12,12] [0,0,0] 0.02 0.25 0 1 core
AddEmitter largesmoke 1 [-45,105,0] [18,12,12] [0,0,0] 0.02 0.25 0 1 core

//Stage 2
AddEmitter largesmoke 2 [-27,111,0] [18,8,12] [0,1,0] 0.25 0.55 0 1 core
AddEmitter largesmoke 2 [-36,109,0] [18,8,12] [0,1,0] 0.25 0.55 0 1 core
AddEmitter largesmoke 2 [-45,105,0] [18,8,12] [0,1,0] 0.25 0.55 0 1 core

//Stage 3
AddEmitter explode 2 [-27,111,0] [18,6,12] [-0.5,2,0] 0.55 0.8 0 1 core
AddEmitter explode 2 [-36,109,0] [18,6,12] [-0.5,2,0] 0.55 0.8 0 1 core
AddEmitter explode 2 [-45,105,0] [18,6,12] [-0.5,2,0] 0.55 0.8 0 1 core

//Stage 4
AddEmitter explode 2 [-27,111,0] [18,6,12] [-0.5,3,0] 0.8 1 0 1 core
AddEmitter explode 2 [-36,109,0] [18,6,12] [-0.5,3,0] 0.8 1 0 1 core
AddEmitter explode 2 [-45,105,0] [18,6,12] [-0.5,3,0] 0.8 1 0 1 core

//Owie 1
AddEmitter largesmoke 4 [-27,111,0] [16,14,12] [-0.25,0,0] -1 1 0 0.4 core
AddEmitter largesmoke 4 [-36,109,0] [16,14,12] [-0.25,0,0] -1 1 0 0.4 core
AddEmitter largesmoke 4 [-45,105,0] [16,14,12] [-0.25,0,0] -1 1 0 0.4 core

//Owie 2
AddEmitter flame 2 [-27,111,0] [16,13,12] [-0.25,2,0] -1 1 0 0.2 core
AddEmitter flame 2 [-36,109,0] [16,13,12] [-0.25,2,0] -1 1 0 0.2 core
AddEmitter flame 2 [-45,105,0] [16,13,12] [-0.25,2,0] -1 1 0 0.2 core
