@Wulf Hey, this isn't really a plugin request, but I'm having an issue lining up all of the icons across the very top of my screen! Been fighting with it for about 2 hours now lol. Is there a website that could help me align it? Or does someone here have the ability to assist me?![]()
InfoPanel
Moved
Total Downloads: 55,749 - First Release: Sep 25, 2015 - Last Update: Mar 13, 2018
- 5/5, 160 likes
-
@PryMary can i have a copy ,please ?
-
The background imgae has been removed but you can still get the right min / max x & y -
Thank You
-
Really Nice Plugin! And thank you Guys for all the effort and work!
But i am still struggling with the Anchor, Width and Height Values.
I made me an example via the Rust CUI Editor and put those Values in the JSON File
and got a totally mess up with the Panel.
All the Docks and Icons was on the bottom but not in the correct position (overlapping)...
So i tried to put the values manually in the Margin Strings, with some tweaks and a lot of tries
i managed to get a Dock with one Icon almost on the right position.
It took me more then a half hour for this one Dock with Icon....if i imagine to made all the way like this i just want to vomit.
I need help over here and i don't mention to say some else should do it for me, NO WAY!
I just need an explanation in which order i have to put the Anchor, Width and Height Values
from the Rust CUI Editor to the JSON File.
Also i don't know if the Window Property is important to this or in which situation i have to change it.
It would be awesome if some one can write a small understandable How To for dummies
Here a Pic from the Editor
The Execute from Editor:
Code:[ { "name": "LeftBottomPanel", "parent": "Hud", "components": [ { "type": "UnityEngine.UI.Image", "color": "0.1 0.1 0.1 1" }, { "type": "RectTransform", "anchormin": "0.001 0.003", "anchormax": "0.381 0.021" } ] }, { "name": "CenterBottomPanel", "parent": "Hud", "components": [ { "type": "UnityEngine.UI.Image", "color": "0.1 0.1 0.1 1" }, { "type": "RectTransform", "anchormin": "0.383 0.003", "anchormax": "0.643 0.021" } ] }, { "name": "RightBottomPanel", "parent": "Hud", "components": [ { "type": "UnityEngine.UI.Image", "color": "0.1 0.1 0.1 1" }, { "type": "RectTransform", "anchormin": "0.644 0.003", "anchormax": "0.999 0.021" } ] }, { "name": "ServerName", "parent": "Hud", "components": [ { "type": "UnityEngine.UI.Text", "color": "1 1 1 1", "fontSize": 14, "align": "MiddleCenter" }, { "type": "RectTransform", "anchormin": "0.109 0.006", "anchormax": "0.182 0.021" } ] }, { "name": "ServerLogo", "parent": "Hud", "components": [ { "type": "UnityEngine.UI.RawImage", "color": "1 1 1 1", "url": "http://www.rigormortis.be/wp-content/uploads/rust-icon-512.png" }, { "type": "RectTransform", "anchormin": "0.182 0.023", "anchormax": "0.216 0.093" } ] }, { "name": "CashLogo", "parent": "Hud", "components": [ { "type": "UnityEngine.UI.RawImage", "color": "1 1 1 1", "url": "http://i.imgur.com/HhL5TvU.png" }, { "type": "RectTransform", "anchormin": "0.583 0.003", "anchormax": "0.594 0.021" } ] }, { "name": "HeliLogo", "parent": "Hud", "components": [ { "type": "UnityEngine.UI.RawImage", "color": "1 1 1 1", "url": "http://i.imgur.com/hTTyTTx.png" }, { "type": "RectTransform", "anchormin": "0.557 0.003", "anchormax": "0.568 0.021" } ] }, { "name": "PlaneLogo", "parent": "Hud", "components": [ { "type": "UnityEngine.UI.RawImage", "color": "1 1 1 1", "url": "http://i.imgur.com/dble6vf.png" }, { "type": "RectTransform", "anchormin": "0.544 0.003", "anchormax": "0.555 0.021" } ] }, { "name": "SleepersLogo", "parent": "Hud", "components": [ { "type": "UnityEngine.UI.RawImage", "color": "1 1 1 1", "url": "http://i.imgur.com/XIIZkqD.png" }, { "type": "RectTransform", "anchormin": "0.503 0.003", "anchormax": "0.513 0.021" } ] }, { "name": "PlayerLogo", "parent": "Hud", "components": [ { "type": "UnityEngine.UI.RawImage", "color": "1 1 1 1", "url": "http://i.imgur.com/n9EYIWi.png" }, { "type": "RectTransform", "anchormin": "0.453 0.003", "anchormax": "0.464 0.021" } ] }, { "name": "Clock", "parent": "Hud", "components": [ { "type": "UnityEngine.UI.RawImage", "color": "1 1 1 1", "url": "https://i.imgur.com/KYeuIRF.png" }, { "type": "RectTransform", "anchormin": "0.388 0.003", "anchormax": "0.398 0.021" } ] } ]
-
hello, i am blocked to upload files/pictures so i try to explane u on this way.
At first u have 4x DockStationStrips like here
Code:"Docks": { "TopLeftDock": { "AnchorX": "Left", "AnchorY": "Top", "Available": true, "BackgroundColor": "0 0 0 0", "Height": 0.03, "Margin": "0.892 0.18 0.0 0.0", "Width": 0.16 }, "BottomLeftDock": { "AnchorX": "Left", "AnchorY": "Bottom", "Available": true, "BackgroundColor": "0 0 0 0", "Height": 0.03, "Margin": "0.0 0.18 0.0446 0.0", "Width": 0.16 }, "BottomRightDock": { "AnchorX": "Left", "AnchorY": "Bottom", "Available": true, "BackgroundColor": "0 0 0 0", "Height": 0.03, "Margin": "0.0 0.18 0.011 0.0", "Width": 0.16 }, "TopRightDock": { "AnchorX": "Right", "AnchorY": "Top", "Available": true, "BackgroundColor": "0 0 0 0", "Height": 0.03, "Margin": "0.005 0.005 0.005 0.005", "Width": 0.4 } },
"AnchorX": "Left",
"AnchorY": "Bottom",
this one is where your 0 0 position start if X: left and Y: bottom so u have 0 0 left bottom if u change it to X:right Y:top so your 0 0 start position is right top. this is important if u want 3x DockStationStrips in the bottom u can use better CUIeditor, better if u set all 3 to
"AnchorX": "Left",
"AnchorY": "Bottom",
now u have change the position of your DockStation and inside the DockStation u can say wich info u can show up as example clock:
Code:"Clock": { "AnchorX": "Left", "AnchorY": "Bottom", "Autoload": true, "Available": true, "BackgroundColor": "0.4 0.4 0.4 0.2", "Dock": "BottomLeftDock", "FadeOut": 0.0, "Height": 0.95, "Image": { "AnchorX": "Left", "AnchorY": "Bottom", "Available": true, "BackgroundColor": "0 0 0 0.4", "Height": 0.8, "Margin": "0 0.05 0.1 0.05", "Order": 1, "Url": "", "Width": 0.28 }, "Margin": "0 0 0 0.01", "Order": 1, "PanelSettings": { "ClockUpdateFrequency (seconds)": 10, "TimeFormat": "HH:mm" }, "Text": { "Align": "MiddleCenter", "AnchorX": "Left", "AnchorY": "Bottom", "Available": true, "BackgroundColor": "0 0 0 0.4", "Content": "No Content", "FadeIn": 0.0, "FadeOut": 0.0, "FontColor": "1 1 1 1", "FontSize": 12, "Height": 0.95, "Margin": "0 -0.01 0 0.01", "Order": 2, "Width": 0.65 }, "Width": 0.30 },
sorry for my bad englishbut i hope i can help u for your start ^^
edit: oh i forget this one "Order": 1, if u have more in one DockStation as example clock, players, sleepers u can order them via this numberLast edited by a moderator: Jan 12, 2018 -
How 2 fix this error?
Code:Failed to call hook 'OnPluginUnloaded' on plugin 'InfoPanel v0.9.7' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.InfoPanel.OnPluginUnloaded (Oxide.Core.Plugins.Plugin plugin) [0x00000] in <filename unknown>:0 at Oxide.Plugins.InfoPanel.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0
I got it when restart/unload any plugin (but not infopanel).
All is working but this fck red message in my console... -
@dIMjIM
Thank you a lot for the short How To, i will try it again and give feedback.
@Red Apple 2
Try to double check your JSON, something is wrong in it.
Got the same error output if i was playing around with the Docks. -
Does anyone know how to use the in game map coordinates like this: G10 , rather then x/z coordinates?
-
че бля такое с моим плагином или серверов
what it is? how to fix?
-
has anyone made anything like this ? simple and sleek
i want it at the top of the screen and how do i change the chat commands to hide it ? i want to change them to /hud off|onAttached Files:
-
-
Hey is there any chance you could explain to me how to replace the economics on your info bar with this
[DOUBLEPOST=1516022579][/DOUBLEPOST]
Any chance you would be kind enough to share your code? xDAttached Files:
-
-
Hey Bois
I managed to get my info panel to work.
But i have a next problem, if i use my Standard Resolution of 1920x1080 i cant see no more the clock and my Message Box,
all other Icons and Text is working normally.
When i use the Resolution of 1600x1200 all is at his Placed Position, i use only one long Dock at the Bottom.
OPlayers, Sleepers, Clock and all the other Info Icons with Text are placed under the Tool Belt, Message Box on the Left and
Server Name with logo almost on the right, between Tool Belt and Health Bar.
Idk what i am doing wrong or what is messed up, Please help me Guys. -
Can some one help me i want this in the centre of the screen but cannot figure out how to do it.
this is how it is at the moment Gyazo - 112df5947102e95b7ec71a686ae01119.jpg
Code:{ "CompassDirections": { "e": "East", "n": "North", "ne": "Northeast", "nw": "Northwest", "s": "South", "se": "Southeast", "sw": "Southwest", "w": "West" }, "Docks": { "BottomLeftDock": { "AnchorX": "Left", "AnchorY": "Bottom", "Available": true, "BackgroundColor": "0 0 0 0.4", "Height": 0.03, "Margin": "0.005 0.162 0.005 0.005", "Width": 0.18 }, "BottomRightDock": { "AnchorX": "Right", "AnchorY": "Bottom", "Available": true, "BackgroundColor": "0 0 0 0.4", "Height": 0.03, "Margin": "0.005 0.005 0.005 0.165", "Width": 0.19 }, "TopLeftDock": { "AnchorX": "Left", "AnchorY": "Top", "Available": true, "BackgroundColor": "0 0 0 0", "Height": 0.03, "Margin": "0.005 0.175 0.005 0.005", "Width": 0.175 }, "TopRightDock": { "AnchorX": "Right", "AnchorY": "Top", "Available": true, "BackgroundColor": "0 0 0 0", "Height": 0.03, "Margin": "0.005 0.005 0.005 0.005", "Width": 0.39 } }, "Messages": [ "Announcing Friday Night Fight Nights!", "Join the rock-throwing event in the arena at G6 on the map.", "Exact time TBD." ], "Panels": { "OPlayers": { "AnchorX": "Left", "AnchorY": "Bottom", "Autoload": true, "Available": true, "BackgroundColor": "0 0 0 0.4", "Dock": "TopLeftDock", "FadeOut": 0.0, "Height": 0.95, "Image": { "AnchorX": "Left", "AnchorY": "Bottom", "Available": true, "BackgroundColor": "0 0 0 0.4", "Height": 0.8, "Margin": "0 0.05 0.1 0.05", "Order": 1, "Url": "https://i.imgur.com/Sr80x2R.png", "Width": 0.25 }, "Margin": "0 0 0 0.01", "Order": 2, "Text": { "Align": "MiddleCenter", "AnchorX": "Left", "AnchorY": "Bottom", "Available": true, "BackgroundColor": "0 0 0 0.4", "Content": "No Content", "FadeIn": 0.0, "FadeOut": 0.0, "FontColor": "1 1 1 1", "FontSize": 14, "Height": 1.0, "Margin": "0 0 0 0", "Order": 2, "Width": 0.65 }, "Width": 0.3 }, "AirdropEvent": { "AnchorX": "Left", "AnchorY": "Bottom", "Autoload": true, "Available": true, "BackgroundColor": "0 0 0 0.4", "Dock": "TopLeftDock", "FadeOut": 0.0, "Height": 0.95, "Image": { "AnchorX": "Left", "AnchorY": "Bottom", "Available": true, "BackgroundColor": "0 0 0 0.4", "Height": 0.8, "Margin": "0 0.1 0.1 0.1", "Order": 1, "Url": "https://i.imgur.com/0jcsc80.png", "Width": 0.8 }, "Margin": "0 0 0 0.01", "Order": 2, "PanelSettings": { "ActiveColor": "0 1 0 1", "InactiveColor": "1 1 1 0.1" }, "Width": 0.1 }, "HelicopterEvent": { "AnchorX": "Left", "AnchorY": "Bottom", "Autoload": true, "Available": true, "BackgroundColor": "0 0 0 0.4", "Dock": "TopLeftDock", "FadeOut": 0.0, "Height": 0.95, "Image": { "AnchorX": "Left", "AnchorY": "Bottom", "Available": true, "BackgroundColor": "0 0 0 0.4", "Height": 0.8, "Margin": "0 0.1 0.1 0.15", "Order": 1, "Url": "https://i.imgur.com/KPWJUUb.png", "Width": 0.75 }, "Margin": "0 0 0 0.01", "Order": 3, "PanelSettings": { "ActiveColor": "0.7 0.2 0.2 1", "InactiveColor": "1 1 1 0.1" }, "Width": 0.1 }, "Radiation": { "AnchorX": "Left", "AnchorY": "Bottom", "Autoload": true, "Available": true, "BackgroundColor": "0 0 0 0.4", "Dock": "TopLeftDock", "FadeOut": 0.0, "Height": 0.95, "Image": { "AnchorX": "Left", "AnchorY": "Bottom", "Available": true, "BackgroundColor": "0 0 0 0.4", "Height": 0.8, "Margin": "0 0.1 0.1 0.1", "Order": 1, "Url": "https://i.imgur.com/xQQhSq1.png", "Width": 0.75 }, "Margin": "0 0 0 0.01", "Order": 4, "PanelSettings": { "ActiveColor": "1 1 0 1", "InactiveColor": "1 1 1 0.1", "RefreshRate(s)": "3" }, "Width": 0.1 }, "Coordinates": { "AnchorX": "Left", "AnchorY": "Bottom", "Autoload": true, "Available": true, "BackgroundColor": "0 0 0 0.4", "Dock": "TopLeftDock", "FadeOut": 0.0, "Height": 0.95, "Image": { "AnchorX": "Left", "AnchorY": "Bottom", "Available": true, "BackgroundColor": "0 0 0 0.4", "Height": 0.8, "Margin": "0 0.01 0.1 0", "Order": 1, "Url": "https://i.imgur.com/I4vmRuF.png", "Width": 0.13 }, "Margin": "0 0 0 0.01", "Order": 5, "PanelSettings": { "RefreshRate(s)": "1" }, "Text": { "Align": "MiddleCenter", "AnchorX": "Left", "AnchorY": "Bottom", "Available": false, "BackgroundColor": "0 0 0 0.4", "Content": "No Content", "FadeIn": 0.0, "FadeOut": 0.0, "FontColor": "1 1 1 1", "FontSize": 14, "Height": 1.0, "Margin": "0 0 0 0", "Order": 2, "Width": 0.75 }, "Width": 0.6 }, "Compass": { "AnchorX": "Left", "AnchorY": "Bottom", "Autoload": true, "Available": true, "BackgroundColor": "0 0 0 0.4", "Dock": "TopLeftDock", "FadeOut": 0.0, "Height": 0.95, "Image": { "AnchorX": "Left", "AnchorY": "Bottom", "Available": true, "BackgroundColor": "0 0 0 0.4", "Height": 0.8, "Margin": "0 0.02 0.1 0", "Order": 1, "Url": "https://i.imgur.com/D1x0xOL.png", "Width": 0.175 }, "Margin": "0 0 0 0", "Order": 6, "PanelSettings": { "RefreshRate(s)": "1", "TextOrAngle": "text" }, "Text": { "Align": "MiddleCenter", "AnchorX": "Left", "AnchorY": "Bottom", "Available": false, "BackgroundColor": "0 0 0 0.4", "Content": "No Content", "FadeIn": 0.0, "FadeOut": 0.0, "FontColor": "1 1 1 1", "FontSize": 14, "Height": 1.0, "Margin": "0 0 0 0", "Order": 2, "Width": 0.85 }, "Width": 0.45 }, "MessageBox": { "AnchorX": "Right", "AnchorY": "Bottom", "Autoload": true, "Available": false, "BackgroundColor": "0 0 0 0.4", "Dock": "TopRightDock", "FadeOut": 0.0, "Height": 0.95, "Margin": "0 0 0 0", "Order": 7, "PanelSettings": { "MessageUpdateFrequency (seconds)": 5, "MsgOrder": "normal" }, "Text": { "Align": "MiddleCenter", "AnchorX": "Left", "AnchorY": "Bottom", "Available": true, "BackgroundColor": "0 0 0 0.4", "Content": "No Content", "FadeIn": 0.0, "FadeOut": 0.0, "FontColor": "1 1 1 1", "FontSize": 14, "Height": 0.95, "Margin": "0 0.01 0 0.01", "Order": 0, "Width": 1.0 }, "Width": 1.0 }, "Clock": { "AnchorX": "Left", "AnchorY": "Bottom", "Autoload": false, "Available": false, "BackgroundColor": "0 0 0 0.4", "Dock": "TopLeftDock", "FadeOut": 0.0, "Height": 0.95, "Margin": "0 0 0 0", "Order": 1, "PanelSettings": { "ClockUpdateFrequency (seconds)": 4, "TimeFormat": "HH:mm" }, "Margin": "0 0 0 0", "Order": 5, "Text": { "Align": "MiddleCenter", "AnchorX": "Left", "AnchorY": "Bottom", "Available": true, "BackgroundColor": "0 0 0 0.4", "Content": "No Content", "FadeIn": 0.0, "FadeOut": 0.0, "FontColor": "1 1 1 1", "FontSize": 14, "Height": 0.95, "Margin": "0 0 0 0", "Order": 2, "Width": 1 }, "Width": 0.35 }, "Sleepers": { "AnchorX": "Left", "AnchorY": "Bottom", "Autoload": false, "Available": false, "BackgroundColor": "0 0 0 0.4", "Dock": "TopLeftDock", "FadeOut": 0.0, "Height": 0.95, "Image": { "AnchorX": "Left", "AnchorY": "Bottom", "Available": true, "BackgroundColor": "0 0 0 0.4", "Height": 0.8, "Margin": "0 0.05 0.1 0.05", "Order": 1, "Url": "http://i.imgur.com/XIIZkqD.png", "Width": 0.5 }, "Margin": "0 0 0 0.01", "Order": 3, "Text": { "Align": "MiddleCenter", "AnchorX": "Left", "AnchorY": "Bottom", "Available": true, "BackgroundColor": "0 0 0 0.4", "Content": "No Content", "FadeIn": 0.0, "FadeOut": 0.0, "FontColor": "1 1 1 1", "FontSize": 14, "Height": 1.0, "Margin": "0 0 0 0.005", "Order": 2, "Width": 0.63 }, "Width": 0.17 } }, "Balance": { "AnchorX": "Left", "AnchorY": "Bottom", "Autoload": false, "Available": false, "BackgroundColor": "0 0 0 0.4", "Dock": "BottomLeftDock", "FadeOut": 0.0, "Height": 0.95, "Image": { "AnchorX": "Left", "AnchorY": "Bottom", "Available": true, "BackgroundColor": "0 0 0 0.4", "Height": 0.8, "Margin": "0 0.01 0.1 0.01", "Order": 1, "Url": "http://i.imgur.com/HhL5TvU.png", "Width": 0.1 }, "Margin": "0 0 0 0.01", "Order": 7, "PanelSettings": { "RefreshRate(s)": "5" }, "Text": { "Align": "MiddleCenter", "AnchorX": "Left", "AnchorY": "Bottom", "Available": true, "BackgroundColor": "0 0 0 0.4", "Content": "No Content", "FadeIn": 0.0, "FadeOut": 0.0, "FontColor": "1 1 1 1", "FontSize": 12, "Height": 1.0, "Margin": "0 0.02 0 0", "Order": 2, "Width": 0.848 }, "Width": 0.8 }, "ThirdPartyPanels": {}, "TimeFormats": [ "H:mm", "HH:mm", "h:mm", "h:mm tt" ] }
fixed the problemLast edited by a moderator: Jan 15, 2018 -
@yozza
I can not rly help you out, but try it with the Margin Strings for the Docks, also you have to alter
the Margin Strings for the Icons and Text.
Use Rust CUI Editor to do this.
Hope it helps you a bit. -
Does anyone know the color codes ? and how to change them?
-
Thanks in advance