Jump to content

hidden hud inventory?


ShagaDoom

Recommended Posts

I am editing hud using sbarinfo. And everything was going well until I had problems with the inventory display. When I take an item, the boxes where the inventory is saved are shown, and it is always visible until I use the items. I need it to stay hidden until you press the buttons that activate the inventory view, but once you look at it, it hides. I've seen everything on the sbarinfo wiki and I can't find anything, not even on the forums. How can I do it?

 

Spoiler

Statusbar FullScreen, FullScreenOffsets
{
    DrawImage "LIFEA0", 14, -1;
    DrawNumber 4, BIGFONT, WHITE, Life, -2, 0;


    DrawKeyBar 8, vertical, 13, -8, 15, 0;

 

    DrawImage AmmoIcon1, 476, 431;
    DrawNumber 3, BIGFONT, WHITE, Ammo1, 506, 419;
    DrawNumber 3, BIGFONT, YELLOW, Ammo2, 466, 419;


    DrawImage "HLTHE0", 355, 415;
    DrawNumber 3, BIGFONT, GREY, Health, 394, 419, 1, RED, 25, GREEN, 101;


    DrawImage "ARMOR0", 532, 415;
    DrawNumber 3, BIGFONT, GREY, Armor, 571, 419, 1, BLACK, 0, YELLOW, 101;
    DrawImage "RHA3INVB", 0, 150;

    
    inventorybarnotvisible
    {
      drawinventorybar Doom, translucent | alwaysshowcounter, 5, INDEXFONT, 401, 360, 405, 361, untranslated, 0;
    }
    
    //DrawSelectedInventory alternateonempty, INDEXFONT, 401, 360, 30, 24, untranslated, 0{}
    //} ELSE {
}

 

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...