FastBurst
Configurable UI icon and text of damage amount when you hit player|friend|clan member|headshot

Supported Games
GameServerKingsGameServerKings

This plugin will be show an icon and damage text when a player hits another player. The icon can have different colors when you hit player/friend/clanmate/player's head. You can also set the sound effect,when hit your friend/clanmate and set color/size of text damage.

Note: Before loading the plugin, make sure to download death.png and hit.png to your oxide/data folder. Make sure to name them as such.

NEW Death Icon -> death.png

NEW Hit Icon -> hit.png

Chat Commands

  • /hit -- Enable/disable the hit icon for self

Configuration

  • Hit clanmate color - color, when you hit clanmate.
  • Hit friend color - color, when you hit friend.
  • Hit head color - color, when you hit player's head.
  • Hit body color - color, when you hit body.
  • Hit NPC body color - color, when you hit NPC body.
  • Hit Death body color - color, when you kill something.
  • Text damage color - text color (damage).
  • Damage text size - by default 15.
  • Show death kill - true or false for enable or disable show Death icon when your hit gets a headshot or kills enemy.
  • Show hits/deaths on NPC (Bears, wolfs, etc.) - Show damage and icon if you hit NPC (Not HumanNPC)
  • Text Font - available fonts: robotocondensed-bold.ttf, robotocondensed-regular.ttf, droidsansmono.ttf, permanentmarker.ttf
  • Text Outline Color - outline color.
  • Text Outline Distance - outline distance, to disable outline set "0 0"
  • Show damage - true or false for enable or disable.
  • Show clan member damage - true or false for enable or disable text.
  • Show friend damage - true or false for enable or disable text.
  • Use Friends - true or false for enable or disable friend's color.
  • Use Clans - true or false for enable or disable clan's color.
  • Use sound when clan/friend get attacked - true or false for enable or disable sound, when you hit friend or clan member.
  • When mate get attacked sound fx - by default "assets/prefabs/instruments/guitar/effects/guitarpluck.prefab" - it's Guitar sound.
  • Time to destroy - How much time icon will be displayed.
{
  "Color": {
    "Hit clan member color": "0 1 0 1",
    "Hit friend color": "0 1 0 1",
    "Hit head color": "1 0 0 1",
    "Hit body color": "1 1 1 1",
    "Hit NPC body color": "1 1 1 1 ",
    "Hit Death body color": "1 0 0 1",
    "Text damage color": "1 1 1 1",
    "Text head damage color": "1 0 0 1"
  },
  "Configuration": {
    "Damage text size": 15,
    "Show clan member damage": false,
    "Show damage": true,
    "Show death kill": true,
    "Show friend damage": true,
    "Show hit icon": true,
    "Show hits/deaths on NPC (Bears, wolfs, etc.)": true,
    "Text Font": "robotocondensed-regular.ttf",
    "Text Outline Color": "0 0 0 1",
    "Text Outline Distance": "-0.4 0.4",
    "Time to destroy": 0.45,
    "Use Clans": true,
    "Use Friends": true,
    "Use sound when clan/friends get attacked": false,
    "When clan/friends get attacked sound fx": "assets/prefabs/instruments/guitar/effects/guitarpluck.prefab"
  },
  "Version": {
    "Major": 2,
    "Minor": 0,
    "Patch": 2
  }
}

Localization

{
  "Enabled": "Hit icon was <color=green>enabled</color>",
  "Disabled": "Hit icon was <color=red>disabled</color>"
}  

MIT License


Copyright (c) 2021 FastBurst


Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:


The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.


THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.