// Identity
Name Type 2 Ka-Mi [37mm]
ShortName 44_Type2KaMi
Description Japanese Amphibious Light Tank__Uses : 37mm AP Tank Shell_Small Cal. HE Tank Shell __Year Introduced : 1942

// Rendering
Icon 44_Type2KaMi
Model W44.Type2KaMi
ModelScale 1.4
Texture Skin44_Type2KaMi
RotateWheels True
CameraDistance 7.5

// Recipe and inventory
AddRecipeParts turret 1 44_Medium_Tank_Turret 1 44_Vehicle_Seat
AddRecipeParts core 1 44_Medium_Tank_Chassis 1 44_Vehicle_Seat
AddRecipeParts leftTrack 1 44_Tank_Track
AddRecipeParts rightTrack 1 44_Tank_Track
CargoSlots 20
ShellSlots 4
FuelTankSize 2000

// Paintjobs
advpaintjob Green 44_Type2KaMi_Green 44_Type2KaMi_Green green 5
advpaintjob Gray 44_Type2KaMi_Gray 44_Type2KaMi_Gray cyan 5
AddDye 5 brown

// Real-world specifications
DriveType TRACKED
RealMassKg 12300
RealEnginePowerPS 115
RealMaxSpeedKmh 37
RealMaxReverseSpeedKmh 10

// Movement
Tank true
Boat
FourWheelDrive true
MaxThrottle 0.79
MaxNegativeThrottle 0.4607
ClutchBrake 0.01975
TurnLeftSpeed 0.395
TurnRightSpeed 0.395
CanRoll true
SquashMobs True
WheelStepHeight 2
PlaceableOnLand True
PlaceableOnWater True
FloatOnLand true
FloatOnWater True
FloatOffset -1.2
Buoyancy 0.6

// Wheels and tracks
WheelRadius 1.0
WheelPosition 0 -32 -8 -18
WheelPosition 1 -32 -8 18
WheelPosition 2 32 -8 18
WheelPosition 3 32 -8 -18
WheelSpringStrength 0.5
TrackLinkLength 4
LeftLinkPoint [28,9,17]
LeftLinkPoint [31,6,17]
LeftLinkPoint [31,2,17]
LeftLinkPoint [28,-1,17]
LeftLinkPoint [28,-1,17]
LeftLinkPoint [16,-6,17]
LeftLinkPoint [-40,-6,17]
LeftLinkPoint [-40,-6,17]
LeftLinkPoint [-42,-3,17]
LeftLinkPoint [-42,1,17]
LeftLinkPoint [-42,1,17]
LeftLinkPoint [-39,4,17]
LeftLinkPoint [-9,9,17]
LeftLinkPoint [12,9,17]
LeftLinkPoint [24,9,17]
RightLinkPoint [28,9,-17]
RightLinkPoint [31,6,-17]
RightLinkPoint [31,2,-17]
RightLinkPoint [28,-1,-17]
RightLinkPoint [28,-1,-17]
RightLinkPoint [16,-6,-17]
RightLinkPoint [-40,-6,-17]
RightLinkPoint [-40,-6,-17]
RightLinkPoint [-42,-3,-17]
RightLinkPoint [-42,1,-17]
RightLinkPoint [-42,1,-17]
RightLinkPoint [-39,4,-17]
RightLinkPoint [-9,9,-17]
RightLinkPoint [12,9,-17]
RightLinkPoint [24,9,-17]
FixTrackLink 4
FlipLinkFix false

// Weapons
ReadWeaponsFromGunTypes true
ShootDelayPrimarySeconds 3
ShootDelay 3
ReloadTimeSecondary 100
PlaceTimePrimary 80
BulletSpread 5
BulletSpeed 9
BulletDetection 2
AllowAllAmmo false
AddAmmo 44_37APShell
AddAmmo 44_SmallHEShell
AddGun 24 35 -4 turret 44_Type99
BarrelPosition 45 37 1
ShootParticlesPrimary largeexplode 0 0 0
ShootParticlesPrimary explode 1.5 0 0
ShootParticlesPrimary largesmoke 0.5 0 0.1
ShootParticlesPrimary largesmoke 0.5 0 -0.1
ShootParticlesPrimary largesmoke 0.5 0.06 0.06
ShootParticlesPrimary largesmoke 0.5 0.06 -0.06
ShootParticlesPrimary largesmoke 0.5 -0.06 0.06
ShootParticlesPrimary largesmoke 0.5 -0.06 -0.06
ShootParticlesPrimary largesmoke 0.5 -0.1 0
ShootParticlesPrimary largesmoke 0.5 0.1 0
ShootParticlesPrimary cloud 0.05 0 0.2
ShootParticlesPrimary cloud 0.05 0 -0.2
ShootParticlesPrimary cloud 0.05 0.13 0.13
ShootParticlesPrimary cloud 0.05 0.13 -0.13
ShootParticlesPrimary cloud 0.05 -0.13 0.13
ShootParticlesPrimary cloud 0.05 -0.13 -0.13
ShootParticlesPrimary cloud 0.05 -0.2 0
ShootParticlesPrimary cloud 0.05 0.2 0
ShootParticlesPrimary flansmod.fmflame 1 0 0
ShootParticlesPrimary flansmod.fmflame 1.75 0 0
ShootParticlesPrimary flansmod.fmflame 1.5 0 0
ShootParticlesPrimary flansmod.fmflame 1.25 0 0
ShootParticlesPrimary flansmod.fmflame 0.75 0 0
ShootParticlesPrimary flansmod.fmflame 0.5 0 0
ShootParticlesPrimary flansmod.fmflame 0.25 0 0
ShootParticlesPrimary flansmod.fmflame 1.5 0 0
ShootParticlesPrimary flansmod.fmflame 0.5 0 0.1
ShootParticlesPrimary flansmod.fmflame 0.5 0 -0.1
ShootParticlesPrimary flansmod.fmflame 0.5 0.06 0.06
ShootParticlesPrimary flansmod.fmflame 0.5 0.06 -0.06
ShootParticlesPrimary flansmod.fmflame 0.5 -0.06 0.06
ShootParticlesPrimary flansmod.fmflame 0.5 -0.06 -0.06
ShootParticlesPrimary flansmod.fmflame 0.5 -0.1 0
ShootParticlesPrimary flansmod.fmflame 0.5 0.1 0
ShootParticlesPrimary flansmod.fmflame 0.05 0 0.2
ShootParticlesPrimary flansmod.fmflame 0.05 0 -0.2
ShootParticlesPrimary flansmod.fmflame 0.05 0.13 0.13
ShootParticlesPrimary flansmod.fmflame 0.05 0.13 -0.13
ShootParticlesPrimary flansmod.fmflame 0.05 -0.13 0.13
ShootParticlesPrimary flansmod.fmflame 0.05 -0.13 -0.13
ShootParticlesPrimary flansmod.fmflame 0.05 -0.2 0
ShootParticlesPrimary flansmod.fmflame 0.05 0.2 0
ShootParticlesPrimary flansmod.fmflame 0.1 0 0.4
ShootParticlesPrimary flansmod.fmflame 0.1 0 -0.4
ShootParticlesPrimary flansmod.fmflame 0.1 0.26 0.26
ShootParticlesPrimary flansmod.fmflame 0.1 0.26 -0.26
ShootParticlesPrimary flansmod.fmflame 0.1 -0.26 0.26
ShootParticlesPrimary flansmod.fmflame 0.1 -0.26 -0.26
ShootParticlesPrimary flansmod.fmflame 0.1 -0.4 0
ShootParticlesPrimary flansmod.fmflame 0.1 0.4 0
ShootParticlesSecondary crit 0.5 0 0

// Armour and damage
UseRealisticVehicleHealth true
ArmorFrontMm 12
ArmorSideMm 10
ArmorRearMm 10
ArmorTopMm 6
ArmorBottomMm 6
IsExplosionWhenDestroyed true

// Parts and collision
SetupPart core 800 -60 -2 -29 110 56 58
SetupPart leftTrack 300 -60 -10 -27 104 24 9
SetupPart rightTrack 300 -60 -10 18 104 24 9

// Seats
Driver 0 47 0 -360 360 -10 24
Passengers 0
RotatedDriverOffset -3 0 0
DriverAimSpeed 0.6 0.5 0
DriverYawBeforePitch false

// Optics
hasScope true
Gunsight warfare44_jap
gunsightZoom 2.5

// Sounds
StartSound TankIdle1
StartSoundLength 41
StartSoundRange 12
EngineSound Engine_LT_LVT
EngineSoundLength 39
EngineSoundRange 50
BackSound Engine_LT_LVT
BackSoundLength 39
BackSoundRange 25
YawSound TurretTraverse1
YawSoundLength 21
PitchSound TurretTraverse2
PitchSoundLength 20
DriverTraverseSounds true
ShootSoundPrimary Shoot_37mm
ShootSoundSecondary Type99Shoot
PlaceSoundPrimary TankPlace
ReloadSoundSecondary Mg34Reload
ShootReloadSound Breach
VehicleGunReloadTick 40

// Effects
AddEmitter smoke 1 [-20.5,26,10] [1,1,1] [0,0.5,0] -1 1 0 1 core
AddEmitter smoke 1 [-20.5,26,-10] [1,1,1] [0,0.5,0] -1 1 0 1 core
AddEmitter smoke 2 [-34,26,-23.25] [7,1,7] [0,0.5,0] -1 1 0 0.75 core
AddEmitter smoke 2 [-34,26,23.25] [7,1,7] [0,0.5,0] -1 1 0 0.75 core
AddEmitter smoke 2 [5,43,14] [3,1,3] [0,0.5,0] -1 1 0 0.75 turret
AddEmitter largesmoke 3 [-34,26,-23.25] [7,1,7] [0,1,0] -1 1 0 0.5 core
AddEmitter largesmoke 3 [-34,26,23.25] [7,1,7] [0,1,0] -1 1 0 0.5 core
AddEmitter largesmoke 2 [5,43,14] [3,1,3] [0,0.5,0] -1 1 0 0.5 turret
AddEmitter largesmoke 1 [-34,26,-23.25] [7,1,7] [0,1.5,0] -1 1 0 0.25 core
AddEmitter largesmoke 1 [-34,26,23.25] [7,1,7] [0,1.5,0] -1 1 0 0.25 core
AddEmitter flame 1 [-34,26,-23.25] [5,1,5] [0,1,0] -1 1 0 0.25 core
AddEmitter flame 1 [-34,26,23.25] [5,1,5] [0,1,0] -1 1 0 0.25 core
AddEmitter largesmoke 1 [5,43,14] [3,1,3] [0,1,0] -1 1 0 0.5 turret
AddEmitter largesmoke 1 [-20.5,26,-10] [1,1,1] [0,1.5,0] 0.02 0.07 0 1 core
AddEmitter explode 1 [-20.5,26,-10] [1,1,1] [0,0.2,0] 0.05 0.2 0 1 core
AddEmitter largesmoke 1 [-20.5,26,-10] [1,1,1] [0,3,0] 0.2 0.25 0 1 core
AddEmitter explode 1 [-20.5,26,-10] [1,1,1] [0,0.7,0] 0.2 0.5 0 1 core
AddEmitter largesmoke 1 [-20.5,26,-10] [1,1,1] [0,4,0] 0.5 0.52 0 1 core
AddEmitter flame 1 [-20.5,26,-10] [1,1,1] [0,2,0] 0.5 0.51 0 1 core
AddEmitter explode 1 [-20.5,26,-10] [1,1,1] [0,0.7,0] 0.5 2 0 1 core
AddEmitter largesmoke 3 [-20.5,26,-10] [1,1,1] [0,0.5,0] 0.8 2 0 1 core
AddEmitter largesmoke 1 [-20.5,26,-10] [1,1,1] [0,5,0] 0.7 0.75 0 1 core
AddEmitter flame 1 [-20.5,26,-10] [1,1,1] [0,5,0] 0.7 0.73 0 1 core
AddEmitter largesmoke 1 [-20.5,26,10] [1,1,1] [0,1.5,0] 0.02 0.07 0 1 core
AddEmitter explode 1 [-20.5,26,10] [1,1,1] [0,0.2,0] 0.05 0.2 0 1 core
AddEmitter largesmoke 1 [-20.5,26,10] [1,1,1] [0,3,0] 0.2 0.25 0 1 core
AddEmitter explode 1 [-20.5,26,10] [1,1,1] [0,0.7,0] 0.2 0.5 0 1 core
AddEmitter largesmoke 1 [-20.5,26,10] [1,1,1] [0,4,0] 0.5 0.52 0 1 core
AddEmitter flame 1 [-20.5,26,10] [1,1,1] [0,2,0] 0.5 0.51 0 1 core
AddEmitter explode 1 [-20.5,26,10] [1,1,1] [0,0.7,0] 0.5 2 0 1 core
AddEmitter largesmoke 3 [-20.5,26,10] [1,1,1] [0,0.5,0] 0.8 2 0 1 core
AddEmitter largesmoke 1 [-20.5,26,10] [1,1,1] [0,5,0] 0.7 0.75 0 1 core
AddEmitter flame 1 [-20.5,26,10] [1,1,1] [0,5,0] 0.7 0.73 0 1 core
