// Identity
Name Char B1 Bis
ShortName B1

// Item and rendering
Icon B1
Model ww2.B1
Texture b1
RotateWheels True
AddDye 10 gray
ModelScale 1.1

// Recipe
AddRecipeParts turret 1 mediumTankTurret 1 vehicleSeat
AddRecipeParts core 1 mediumTankBody 1 vehicleSeat
AddRecipeParts leftTrack 1 catTrack
AddRecipeParts rightTrack 1 catTrack

// Inventory
FuelTankSize 2000
CargoSlots 20
ShellSlots 5
AddAmmo shell
AddAmmo HEshell

// Real-world physics
RealMassKg 28000
RealEnginePowerPS 272
RealMaxSpeedKmh 28
DriveType TRACKED
RealMaxReverseSpeedKmh 3

// Movement
MaxThrottle 0.55
MaxNegativeThrottle 0.5
TurnLeftSpeed 0.5
TurnRightSpeed 0.5
RealTurnRateDegPerSec 20
WheelRadius 1.0
WheelSpringStrength 0.5
FourWheelDrive true
Tank true

// Weaponry
GunOrigin 1 44 -10.6 11
BarrelPosition 35.2 30.8 3.3
AddGun 21.5 30.8 -2.2 turret mg42
ShootDelay 1
ShellDelay 75
TurretRotationSpeed 0.08
ShootDelayPrimarySeconds 6
ReadWeaponsFromGunTypes true

// Optics
heliGuiSeat 1 true
heliGUI official_b1bishull
hasScope true
Gunsight official_b1bis
gunsightZoom 3.5

// Health and armour
SetupPart core 1000 -55 -1 -23 120 27 46
SetupPart turret 950 -30 26 -30 60 18 60
SetupPart leftTrack 750 -60 -10 -37 120 22 14
SetupPart rightTrack 750 -60 -10 23 120 22 14
BulletDetection 5
ArmorFrontMm 60 45
ArmorSideMm 55
ArmorRearMm 50
ArmorTopMm 25
ArmorBottomMm 20
TurretArmorFrontMm 56
TurretArmorSideMm 56
TurretArmorRearMm 56
TurretArmorTopMm 30
UseRealisticVehicleHealth true

// Seats and geometry
CameraDistance 7.5
WheelPosition 0 -32 -10 -18
WheelPosition 1 -32 -10 18
WheelPosition 2 32 -10 18
WheelPosition 3 32 -10 -18
Driver 0 28 0 -360 360 -10 12
RotatedDriverOffset -6 2 -5
Passengers 1
Passenger 1 20 0 -6 core -2 2 -3 12 2Pdr PassengerGun1

// Sounds and particles
StartSound tankidle2
StartSoundLength 41
EngineSound engine_mt_m4
EngineSoundLength 39
ShootSoundPrimary shoot_47mm
ShootSoundSecondary BrenShoot
