GUI depth

Discussion in 'Rust Development' started by Romzes, Sep 16, 2016.

  1. Wulf

    Wulf Community Admin

    Overall > Overlay > Hud.Menus > Hud > Hud.Under

    There may be a Hud.Inventory too, can't recall. Hud.Menus might be Hud.Menu too.
     
  2. What layer are the Rust XP and Health bars on, any way we can get something on that same layer?
     
  3. Wulf

    Wulf Community Admin

    Hud most likely, but the CUI layers aren't really the same as Rust layers.
     
  4. Gotcha Thx Wulf :D
     
  5. I do not understand you can show the finished piece of code?
     
  6. Wulf

    Wulf Community Admin

    Take a look at some of the GUI plugins, most set a parent. Vanish, QuickSort, etc.
     
  7. If you search for "Hud" in the LustyMap.cs and replace it with Overlay it should work
     
  8. There's no name "Hud"
     
  9. Wulf

    Wulf Community Admin

    Hud is the default layer, so it is assumed unless otherwise specified. LustyMap likely just uses the default, so a parent would need to be added.
     
  10. Thank.
    [DOUBLEPOST=1474042850][/DOUBLEPOST]And is it possible to hide the map in inventory and crafting?
     
  11. Only at looting, because this event will be send from client to server by RPC. Simple opens of inventory or crafting menus are not snet events.