Okay so I tried it out. It no longer shows the economics balance, which is good, but it does not show the RP balance, just says "No Content".
InfoPanel
Moved
Total Downloads: 55,749 - First Release: Sep 25, 2015 - Last Update: Mar 13, 2018
- 5/5, 160 likes
-
yeah that's what i got so again I had to remove balanceRP and just keep Balance and it worked (Hence why posting the original just rp .json first)
-
-
yes, it's why I put all the changes needed in the .cs file first ;-)
-
-
-
OK SO IT TOOK FOREVER to figure out the margins to move the panels lol but finally got my UI set up and working with RP
Attached Files:
-
-
Question:
Each section has a background color "0 0 0 0.4" and a length of that color.
Example:
https://s25.postimg.org/z3ccdgpqn/2017-11-27_20_42_44-_Rust.png
This is a section of the info panel showing "coordinates" "airdrop" "helicopter" each area as a defined length of background color. I've tried everything to make it shorter, make it longer, push it left or push it right.
The issue I am currently having is: I made my own graphics now I need to shorten the background so its not too long.
Example:
https://s25.postimg.org/ydtk14zhr/2017-11-27_20_47_20-_Rust.png
I disable all background color on: (see code below) - the background color under the "DOCK" part of the code really isn't needed?
Code:{ "TopLeftDock", new DockConfig { Available = true, Width = 0.175f, Height = 0.03f, AnchorX = "Left", AnchorY = "Top", Margin = "0.005 0.340 0.005 0.005", BackgroundColor = "0 0 0 0", <----- changed } }, { "TopRightDock", new DockConfig { Available = true, Width = 0.39f, Height = 0.03f, AnchorX = "Right", AnchorY = "Top", Margin = "0.005 0.005 0.005 0.005", BackgroundColor = "0 0 0 0", <----- changed } }
Code:{ "Sleepers", new PanelConfig { Available = true, Dock = "TopLeftDock", Order = 7, //AnchorX = "Left", //AnchorY = "Bottom", Margin = "0 0 0 0", <----- changed Width = 0.17f, Height = 0.95f, BackgroundColor = "0 0 0 0.4", Image = new PanelImageConfig { Order = 2, Width = 0.5f, Height = 0.8f, Margin = "0 0.05 0.1 0.05", <----- changed Url = "https://s25.postimg.org/oo5nxiwin/Sleepers.png", }, Text = new PanelTextConfig { Order = 1, Width = 0.63f, Height = 1f, Align = TextAnchor.MiddleCenter, FontColor = DefaultFontColor, FontSize = 14, } } },
*UPDATE*
I think i figured this out. Width - 0.30f (example) is how long the background color will be but... do this will stretch out any graphics in that box so you have to adjust your graphic height and and width accordingly. (painful, very painful) I am sure this is a Unity thing...
After a few hours of bastardizing Wulf code(not really but it seems like it) my info panel is complete.
one last question to @Wulf is it possible to sort out the sleeper numbers with a format of XXX: example: 323 zzz. would make it easier once a server hits over XX for formating purposes.Attached Files:
Last edited by a moderator: Nov 28, 2017 -
-
Is there a way to move InfoPanel to the bottome of the screen?
-
The post before my long post is from @Brokhawk he moved his info panel to the bottom of the screen -
i kept ALL of my margins at 0 0 0 0 i used RustCui - Editor to find my min max for each panel just a heads up for min max its max min min max in the json file so this in RustCui editor
Code:"anchormin": "0.344 0.114", "anchormax": "0.641 0.137"
Code:"0.641 0.344 0.114 0.137"
-
how to put a logo as in the picture
http://oxidemod.org/attachments/server-png.42687/ -
-
-
its its own entity they said in the plugin u can use info panel to do this but this makes it easier to do
-
I am not understanding the way to edit this, any help please guys im trying to align everything to the bottom of the screen ?
-
-
I have a quick question, this may have been answered and I missed it. I have empty spaces at the ends of my Info Panel Bars, see attached. Is this something that can be tweaked pretty easily? I reinstalled the plugin with a fresh copy and it is still there. By no means is it game/plugin impacting, just tough on my voluntary OCD
Please see photo at the link, the forum wouldn't let me upload despite the file being 24kb!
Blank Space -
[DOUBLEPOST=1512334340][/DOUBLEPOST]
https://i.imgur.com/o0ykuNx.png -
Man that does look sweet, if you want to share I'd gladly accept as well because I was about to start trying something similar with the panel placement. Also can you post your config for the Zlevels as well so it doesn't cause issues? I think that's why my margins on the left got janky! From me moving it over there originally. Thanks buddy.