Default status bars
(development version only)
This page contains SBARINFO code for any default status bar that can be accurately emulated.
Doom
height 32;
monospacefonts true, "0";
statusbar normal
{
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 BlueCard && BlueSkull, "nullimage", "STKEYS0", "STKEYS3", "STKEYS6", 239, 171;
drawswitchableimage YellowCard && YellowSkull, "nullimage", "STKEYS1", "STKEYS4", "STKEYS7", 239, 181;
drawswitchableimage RedCard && RedSkull, "nullimage", "STKEYS2", "STKEYS5", "STKEYS8", 239, 191;
drawnumber 3, INDEXFONT, gold, ammo Clip, 288, 173;
drawnumber 3, INDEXFONT, gold, ammo Shell, 288, 179;
drawnumber 3, INDEXFONT, gold, ammo RocketAmmo, 288, 185;
drawnumber 3, INDEXFONT, gold, ammo Cell, 288, 191;
drawnumber 3, INDEXFONT, gold, ammocapacity Clip, 314, 173;
drawnumber 3, INDEXFONT, gold, ammocapacity Shell, 314, 179;
drawnumber 3, INDEXFONT, gold, ammocapacity RocketAmmo, 314, 185;
drawnumber 3, INDEXFONT, gold, ammocapacity Cell, 314, 191;
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
{
drawimage translatable "STFBANY", 144, 169;
}
drawselectedinventory alternateonempty, INDEXFONT, 143, 168
{
drawmugshot 5, 143, 168;
}
}
statusbar inventory
{
drawinventorybar Doom, 7, INDEXFONT, 50, 170;
}
Heretic
height 42;
monospacefonts true, "0";
interpolatehealth true;
statusbar normal
{
drawimage "BARBACK", 0, 158;
drawimage "LTFCTOP", 0, 148;
drawimage "RTFCTOP", 290, 148;
//god mode
drawswitchableimage invulnerable, "GOD1", "nullimage", 16, 167;
drawswitchableimage invulnerable, "GOD2", "nullimage", 287, 167;
//health
drawimage "CHAINBAC", 0, 190;
gamemode singleplayer
{
drawgem wiggle, "CHAIN", "LIFEGEM2", 15, 23, 16, 2, 191;
}
gamemode deathmatch, cooperative, teamgame
{
drawgem wiggle, translatable, "CHAIN", "LIFEGEM2", 15, 23, 16, 2, 191;
}
drawimage "LTFACE", 0, 190;
drawimage "RTFACE", 276, 190;
drawshader 16, 10, horizontal, 19, 190;
drawshader 16, 10, horizontal, reverse, 278, 190;
//statbar
gamemode singleplayer, cooperative
{
drawimage "LIFEBAR", 34, 160;
drawimage "ARMCLEAR", 57, 171;
drawnumber 3, HUDFONT_RAVEN, untranslated, health, 87, 170, 1;
}
gamemode deathmatch, teamgame
{
drawimage "STATBAR", 34, 160;
drawimage "ARMCLEAR", 57, 171;
drawnumber 3, HUDFONT_RAVEN, untranslated, frags, 87, 170, 1;
}
drawimage "ARMCLEAR", 224, 171;
drawnumber 3, HUDFONT_RAVEN, untranslated, armor, 254, 170, 1;
//ammo
usessecondaryammo not
{
drawnumber 3, HUDFONT_RAVEN, untranslated, ammo1, 134, 162;
drawimage ammoicon1, 123, 180, center;
}
usessecondaryammo
{
drawnumber 3, INDEXFONT_RAVEN, untranslated, ammo1, 137, 165;
drawnumber 3, INDEXFONT_RAVEN, untranslated, ammo2, 137, 177;
drawimage ammoicon1, 115, 169, center;
drawimage ammoicon2, 115, 180, center;
}
//keys
drawswitchableimage KeyYellow, "nullimage", "YKEYICON", 153, 164;
drawswitchableimage KeyGreen, "nullimage", "GKEYICON", 153, 172;
drawswitchableimage KeyBlue, "nullimage", "BKEYICON", 153, 180;
//inventory box
drawselectedinventory artiflash, INDEXFONT_RAVEN, 179, 160, 208, 182, untranslated, 1;
}
statusbar inventory
{
drawimage "INVBAR", 34, 160;
drawinventorybar Heretic, noartibox, 7, INDEXFONT_RAVEN, 50, 160, 76, 182, untranslated, 1;
}
Mug Shots
mugshot "Normal", health2
{
{ST00, ST01, ST02} 17;
}
mugshot "Pain", healthspecial, directional
{
{TR00, KILL0, TL00} 35;
}
mugshot "Rampage", health
{
KILL0 1;
}
mugshot "Ouch", health
{
OUCH0 35;
}
mugshot "Grin", health
{
EVL0 70;
}
mugshot "God"
{
GOD0 -1;
}
mugshot "GodAnimated"
{
{GOD0, GOD1, GOD2} 17;
}
mugshot "Death"
{
DEAD0 -1;
}
mugshot "XDeath"
{
XDTH0 10;
XDTH1 10;
XDTH2 10;
XDTH3 10;
XDTH4 10;
XDTH5 -1;
}