// Identity
Name Kubelwagen
ShortName Kubel
Description German Jeep

// Item and rendering
Icon Kubelwagen
Model ww2.Kubel
Texture kubel
RotateWheels true
AddDye 5 gray

// Recipe
AddRecipeParts core 1 smallChassis 3 vehicleSeat
AddRecipeParts frontLeftWheel 1 wheel
AddRecipeParts frontRightWheel 1 wheel
AddRecipeParts backLeftWheel 1 wheel
AddRecipeParts backRightWheel 1 wheel

// Inventory
FuelTankSize 1000
CargoSlots 36
ShellSlots 0

// Real-world physics
RealMassKg 715
RealEnginePowerPS 25
RealMaxSpeedKmh 80
DriveType RWD
RealMaxReverseSpeedKmh 15

// Movement
MaxThrottle 0.7
MaxNegativeThrottle 0.45
TurnLeftSpeed 0.25
TurnRightSpeed 0.25
Drag 1.0
WheelRadius 1.0
WheelSpringStrength 0.5
FourWheelDrive false

// Weaponry
GunOrigin 1 -5 4 0
ShootDelay 999
ShellDelay 999
ReadWeaponsFromGunTypes true

// Health and armour
SetupPart core 3000 -24 -6 -16 48 12 32
SetupPart backLeftWheel 1500 -20 -10 -16 8 8 2
SetupPart backRightWheel 1500 -20 -10 14 8 8 2
SetupPart frontLeftWheel 1500 12 -10 -16 8 8 2
SetupPart frontRightWheel 1500 12 -10 14 8 8 2
BulletDetection 5
ArmorFrontMm 0
ArmorSideMm 0
ArmorRearMm 0
ArmorTopMm 0
ArmorBottomMm 0
UseRealisticVehicleHealth true

// Seats and geometry
CameraDistance 5.0
WheelPosition 0 -28 -10 -14
WheelPosition 1 -28 -10 14
WheelPosition 2 24 -10 14
WheelPosition 3 24 -10 -14
Driver 1 3 -7
RotatedDriverOffset 0 0 0
Passengers 2
Passenger 1 -19 10 0 core -60 60 -30 60 mg42 PassengerGun1
Passenger 2 1 3 7 core

// Sounds and particles
StartSound jeepidle
StartSoundLength 7
EngineSound jeepmove
EngineSoundLength 60
ShootSound bullet
ShellSound shell