// Identity
Name Flak88
ShortName Flak88
Description German Anti-Aircraft/Tank Gun

// Item and rendering
Icon Flak88
Model ww2.Flak88
Texture skinflak88
AddDye 8 gray
ModelScale 1.2

// Recipe
AddRecipeParts core 1 tankBarrel 1 vehicleSeat 16 ingotIron 1 gunShield

// Inventory
FuelTankSize 2000
CargoSlots 0
ShellSlots 5
AddAmmo shell
AddAmmo HEshell
AddAmmo German88APShell
AddAmmo German88HEShell

// Real-world physics
RealMassKg 5150

// Movement
MaxThrottle 0
MaxNegativeThrottle 0
TurnLeftSpeed 0
TurnRightSpeed 0
WheelRadius 1.0
WheelSpringStrength 0.5
FourWheelDrive true
Tank true

// Weaponry
BarrelPosition 0 15 0
ShootDelay 1
ShellDelay 150
TurretRotationSpeed 0.03
DamageModifierPrimary 82
ShootDelayPrimarySeconds 6
ReadWeaponsFromGunTypes true

// Optics
hasScope true
Gunsight official_tiger
gunsightZoom 4

// Health and armour
SetupPart core 2500 -40 -8 -18 60 24 36
BulletDetection 7
ArmorFrontMm 0
ArmorSideMm 0
ArmorRearMm 0
ArmorTopMm 0
ArmorBottomMm 0
UseRealisticVehicleHealth true

// Seats and geometry
CameraDistance 7.5
WheelPosition 0 -8 -10 -8
WheelPosition 1 -8 -10 8
WheelPosition 2 8 -10 8
WheelPosition 3 8 -10 -8
Driver 0 1 0 -360 360 -5 89
RotatedDriverOffset -9 0 14
Passengers 0

// Sounds and particles
StartSound
StartSoundLength 0
EngineSound
EngineSoundLength 0
ShootSoundPrimary shoot_88flakde
