// ------------------------------------------------------ Naming ------------------------------------------------------
Name 51cm/45 Type 98 Twin-Gun Mount
ShortName 51cmTwinMount
ItemID 23287
// ------------------------------------------------------ Visuals ------------------------------------------------------
Icon yeSekritDocumentsIntensify
Model rainfire.51cmTwinGun
Texture Skin51cmTwinGun
//Third Person Camera Distance
CameraDistance 25.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 -46 -9 -47
WheelPosition 1 -46 -9 47
WheelPosition 2 46 -9 47
WheelPosition 3 46 -9 -47
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 640
ShootDelaySecondary 640
//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
ShootPointPrimary 312 66.5 -27 turret
ShootPointSecondary 312 66.5 22 turret
ShootParticlesPrimary hugeexplosion 3 0 0
ShootParticlesPrimary hugeexplosion 3 0 0
ShootParticlesPrimary hugeexplosion 3 0 1
ShootParticlesPrimary hugeexplosion 3 0 -1
ShootParticlesPrimary hugeexplosion 4 0 0
ShootParticlesPrimary hugeexplosion 4 0 0
ShootParticlesPrimary largeexplode 5 0 1
ShootParticlesPrimary largeexplode 5 0 -1
ShootParticlesPrimary largeexplode 5 0 0
ShootParticlesPrimary largeexplode 5 0 0
ShootParticlesPrimary largeexplode 6 0 0
ShootParticlesPrimary largeexplode 6 0 0
ShootParticlesPrimary explode 5 0 0
ShootParticlesPrimary explode 5 0 0
ShootParticlesPrimary explode 5 0 -1
ShootParticlesPrimary explode 5 0 1
ShootParticlesPrimary explode 6 0 0
ShootParticlesPrimary explode 6 0 0
ShootParticlesPrimary explode 6 0 0
ShootParticlesPrimary explode 6 0 0
ShootParticlesPrimary cloud 6 0 0
ShootParticlesPrimary cloud 6 0 0
ShootParticlesPrimary cloud 6 0 0
ShootParticlesPrimary cloud 6 0 0
ShootParticlesPrimary cloud 6 0 0
ShootParticlesPrimary cloud 6 0 0
ShootParticlesPrimary cloud 7 0 0
ShootParticlesPrimary cloud 7 0 0
ShootParticlesPrimary cloud 7 0 0
ShootParticlesPrimary cloud 7 0 0
ShootParticlesPrimary cloud 7 0 0
ShootParticlesPrimary cloud 7 0 0
ShootParticlesSecondary hugeexplosion 3 0 0
ShootParticlesSecondary hugeexplosion 3 0 0
ShootParticlesSecondary hugeexplosion 3 0 1
ShootParticlesSecondary hugeexplosion 3 0 -1
ShootParticlesSecondary hugeexplosion 4 0 0
ShootParticlesSecondary hugeexplosion 4 0 0
ShootParticlesSecondary largeexplode 5 0 1
ShootParticlesSecondary largeexplode 5 0 -1
ShootParticlesSecondary largeexplode 5 0 0
ShootParticlesSecondary largeexplode 5 0 0
ShootParticlesSecondary largeexplode 6 0 0
ShootParticlesSecondary largeexplode 6 0 0
ShootParticlesSecondary explode 5 0 0
ShootParticlesSecondary explode 5 0 0
ShootParticlesSecondary explode 5 0 -1
ShootParticlesSecondary explode 5 0 1
ShootParticlesSecondary explode 5 0 0
ShootParticlesSecondary explode 5 0 0
ShootParticlesSecondary explode 5 0 0
ShootParticlesSecondary explode 5 0 0
ShootParticlesSecondary cloud 6 0 0
ShootParticlesSecondary cloud 6 0 0
ShootParticlesSecondary cloud 6 0 0
ShootParticlesSecondary cloud 6 0 0
ShootParticlesSecondary cloud 6 0 0
ShootParticlesSecondary cloud 6 0 0
ShootParticlesSecondary cloud 7 0 0
ShootParticlesSecondary cloud 7 0 0
ShootParticlesSecondary cloud 7 0 0
ShootParticlesSecondary cloud 7 0 0
ShootParticlesSecondary cloud 7 0 0
ShootParticlesSecondary cloud 7 0 0
// ------------------------------------------------------ Inventory ------------------------------------------------------
CargoSlots 2
BombSlots 0
ShellSlots 2
AllowAllAmmo False
AddAmmo 51cmAPShell
AddAmmo 51cmHEShell
AddAmmo type3Sanshikidan51cm
//Fuel Tank Size (1 point of fuel will keep one propeller going with throttle at 1 for 1 tick)
FuelTankSize 1000
// ------------------------------------------------------ Passengers ------------------------------------------------------
Driver 0 80 0 -360 360 -5 45
RotatedDriverOffset -24 0 0
Passengers 0
// ------------------------------------------------------- Sounds -------------------------------------------------------
StartSound None
StartSoundLength 0
EngineSound None
EngineSoundLength 0
ShootSoundPrimary 51cmFire
ShootSoundSecondary 51cmFire
//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 1 51cmGun
AddRecipeParts core 64 ingotIron
//Dye colours are "black", "red", "green", "brown", "blue", "purple", "cyan", "silver", "gray", "pink", "lime", "yellow", "lightBlue", "magenta", "orange", "white"
AddDye 10 gray
AddDye 4 black
AddDye 8 yellow
//Health and collision
SetupPart core 6000 -67 -9 -72 129 37 142 460
SetupPart turret 12000 -86 29 -72 150 32 142 660
BulletDetection 14
ModelScale 3.2
SetPlayerInvisible true
DriverAimSpeed 0.2 0.5 0
DriverYawBeforePitch false
DriverTraverseSounds true
YawSound shipTurret
YawSoundLength 19
PitchSound shipTurret
PitchSoundLength 18
BulletSpeed 16
BulletSpread 3
//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 1500
radarVisible true
radarRefreshDelay 35
DeathExplosionRadius 40
DeathExplosionDamageVsVehicle 2.0
DeathExplosionDamageVsLiving 300.0
DeathExplosionDamageVsPlane 3.0
//isExplosionWhenDestroyedRadius 25
//bigDeath True
Description Land-mount of prototype 51cm Twin-Gun Mount used on A-150._Load time: 32 seconds.