// ------------------------------------------------------ Naming ------------------------------------------------------
Name USS William D. Porter DD-579
ShortName ussWillyDPorter
ItemID 81945
// ------------------------------------------------------ Visuals ------------------------------------------------------
Icon ussWDP
Model rainfire.Fletcher
Texture SkinWillyDPorter
//Third Person Camera Distance
CameraDistance 40.0
// ------------------------------------------------------ Movement ------------------------------------------------------
//Throttle
MaxThrottle 0.93
MaxNegativeThrottle 0.4
ThrottleDecay 0.0
//Steering modifiers
TurnLeftSpeed 0.2
TurnRightSpeed 0.2
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 -300 -9 -24
WheelPosition 1 -300 -9 24
WheelPosition 2 272 -9 14
WheelPosition 3 272 -9 -14
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 Missile
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 -10 27 9 turret
ShootPointPrimary -10 27 5 turret
ShootPointPrimary -10 27 0 turret
ShootPointPrimary -10 27 -5 turret
ShootPointPrimary -10 27 -9 turret
ShootPointSecondary -76 9 32 core olerikon20mm
ShootPointSecondary -76 9 -32 core olerikon20mm
ShootPointSecondary -110 9 -32 core olerikon20mm
ShootPointSecondary -110 9 32 core olerikon20mm
ShootPointSecondary -274 12 0 core olerikon20mm
ShootPointSecondary -287 12 8 core olerikon20mm
ShootPointSecondary -287 12 -8 core olerikon20mm
ShootPointSecondary -165 37 -3 core bofors40mmGun
ShootPointSecondary -165 37 3 core bofors40mmGun
ShootPointSecondary 139 36 15 core bofors40mmGun
ShootPointSecondary 139 36 -15 core bofors40mmGun
ShootParticlesSecondary cloud 0.2 0 0
------- Inventory ------------------------------------------------------
CargoSlots 8
BombSlots 0
MissileSlots 3
AllowAllAmmo False
AddAmmo 21inTorpedo
AddAmmo 533mmTorpedo
AddAmmo 533mmTorpedoSmart
AddAmmo ShittyTorpedo
//Fuel Tank Size (1 point of fuel will keep one propeller going with throttle at 1 for 1 tick)
FuelTankSize 10200
// ------------------------------------------------------ Passengers ------------------------------------------------------
Driver 96 74 0 -360 360 -5 85
Passengers 7
Passenger 1 148 41 0 turret2 -125 125 -5 85 5in38Mk30Gun PassengerGun1
GunOrigin 1 148 31 0
Passenger 2 188 30 0 turret1 -135 135 -5 85 5in38Mk30Gun PassengerGun2
GunOrigin 2 188 20 0
Passenger 3 -120 30 0 turret3 -135 135 -5 85 5in38Mk30Gun PassengerGun3
GunOrigin 3 -120 20 0
Passenger 4 -174 30 0 turret4 35 305 -5 85 5in38Mk30Gun PassengerGun4
GunOrigin 4 -174 20 0
Passenger 5 -216 18 0 turret5 35 305 -5 85 5in38Mk30Gun PassengerGun5
GunOrigin 5 -216 8 0
Passenger 6 -79 31 0 core -120 120 0 0 21inTorpShip PassengerGun6
GunOrigin 6 -79 19 0
Passenger 7 -303 8 0 core
PassengerAimSpeed 1 2.9 1.8 0
PassengerAimSpeed 2 2.9 1.8 0
PassengerAimSpeed 3 2.9 1.8 0
PassengerAimSpeed 4 2.9 1.8 0
PassengerAimSpeed 5 2.9 1.8 0
PassengerAimSpeed 6 0.6 0.6 0
//Passenger turret sounds
PassengerTraverseSounds 1 true
PassengerTraverseSounds 2 true
PassengerTraverseSounds 3 true
PassengerTraverseSounds 4 true
PassengerTraverseSounds 5 true
PassengerTraverseSounds 6 true
//Turret 1
PassengerPitchSound 1 TurretElectric2
PassengerPitchSoundLength 1 20
PassengerYawSound 1 TurretElectric2
PassengerYawSoundLength 1 19
//Turret 2
PassengerPitchSound 2 TurretElectric2
PassengerPitchSoundLength 2 20
PassengerYawSound 2 TurretElectric2
PassengerYawSoundLength 2 19
//Turret 3
PassengerPitchSound 3 TurretElectric2
PassengerPitchSoundLength 3 20
PassengerYawSound 3 TurretElectric2
PassengerYawSoundLength 3 19
//Turret 4
PassengerPitchSound 4 TurretElectric2
PassengerPitchSoundLength 4 20
PassengerYawSound 4 TurretElectric2
PassengerYawSoundLength 4 19
//Turret 5
PassengerPitchSound 5 TurretElectric2
PassengerPitchSoundLength 5 20
PassengerYawSound 5 TurretElectric2
PassengerYawSoundLength 5 19
//Turret 6
PassengerPitchSound 6 TurretElectric3
PassengerPitchSoundLength 6 20
PassengerYawSound 6 TurretElectric3
PassengerYawSoundLength 6 19
// ------------------------------------------------------- Sounds -------------------------------------------------------
StartSound ShipEngine1
StartSoundLength 94
EngineSound ShipEngine4
EngineSoundLength 86
ShootSoundPrimary RocketFire1
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 1800t
AddRecipeParts core 1 navalSteelSegment1000 8 blockRedstone 2 boiler 2 steamTurbine
AddRecipeParts bow 4 navalSteelSegment100
AddRecipeParts stern 4 navalSteelSegment100 2 metalPropeller
//Dye colours are "black", "red", "green", "brown", "blue", "purple", "cyan", "silver", "gray", "pink", "lime", "yellow", "lightBlue", "magenta", "orange", "white"
AddDye 16 gray
AddDye 24 blue
//Health and collision, 2050t 6150hp
SetupPart core 4150 -202 -30 -32 352 37 64 50
SetupPart bow 1000 150 -30 -24 140 42 48 13
SetupPart stern 1000 -317 -19 -30 115 24 60 13
SetupPart turret2 410 185 16 -8 16 18 16 19
SetupPart turret1 410 145 28 -8 16 16 16 19
SetupPart turret3 410 -123 18 -8 16 16 16 19
SetupPart turret4 410 -187 19 -8 16 16 16 19
SetupPart turret5 410 -229 5 -8 16 16 16 19
BulletDetection 16
ModelScale 1.17
Description An American Fletcher-class DD famous for_almost killing FDR amongst other things._Displ. - 2050t | L.D. - 1942_Length - 38.26m | Beam - 4m | Draft - 1.76m_Spd. - 36.5kn | Rng. - 10200 | 2x Steam Turbines | 2x Boilers
Boat
PlaceableOnLand False
PlaceableOnWater True
FloatOnWater True
WheelStepHeight 0
Buoyancy 0.08
IsExplosionWhenDestroyed true
CollisionDamageEnable true
CollisionDamageThrottle 0.35
CollisionDamageTimes 40
DriverAimSpeed 3.5 4.5 0
ReloadTimePrimary 120
//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 15
DeathExplosionDamageVsVehicle 2.0
DeathExplosionDamageVsLiving 100.0
DeathExplosionDamageVsPlane 1.0
//isExplosionWhenDestroyedRadius 25
//bigDeath True
AdvPaintjob Plain-Jane-Gray ussWDPgray SkinFletcherPlainGray
AdvPaintjob Plain-Jane-Blue ussWDPplain SkinFletcherPlainBlue

////Smonkstacs

//Stage 1
AddEmitter largesmoke 2 [32,57,0] [2,1,3] [0,0,0] 0.03 0.35 0 1 core
AddEmitter largesmoke 2 [29,54,0] [2,1,3] [0,0,0] 0.03 0.35 0 1 core
AddEmitter largesmoke 2 [27,47,0] [1,1,3] [0,0,0] 0.03 0.35 0 1 core

AddEmitter largesmoke 2 [-33,53,0] [2,1,3] [0,0,0] 0.03 0.35 0 1 core
AddEmitter largesmoke 2 [-37,50,0] [2,1,3] [0,0,0] 0.03 0.35 0 1 core
AddEmitter largesmoke 2 [-39,47,0] [1,1,3] [0,0,0] 0.03 0.35 0 1 core

//Stage 2
AddEmitter explode 2 [32,57,0] [2,2,3] [-0.25,1.5,0] 0.35 0.70 0 1 core
AddEmitter explode 2 [29,54,0] [2,2,3] [-0.25,1.5,0] 0.35 0.70 0 1 core
AddEmitter explode 2 [27,47,0] [1,2,3] [-0.25,1.5,0] 0.35 0.70 0 1 core

AddEmitter explode 2 [-33,53,0] [2,2,3] [-0.25,1.5,0] 0.35 0.70 0 1 core
AddEmitter explode 2 [-37,50,0] [2,2,3] [-0.25,1.5,0] 0.35 0.70 0 1 core
AddEmitter explode 2 [-39,47,0] [1,2,3] [-0.25,1.5,0] 0.35 0.70 0 1 core

//Stage 3
AddEmitter explode 3 [32,57,0] [2,2,3] [-0.3,2,0] 0.65 2 0 1 core
AddEmitter explode 3 [29,54,0] [2,2,3] [-0.3,2,0] 0.65 2 0 1 core
AddEmitter explode 3 [27,47,0] [2,2,3] [-0.3,2,0] 0.65 2 0 1 core

AddEmitter explode 3 [-33,53,0] [2,2,3] [-0.3,2,0] 0.65 1 0 1 core
AddEmitter explode 3 [-37,50,0] [2,2,3] [-0.3,2,0] 0.65 1 0 1 core
AddEmitter explode 3 [-39,47,0] [2,2,3] [-0.3,2,0] 0.65 1 0 1 core