Hey man, the Text messages are overlapping, can you fix it? thanks![]()

DamageDisplay GUI
Displays the given damage to a player in a GUI
Total Downloads: 4,951 - First Release: Apr 3, 2016 - Last Update: Apr 16, 2016
- 5/5, 15 likes
-
If anybody wants, here are my samples of perfect landing of messages just stuck to the top of belt menu (exept bodypart! i've disabled this one) like this
but it is without last plugin changes with config file. It can be adde through editing plugin source.
Code:{ ""name"": ""DamageDisplay"", ""parent"": ""Overlay"", ""components"": [ { ""type"":""UnityEngine.UI.Image"", ""color"":""0.1 0.1 0.1 0.1"", }, { ""type"":""RectTransform"", ""anchormin"": ""0.35 0.12"", ""anchormax"": ""0.647 0.15"" } ] }, { ""parent"": ""DamageDisplay"", ""components"": [ { ""type"":""UnityEngine.UI.Text"", ""text"":""Dmg: <color=yellow>{damage}</color>"", ""fontSize"":18, ""align"": ""MiddleLeft"", }, { ""type"":""RectTransform"", ""anchormin"": ""0 0"", ""anchormax"": ""1 1"" } ] }, { ""parent"": ""DamageDisplay"", ""components"": [ { ""type"":""UnityEngine.UI.Text"", ""text"":""User: <color=yellow>{victim}</color>"", ""fontSize"":18, ""align"": ""MiddleLeft"", }, { ""type"":""RectTransform"", ""anchormin"": ""0.22 0"", ""anchormax"": ""1 1"" } ] }, { ""parent"": ""DamageDisplay"", ""components"": [ { ""type"":""UnityEngine.UI.Text"", ""text"":""{attacker}"", ""fontSize"":18, ""align"": ""MiddleLeft"", }, { ""type"":""RectTransform"", ""anchormin"": ""0.36 0"", ""anchormax"": ""1 1"" } ] }, { ""parent"": ""DamageDisplay"", ""components"": [ { ""type"":""UnityEngine.UI.Text"", ""text"":""{bodypart}"", ""fontSize"":15, ""align"": ""MiddleLeft"", }, { ""type"":""RectTransform"", ""anchormin"": ""0 0.255"", ""anchormax"": ""1 0.755"" } ] }, { ""parent"": ""DamageDisplay"", ""components"": [ { ""type"":""UnityEngine.UI.Text"", ""text"":""<color=yellow>{distance}</color>"", ""fontSize"":18, ""align"": ""MiddleLeft"", }, { ""type"":""RectTransform"", ""anchormin"": ""0.85 0"", ""anchormax"": ""1 1"" } ] }
-
-
cogu 2 updated DamageDisplay GUI with a new update entry:
1.5.3
-
cogu 2 updated DamageDisplay GUI with a new update entry:
1.5.4
-
since the update it spams the consol with this:
[Oxide] 19:52 [Error] Failed to call hook 'OnEntityTakeDamage' on plugin 'DamageDisplay v1.5.4' (InvalidCastException: Null object can not be converted to a value type.) -
[DOUBLEPOST=1460235903][/DOUBLEPOST]I'm not getting that error, can you explain when it happens? Also, try removing your config, then reloading the pluginLast edited by a moderator: Apr 9, 2016 -
cant seem to fix it trought whit deleting the config :'(
-
removed config and data still not working,, worked before
-
For those of you who are having issues with version 1.5.4, try this.
Attached Files:
-
-
Tell me when to change the layering of damage on each other?
Attached Files:
-
-
-
good job updating, whenever you said your gonna re write it make in the config a way to change how long it stays on screen
-
cogu 2 updated DamageDisplay GUI with a new update entry:
1.5.5
-
-
Code:
(19:09:50) | [Oxide] 19:09 [Error] Failed to call hook 'OnEntityTakeDamage' on plugin 'DamageDisplay v1.5.5' (InvalidCastException: Null object can not be converted to a value type.)
-
-
not work for me at all.
-
-
If the plugin is not working:
• Try deleting the config then reloading the plugin
• Try changing DisplayTime on config to 0.3 (instead of 0.3f)
• If none of those work, try downloading an older version of the plugin which I uploaded here before
I think I have an idea of what is wrong, but have no way of testing ATM.Last edited by a moderator: Apr 13, 2016