InterpolateHealth true, 6;
InterpolateArmor true, 6;

statusbar normal, fullscreenoffsets // KF HUD
{
	drawbar "PERKBAR2", "PERKBAR1", ammo PerkXP, vertical, -89, 210;
	drawimage "PERKBAR3", -89, 210;
	
	InInventory Perk_Demo, 1
	{
		drawimage "PHUDGREN", -87, 257;
	}
	
	InInventory Perk_Juggernaut, 1
	{
		drawimage "PHUDJUGG", -87, 257;
	}
	
	InInventory Perk_Rifleman, 1
	{
	drawimage "PHUDRIFL", -87, 257;
	}
	
	InInventory Perk_Commando, 1
	{
		drawimage "PHUDCOMM", -87, 257;
	}
	
	InInventory Perk_Pyro, 1
	{
		drawimage "PHUDFIRE", -87, 257;
	}
	
	drawimage "PHUDBAR", -87, 257;
	
	drawnumber 2, BIGFONT, untranslated, PerkLevel, drawshadow, -30, 297;
	drawnumber 6, BIGFONT, untranslated, PerkXPGoal, drawshadow, -30, 427;
	drawnumber 6, BIGFONT, untranslated, PerkXP, drawshadow, -30, 397;
	
	drawimage "BLODLEFT", 142, -1, centerbottom;
	drawimage "BLODRIGH", -142, -1, centerbottom;

    //health
    drawimage "KFHUDBOX", 60, -12, centerbottom;
	drawimage "HELTICON", 36, -20, centerbottom;
    drawnumber 3, BIGFONT, untranslated, health, drawshadow, 92, -40;

	 //health
	drawstring TYPEWRIT, White, "$", 40, -98, 0;
    drawnumber 5, TYPEWRIT, White, Money, drawshadow, 112, -100;

    //armor
	drawimage "KFHUDBOX", 156, -12, centerbottom;
	drawimage "ARMRICON", 132, -20, centerbottom;
    drawnumber 3, BIGFONT, untranslated, armor, drawshadow, 188, -40;
	
	drawimage "KFHUDBOX", -60, -12, centerbottom;
	drawimage "GRENICON", -92, -20, centerbottom;
	
	//---GRENADE COUNT----------------------------------

	InInventory Dynamite, 1
	{
	drawnumber 3, BIGFONT, untranslated, DynamitePrimary, drawshadow, -28, -40;
	}
	
	else
	{
		InInventory Flamenade, 1
		{
		drawnumber 3, BIGFONT, untranslated, FlamenadePrimary, drawshadow, -28, -40;
		}
		else
		{
		drawnumber 3, BIGFONT, untranslated, Type97Primary, drawshadow, -28, -40;
		}
	}

	InInventory not SynthFireActive, 1
	{
		usessecondaryammo
		{
	drawimage "KFHUDBOX", -156, -12, centerbottom;
	drawimage  ammoicon2, -188, -20, centerbottom;
	drawnumber 3, BIGFONT, untranslated, ammo2, drawshadow, -124, -40;
		}

		usesammo
		{
			usessecondaryammo
			{
				IsSelected not "Type-97 Grenade"
				{
					drawimage "KFHUDBOX", -252, -12, centerbottom;
					drawimage ammoicon1, -280, -20, centerbottom;
					drawnumber 3, BIGFONT, untranslated, ammo1, drawshadow, -220, -40;
				}
			}
			else
			{
				IsSelected "Dynamite"
				{
					drawbar "FUSE2", "FUSE1", ammo FuseTimer, horizontal, interpolate(20), -212, -150;
				}
				
				IsSelected not "Type-97 Grenade"
				{
					drawimage "KFHUDBOX", -156, -12, centerbottom;
					drawimage ammoicon1, -188, -20, centerbottom;
					drawnumber 3, BIGFONT, untranslated, ammo1, drawshadow, -124, -40;
				}
			}
		}
	}
	
	InInventory SynthFireActive, 1
	{
		
		drawimage "DUALDISP", -225, -6, centerbottom;
		
		drawimage ammoicon1, -225, -35, centerbottom;
		
		drawnumber 3, BIGFONT, untranslated, ammo1, drawshadow | alignment(right), -260, -36;
		drawnumber 3, BIGFONT, untranslated, ammo2, drawshadow | alignment(left), -190, -36;
		
		//===============================================
		// AMMO RESERVES
		//===============================================
		IsSelected "DualOrderPistols"
		{
			drawnumber 3, BIGFONT, untranslated, OrderDualSecondary, drawshadow | alignment(right), -205, -30;
		}
		
		IsSelected "DualMP40s"
		{
			drawnumber 3, BIGFONT, untranslated, DualMP40Secondary, drawshadow | alignment(right), -205, -30;
		}
	}

	IsSelected not "MenuWeapon"
	{
	drawstring TYPEWRIT, White, weapontag, -50, -92, 0;
	}

	InInventory HasFiringModes, 1
	{
		InInventory SemiAutomatic, 1
		{
			drawimage "FIRESEMI", 170, -65, centerbottom;
		}
		InInventory not SemiAutomatic, 1
		{
			drawimage "FIREAUTO", 170, -65, centerbottom;
		}
	}

	
	IsSelected "Pump Shotgun"
	{
		InInventory DukeDragonBreath, 1
		{
			InInventory DukeAmmoMode, 1
			{
				drawstring BIGFONT, Green, "Dragon's Breath", -50, -132, 0;
			}
			InInventory not DukeAmmoMode, 1
			{
				drawstring BIGFONT, Green, "12-Gauge", -50, -132, 0;
			}
		drawimage "KFHUDBOX", -348, -12, centerbottom;
		drawimage  "ABX2B0", -380, -20, centerbottom;
		drawnumber 3, BIGFONT, untranslated, DukeDragonSecondary, drawshadow, -316, -40;
		drawstring BIGFONT, Yellow, "+ Dragon's Breath Rounds", -50, -112, 0;
		}
	}
	
	IsSelected "M79 Grenade Launcher"
	{
		InInventory not M79Mode, 1
		{
			drawstring BIGFONT, Green, "Explosive Mode", -50, -112, 0;
		}
		
		InInventory M79Mode, 1
		{
			InInventory not M79Mode, 2
			{
			drawstring BIGFONT, Green, "Explosive Mode", -50, -112, 0;
			}
		}
		
		InInventory M79Mode, 2
		{
			InInventory not M79Mode, 3
			{
			drawstring BIGFONT, Green, "Incendiary Mode", -50, -112, 0;
			}
		}
		
		InInventory M79Mode, 3
		{
			InInventory not M79Mode, 4
			{
			drawstring BIGFONT, Green, "Buckshot Mode", -50, -112, 0;
			}
		}
	
		InInventory M79IncendiaryHUD, 1
		{
		drawstring BIGFONT, Yellow, "+ Incendiary Ammo", -50, -132, 0;
		}
		
		InInventory M79ShotgunHUD, 1
		{
		drawstring BIGFONT, Yellow, "+ Buckshot Ammo", -50, -152, 0;
		}
	}

	IsSelected "Zed's Lobotomizer"
	{
		InInventory ZedThermalHUD, 1
		{
		drawstring BIGFONT, Yellow, "+ Thermal Scope", -50, -112, 0;
		}
	}

	
	IsSelected "Sten MK II"
	{
		InInventory StenSilencerHUD, 1
		{
		drawstring BIGFONT, Yellow, "+ Silencer", -50, -112, 0;
		}
	}


    //ammo
    // drawimage "AMMO3", 36, -96, centerbottom;

	//ammo2
	// drawimage "AMMO4", 38, -134, centerbottom;

	// Money
	// drawnumber 5, BIGFONT, untranslated, Money, drawshadow, 290, -124;

	// Health Reserve
	// drawimage "RESERV2", 38, -174, centerbottom;
    // drawnumber 3, BIGFONT, untranslated, HealthReserve, drawshadow, 120, -200;

    usesammo
    {
        //secondary ammo and inventory
        usessecondaryammo
        {
            inventorybarnotvisible
            {
                drawselectedinventory centerbottom, drawshadow, alwaysshowcounter, BIGFONT, -28, -78, -52, -118, untranslated;
            }
        }
        //no secondary ammo
        usessecondaryammo not
        {
            inventorybarnotvisible
            {
                drawselectedinventory centerbottom, drawshadow, alwaysshowcounter, HUDFONT_DOOM, -28, -42, -52, -76, untranslated;
            }
        }
    }

    // no ammo but inventory
    usesammo not
    {
        inventorybarnotvisible
        {
            drawselectedinventory centerbottom, drawshadow, alwaysshowcounter, BIGFONT, -28, -6, -52, -40, untranslated;
        }
    }

    gamemode deathmatch
    {
        drawnumber 2, BIGFONT, untranslated, frags, drawshadow, -6, 2;
    }
    gamemode singleplayer, cooperative, teamgame
    {
        drawswitchableimage BlueCard && BlueSkull, "", "STKEYS0", "STKEYS3", "STKEYS6", 204, -95;
		drawswitchableimage YellowCard && YellowSkull, "", "STKEYS1", "STKEYS4", "STKEYS7", 236, -95;
		drawswitchableimage RedCard && RedSkull, "", "STKEYS2", "STKEYS5", "STKEYS8", 268, -95;
    }

}