How to change the depth of gui? I want to change the map display.
I have so: http://i.imgur.com/F4hBSVU.png
I want so: http://i.imgur.com/KjhdfJ5.png
GUI depth
Discussion in 'Rust Development' started by Romzes, Sep 16, 2016.
-
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. -
What layer are the Rust XP and Health bars on, any way we can get something on that same layer?
-
Wulf Community Admin
Hud most likely, but the CUI layers aren't really the same as Rust layers. -
Gotcha Thx Wulf
-
I do not understand you can show the finished piece of code?
-
Wulf Community Admin
Take a look at some of the GUI plugins, most set a parent. Vanish, QuickSort, etc. -
If you search for "Hud" in the LustyMap.cs and replace it with Overlay it should work
-
There's no name "Hud"
-
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. -
Thank.
[DOUBLEPOST=1474042850][/DOUBLEPOST]And is it possible to hide the map in inventory and crafting? -
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.
