// Identity
Name IS-2
ShortName IS2
Description Soviet Heavy Tank

// Item and rendering
Icon IS2
Model ww2.IS2
FlashModel DefaultFlash
Texture is2
RotateWheels true
AddDye 15 green
AddDye 3 white
ModelScale 1.3

// Recipe
AddRecipeParts turret 1 heavyTankTurret 1 vehicleSeat
AddRecipeParts core 1 heavyTankBody
AddRecipeParts leftTrack 1 catTrack
AddRecipeParts rightTrack 1 catTrack

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

// Real-world physics
RealMassKg 46000
RealEnginePowerPS 520
RealMaxSpeedKmh 37
DriveType TRACKED
RealMaxReverseSpeedKmh 14

// Movement
MaxThrottle 0.5
MaxNegativeThrottle 0.35
TurnLeftSpeed 0.25
TurnRightSpeed 0.25
RealTurnRateDegPerSec 14
WheelRadius 1.0
WheelSpringStrength 0.5
FourWheelDrive true
Tank true

// Weaponry
BarrelPosition 126.1 34.1 0
AddGun 8 20 0 turret dp28
ShootDelay 1
ShellDelay 180
TurretRotationSpeed 0.02
DamageModifierPrimary 80
ShootDelayPrimarySeconds 20
ReadWeaponsFromGunTypes true

// Optics
hasScope true
Gunsight official_t3485
gunsightZoom 4

// Health and armour
SetupPart core 13500 -55 -1 -23 120 27 46
SetupPart turret 13300 -30 26 -30 60 18 60
SetupPart leftTrack 8000 -60 -10 -37 120 22 14
SetupPart rightTrack 8000 -60 -10 23 120 22 14
BulletDetection 5
ArmorFrontMm 100 60
TurretArmorFrontMm 100
TurretArmorSideMm 90 20
ArmorSideMm 90
ArmorRearMm 60
ArmorTopMm 30
ArmorBottomMm 20
TurretArmorRearMm 100
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 38 0 -360 360 -6 20
RotatedDriverOffset -8 0 -9
Passengers 0

// Sounds and particles
StartSound tankidle3
StartSoundLength 41
EngineSound engine_ht_is
EngineSoundLength 39
ShootSoundPrimary shoot_122mmussr
ShootParticlesPrimary largeexplode 0 0 0
ShootParticlesPrimary explode 1.4 0 0
ShootParticlesPrimary flansmod.fmflame 1.7 0 0
ShootParticlesPrimary flansmod.fmflame 0.9 0.08 0.12
ShootParticlesPrimary flansmod.fmflame 0.85 -0.08 -0.12
ShootParticlesPrimary largesmoke 0.5 0.1 0.12
ShootParticlesPrimary largesmoke 0.48 -0.1 -0.12
ShootParticlesPrimary cloud 0.08 0 0
ShootSoundSecondary MG42Shoot
AddEmitter explode 8 [-60,30,-8] [5,5,5] [0,1,0] 0.33 0.66 0 1 core
AddEmitter explode 8 [-60,30,8] [5,5,5] [0,1,0] 0.33 0.66 0 1 core
AddEmitter blockcrack_dirt 8 [-60,30,8] [5,5,5] [0,1,0] 0.33 0.66 0 1 core
DriverTraverseSounds true
PitchSound TurretTraverse1
PitchSoundLength 61
YawSound TurretTraverse2
YawSoundLength 38
