// ------------------------------------------------------ Naming ------------------------------------------------------
Name USS Raleigh CL-7
ShortName ussRaleigh1941
ItemID 120741
// ------------------------------------------------------ Visuals ------------------------------------------------------
Icon ussRaleigh1941
Model rainfire.Raleigh1941
Texture SkinRaleigh1941
//Third Person Camera Distance
CameraDistance 56.0
// ------------------------------------------------------ Movement ------------------------------------------------------
//Throttle
MaxThrottle 0.916
MaxNegativeThrottle 0.45
ThrottleDecay 0.0
//Steering modifiers
TurnLeftSpeed 0.165
TurnRightSpeed 0.165
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 -16 -12
WheelPosition 1 -436 -16 12
WheelPosition 2 406 -16 12
WheelPosition 3 406 -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 8
ShootDelaySecondary 1
//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 67 40 41 core 
ShootPointPrimary 12 38 41 core 
ShootPointPrimary -28 37 45 core 
ShootPointPrimary -59 37 45 core 
ShootPointPrimary 67 40 -41 core 
ShootPointPrimary 12 38 -41 core 
ShootPointPrimary -28 37 -45 core 
ShootPointPrimary -59 37 -45 core 
ShootPointSecondary 278 78 0 core browningM2
ShootPointSecondary 230 160 16 core browningM2
ShootPointSecondary 197 160 16 core browningM2
ShootPointSecondary -58 72 20 core browningM2
ShootPointSecondary -199 81 0 core browningM2
ShootPointSecondary -58 72 -20 core browningM2
ShootPointSecondary 197 160 -16 core browningM2
ShootPointSecondary 230 160 -16 core browningM2
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 8
AllowAllAmmo False
AddAmmo 3in50ShellAAC
AddAmmo 3in50ShellHC
AddAmmo 3in50ShellAP
//Fuel Tank Size (1 point of fuel will keep one propeller going with throttle at 1 for 1 tick)
FuelTankSize 15700
// ------------------------------------------------------ Passengers ------------------------------------------------------
Driver 225 90 0
Passengers 12
Passenger 1 312 54 0 turret1 -150 150 -10 30 6in53Mk12Gun TurretI
GunOrigin 1 312 46 0
Passenger 2 -357 27 0 turret2 40 320 -10 30 6in53Mk12Gun TurretII
GunOrigin 2 -357 19 0
Passenger 3 258 48 27 turret4 0 130 -10 20 6in53Mk12SingleGun StbdCasemateI
GunOrigin 3 258 40 27
Passenger 4 258 60 12 turret6 0 130 -10 20 6in53Mk12SingleGun StbdCasemateII
GunOrigin 4 258 52 15
Passenger 5 -253 39 21 turret7 0 150 -10 20 6in53Mk12SingleGun StbdCasemateIII
GunOrigin 5 -253 31 24
Passenger 6 258 48 -27 turret3 -130 0 -10 20 6in53Mk12SingleGun PortCasemateI
GunOrigin 6 258 40 -27
Passenger 7 258 60 -12 turret5 -130 0 -10 20 6in53Mk12SingleGun PortCasemateII
GunOrigin 7 258 52 -15
Passenger 8 -252 39 -21 turret8 -150 0 -10 20 6in53Mk12SingleGun PortCasemateIII
GunOrigin 8 -252 31 -24
Passenger 9 -207 24 21 core 20 160 0 0 53cmTorpShip StbdTorpedoTubes
GunOrigin 9 -172 18 26
Passenger 10 -207 24 -21 core -160 -20 0 0 53cmTorpShip PortTorpedoTubes
GunOrigin 10 -172 18 -26
Passenger 11 -126 30 -30 core
Passenger 12 -126 30 30 core

PassengerAimSpeed 1 1.0 0.75 0
PassengerAimSpeed 2 1.0 0.75 0
PassengerAimSpeed 3 0.5 0.5 0
PassengerAimSpeed 4 0.5 0.5 0
PassengerAimSpeed 5 0.5 0.5 0
PassengerAimSpeed 6 0.5 0.5 0
PassengerAimSpeed 7 0.5 0.5 0
PassengerAimSpeed 8 0.5 0.5 0
PassengerAimSpeed 9 0.5 0.5 0
PassengerAimSpeed 10 0.5 0.5 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 3inGunAuto
ShootSoundSecondary M2Fire
//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 6500t
AddRecipeParts core 4 navalSteelSegment1000
AddRecipeParts belt 2 navalSteelSegment500
AddRecipeParts leftTrack 6 boiler 2 steamTurbine
AddRecipeParts rightTrack 6 boiler 2 steamTurbine
AddRecipeParts steering 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
//Health and collision 7115t, 19565hp. Casemates are counted towards hp, but not turrets.
SetupPart core 6165 -266 -27 -35 556 45 70 76
SetupPart belt 5000 -276 -30 -44 575 54 88 76
SetupPart leftTrack 500 22 -24 -27 115 34 54
SetupPart rightTrack 500 -93 -24 -27 115 34 54
SetupPart steering 500 -210 -27 -15 64 25 25
SetupPart stern 1200 -444 -30 -26 168 42 52 13
SetupPart bow 1200 278 -30 -26 165 64 52 13
SetupPart superstructure 1500 187 27 -27 60 64 54 38
SetupPart turret1 1000 310 34 -10 20 20 20 25
SetupPart turret2 1000 -375 8 -10 20 20 20 25
SetupPart turret3 500 247 33 -36 21 16 21 19
SetupPart turret4 500 247 49 -27 21 13 21 19
SetupPart turret5 500 247 33 15 21 16 21 19
SetupPart turret6 500 247 49 6 21 13 21 19
SetupPart turret7 500 -264 22 -30 21 20 21 19
SetupPart turret8 500 -264 22 9 21 20 21 19
BulletDetection 18
ModelScale 1.2
Description An Omaha-class light cruiser in a 1941 appearance with_8x .50 MG and 3"/50 Mk.10 AA guns._Displ. - 7115t | L.D. - 1920_Length - 56.44m | Beam - 5.62m | Draft - 1.45m_Spd. - 35kn | Rng. - 15700 | 4x Steam Turbines | 12x Boilers
Boat
PlaceableOnLand False
PlaceableOnWater True
FloatOnWater True
WheelStepHeight 0
Buoyancy 0.08
CollisionDamageEnable true
CollisionDamageThrottle 0.35
CollisionDamageTimes 40
DriverAimSpeed 4.5 5.5 0
BulletSpeed 6
BulletSpread 3
RotateWheels True
//Radar stuff, range in blocks and delay in ticks. Visible means if it does/doesn't have stealth, offset the lowness on screen. For gun director equipped ships without radar, round up 100 relative to the gun range, then multiply by 1.25.
hasRadar true
radarPositionOffset 25
radarRange 625
radarVisible true
radarRefreshDelay 30
IsExplosionWhenDestroyed true
DeathExplosionRadius 20
DeathExplosionDamageVsVehicle 1.5
DeathExplosionDamageVsLiving 100.0
DeathExplosionDamageVsPlane 1.5
//isExplosionWhenDestroyedRadius 25
//bigDeath True

////Smonkstaks

//Stage 1
AddEmitter largesmoke 1 [113,99,0] [7,12,5] [0,0,0] 0.03 0.2 0 1 core
AddEmitter largesmoke 1 [64,96,0] [7,12,5] [0,0,0] 0.03 0.2 0 1 core

//Stage 2
AddEmitter largesmoke 1 [113,99,0] [7,12,5] [0,0,0] 0.2 0.4 0 1 core
AddEmitter largesmoke 1 [64,96,0] [7,12,5] [0,0,0] 0.2 0.4 0 1 core
AddEmitter largesmoke 1 [-36,93,0] [7,12,5] [0,0,0] 0.2 0.4 0 1 core

//Stage 3
AddEmitter largesmoke 1 [113,99,0] [7,12,5] [0,0,0] 0.4 0.75 0 1 core
AddEmitter largesmoke 1 [64,96,0] [7,12,5] [0,0,0] 0.4 0.75 0 1 core
AddEmitter largesmoke 1 [-36,93,0] [7,12,5] [0,0,0] 0.4 0.75 0 1 core
AddEmitter largesmoke 1 [-84,93,0] [7,12,5] [0,0,0] 0.4 0.75 0 1 core

//Stage 4
AddEmitter explode 1 [113,99,0] [7,12,5] [-0.1,0,0] 0.7 1 0 1 core
AddEmitter explode 1 [64,96,0] [7,12,5] [-0.1,0,0] 0.7 1 0 1 core
AddEmitter explode 1 [-36,93,0] [7,12,5] [-0.1,0,0] 0.7 1 0 1 core
AddEmitter explode 1 [-84,93,0] [7,12,5] [-0.1,0,0] 0.7 1 0 1 core

//Owie 1
AddEmitter largesmoke 4 [113,99,0] [3,10,3] [-0.2,0,0] -1 1 0 0.4 core
AddEmitter largesmoke 4 [64,96,0] [3,10,3] [-0.2,0,0] -1 1 0 0.4 core
AddEmitter largesmoke 4 [-36,93,0] [3,10,3] [-0.2,0,0] -1 1 0 0.4 core
AddEmitter largesmoke 4 [-84,93,0] [3,10,3] [-0.2,0,0] -1 1 0 0.4 core

//Owie 2
AddEmitter flame 2 [113,99,0] [3,5,3] [-0.2,0,0] -1 1 0 0.2 core
AddEmitter flame 2 [64,96,0] [3,5,3] [-0.2,0,0] -1 1 0 0.2 core
AddEmitter flame 2 [-36,93,0] [3,5,3] [-0.2,0,0] -1 1 0 0.2 core
AddEmitter flame 2 [-84,93,0] [3,5,3] [-0.2,0,0] -1 1 0 0.2 core
