// ------------------------------------------------------ Naming ------------------------------------------------------
Name 5"/38 Mk.12 Twin Mount Mk.28
ShortName 5in38TwinGunMount
ItemID 23287
// ------------------------------------------------------ Visuals ------------------------------------------------------
Icon 5inMk28mod2
Model rainfire.5in38Mk12TwinMount
Texture Skin5in38TwinGunMount
//Third Person Camera Distance
CameraDistance 10.0
// ------------------------------------------------------ Movement ------------------------------------------------------
//Throttle
MaxThrottle 0
MaxNegativeThrottle 0
//Steering modifiers
TurnLeftSpeed 0
TurnRightSpeed 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 -22 -9 -14
WheelPosition 1 -22 -9 14
WheelPosition 2 22 -9 14
WheelPosition 3 22 -9 -14
WheelSpringStrength 0.25
//If true, then all wheels will apply drive forces
FourWheelDrive true
//Tank mode activate
Tank true
// ------------------------------------------------------ Weaponry ------------------------------------------------------
//Weapon types. Options are Missile, Bomb, Gun, Shell, None
Primary Shell
Secondary Shell
//Time between shots in 1/20ths of seconds
ShootDelayPrimary 60
ShootDelaySecondary 60
//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 100 28 -18 turret
ShootPointSecondary 100 28 18 turret
ShootParticlesPrimary largeexplode 6 0 0
ShootParticlesPrimary largeexplode 6 0 0
ShootParticlesPrimary largeexplode 6 0 0
ShootParticlesPrimary explode 1 0 0
ShootParticlesPrimary explode 1 0 0
ShootParticlesPrimary explode 2 0 0
ShootParticlesPrimary cloud 3 0 0
ShootParticlesPrimary cloud 3 0 0
ShootParticlesSecondary largeexplode 6 0 0
ShootParticlesSecondary largeexplode 6 0 0
ShootParticlesSecondary largeexplode 6 0 0
ShootParticlesSecondary explode 1 0 0
ShootParticlesSecondary explode 1 0 0
ShootParticlesSecondary explode 2 0 0
ShootParticlesSecondary cloud 3 0 0
ShootParticlesSecondary cloud 3 0 0
// ------------------------------------------------------ Inventory ------------------------------------------------------
CargoSlots 2
BombSlots 0
MissileSlots 2
AddAmmo 5in38ShellHE
AddAmmo 5in38ShellAP
AddAmmo 5in38ShellAA
AddAmmo shittyShell
//Fuel Tank Size (1 point of fuel will keep one propeller going with throttle at 1 for 1 tick)
FuelTankSize 100
// ------------------------------------------------------ Passengers ------------------------------------------------------
Driver 0 42 0 -360 360 -6 85
RotatedDriverOffset -20 0 0
Passengers 0
// ------------------------------------------------------- Sounds -------------------------------------------------------
StartSound None
StartSoundLength 0
EngineSound None
EngineSoundLength 0
ShootSoundPrimary 5inGun
ShootSoundSecondary 5inGun
//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 turret 1 vehicleSeat 2 5in38Mk30Gun 10 navalSteelAlloy
AddRecipeParts core 16 ingotIron
//Dye colours are "black", "red", "green", "brown", "blue", "purple", "cyan", "silver", "gray", "pink", "lime", "yellow", "lightBlue", "magenta", "orange", "white"
AddDye 5 gray
AddDye 2 black
//Health and collision
SetupPart core 1400 -23 -10 -29 54 10 59
SetupPart turret 2400 -45 0 -30 79 45 60
BulletDetection 2
ModelScale 3.6
SetPlayerInvisible false
DriverAimSpeed 2 1.2 0
DriverYawBeforePitch false
DriverTraverseSounds true
YawSound TurretTraverse1
YawSoundLength 19
PitchSound TurretTraverse2
PitchSoundLength 18
BulletSpeed 6
BulletSpread 1.5
//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
Description Land mount of the 5in/38 Mk.28 turret taken from a modernized battleship.