Search the Community
Showing results for tags 'wound'.
-
Version 1.1.1
1 download
PointsUI is a Rust server plugin that introduces stylistic user interface elements that indicate the gain of points due to different events. The plugin is highly configurable and comes with a set of built-in events, as of version 1.0.1, these built-in events include Eliminations - issued when a player kills another player Knocks - issued when a player wounds another player Assists - issued when a player kills a wounded player that had been wounded by someone else Headshots - issued when a kill (or a knock, configurable) is the result of a head-shot Long shots - issued when a kill (or a knock, configurable) is the result of a shot fired from a configurable distance Demo Demo Installation Download the PointsUI.cs plugin file. Place the plugin file into your server’s plugins directory. Usage/Commands /pointsui help Display the available sub-commands menu. /pointsui <on|off> Enable or disable the display of plugin UI elements for yourself (the command issuer). /pointsui add <player> <score> [(key|value) <message>] Display (or add-to) the given score and an optional text label next to said score for the target player. The score argument is expected to be a number. If the key/value argument is "value", the message argument will be interpreted as-in by the issued command. Otherwise, if the key/value argument is "key", the message argument will be passed through as a key in the plugin language (i18n) component and its result will be used. Using the "key" option is recommended if you wish to support multiple language options for the UI labels and applied to players automatically based on their individual game language settings. /pointsui clear <player> Clears any points UI elements currently active for the target player. Permissions pointsui.display - Allows the player to have UI elements displayed. pointsui.command.toggle- Allows the command sender access to the /pointsui <on|off> sub-command. pointsui.command.add - Allows the command sender access to the /pointsui add sub-command. pointsui.command.clear- Allows the command sender access to the /pointsui clear sub-command. Configuration { "Sum score": { "Stages": [ { "Color": "#ED2703", "Fade in duration": 0.03, "Delay": 0.05 }, { "Color": "#EC8D21", "Fade in duration": 0.04, "Delay": 0.05 }, { "Color": "#F5E86C", "Fade in duration": 0.1, "Delay": 0.1 } ], "Font": "robotocondensed-bold.ttf", "Font size": 18 }, "Score history lines": { "Color": "#FFFFFF", "Fade in duration": 0.3, "Font": "robotocondensed-bold.ttf", "Font size": 14, "Maximum displayed line count": 4, "Delay between new line additions": 0.3, "Ignore delay of first new line addition": false }, "Delay to start reducing score history after last score update": 2.0, "Delay between each score reduction": 0.5, "Position": { "Anchor Min X": 0.6, "Anchor Min Y": 0.5, "Anchor Max X": 1.0, "Anchor Max Y": 1.0, "Distance between score sum and score history": 16.0, "Score history line size": 16.0 }, "Built-in hooks": { "Affect players": true, "Affect NPCs": false, "NPC types emulating players (advanced)": [ "CustomScientistNpc" ], "Elimination": { "Enabled": true, "Commands": [ "pointsui add {attacker.id} 100 key ELIMINATION" ] }, "Knock": { "Enabled": true, "Commands": [ "pointsui add {attacker.id} 50 key KNOCK" ] }, "Assist": { "Enabled": true, "Commands": [ "pointsui add {attacker.id} 25 key ASSIST" ] }, "Headshot": { "Award on knock": false, "Award on elimination": true, "Enabled": true, "Commands": [ "pointsui add {attacker.id} 25 key HEADSHOT" ] }, "Long shot": { "Award on knock": false, "Award on elimination": true, "Distance": 3000.0, "Enabled": true, "Commands": [ "pointsui add {attacker.id} 25 key LONGSHOT" ] } } } Configuration Notes Sum score The sum score section controls the behavior of the score streak element. By default, it emulates a color animation by stacking multiple text elements of the same text value, but of different colors, fade-in time and display delay. New layers/stages can be added or removed. The delay of each stage controls when the next stage will occur. It is recommended to keep the fade-in time less than or equal to the delay time. Score history lines The score history lines section controls the past scores that make up the score streak. Built-in hooks The plugin is primarily designed for other plugins to use, however some built-in hooks are provided. The commands section allows to enter 0 or more commands to execute when the hook is ran. The valid placeholders for command arguments are {attacker.id}, {attacker.name}, {victim.id}, and {victim.name}, which correspond the the user steam ID and the display names of the attacker and victim players respectively. Developer API void API_AddScore(BasePlayer player, int score, string? message) void API_ClearScore(BasePlayer player)$8.00 -
Version 0.1.8
83 downloads
GUI and sound announcements for online teammates. Announcements about teammates who have connected, disconnected, been wounded or killed while sleeping. Additionally, announcements from the team leader, in Team chat channel using "!" as a first char. { "Chat command": "teama", "Is it worth enabling GameTips for messages?": true, "Is it worth enabling leader's group announcements?": true, "Is it worth enabling sound announcements?": true, "Radius within which a wounded ally notification is received": 100.0, "Radius within which a sound effect is triggered when an ally is wounded": 50.0, "Sound effect triggered when an ally is wounded": "assets/bundled/prefabs/fx/player/beartrap_scream.prefab", "Notification settings for each type": [ { "Notification type. Do not touch this parameter": "Connected", "Language_Key": "MsgPlayerConnected", "Duration": 6.0, "Main_Color": "#4F6133", "Main_Transparency": 0.8, "Main_Material": "", "Image_URL": "https://i.imgur.com/5Q9rxNO.png", "Image_Sprite": "", "Image_IsRawImage": false, "Image_Color": "#8CBA42", "Image_Transparency": 1.0, "Text_Size": 16, "Text_Color": "#8CBA42", "Text_Font": "RobotoCondensed-Bold.ttf", "Sound_Effect": "assets/prefabs/npc/scientist/sound/chatter.prefab" }, { "Notification type. Do not touch this parameter": "Disconnected", "Language_Key": "MsgPlayerDisconnected", "Duration": 6.0, "Main_Color": "#BF3B26", "Main_Transparency": 0.8, "Main_Material": "", "Image_URL": "https://i.imgur.com/5Q9rxNO.png", "Image_Sprite": "", "Image_IsRawImage": false, "Image_Color": "#FFD173", "Image_Transparency": 1.0, "Text_Size": 16, "Text_Color": "#FFD173", "Text_Font": "RobotoCondensed-Bold.ttf", "Sound_Effect": "assets/prefabs/npc/scientist/sound/death.prefab" }, { "Notification type. Do not touch this parameter": "LeaderAnnounce", "Language_Key": "", "Duration": 6.0, "Main_Color": "#216699", "Main_Transparency": 0.8, "Main_Material": "", "Image_URL": "https://i.imgur.com/RSaRsp0.png", "Image_Sprite": "", "Image_IsRawImage": false, "Image_Color": "#82C7F5", "Image_Transparency": 1.0, "Text_Size": 16, "Text_Color": "#82C7F5", "Text_Font": "RobotoCondensed-Bold.ttf", "Sound_Effect": "assets/prefabs/npc/scientist/sound/aggro.prefab" }, { "Notification type. Do not touch this parameter": "WoundedDistance", "Language_Key": "MsgPlayerWoundedDistance", "Duration": 6.0, "Main_Color": "#FFC21A", "Main_Transparency": 0.8, "Main_Material": "", "Image_URL": "https://i.imgur.com/jMAs33v.png", "Image_Sprite": "", "Image_IsRawImage": false, "Image_Color": "#FFF54C", "Image_Transparency": 1.0, "Text_Size": 16, "Text_Color": "#FFF54C", "Text_Font": "RobotoCondensed-Bold.ttf", "Sound_Effect": "assets/prefabs/npc/scientist/sound/takecover.prefab" }, { "Notification type. Do not touch this parameter": "WoundedGrid", "Language_Key": "MsgPlayerWoundedGrid", "Duration": 6.0, "Main_Color": "#FFC21A", "Main_Transparency": 0.8, "Main_Material": "", "Image_URL": "https://i.imgur.com/jMAs33v.png", "Image_Sprite": "", "Image_IsRawImage": false, "Image_Color": "#FFF54C", "Image_Transparency": 1.0, "Text_Size": 16, "Text_Color": "#FFF54C", "Text_Font": "RobotoCondensed-Bold.ttf", "Sound_Effect": "assets/prefabs/npc/scientist/sound/takecover.prefab" }, { "Notification type. Do not touch this parameter": "DeadWhileSleeping", "Language_Key": "MsgPlayerDeadWhileSleeping", "Duration": 6.0, "Main_Color": "#FFC21A", "Main_Transparency": 0.8, "Main_Material": "", "Image_URL": "https://i.imgur.com/gwk73Tk.png", "Image_Sprite": "", "Image_IsRawImage": false, "Image_Color": "#FFF54C", "Image_Transparency": 1.0, "Text_Size": 16, "Text_Color": "#FFF54C", "Text_Font": "RobotoCondensed-Bold.ttf", "Sound_Effect": "assets/prefabs/npc/scientist/sound/responddeath.prefab" }, { "Notification type. Do not touch this parameter": "Banned", "Language_Key": "MsgPlayerBanned", "Duration": 6.0, "Main_Color": "#BF3B26", "Main_Transparency": 0.8, "Main_Material": "", "Image_URL": "https://i.imgur.com/8WsmOMo.png", "Image_Sprite": "", "Image_IsRawImage": false, "Image_Color": "#FFD173", "Image_Transparency": 1.0, "Text_Size": 16, "Text_Color": "#FFD173", "Text_Font": "RobotoCondensed-Bold.ttf", "Sound_Effect": "assets/prefabs/missions/effects/mission_failed.prefab" } ], "Version": { "Major": 0, "Minor": 1, "Patch": 8 } } EN: { "MsgPlayerConnected": "Your teammate {0} has been connected!", "MsgPlayerDisconnected": "Your teammate {0} has been disconnected!", "MsgPlayerWoundedDistance": "Your teammate {0} was wounded by {1}!\nHe is {2} meters away from you.", "MsgPlayerWoundedGrid": "Your teammate {0} was wounded by {1} at {2}!", "MsgPlayerDeadWhileSleeping": "Your teammate {0} was killed by {1} while he was sleeping at {2}!", "MsgPlayerBanned": "Your teammate {0} has been banned!\nReason: {1}.", "MsgEmptyTeam": "There is only you in your team!", "MsgNotLeader": "Only the team leader can send announcements!", "MsgOfflineMates": "All your teammates are offline!", "MsgEnableSound": "Sound notifications are enabled!", "MsgDisableSound": "Sound notifications are disabled!", "MsgEnableConnected": "Team mates connection notifications are enabled!", "MsgDisableConnected": "Team mates connection notifications are disabled!", "MsgEnableDisconnected": "Team mates disconnection notifications are enabled!", "MsgDisableDisconnected": "Team mates disconnection notifications are disabled!", "MsgEnableWounded": "Team mates wounded notifications are enabled!", "MsgDisableWounded": "Team mates wounded notifications are disabled!", "MsgEnableDeath": "Team mates sleeping kill notifications are enabled!", "MsgDisableDeath": "Team mates sleeping kill notifications are disabled!", "MsgEnableAll": "All team mates notifications are enabled!", "MsgDisableAll": "All team mates notifications are disabled!", "MsgKillerUnknown": "Unknown", "bear": "Bear", "polarbear": "PolarBear", "wolf": "Wolf", "stag": "Stag", "boar": "Boar", "chicken": "Chicken", "horse": "Horse", "simpleshark": "Shark", "patrolhelicopter": "Patrol Heli", "bradleyapc": "Bradley APC", "scientistnpc_arena": "Scientist", "scientistnpc_cargo": "Cargo Scientist", "scientistnpc_cargo_turret_any": "Cargo Scientist", "scientistnpc_cargo_turret_lr300": "Cargo Scientist", "scientistnpc_ch47_gunner": "Chinook Scientist", "scientistnpc_excavator": "Excavator Scientist", "scientistnpc_full_any": "Scientist", "scientistnpc_full_lr300": "Scientist", "scientistnpc_full_mp5": "Scientist", "scientistnpc_full_pistol": "Scientist", "scientistnpc_full_shotgun": "Scientist", "scientistnpc_heavy": "Heavy Scientist", "scientistnpc_junkpile_pistol": "Road Scientist", "scientistnpc_oilrig": "Oilrig Scientist", "scientistnpc_patrol": "Patrol Scientist", "scientistnpc_peacekeeper": "Peacekeeper Scientist", "scientistnpc_roam": "Roam Scientist", "scientistnpc_roam_nvg_variant": "Roam NVG Scientist", "scientistnpc_roamtethered": "Roam Scientist" } RU: { "MsgPlayerConnected": "Ваш союзник {0} подключился!", "MsgPlayerDisconnected": "Ваш союзник {0} отключился!", "MsgPlayerWoundedDistance": "Вашего союзника {0} серьезно ранил {1}!\nОн в {2} метрах от вас.", "MsgPlayerWoundedGrid": "Вашего союзника {0} серьезно ранил {1} в {2}!", "MsgPlayerDeadWhileSleeping": "Вашего союзника {0} убил {1}, пока тот спал в {2}!", "MsgPlayerBanned": "Ваш союзник {0} был заблокирован!\nПричина: {1}.", "MsgEmptyTeam": "У тебя нет союзников!", "MsgNotLeader": "Только лидер группы может отправлять объявления!", "MsgOfflineMates": "Все ваши союзники не в сети!", "MsgEnableSound": "Звуковые уведомления включены!", "MsgDisableSound": "Звуковые уведомления выключены!", "MsgEnableConnected": "Оповещение о подключении союзников включено!", "MsgDisableConnected": "Оповещение о подключении союзников выключено!", "MsgEnableDisconnected": "Оповещение об отключении союзников включено!", "MsgDisableDisconnected": "Оповещение об отключении союзников выключено!", "MsgEnableWounded": "Оповещение о ранении союзников включено!", "MsgDisableWounded": "Оповещение о ранении союзников выключено!", "MsgEnableDeath": "Оповещение о смерти во сне союзников включено!", "MsgDisableDeath": "Оповещение о смерти во сне союзников выключено!", "MsgEnableAll": "Все оповещения о состоянии союзников включены!", "MsgDisableAll": "Все оповещения о состоянии союзников выключены!", "MsgKillerUnknown": "Неизвестный", "bear": "Медведь", "polarbear": "Полярный медведь", "wolf": "Волк", "stag": "Олень", "boar": "Кабан", "chicken": "Курица", "horse": "Лошадь", "simpleshark": "Акула", "patrolhelicopter": "Патрульный вертолет", "bradleyapc": "Танк", "scientistnpc_arena": "Ученый", "scientistnpc_cargo": "Защитник карго", "scientistnpc_cargo_turret_any": "Защитник карго", "scientistnpc_cargo_turret_lr300": "Защитник карго", "scientistnpc_ch47_gunner": "Защитник чинука", "scientistnpc_excavator": "Защитник экскаватора", "scientistnpc_full_any": "Ученый", "scientistnpc_full_lr300": "Ученый", "scientistnpc_full_mp5": "Ученый", "scientistnpc_full_pistol": "Ученый", "scientistnpc_full_shotgun": "Ученый", "scientistnpc_heavy": "Heavy Scientist", "scientistnpc_junkpile_pistol": "Road Scientist", "scientistnpc_oilrig": "Oilrig Scientist", "scientistnpc_patrol": "Patrol Scientist", "scientistnpc_peacekeeper": "Peacekeeper Scientist", "scientistnpc_roam": "Roam Scientist", "scientistnpc_roam_nvg_variant": "Roam NVG Scientist", "scientistnpc_roamtethered": "Roam Scientist" } con - Personal enabling/disabling connected announcement; dis - Personal enabling/disabling disconnected announcement; wound - Personal enabling/disabling wounded announcement; death - Personal enabling/disabling sleeper's death announcement; sound - Personal enabling/disabling sound effects; all - Personal enabling all announcements; clear - Personal disabling all announcements(except leader and ban announces). Example: /teama con$3.99