// Identity
Name Willy's Jeep [M1919A4 Browning .30 Cal]
ShortName 44_Willys30Cal
Description American Jeep __Year Introduced : 1941

// Rendering
Icon 44_Willys30Cal
Model W44.Willys30Cal
FlashModel DefaultFlash
ModelScale 0.9
Texture Skin44_Willys
RotateWheels true
CameraDistance 5.0

// Recipe and inventory
AddRecipeParts core 1 44_Car_Chassis 4 44_Vehicle_Seat
AddRecipeParts frontLeftWheel 1 44_Car_Wheel
AddRecipeParts frontRightWheel 1 44_Car_Wheel
AddRecipeParts backLeftWheel 1 44_Car_Wheel
AddRecipeParts backRightWheel 1 44_Car_Wheel
CargoSlots 36
ShellSlots 0
FuelTankSize 1000

// Paintjobs
AddDye 4 green

// Real-world specifications
DriveType AWD
RealMassKg 1475
RealEnginePowerHp 54
RealMaxSpeedKmh 105
RealMaxReverseSpeedKmh 29

// Movement
FourWheelDrive true
MaxThrottle 1.15
MaxNegativeThrottle 0.4
TurnLeftSpeed 0.5
TurnRightSpeed 0.5
RealTurnRateDegPerSec 240
CanRoll false
Drag 1.0

// Wheels and tracks
WheelRadius 1.0
WheelPosition 0 -22 -8 -14
WheelPosition 1 -22 -8 14
WheelPosition 2 22 -8 14
WheelPosition 3 22 -8 -14
WheelSpringStrength 0.5

// Weapons
ReadWeaponsFromGunTypes true
ShellDelay 999
ShootDelay 3
ReloadTimeSecondary 100
PlaceTimePrimary 60
BulletDetection 5
GunOrigin 2 -2.9 6.2 0

// Armour and damage
UseRealisticVehicleHealth true
ArmorFrontMm 0
ArmorSideMm 0
ArmorRearMm 0
ArmorTopMm 0
ArmorBottomMm 0
IsExplosionWhenDestroyed true

// Parts and collision
SetupPart core 1395 -31 -3 -14 63 20 30
SetupPart frontRightWheel 20 14 -10 11 17 16 5
SetupPart frontLeftWheel 20 14 -10 -14 17 16 5
SetupPart backLeftWheel 20 -24 -10 -14 17 16 5
SetupPart backRightWheel 20 -23 -10 9 17 16 5

// Seats
Driver -4 5 -7
Passengers 2
Passenger 1 -4 5 7 core
Passenger 2 -23 13 0 core -45 45 -10 30 44_30Cal PassengerGun2
RotatedDriverOffset 0 0 0
DriverAimSpeed 3.0f 3.0f 0f
DriverYawBeforePitch false

// Sounds
StartSound JeepIdle
StartSoundLength 7
StartSoundRange 12
EngineSound JeepMove
EngineSoundLength 61
EngineSoundRange 50
BackSound JeepBack
BackSoundLength 61
BackSoundRange 25
ShootSound bullet
ShellSound shell
PlaceSoundPrimary TankPlace
ReloadSoundSecondary Mg34Reload

// Effects
AddEmitter explode 1 [-20,-2,8] [1,1,1] [0,0.2,0] 0.05 0.2 0 1 core
AddEmitter explode 1 [-20,-2,8] [1,1,1] [0,0.7,0] 0.2 0.5 0 1 core
AddEmitter explode 1 [-20,-2,8] [1,1,1] [0,0.7,0] 0.5 2 0 1 core
AddEmitter largesmoke 3 [-20,-2,8] [1,1,1] [0,0.5,0] 0.8 2 0 1 core
AddEmitter largesmoke 1 [-20,-2,8] [1,1,1] [0,5,0] 0.7 0.75 0 1 core