2008-12-06 12:04:51 +00:00
|
|
|
/*******************************************************************************
|
|
|
|
* DEFAULT DOOM STATUS BAR
|
|
|
|
*******************************************************************************
|
|
|
|
* If you wish to include this file into a custom status bar please use the
|
|
|
|
* following command:
|
|
|
|
*
|
|
|
|
* base Doom;
|
|
|
|
*
|
|
|
|
* Using #include "sbarinfo/doom.txt" will not be supported.
|
|
|
|
******************************************************************************/
|
|
|
|
|
|
|
|
height 32;
|
|
|
|
monospacefonts true, "0";
|
|
|
|
|
|
|
|
statusbar fullscreen, fullscreenoffsets // ZDoom HUD
|
|
|
|
{
|
|
|
|
//health
|
|
|
|
drawimage "MEDIA0", 20, -2, centerbottom;
|
2009-05-26 00:46:55 +00:00
|
|
|
drawnumber 2147483647, HUDFONT_DOOM, untranslated, health, drawshadow, 82, -20;
|
2008-12-06 12:04:51 +00:00
|
|
|
|
|
|
|
//armor
|
|
|
|
drawimage armoricon, 20, -24, centerbottom;
|
2009-05-26 00:46:55 +00:00
|
|
|
drawnumber 2147483647, HUDFONT_DOOM, untranslated, armor, drawshadow, whennotzero, 82, -39;
|
2008-12-06 12:04:51 +00:00
|
|
|
|
|
|
|
//ammo
|
|
|
|
drawimage ammoicon1, -14, -4, centerbottom;
|
2009-05-26 00:46:55 +00:00
|
|
|
drawnumber 2147483647, HUDFONT_DOOM, untranslated, ammo1, drawshadow, -25, -20;
|
2008-12-06 12:04:51 +00:00
|
|
|
|
2009-01-01 15:09:49 +00:00
|
|
|
usesammo
|
2008-12-06 12:04:51 +00:00
|
|
|
{
|
2009-01-01 15:09:49 +00:00
|
|
|
//secondary ammo and inventory
|
|
|
|
usessecondaryammo
|
|
|
|
{
|
|
|
|
drawimage ammoicon2, -14, -22, centerbottom;
|
2009-05-26 00:46:55 +00:00
|
|
|
drawnumber 2147483647, HUDFONT_DOOM, untranslated, ammo2, drawshadow, -25, -38;
|
2009-01-01 15:09:49 +00:00
|
|
|
inventorybarnotvisible
|
|
|
|
{
|
|
|
|
drawselectedinventory centerbottom, drawshadow, alwaysshowcounter, HUDFONT_DOOM, -14, -39, -26, -56, untranslated;
|
|
|
|
}
|
|
|
|
}
|
2010-05-11 22:27:50 +00:00
|
|
|
else //no secondary ammo
|
2008-12-06 12:04:51 +00:00
|
|
|
{
|
2009-01-01 15:09:49 +00:00
|
|
|
inventorybarnotvisible
|
|
|
|
{
|
|
|
|
drawselectedinventory centerbottom, drawshadow, alwaysshowcounter, HUDFONT_DOOM, -14, -21, -26, -38, untranslated;
|
|
|
|
}
|
2008-12-06 12:04:51 +00:00
|
|
|
}
|
|
|
|
}
|
2010-05-11 22:27:50 +00:00
|
|
|
else // no ammo but inventory
|
2008-12-06 12:04:51 +00:00
|
|
|
{
|
|
|
|
inventorybarnotvisible
|
|
|
|
{
|
2009-01-01 15:09:49 +00:00
|
|
|
drawselectedinventory centerbottom, drawshadow, alwaysshowcounter, HUDFONT_DOOM, -14, -3, -26, -20, untranslated;
|
2008-12-06 12:04:51 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
gamemode deathmatch
|
|
|
|
{
|
2009-05-26 00:46:55 +00:00
|
|
|
drawnumber 2147483647, HUDFONT_DOOM, untranslated, frags, drawshadow, -3, 1;
|
2008-12-06 12:04:51 +00:00
|
|
|
}
|
2010-05-31 07:01:04 +00:00
|
|
|
else
|
2008-12-06 12:04:51 +00:00
|
|
|
{
|
2009-05-02 09:14:01 +00:00
|
|
|
// let's hope no mod ever uses 100 keys...
|
|
|
|
drawkeybar 100, vertical, reverserows, auto, -10, 2, 0, 3, auto;
|
2008-12-06 12:04:51 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
statusbar normal // Standard Doom Status bar
|
|
|
|
{
|
|
|
|
drawimage "STBAR", 0, 168;
|
|
|
|
drawimage "STTPRCNT", 90, 171;
|
|
|
|
drawimage "STTPRCNT", 221, 171;
|
|
|
|
drawnumber 3, HUDFONT_DOOM, untranslated, ammo1, 44, 171;
|
|
|
|
drawnumber 3, HUDFONT_DOOM, untranslated, health, 90, 171;
|
|
|
|
drawnumber 3, HUDFONT_DOOM, untranslated, armor, 221, 171;
|
|
|
|
|
|
|
|
//keys
|
|
|
|
drawswitchableimage keyslot 2 && 5, "nullimage", "STKEYS0", "STKEYS3", "STKEYS6", 239, 171;
|
|
|
|
drawswitchableimage keyslot 3 && 6, "nullimage", "STKEYS1", "STKEYS4", "STKEYS7", 239, 181;
|
|
|
|
drawswitchableimage keyslot 1 && 4, "nullimage", "STKEYS2", "STKEYS5", "STKEYS8", 239, 191;
|
|
|
|
|
2009-02-21 11:08:14 +00:00
|
|
|
drawnumber 3, INDEXFONT_DOOM, untranslated, ammo Clip, 288, 173;
|
|
|
|
drawnumber 3, INDEXFONT_DOOM, untranslated, ammo Shell, 288, 179;
|
|
|
|
drawnumber 3, INDEXFONT_DOOM, untranslated, ammo RocketAmmo, 288, 185;
|
|
|
|
drawnumber 3, INDEXFONT_DOOM, untranslated, ammo Cell, 288, 191;
|
2008-12-06 12:04:51 +00:00
|
|
|
|
2009-02-21 11:08:14 +00:00
|
|
|
drawnumber 3, INDEXFONT_DOOM, untranslated, ammocapacity Clip, 314, 173;
|
|
|
|
drawnumber 3, INDEXFONT_DOOM, untranslated, ammocapacity Shell, 314, 179;
|
|
|
|
drawnumber 3, INDEXFONT_DOOM, untranslated, ammocapacity RocketAmmo, 314, 185;
|
|
|
|
drawnumber 3, INDEXFONT_DOOM, untranslated, ammocapacity Cell, 314, 191;
|
2008-12-06 12:04:51 +00:00
|
|
|
gamemode deathmatch, teamgame
|
|
|
|
{
|
|
|
|
drawnumber 2, HUDFONT_DOOM, untranslated, frags, 138, 171;
|
|
|
|
}
|
|
|
|
gamemode cooperative, singleplayer
|
|
|
|
{
|
|
|
|
drawimage "STARMS", 104, 168;
|
|
|
|
drawswitchableimage weaponslot 2, "STGNUM2", "STYSNUM2", 111, 172;
|
|
|
|
drawswitchableimage weaponslot 3, "STGNUM3", "STYSNUM3", 123, 172;
|
|
|
|
drawswitchableimage weaponslot 4, "STGNUM4", "STYSNUM4", 135, 172;
|
|
|
|
drawswitchableimage weaponslot 5, "STGNUM5", "STYSNUM5", 111, 182;
|
|
|
|
drawswitchableimage weaponslot 6, "STGNUM6", "STYSNUM6", 123, 182;
|
|
|
|
drawswitchableimage weaponslot 7, "STGNUM7", "STYSNUM7", 135, 182;
|
|
|
|
}
|
|
|
|
gamemode cooperative, deathmatch, teamgame
|
|
|
|
{
|
2010-01-31 07:26:50 +00:00
|
|
|
drawimage translatable "STFBANY", 143, 169;
|
2008-12-06 12:04:51 +00:00
|
|
|
}
|
|
|
|
drawselectedinventory alternateonempty, INDEXFONT, 143, 168
|
|
|
|
{
|
2009-04-03 02:37:01 +00:00
|
|
|
drawmugshot "STF", 5, 143, 168;
|
2008-12-06 12:04:51 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
statusbar inventory // Standard bar overlay (ZDoom Addition)
|
|
|
|
{
|
|
|
|
drawinventorybar Doom, 7, INDEXFONT, 50, 170;
|
|
|
|
}
|
|
|
|
|
2009-05-09 02:31:49 +00:00
|
|
|
statusbar inventoryfullscreen, fullscreenoffsets // ZDoom HUD overlay.
|
2008-12-06 12:04:51 +00:00
|
|
|
{
|
2009-05-09 02:31:49 +00:00
|
|
|
drawinventorybar Doom, translucent, 7, INDEXFONT, -106+center, -31;
|
2008-12-06 12:04:51 +00:00
|
|
|
}
|