// ------------------------------------------------------ Naming ------------------------------------------------------
Name DKM Gneisenau (1944)
ShortName dkmGneisenau1944
ItemID 7464
// ------------------------------------------------------ Visuals ------------------------------------------------------
Icon dkmGneisenau
Model rainfire.Gneisenau1943
Texture SkinGneisenau1944
//Third Person Camera Distance
CameraDistance 56.0
// ------------------------------------------------------ Movement ------------------------------------------------------
//Throttle
MaxThrottle 0.81
MaxNegativeThrottle 0.4
ThrottleDecay 0.0
//Steering modifiers
TurnLeftSpeed 0.16
TurnRightSpeed 0.16
Drag 1.7
//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 -445 -18 -28
WheelPosition 1 -445 -18 28
WheelPosition 2 460 -18 13
WheelPosition 3 460 -18 -13
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 Shell
Secondary Gun
//Time between shots in 1/20ths of seconds
ShootDelayPrimary 8
ShootDelaySecondary 3
//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 36 51 65 core 
ShootPointPrimary 32 51 65 core 
ShootPointPrimary -13 51 77 core 
ShootPointPrimary -16 51 77 core 
ShootPointPrimary -60 51 65 core 
ShootPointPrimary -63 51 65 core 
ShootPointPrimary -265 51 2 core 
ShootPointPrimary -265 51 -2 core 
ShootPointPrimary 36 51 -65 core 
ShootPointPrimary 32 51 -65 core 
ShootPointPrimary -13 51 -77 core 
ShootPointPrimary -16 51 -77 core 
ShootPointPrimary -60 51 -65 core 
ShootPointPrimary -63 51 -65 core 
ShootPointSecondary 161 28 44 core 37mmSKC30
ShootPointSecondary 161 28 -44 core 37mmSKC30
ShootPointSecondary 74 73 27 core 37mmSKC30
ShootPointSecondary 74 73 -27 core 37mmSKC30
ShootPointSecondary -189 50 20 core 37mmSKC30
ShootPointSecondary -189 50 -20 core 37mmSKC30
ShootPointSecondary -202 39 30 core 37mmSKC30
ShootPointSecondary -202 39 -30 core 37mmSKC30
ShootPointSecondary -38 86 24 core olerikon20mm
ShootPointSecondary -38 86 -24 core olerikon20mm
ShootPointSecondary -56 87 0 core olerikon20mm
ShootPointSecondary -56 85 0 core olerikon20mm
ShootPointSecondary -131 51 31 core olerikon20mm
ShootPointSecondary -131 49 31 core olerikon20mm
ShootPointSecondary -131 51 -31 core olerikon20mm
ShootPointSecondary -131 49 -31 core olerikon20mm
ShootPointSecondary -231 27 52 core olerikon20mm
ShootPointSecondary -231 27 -52 core olerikon20mm
ShootPointSecondary 174 38 35 core olerikon20mm
ShootPointSecondary 174 38 -35 core olerikon20mm
ShootPointSecondary 336 27 42 core olerikon20mm
ShootPointSecondary 336 27 -42 core olerikon20mm
ShootParticlesPrimary largeexplode 0.6 0 0
ShootParticlesPrimary largeexplode 0.6 0 0
ShootParticlesPrimary explode 0.7 0 0
ShootParticlesPrimary cloud 0.6 0 0
ShootParticlesPrimary cloud 0.6 0 0
ShootParticlesSecondary cloud 0.2 0 0
ShootParticlesSecondary explode 0.3 0 0
------- Inventory ------------------------------------------------------
CargoSlots 36
BombSlots 0
MissileSlots 14
AllowAllAmmo False
AddAmmo 105mmSKC33ShellHE
AddAmmo 105mmSKC33ShellAP
AddAmmo 105mmSKC32ShellHE
//Fuel Tank Size (1 point of fuel will keep one propeller going with throttle at 1 for 1 tick)
FuelTankSize 11500
// ------------------------------------------------------ Passengers ------------------------------------------------------
Driver 102 79 0 -360 360 -10 85
Passengers 14
Passenger 1 262 42 0 turret1 -150 150 -6 30 38cmSKC34Gun TurretAnton
GunOrigin 1 255 32 0
Passenger 2 185 54 0 turret2 -150 150 -6 30 38cmSKC34Gun TurretBruno
GunOrigin 2 184 44 0
Passenger 3 -294 41 0 turret3 45 315 -6 30 38cmSKC34Gun TurretCaesar
GunOrigin 3 -281 31 0
Passenger 4 76 33 -34 core -160 0 -10 40 15cmSKC28Gun Bb.I
GunOrigin 4 69 25 -37
Passenger 5 75 33 34 core 0 160 -10 40 15cmSKC28Gun Stbd.I
GunOrigin 5 69 25 37
Passenger 6 10 27 -48 core -160 0 -10 35 15cmSKC28SingleGun Bb.II
GunOrigin 6 9 19 -50
Passenger 7 10 27 48 core 0 160 -10 35 15cmSKC28SingleGun Stbd.II
GunOrigin 7 9 19 50
Passenger 8 -40 27 -48 core -160 0 -10 35 15cmSKC28SingleGun Bb.III
GunOrigin 8 -36 19 -50
Passenger 9 -40 27 48 core 0 160 -10 35 15cmSKC28SingleGun Stbd.III
GunOrigin 9 -36 19 50
Passenger 10 -161 31 -34 core -160 0 -10 40 15cmSKC28Gun Bb.IV
GunOrigin 10 -146 23 -37
Passenger 11 -160 31 34 core 0 160 -10 40 15cmSKC28Gun Stbd.IV
GunOrigin 11 -146 23 37
Passenger 12 -92 27 -48 core -120 0 0 0 53cmTorpShip StarboardTorpedoMount
GunOrigin 12 -84 17 -50
Passenger 13 -92 27 48 core 0 120 0 0 53cmTorpShip PortsideTorpedoMount
GunOrigin 13 -84 17 50
Passenger 14 -135 67 0 core
helipad 14 true
PassengerAimSpeed 1 0.5 0.3 0
PassengerAimSpeed 2 0.5 0.3 0
PassengerAimSpeed 3 0.5 0.3 0
PassengerAimSpeed 4 0.85 0.9 0
PassengerAimSpeed 5 0.85 0.9 0
PassengerAimSpeed 6 0.85 0.9 0
PassengerAimSpeed 7 0.85 0.9 0
PassengerAimSpeed 8 0.85 0.9 0
PassengerAimSpeed 9 0.85 0.9 0
PassengerAimSpeed 10 0.85 0.9 0
PassengerAimSpeed 11 0.85 0.9 0
PassengerAimSpeed 12 0.5 0.5 0
PassengerAimSpeed 13 0.5 0.5 0
//Passenger turret sounds
PassengerTraverseSounds 1 true
PassengerTraverseSounds 2 true
PassengerTraverseSounds 3 true
PassengerTraverseSounds 4 true
PassengerTraverseSounds 5 true
PassengerTraverseSounds 6 true
PassengerTraverseSounds 7 true
PassengerTraverseSounds 8 true
PassengerTraverseSounds 9 true
PassengerTraverseSounds 10 true
PassengerTraverseSounds 11 true
PassengerTraverseSounds 12 true
PassengerTraverseSounds 13 true
//Turret Anton
PassengerPitchSound 1 shipTurret
PassengerPitchSoundLength 1 20
PassengerYawSound 1 shipTurret
PassengerYawSoundLength 1 20
//Turret Bruno
PassengerPitchSound 2 shipTurret
PassengerPitchSoundLength 2 21
PassengerYawSound 2 shipTurret
PassengerYawSoundLength 2 20
//Turret Caesar
PassengerPitchSound 3 shipTurret
PassengerPitchSoundLength 3 20
PassengerYawSound 3 shipTurret
PassengerYawSoundLength 3 19
//Turret 61
PassengerPitchSound 4 TurretTraverse1
PassengerPitchSoundLength 4 19
PassengerYawSound 4 TurretTraverse2
PassengerYawSoundLength 4 18
//Turret 62
PassengerPitchSound 5 TurretTraverse1
PassengerPitchSoundLength 5 19
PassengerYawSound 5 TurretTraverse2
PassengerYawSoundLength 5 18
//Turret 63
PassengerPitchSound 6 TurretTraverse1
PassengerPitchSoundLength 6 19
PassengerYawSound 6 TurretTraverse2
PassengerYawSoundLength 6 18
//Turret 64
PassengerPitchSound 7 TurretTraverse1
PassengerPitchSoundLength 7 19
PassengerYawSound 7 TurretTraverse2
PassengerYawSoundLength 7 18
//Turret 65
PassengerPitchSound 8 TurretTraverse1
PassengerPitchSoundLength 8 19
PassengerYawSound 8 TurretTraverse2
PassengerYawSoundLength 8 18
//Turret 66
PassengerPitchSound 9 TurretTraverse1
PassengerPitchSoundLength 9 19
PassengerYawSound 9 TurretTraverse2
PassengerYawSoundLength 9 18
//Turret 67
PassengerPitchSound 10 TurretTraverse1
PassengerPitchSoundLength 10 19
PassengerYawSound 10 TurretTraverse2
PassengerYawSoundLength 10 18
//Turret 68
PassengerPitchSound 11 TurretTraverse1
PassengerPitchSoundLength 11 19
PassengerYawSound 11 TurretTraverse2
PassengerYawSoundLength 11 18
// ------------------------------------------------------- Sounds -------------------------------------------------------
StartSound SteamEngine
StartSoundLength 28
EngineSound ShipEngine4
EngineSoundLength 86
ShootSoundPrimary 10cmShipGun
ShootSoundSecondary 30mmFire
//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 core 2 navalSteelSegment5000 3 blockRedstone
AddRecipeParts frontalArmor 5 navalSteelSegment1000
AddRecipeParts rightsideArmor 4 navalSteelSegment1000
AddRecipeParts leftsideArmor 4 navalSteelSegment1000
AddRecipeParts bow 2 navalSteelSegment1000 4 metalPropeller
AddRecipeParts stern 1 navalSteelSegment1000
AddRecipeParts trailer 3 navalSteelSegment500
AddRecipeParts ERA 2 navalSteelSegment1000
//Dye colours are "black", "red", "green", "brown", "blue", "purple", "cyan", "silver", "gray", "pink", "lime", "yellow", "lightBlue", "magenta", "orange", "white"
AddDye 16 red
AddDye 32 gray
//Health and collision, 33400t, 100200 hp total
SetupPart core 25250 -379 -48 -60 720 70 120 612
SetupPart stern 3000 -510 -41 -38 130 62 82 40
SetupPart bow 3250 341 -49 -38 142 74 82 40
SetupPart rightsideArmor 15000 -379 -51 -70 720 74 20 700
SetupPart leftsideArmor 15000 -379 -51 50 720 74 20 700
SetupPart frontalArmor 6000 -379 23 -65 720 9 130 90
SetupPart trailer 3000 32 32 -40 127 32 80
SetupPart turret 4500 44 65 -16 30 60 33 350
SetupPart ERA 3000 -211 32 -40 166 25 80
SetupPart turret1 6500 258 -2 -20 40 46 40 720
SetupPart turret2 6500 179 11 -20 40 46 40 720
SetupPart turret3 6500 -329 -2 -20 40 46 40 720
BulletDetection 30
ModelScale 1.1
Description A hypothetical upgrade of the Gneisenau if Germany's fleet was in_a better situation during WW2._Displ. - 33400t | L.D. - 1935_Length - 88.33m? | Beam - 10m | Draft - 3.3m_Spd. - 31kn | Rng. - 11500 | 3x Steam Turbines | 12x Boilers
Boat
PlaceableOnLand False
PlaceableOnWater True
FloatOnWater True
WheelStepHeight 0
Buoyancy 0.16
CollisionDamageEnable true
CollisionDamageThrottle 0.35
CollisionDamageTimes 40
DriverAimSpeed 4 4.5 0
BulletSpeed 6
BulletSpread 2
RotateWheels True
TurretOrigin 49 -124 0
//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 1488
radarVisible true
radarRefreshDelay 25
IsExplosionWhenDestroyed true
DeathExplosionRadius 25
DeathExplosionDamageVsVehicle 2.0
DeathExplosionDamageVsLiving 200.0
DeathExplosionDamageVsPlane 2.0
//isExplosionWhenDestroyedRadius 25
//bigDeath True

////Smonkstaks

//Stage 1
AddEmitter largesmoke 1 [-36,95,0] [3,12,14] [0,0,0] 0.02 0.25 0 1 core
AddEmitter largesmoke 1 [-31,97,0] [3,12,14] [0,0,0] 0.02 0.25 0 1 core
AddEmitter largesmoke 1 [-25,97,0] [3,12,14] [0,0,0] 0.02 0.25 0 1 core
AddEmitter largesmoke 1 [-19,97,0] [3,12,14] [0,0,0] 0.02 0.25 0 1 core
AddEmitter largesmoke 1 [-14,98,0] [3,12,14] [0,0,0] 0.02 0.25 0 1 core

//Stage 2
AddEmitter largesmoke 2 [-36,95,0] [2,12,14] [0,1,0] 0.25 0.55 0 1 core
AddEmitter largesmoke 2 [-31,97,0] [2,12,14] [0,1,0] 0.25 0.55 0 1 core
AddEmitter largesmoke 2 [-25,97,0] [2,12,14] [0,1,0] 0.25 0.55 0 1 core
AddEmitter largesmoke 2 [-19,97,0] [2,12,14] [0,1,0] 0.25 0.55 0 1 core
AddEmitter largesmoke 2 [-14,98,0] [2,12,14] [0,1,0] 0.25 0.55 0 1 core

//Stage 3
AddEmitter explode 2 [-36,95,0] [2,12,14] [-0.5,2,0] 0.55 0.8 0 1 core
AddEmitter explode 2 [-31,97,0] [2,12,14] [-0.5,2,0] 0.55 0.8 0 1 core
AddEmitter explode 2 [-25,97,0] [2,12,14] [-0.5,2,0] 0.55 0.8 0 1 core
AddEmitter explode 2 [-19,97,0] [2,12,14] [-0.5,2,0] 0.55 0.8 0 1 core
AddEmitter explode 2 [-14,98,0] [2,12,14] [-0.5,2,0] 0.55 0.8 0 1 core

//Stage 4
AddEmitter explode 3 [-36,95,0] [2,12,14] [-0.5,3,0] 0.8 1 0 1 core
AddEmitter explode 3 [-31,97,0] [2,12,14] [-0.5,3,0] 0.8 1 0 1 core
AddEmitter explode 3 [-25,97,0] [2,12,14] [-0.5,3,0] 0.8 1 0 1 core
AddEmitter explode 3 [-19,97,0] [2,12,14] [-0.5,3,0] 0.8 1 0 1 core
AddEmitter explode 3 [-14,98,0] [2,12,14] [-0.5,3,0] 0.8 1 0 1 core

//Owie 1
AddEmitter largesmoke 4 [-36,95,0] [2,14,14] [-0.25,0,0] -1 1 0 0.4 core
AddEmitter largesmoke 4 [-31,97,0] [2,14,14] [-0.25,0,0] -1 1 0 0.4 core
AddEmitter largesmoke 4 [-25,97,0] [2,14,14] [-0.25,0,0] -1 1 0 0.4 core
AddEmitter largesmoke 4 [-19,97,0] [2,14,14] [-0.25,0,0] -1 1 0 0.4 core
AddEmitter largesmoke 4 [-14,98,0] [2,14,14] [-0.25,30,0] -1 1 0 0.4 core

//Owie 2
AddEmitter flame 2 [-36,95,0] [2,13,14] [-0.25,2,0] -1 1 0 0.2 core
AddEmitter flame 2 [-31,97,0] [2,13,14] [-0.25,2,0] -1 1 0 0.2 core
AddEmitter flame 2 [-25,97,0] [2,13,14] [-0.25,2,0] -1 1 0 0.2 core
AddEmitter flame 2 [-19,97,0] [2,13,14] [-0.25,2,0] -1 1 0 0.2 core
AddEmitter flame 2 [-14,98,0] [2,13,14] [-0.25,2,0] -1 1 0 0.2 core
