Hit Icon

Configurable UI icon and text of damage amount when you hit player|friend|clan member|headshot
Description
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.
Compatible with Clans & Friends plugins
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>"
}Default configuration
HitIcon.json
{
"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
}
}Sponsored

RCONtrol
Command your Rust server. Live WebRCON console, performance and player monitoring, quick actions, groups and permissions, and plugin management.
Visit site ↗Free
DownloadViews1.2k
Downloads54
Purchases0
Rating★ 0.0
Version2.0.2
PlatformRust
CategoryPlugins
CompatibleOxide
Size22 KB
PublishedOct 31, 2021
UpdatedNov 22, 2024
✓ Reviewed for safety and integrity