// ------------------------------------------------------ Naming ------------------------------------------------------
Name 28cm SK C/34 Triple Gun Turret "Caesar"
ShortName 28cmSKC34GneisenauTurret
ItemID 23287
// ------------------------------------------------------ Visuals ------------------------------------------------------
Icon 28cmSKC34Caesar
Model rainfire.28cmSKC34TripleGunTurret
Texture Skin28cmSKC34CoastalTurret
//Third Person Camera Distance
CameraDistance 20.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 300
ShootDelaySecondary 300
//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 185 34 39 turret
ShootPointPrimary 185 34 -39 turret
ShootPointSecondary 185 34 0 turret
ShootParticlesPrimary hugeexplosion 3 0 0
ShootParticlesPrimary hugeexplosion 3 0 1
ShootParticlesPrimary hugeexplosion 3 0 -1
ShootParticlesPrimary hugeexplosion 4 0 0
ShootParticlesPrimary largeexplode 5 0 1
ShootParticlesPrimary largeexplode 5 0 -1
ShootParticlesPrimary largeexplode 5 0 0
ShootParticlesPrimary largeexplode 6 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 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
ShootParticlesSecondary hugeexplosion 3 0 0
ShootParticlesSecondary hugeexplosion 3 0 1
ShootParticlesSecondary hugeexplosion 3 0 -1
ShootParticlesSecondary hugeexplosion 4 0 0
ShootParticlesSecondary largeexplode 5 0 1
ShootParticlesSecondary largeexplode 5 0 -1
ShootParticlesSecondary largeexplode 5 0 0
ShootParticlesSecondary largeexplode 6 0 0
ShootParticlesSecondary explode 5 0 0
ShootParticlesSecondary explode 5 0 -1
ShootParticlesSecondary explode 5 0 1
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
// ------------------------------------------------------ Inventory ------------------------------------------------------
CargoSlots 3
BombSlots 0
ShellSlots 3
AllowAllAmmo False
AddAmmo 28cmSKC34APShell
AddAmmo 28cmSKC34HEShell
//Fuel Tank Size (1 point of fuel will keep one propeller going with throttle at 1 for 1 tick)
FuelTankSize 1000
// ------------------------------------------------------ Passengers ------------------------------------------------------
Driver 0 62 0 -360 360 -5 40
RotatedDriverOffset -30 0 0
Passengers 0
// ------------------------------------------------------- Sounds -------------------------------------------------------
StartSound None
StartSoundLength 0
EngineSound None
EngineSoundLength 0
ShootSoundPrimary 28cmGun
ShootSoundSecondary 28cmGun
//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 28cmSKC34Gun
AddRecipeParts core 64 ingotIron
//Dye colours are "black", "red", "green", "brown", "blue", "purple", "cyan", "silver", "gray", "pink", "lime", "yellow", "lightBlue", "magenta", "orange", "white"
AddDye 4 gray
AddDye 4 green
//Health and collision
SetupPart core 10500 -75 -36 -75 150 54 150 712
SetupPart turret 6500 -69 18 -69 138 39 138 720
BulletDetection 14
ModelScale 3.5
SetPlayerInvisible true
DriverAimSpeed 0.7 0.4 0
DriverYawBeforePitch false
DriverTraverseSounds true
YawSound shipTurret
YawSoundLength 19
PitchSound shipTurret
PitchSoundLength 18
BulletSpeed 14
BulletSpread 3.1
//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 1250
radarVisible true
radarRefreshDelay 30
DeathExplosionRadius 25
DeathExplosionDamageVsVehicle 2.0
DeathExplosionDamageVsLiving 200.0
DeathExplosionDamageVsPlane 2.0
//isExplosionWhenDestroyedRadius 25
//bigDeath True
AdvPaintjob Gneisenau 28cmSKC34 Skin28cmSKC34Turret

Description A 28cm gun turret taken from Gneisenau druing_its rebuild and used as a coastal defense turret._Load time: 15 seconds.