// Identity
Name M8 Greyhound
ShortName Greyhound
Description American Armored Car

// Item and rendering
Icon GreyHound
Model ww2.Greyhound
FlashModel DefaultFlash
Texture greyhound
RotateWheels True
AddDye 4 green
ModelScale 0.9

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

// Inventory
FuelTankSize 2000
CargoSlots 10
ShellSlots 5
AllowAllAmmo False
AddAmmo shell
AddAmmo HEshell
AddAmmo American37APShell
AddAmmo American37HEShell

// Real-world physics
RealMassKg 7440
RealEnginePowerHp 110
RealMaxSpeedKmh 89
DriveType AWD
RealMaxReverseSpeedKmh 13

// Movement
MaxThrottle 0.65
MaxNegativeThrottle 0.45
TurnLeftSpeed 0.35
TurnRightSpeed 0.35
RealTurnRateDegPerSec 177.06
WheelRadius 1.0
WheelSpringStrength 0.5
FourWheelDrive true
Tank false

// Weaponry
GunOrigin 1 49.5 -2.4 9
AddGun 20.3 27 3.6 turret browning
BarrelPosition 46.8 26.5 0
ShootDelay 1
ShellDelay 70
TurretRotationSpeed 0.035
DamageModifierPrimary 22
ShootDelayPrimarySeconds 3
ReadWeaponsFromGunTypes true

// Optics
hasScope true
Gunsight official_t17
gunsightZoom 3
heliGuiSeat 1 true
heliGUI official_uscomm

// Health and armour
SetupPart core 5500 -48 0 -19 91 19 38
SetupPart turret 5000 -16 20 -16 32 17 32
SetupPart frontLeftWheel 3000 18 -10 16 18 18 6
SetupPart frontRightWheel 3000 18 -10 -22 18 18 6
SetupPart backLeftWheel 3000 -21 -10 16 18 18 6
SetupPart backLeftWheel 3000 -44 -10 16 18 18 6
SetupPart backRightWheel 3000 -21 -10 -22 18 18 6
SetupPart backRightWheel 3000 -44 -10 -22 18 18 6
BulletDetection 7
ArmorFrontMm 19
ArmorSideMm 9.5
ArmorRearMm 9.5
ArmorTopMm 6
ArmorBottomMm 6
TurretArmorFrontMm 19
TurretArmorSideMm 19
TurretArmorRearMm 19
TurretArmorTopMm 0
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 0 14 0 -360 360 -5 20
RotatedDriverOffset 0 0 0
Passengers 1
Passenger 1 22 0 7 core -30 30 -5 20 browning PassengerGun1

// Sounds and particles
StartSound jeepidle
StartSoundLength 7
EngineSound engine_lt_armoredcar
EngineSoundLength 39
ShootSoundPrimary shoot_37mus
ShootParticlesPrimary explode 0.7 0 0
ShootParticlesPrimary flansmod.fmflame 0.95 0 0
ShootParticlesPrimary flansmod.fmflame 0.5 0.06 0.06
ShootParticlesPrimary flansmod.fmflame 0.46 -0.06 -0.06
ShootParticlesPrimary largesmoke 0.28 0.07 0.07
ShootParticlesPrimary largesmoke 0.26 -0.07 -0.07
ShootSoundSecondary BrowningShoot
