// Identity
Name SU-1-12
ShortName SU-1-12
Description Soviet Light SPG

// Item and rendering
Icon SU112
Model ww2.SU112
FlashModel DefaultFlash
Texture su112
RotateWheels True
AddDye 10 gray
ModelScale 1

// Recipe
AddRecipeParts turret 1 lightTankBody 1 vehicleSeat
AddRecipeParts core 1 smallChassis 2 vehicleSeat
AddRecipeParts frontLeftWheel 1 wheel
AddRecipeParts frontRightWheel 1 wheel
AddRecipeParts backLeftWheel 1 wheel
AddRecipeParts backRightWheel 1 wheel

// Inventory
FuelTankSize 2000
CargoSlots 20
ShellSlots 5
AllowAllAmmo False
AddAmmo ArtilleryHEShell

// Real-world physics
RealMassKg 3700
RealEnginePowerHp 50
RealMaxSpeedKmh 60
DriveType AWD
RealMaxReverseSpeedKmh 10

// Movement
MaxThrottle 0.6
MaxNegativeThrottle 0.45
TurnLeftSpeed 0.25
TurnRightSpeed 0.25
RealTurnRateDegPerSec 159.15
WheelRadius 1.0
WheelSpringStrength 0.5
FourWheelDrive true
Tank false

// Weaponry
GunOrigin 1 -5 15 20
BarrelPosition 21 32.5 0
ShootDelay 1
ShellDelay 90
TurretRotationSpeed 0.035
ShootDelayPrimarySeconds 5
ReadWeaponsFromGunTypes true

// Optics
hasScope true
Gunsight official_t3476sight
gunsightZoom 3

// Health and armour
SetupPart core 9800 -43 -3 -26 85 23 52
SetupPart rightTrack 8000 -48 -10 -25 102 19 7
SetupPart leftTrack 8000 -48 -10 18 102 19 7
BulletDetection 7
ArmorFrontMm 4
ArmorSideMm 0
ArmorRearMm 0
ArmorTopMm 0
ArmorBottomMm 0
UseRealisticVehicleHealth true

// Seats and geometry
CameraDistance 7.5
WheelPosition 0 -35 -10 -22
WheelPosition 1 -35 -10 22
WheelPosition 2 35 -10 22
WheelPosition 3 35 -10 -22
Driver 44 15 -7 -360 360 -5 30
RotatedDriverOffset 0 0 0
Passengers 1
Passenger 1 44 15 7 core -360 360 -89 89

// Sounds and particles
StartSound jeepidle
StartSoundLength 7
EngineSound engine_lt_truck
EngineSoundLength 39
ShootSoundPrimary shoot_76mmussr
ShootParticlesPrimary largeexplode 0 0 0
ShootParticlesPrimary explode 1.0 0 0
ShootParticlesPrimary flansmod.fmflame 1.25 0 0
ShootParticlesPrimary flansmod.fmflame 0.68 0.07 0.09
ShootParticlesPrimary flansmod.fmflame 0.64 -0.07 -0.09
ShootParticlesPrimary largesmoke 0.4 0.08 0.1
ShootParticlesPrimary largesmoke 0.38 -0.08 -0.1
ShootParticlesPrimary cloud 0.06 0 0
ShootSoundSecondary MG42Shoot
