-
Legendary
[V9.0] [INTERNATIONAL] [RNN] ProcPlayers
Supported TurboHUD version: 9.0
Notify with TTS and/or Beep of each new Proc (he will notify us immediately if we are close to the player, or as soon as we get closer if we are out of range to detect him). It will also show an icon about the affected character and close to his portrait.
Download: ProcPlayers.cs
Installation: Place ProcPlayers.cs in "plugins\RNN\ProcPlayers.cs"
Custom code (Plugins\User\PluginEnablerOrDisablerPlugin.cs , it's not mandatory) :
Code:
Hud.GetPlugin<RNN.ProcPlayers>().Enabled = true;
Hud.RunOnPlugin<RNN.ProcPlayers>(plugin => {
plugin.ShowPlayer = true; // Show icon about the player
plugin.PositionOffset = -0.05f; // OffsetY for icons about the player
plugin.ShowPortrait = true; // Also show icons near the portrait
plugin.ShowPortraitOffsetX = 0.83f; // OffsetX for portrait icons
plugin.ShowPortraitOffsetY = 0.075f; // OffsetY for portrait icons
plugin.BuffPainter.Opacity = 0.75f; // Opacity all icons
plugin.IconsSizeMultiplier(0.70f); // Resize all icons
plugin.SoundEnabled = true; // Enable Sound ( Beep and/or TTS and/or play .wav file)
plugin.BeepEnabled = true; // Beep, only if SoundEnabled is true
plugin.TTS_Me = "PROC"; // TTS for me, null or "" for not TTS . Only if SoundEnabled is true.
plugin.TTS_Others = "PROC <player>"; // TTS for others players, <player> is replaced by the name of the player. Only if SoundEnabled is true.
plugin.Wav_Me = ""; // Ex. Wav_Me = "ProcMe.wav"; -> Play ProcMe.wav file localized in Sounds folder when me is Proc. Only if SoundEnabled is true
plugin.Wav_Others = ""; // Ex. Wav_Others = "ProcOthers.wav"; -> Play ProcOthers.wav file localized in Sounds folder when other player is Proc. Only if SoundEnabled is true
} );
Last edited by RNN; 12-14-2019 at 06:57 PM.
Reason: Update
-
Post Thanks / Like - 5 Thanks
-
Active Member
Nice plugin, since I dont like center icon passive but portrait is good I have a question, can I change the beep sound when someone procs ? Cause I searched sounds folder and could not find similar sound ( I`d like to add any wav I got here)
This plugins supposed to msg name and player when others proc ? Cause I have Popups plugin on and didnt see any message.
btw, I know its not about your plugin and I guess it came with Default folder from latest Thud Build, can I remove this proc icon from Original D3 Hud ? It was not there on old Thud builds, and it kind of visual polution since I already run PartyCooldowns and it shows procs above.
Screenshot_2.png
Thank you for this awesome plugin.
-
Legendary
Updated: Fixed bug. Added Wav_Me and Wav_Others for custom sound , the .wav file must be placed in the Sounds\ folder
-
Legendary
Originally Posted by
Saico
Nice plugin, since I dont like center icon passive but portrait is good I have a question, can I change the beep sound when someone procs ? Cause I searched sounds folder and could not find similar sound ( I`d like to add any wav I got here)
This plugins supposed to msg name and player when others proc ? Cause I have Popups plugin on and didnt see any message.
btw, I know its not about your plugin and I guess it came with Default folder from latest Thud Build, can I remove this proc icon from Original D3 Hud ? It was not there on old Thud builds, and it kind of visual polution since I already run PartyCooldowns and it shows procs above.
Screenshot_2.png
Thank you for this awesome plugin.
Updated so you can indicate a file to play (Wav_Me and Wav_Others , just write the name of the file and place it in the sounds folder). The icon that appears above the character can be moved vertically, made smaller or simply removed with plugin.ShowPlayer = false;
No, I did not add the option to show pop-up messages
No, right now I do not know how to eliminate that icon, anyway I would not eliminate it, those icons provide reliable information, third party plugins may fail.
Last edited by RNN; 05-16-2019 at 02:18 PM.
-
Active Member
Well, I got exceptions when added last lines for Wav
\Plugins\User\PluginEnablerOrDisablerPlugin.cs(170,17) : error CS0103: The name 'Wav_Me' does not exist in the current contex
\Plugins\User\PluginEnablerOrDisablerPlugin.cs(171,3) : error CS0103: The name 'Wav_Others' does not exist in the current context
Screenshot_2.png
What can be wrong ? I wrote exact wav name inside ( " " ) that is in sound folder.
-
Legendary
yes, it was my mistake, that I wrote in custom code : Wav_Me = ""; and Wav_Others = ""; instead of plugin.Wav_Me = ""; and plugin.Wav_Others="";
I corrected it after a while, look again at the first post
I suppose you have also downloaded the new ProcPlayers.cs
Last edited by RNN; 05-16-2019 at 02:36 PM.
-
Active Member
Got it, added (plugin.) but Im gettin this exception
ProcPlayers' does not contain a definition for 'Wav_Me' and no accessible extension method 'Wav_Me' accepting a first argument of type 'ProcPlayers' could be found (are you missing a using directive or an assembly reference?)
on both lines Wav_Me and Wav_Others
(I do have ProcPlayers.cs)
-
Legendary
Can you copy your PluginEnablerOrDisablerPlugin.cs in pastebin? or at least your custom code of this plugin
You must write this, you may have put a parenthesis maybe:
plugin.Wav_Me = "notification_10.wav";
plugin.Wav_Others = "notification_10.wav";
Last edited by RNN; 05-16-2019 at 03:04 PM.
-
Active Member
-
Legendary
That custom code is correct, you must not have updated the plugin correctly, re-download it and overwrite the old one:
[C#] ProcPlayers - Pastebin.com
-
Post Thanks / Like - 1 Thanks
Saico (1 members gave Thanks to RNN for this useful post)
-
Active Member
Ooh, its working now, downloaded ProcPLayers.cs again and it worked (Maybe I modified something) now I edited the soundfiles to advise.
Thanks again RNN. =)
-
Member
please include the link
thanks
Last edited by RawHulk; 05-20-2024 at 02:30 PM.