// ------------------------------------------------------ Naming ------------------------------------------------------
Name Type 96 25mm AA/AT Gun
ShortName type96TripleMount
ItemID 23287
// ------------------------------------------------------ Visuals ------------------------------------------------------
Icon 25mmTripleMount
Model rainfire.25mmTripleMountV2
Texture Skin25mmTripleMountV2
//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 -16 -9 -10
WheelPosition 1 -16 -9 10
WheelPosition 2 12 -9 11
WheelPosition 3 12 -9 -11
WheelSpringStrength 0.5
//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 None
//Time between shots in 1/20ths of seconds
ShootDelayPrimary 6
ShootDelaySecondary 0
ReloadTimePrimary 100
ReloadSoundPrimary M1919A6Reload
EnableReloadTime true
//Whether to alternate or fire all together
AlternatePrimary True
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 32 21 6 turret
ShootPointPrimary 32 21 0 turret
ShootPointPrimary 32 21 -6 turret
ShootParticlesPrimary explode 0.5 0 0
ShootParticlesPrimary explode 0.6 0 0
ShootParticlesPrimary cloud 0.6 0 0
ShootParticlesPrimary cloud 0.7 0 0
// ------------------------------------------------------ Inventory ------------------------------------------------------
CargoSlots 4
BombSlots 0
ShellSlots 1
AllowAllAmmo False
AddAmmo type96AmmoTriple
AddAmmo type96AmmoHETriple
AddAmmo type96AmmoTracerTriple
AddAmmo type96Ammo
AddAmmo type96AmmoHE
AddAmmo type96AmmoTracer
//Fuel Tank Size (1 point of fuel will keep one propeller going with throttle at 1 for 1 tick)
FuelTankSize 100
// ------------------------------------------------------ Passengers ------------------------------------------------------
Driver 0 1 0 -360 360 -15 85
RotatedDriverOffset -11 0 -22
Passengers 0
// ------------------------------------------------------- Sounds -------------------------------------------------------
StartSound None
StartSoundLength 0
EngineSound None
EngineSoundLength 0
ShootSoundPrimary 20mmFire
//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 blockIron 2 vehicleSeat
AddRecipeParts core 8 ingotIron
//Dye colours are "black", "red", "green", "brown", "blue", "purple", "cyan", "silver", "gray", "pink", "lime", "yellow", "lightBlue", "magenta", "orange", "white"
AddDye 10 gray
AddDye 10 black
//Health and collision
SetupPart core 100 -24 -10 -18 40 4 36
SetupPart turret 240 -15 -6 -13 22 23 26
BulletDetection 20
ModelScale 2
Description Although vastly inferior to a Bofors, it served aboard every_major IJN warship during WW2.
DriverAimSpeed 1.6 1.2 0
DriverYawBeforePitch true
DriverTraverseSounds true
YawSound TurretElectric1
YawSoundLength 21
PitchSound TurretElectric1
PitchSoundLength 20
BulletSpeed 24
BulletSpread 2.5
TurretOrigin -2 -4 0