// Identity
Name Universal Carrier 2Pdr
ShortName UC2Pdr
Description British Armored Vehicle

// Item and rendering
Icon UC
Model ww2.UC2Pdr
Texture uc
RotateWheels True
AddDye 4 green
ModelScale 1

// Recipe
AddRecipeParts core 1 lightTankBody 3 vehicleSeat
AddRecipeParts leftTrack 1 catTrack
AddRecipeParts rightTrack 1 catTrack

// Inventory
FuelTankSize 2000
CargoSlots 10
AllowAllAmmo False

// Real-world physics
RealMassKg 3800
RealEnginePowerHp 85
RealMaxSpeedKmh 48
DriveType TRACKED
RealMaxReverseSpeedKmh 8

// Movement
MaxThrottle 0.65
MaxNegativeThrottle 0.5
TurnLeftSpeed 0.4
TurnRightSpeed 0.4
WheelRadius 1.0
WheelSpringStrength 0.5
FourWheelDrive true
Tank false

// Weaponry
GunOrigin 1 27 -5 -7
GunOrigin 2 0 10 0
ShootDelay 1
ShellDelay 70
ReadWeaponsFromGunTypes true

// Optics
SeatOpticsMode 2 true
SeatGunsight 2 official_6pdrat
SeatGunsightZoom 2 3

// Health and armour
SetupPart core 8550 -41 -2 -20 77 24 40
SetupPart rightTrack 5600 -39 -10 -20 73 14 6
SetupPart leftTrack 5600 -39 -10 14 73 14 6
BulletDetection 7
ArmorFrontMm 12
ArmorSideMm 10
ArmorRearMm 10
ArmorTopMm 0
ArmorBottomMm 7
UseRealisticVehicleHealth true

// Seats and geometry
CameraDistance 7.5
WheelPosition 0 -20 -10 -18
WheelPosition 1 -20 -10 18
WheelPosition 2 20 -10 18
WheelPosition 3 20 -10 -18
Driver 13 3 8 -360 360 -89 89
RotatedDriverOffset 0 0 0
Passengers 2
Passenger 1 13 3 -7 core -10 10 -3 15 bren PassengerGun1
Passenger 2 -9 16 -10 core -35 35 -5 15 2Pdr PassengerGun2

// Sounds and particles
StartSound tankidle1
StartSoundLength 41
EngineSound engine_lt_bt
EngineSoundLength 39
ShootSoundPrimary 40uk
ShootSoundSecondary BrenShoot
