// ------------------------------------------------------ Naming ------------------------------------------------------
Name USS Arizona BB-39 (1941)
ShortName ussArizona1941
ItemID 12741
// ------------------------------------------------------ Visuals ------------------------------------------------------
Icon USSArizona1941
Model rainfire.Arizona1941
Texture SkinArizona1941
//Third Person Camera Distance
CameraDistance 56.0
// ------------------------------------------------------ Movement ------------------------------------------------------
//Throttle
MaxThrottle 0.552
MaxNegativeThrottle 0.3
ThrottleDecay 0.0
//Steering modifiers
TurnLeftSpeed 0.175
TurnRightSpeed 0.175
Drag 1.0
//For calculating whether wheels are on the ground or not for driving
WheelRadius 0.1
//Wheel positions for collision handling. Tanks still have 4 wheels, they are just the corner ones.
NumWheels 4
WheelPosition 0 -385 -18 -55
WheelPosition 1 -385 -18 55
WheelPosition 2 360 -18 57
WheelPosition 3 360 -18 -57
WheelSpringStrength 0.5
//If true, then all wheels will apply drive forces
FourWheelDrive false
// ------------------------------------------------------ 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 15
//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 123 52 58 core 
ShootPointPrimary 123 52 -58 core 
ShootPointPrimary 77 52 69 core 
ShootPointPrimary 77 52 -69 core 
ShootPointPrimary 27 52 79 core 
ShootPointPrimary 27 52 -79 core 
ShootPointPrimary -25 52 68 core 
ShootPointPrimary -25 52 -68 core 
ShootPointSecondary 156 34 62 core 5in51Gun
ShootPointSecondary 156 34 -62 core 5in51Gun
ShootPointSecondary 115 34 77 core 5in51Gun
ShootPointSecondary 115 34 -75 core 5in51Gun
ShootPointSecondary 62 34 88 core 5in51Gun
ShootPointSecondary 62 34 -88 core 5in51Gun
ShootPointSecondary -5 34 88 core 5in51Gun
ShootPointSecondary -5 34 -88 core 5in51Gun
ShootPointSecondary -55 34 78 core 5in51Gun
ShootPointSecondary -55 34 -78 core 5in51Gun
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 largeexplode 0.6 0 0
ShootParticlesSecondary explode 0.7 0 0
ShootParticlesSecondary cloud 0.6 0 0
ShootParticlesSecondary cloud 0.6 0 0
------- Inventory ------------------------------------------------------
CargoSlots 32
BombSlots 0
ShellSlots 8
AllowAllAmmo False
AddAmmo 5in25ShellAA
AddAmmo 12.7cmShellAA
//Fuel Tank Size (1 point of fuel will keep one propeller going with throttle at 1 for 1 tick)
FuelTankSize 15000
// ------------------------------------------------------ Passengers ------------------------------------------------------
Driver 110 110 0 -360 360 -10 65
Passengers 4
Passenger 1 274 50 0 turret1 -150 150 -5 30 14in45Mk10Gun TurretI
GunOrigin 1 274 44 0
Passenger 2 194 67 0 turret2 -150 150 -5 30 14in45Mk10Gun TurretII
GunOrigin 2 194 64 0
Passenger 3 -194 54 0 turret3 50 310 -5 30 14in45Mk10Gun TurretIII
GunOrigin 3 -194 50 0
Passenger 4 -278 35 0 turret4 50 310 -5 30 14in45Mk10Gun TurretIV
GunOrigin 4 -278 32 0
PassengerAimSpeed 1 0.3 0.2 0
PassengerAimSpeed 2 0.3 0.2 0
PassengerAimSpeed 3 0.3 0.2 0
PassengerAimSpeed 4 0.3 0.2 0
//Passenger turret sounds
PassengerTraverseSounds 1 true
PassengerTraverseSounds 2 true
PassengerTraverseSounds 3 true
PassengerTraverseSounds 4 true
//Turret 1
PassengerPitchSound 1 shipTurret
PassengerPitchSoundLength 1 19
PassengerYawSound 1 shipTurret
PassengerYawSoundLength 1 18
//Turret 2
PassengerPitchSound 2 shipTurret
PassengerPitchSoundLength 2 19
PassengerYawSound 2 shipTurret
PassengerYawSoundLength 2 18
//Turret 3
PassengerPitchSound 3 shipTurret
PassengerPitchSoundLength 3 19
PassengerYawSound 3 shipTurret
PassengerYawSoundLength 3 18
//Turret 4
PassengerPitchSound 4 shipTurret
PassengerPitchSoundLength 4 19
PassengerYawSound 4 shipTurret
PassengerYawSoundLength 4 18
// ------------------------------------------------------- Sounds -------------------------------------------------------
StartSound ShipEngine3
StartSoundLength 120
EngineSound ShipEngine2
EngineSoundLength 111
ShootSoundPrimary 5inGun
ShootSoundSecondary 5inGun2Auto
//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 3 navalSteelSegment5000 3 blockRedstone
AddRecipeParts citadel 1 navalSteelSegment1000
AddRecipeParts bulkhead 2 navalSteelSegment500
AddRecipeParts bow 1 navalSteelSegment500
AddRecipeParts stern 1 navalSteelSegment500
AddRecipeParts belt 1 navalSteelSegment1000
AddRecipeParts leftsideArmor 3 navalSteelSegment1000
AddRecipeParts rightsideArmor 3 navalSteelSegment1000
AddRecipeParts torpedoBulge 1 navalSteelSegment500
AddRecipeParts torpedoBulge2 1 navalSteelSegment500
AddRecipeParts deck 1 navalSteelSegment1000
AddRecipeParts deck2 1 navalSteelSegment1000
AddRecipeParts superstructure 1 navalSteelSegment500
AddRecipeParts steering 1 steamTurbine
AddRecipeParts leftTrack 3 boiler
AddRecipeParts engineRoom1 2 steamTurbine
AddRecipeParts rightTrack 3 boiler
AddRecipeParts engineRoom2 2 steamTurbine
//Dye colours are "black", "red", "green", "brown", "blue", "purple", "cyan", "silver", "gray", "pink", "lime", "yellow", "lightBlue", "magenta", "orange", "white"
AddDye 16 red
AddDye 16 blue
AddDye 8 white
//Health and collision, 31400t, 94200hp
SetupPart core 20200 -305 -52 -36 610 45 72 25
SetupPart citadel 7000 -317 -33 -42 634 54 84 127
SetupPart bulkhead 5500 -334 -54 -54 676 62 108 343
SetupPart bow 2000 343 -61 -48 140 88 96 25
SetupPart stern 1500 -481 -45 -55 160 54 108 25
//orig 4000
SetupPart belt 13500 -385 -39 -60 766 42 120 343
SetupPart leftsideArmor 7250 -385 -39 60 766 45 15 343
SetupPart rightsideArmor 7250 -385 -39 -75 766 45 15 343
SetupPart torpedoBulge 6000 -321 -63 -90 710 60 42 38
SetupPart torpedoBulge2 6000 -321 -63 48 710 60 42 38

SetupPart deck1 6250 -406 3 -66 321 9 132 127
SetupPart deck2 6250 -85 3 -72 465 24 144 127
SetupPart superstructure 3500 -85 27 -67 258 15 132 13
SetupPart conningTower 4000 74 42 -24 55 69 48 406

SetupPart engineRoom1 2250 -155 -59 -38 94 36 38 40
SetupPart engineRoom2 2250 -155 -59 0 94 36 38 40
SetupPart leftTrack 2250 -14 -59 -38 120 36 38 40
SetupPart rightTrack 2250 -14 -59 0 120 36 38 40
SetupPart steering 1000 -196 -59 -38 40 34 76 127

SetupPart turret1 7850 174 -15 -24 48 82 48 1292
SetupPart turret2 7850 253 -34 -24 48 82 48 1292
SetupPart turret3 7850 -227 -28 -24 48 82 48 1292
SetupPart turret4 7850 -305 -45 -24 48 82 48 1292

BulletDetection 25
ModelScale 1.2
Description A Pennsylvania-class battleship famous for being attacked in Pearl Harbor,_becoming the catalyst of America's entry into WW2._Standard-Type, Battleship Division 1_Displ. - 31400t | L.D. - 1914_Length - 61.80m | Beam - 9.9m | Draft - 2.96m_Spd. - 21kn | Rng. - 15000 | 4x Steam Turbines | 6x Boilers
Boat
PlaceableOnLand False
PlaceableOnWater True
FloatOnWater True
WheelStepHeight 0
Buoyancy 0.08
CollisionDamageEnable true
CollisionDamageThrottle 0.35
CollisionDamageTimes 40
DriverAimSpeed 3.5 4 0
BulletSpeed 6
BulletSpread 2
RotateWheels True
//Radar shit, 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 1000
radarVisible true
radarRefreshDelay 30
IsExplosionWhenDestroyed true
DeathExplosionRadius 25
DeathExplosionDamageVsVehicle 2.0
DeathExplosionDamageVsLiving 200.0
DeathExplosionDamageVsPlane 2.0
//isExplosionWhenDestroyedRadius 25
//bigDeath True

////Smonkstaks

//Stage 1
AddEmitter largesmoke 1 [36,122,0] [4,2,8] [0,0,0] 0.03 0.25 0 1 core
AddEmitter largesmoke 1 [32,122,0] [4,2,8] [0,0,0] 0.03 0.25 0 1 core
AddEmitter largesmoke 1 [28,122,0] [4,2,8] [0,0,0] 0.03 0.25 0 1 core

//Stage 2
AddEmitter largesmoke 2 [36,122,0] [4,2,8] [-0.25,0,0] 0.25 0.6 0 1 core
AddEmitter largesmoke 2 [32,122,0] [4,2,8] [-0.25,0,0] 0.25 0.6 0 1 core
AddEmitter largesmoke 2 [28,122,0] [4,2,8] [-0.25,0,0] 0.25 0.6 0 1 core

//Stage 3
AddEmitter largesmoke 2 [36,122,0] [4,3,8] [0.1,0.25,0] 0.6 0.85 0 1 core
AddEmitter largesmoke 2 [32,122,0] [4,3,8] [0.1,0.25,0] 0.6 0.85 0 1 core
AddEmitter largesmoke 2 [28,122,0] [4,3,8] [0.1,0.25,0] 0.6 0.85 0 1 core

//Stage 4
AddEmitter flansmod.rocketexhaust 2 [36,122,0] [4,4,8] [0.1,0.5,0] 0.85 1 0 1 core
AddEmitter flansmod.rocketexhaust 2 [32,122,0] [4,4,8] [0.1,0.5,0] 0.85 1 0 1 core
AddEmitter flansmod.rocketexhaust 2 [28,122,0] [4,4,8] [0.1,0.5,0] 0.85 1 0 1 core

//Owie 1
AddEmitter largesmoke 3 [36,122,0] [4,6,8] [0,0,0] -1 1 0 0.4 core
AddEmitter largesmoke 3 [32,122,0] [4,6,8] [0,0,0] -1 1 0 0.4 core
AddEmitter largesmoke 3 [28,122,0] [4,6,8] [0,0,0] -1 1 0 0.4 core

//Owie 2
AddEmitter flame 2 [36,122,0] [4,3,8] [-0.25,0,0] -1 1 0 0.2 core
AddEmitter flame 2 [32,122,0] [4,3,8] [-0.25,0,0] -1 1 0 0.2 core
AddEmitter flame 2 [28,122,0] [4,3,8] [-0.25,0,0] -1 1 0 0.2 core
