// ------------------------------------------------------ Naming ------------------------------------------------------
Name USS Ward DD-139
ShortName ussWard
ItemID 7464
// ------------------------------------------------------ Visuals ------------------------------------------------------
Icon ussWickes
Model rainfire.Wickes
Texture SkinWickes
//Third Person Camera Distance
CameraDistance 34.0
// ------------------------------------------------------ Movement ------------------------------------------------------
//Throttle
MaxThrottle 0.925
MaxNegativeThrottle 0.4
ThrottleDecay 0.0
//Steering modifiers
TurnLeftSpeed 0.2
TurnRightSpeed 0.2
Drag 1.3
//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 -166 -9 -12
WheelPosition 1 -166 -9 12
WheelPosition 2 151 -9 8
WheelPosition 3 151 -9 -8
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 Missile
//Time between shots in 1/20ths of seconds
ShootDelayPrimary 20
ShootDelaySecondary 60
//Whether to alternate or fire all together
AlternatePrimary False
AlternateSecondary False
//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
ShootPointSecondary -10 6 -10 turret 
ShootPointSecondary -10 6 -14 turret 
ShootPointSecondary -10 6 -18 turret 
ShootPointPrimary -186 0 5 backWheel 
ShootPointPrimary -186 0 -5 backWheel 
ReloadTimeSecondary 120
FixedPrimary true
PrimaryAngle -1 0 0
------- Inventory ------------------------------------------------------
CargoSlots 6
BombSlots 0
MissileSlots 4
AllowAllAmmo False
AddAmmo 21inTorpedoMk8
AddAmmo 533mmTorpedo
AddAmmo ShittyTorpedo
AddAmmo type3DepthCharge
AddAmmo DepthCharge
AddAmmo depthChargeEarly
//Fuel Tank Size (1 point of fuel will keep one propeller going with throttle at 1 for 1 tick)
FuelTankSize 9100
// ------------------------------------------------------ Passengers ------------------------------------------------------
Driver 81 28 0 -360 360 -20 60
Passengers 7
Passenger 1 114 9 0 core -150 150 -15 20 4in50Mk9SingleGun PassengerGun1
GunOrigin 1 122 1 0
Passenger 2 21 15 -9 core -160 -20 -15 20 4in50Mk9SingleGun PassengerGun2
GunOrigin 2 23 7 -12
Passenger 3 21 15 9 core 20 160 -15 20 4in50Mk9SingleGun PassengerGun3
GunOrigin 3 23 7 12
Passenger 4 -126 9 0 core 40 320 -15 20 4in50Mk9SingleGun PassengerGun4
GunOrigin 4 -134 1 0
Passenger 5 -38 9 15 core 20 160 0 0 53cmTorpShip PassengerGun5
GunOrigin 5 -38 1 14
Passenger 6 -86 9 -12 core -160 -20 0 0 53cmTorpShip PassengerGun6
GunOrigin 6 -86 1 -12
Passenger 7 -107 9 12 core 20 160 0 0 53cmTorpShip PassengerGun7
GunOrigin 7 -107 1 12
PassengerAimSpeed 1 1.2 1.1 0
PassengerAimSpeed 2 1.2 1.1 0
PassengerAimSpeed 3 1.2 1.1 0
PassengerAimSpeed 4 1.2 1.1 0
PassengerAimSpeed 5 0.6 0.6 0
PassengerAimSpeed 6 0.6 0.6 0
PassengerAimSpeed 7 0.6 0.6 0
// ------------------------------------------------------- Sounds -------------------------------------------------------
StartSound ShipEngine1
StartSoundLength 94
EngineSound ShipEngine4
EngineSoundLength 86
ShootSoundPrimary bomb
ShootSoundSecondary RocketFire1
//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 1200t
AddRecipeParts core 1 navalSteelSegment1000 4 boiler
AddRecipeParts bow 1 navalSteelSegment100
AddRecipeParts stern 2 metalPropeller 1 navalSteelSegment100
//Dye colours are "black", "red", "green", "brown", "blue", "purple", "cyan", "silver", "gray", "pink", "lime", "yellow", "lightBlue", "magenta", "orange", "white"
AddDye 16 blue
AddDye 16 gray
//Health and collision, 1250t, 3750hp
SetupPart core 2250 -144 -23 -18 280 30 36 50
SetupPart bow 750 136 -23 -12 48 30 24 13
SetupPart stern 750 -190 -17 -12 46 21 24 13
BulletDetection 6
ModelScale 1
Description An American WW1-era DD famous for firing at a_Japanese mini-sub hours before the Pearl Harbor attack._Displ. - 1250t | L.D. - 1918_Length - 31.94m | Beam - 3.14m | Draft - 0.91m_Spd. - 35.3kn | Rng. - 9100 | 2x Steam Turbines | 4x Boilers
Boat
PlaceableOnLand False
PlaceableOnWater True
FloatOnWater True
WheelStepHeight 0
Buoyancy 0.08
CollisionDamageEnable true
CollisionDamageThrottle 0.35
CollisionDamageTimes 40
//TurretOrigin -22 -6 14
//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 1400
radarVisible true
//radarRefreshDelay 25
IsExplosionWhenDestroyed true
DeathExplosionRadius 12
DeathExplosionDamageVsVehicle 1.5
DeathExplosionDamageVsLiving 50.0
DeathExplosionDamageVsPlane 1.0
//isExplosionWhenDestroyedRadius 25
//bigDeath True

////Smonkstaks
CollisionPoint -50 34 0 core
CollisionPoint -34 34 0 core
CollisionPoint -6 32 0 core
CollisionPoint 11 32 0 core
//Stage 1
AddEmitter largesmoke 1 [50,34,0] [3,12,3] [0,0,0] 0.03 0.2 0 1 core
AddEmitter largesmoke 1 [34,34,0] [3,12,3] [0,0,0] 0.03 0.2 0 1 core

//Stage 2
AddEmitter largesmoke 1 [50,34,0] [3,12,3] [0,0,0] 0.2 0.4 0 1 core
AddEmitter largesmoke 1 [34,34,0] [3,12,3] [0,0,0] 0.2 0.4 0 1 core
AddEmitter largesmoke 1 [-6,32,0] [3,12,3] [0,0,0] 0.2 0.4 0 1 core

//Stage 3
AddEmitter largesmoke 1 [50,34,0] [3,12,3] [0,0,0] 0.4 0.75 0 1 core
AddEmitter largesmoke 1 [34,34,0] [3,12,3] [0,0,0] 0.4 0.75 0 1 core
AddEmitter largesmoke 1 [6,32,0] [3,12,3] [0,0,0] 0.4 0.75 0 1 core
AddEmitter largesmoke 1 [-11,32,0] [3,12,3] [0,0,0] 0.4 0.75 0 1 core

//Stage 4
AddEmitter explode 1 [50,34,0] [3,12,3] [-0.1,0,0] 0.7 1 0 1 core
AddEmitter explode 1 [34,34,0] [3,12,3] [-0.1,0,0] 0.7 1 0 1 core
AddEmitter explode 1 [6,32,0] [3,12,3] [-0.1,0,0] 0.7 1 0 1 core
AddEmitter explode 1 [-11,32,0] [3,12,3] [-0.1,0,0] 0.7 1 0 1 core

//Owie 1
AddEmitter largesmoke 4 [50,42,0] [3,10,3] [-0.2,0,0] -1 1 0 0.4 core
AddEmitter largesmoke 4 [34,41,0] [3,10,3] [-0.2,0,0] -1 1 0 0.4 core
AddEmitter largesmoke 4 [6,40,0] [3,10,3] [-0.2,0,0] -1 1 0 0.4 core
AddEmitter largesmoke 4 [-11,40,0] [3,10,3] [-0.2,0,0] -1 1 0 0.4 core

//Owie 2
AddEmitter flame 2 [50,42,0] [3,5,3] [-0.2,0,0] -1 1 0 0.2 core
AddEmitter flame 2 [34,41,0] [3,5,3] [-0.2,0,0] -1 1 0 0.2 core
AddEmitter flame 2 [6,40,0] [3,5,3] [-0.2,0,0] -1 1 0 0.2 core
AddEmitter flame 2 [-11,40,0] [3,5,3] [-0.2,0,0] -1 1 0 0.2 core
