-
Legendary
[V9.1] [INTERNATIONAL] [RNN] AreaPoolsDeaths
Supported TurboHUD version: 9.x
Shows information about each player's pools, the type of area/map he is in, and a deaths counter (total and in NR/GR, for all players).
Based on gjuz's popular Poolstate plugin ( https://www.ownedcore.com/forums/dia...poolstate.html ([INTERNATIONAL] [gz] Poolstate) )
The death counter will reset after each New Game.
Area information is optional, can be disabled:
Lnn -> Level Rift (nn = 01,..,10)
Co -> Cow
Va -> Vault (old)
VA -> Vault (new)
Tx -> Town (x = 1,2,3/4,5)
Ux -> Ubers (x = 1,2,3,4)
Ax -> Act (x = 1,2,3,4,5)
WH -> Whimsydale
Download: AreaPoolsDeaths.cs
Installation: Place AreaPoolsDeaths.cs in "plugins\RNN\AreaPoolsDeaths.cs"
Custom code (in Plugins\User\PluginEnablerOrDisablerPlugin.cs , Optional) :
Code:
Hud.GetPlugin<RNN.AreaPoolsDeaths>().Enabled = true;
Hud.RunOnPlugin<RNN.AreaPoolsDeaths>(plugin =>
{
plugin.ShowArea = true; // Show or hide information about the Area/Map (Lnn,Co,Va,VA,Tx,Ux,Ax,Wh)
plugin.OffsetX = 0.05f; // 0f...1f Set the x coordinate, relative to the portrait
plugin.OffsetY = 0.12f; // 0f...1f Set the y coordinate, relative to the portrait
plugin.TTSDeaths = true; // Notify (TTS) the deaths of other players
plugin.MsgDeaths = "<Player> Is Dead"; // <Player> is replaced by the name of the player
plugin.WavDeaths = false; // Notify (sound file) the deaths of other players
plugin.WavFile = "notification_9.wav"; // File to be played. It must be in the Sounds\ folder
} );
Last edited by RNN; 3 Days Ago at 08:58 AM.
Reason: -
-
Post Thanks / Like - 5 Thanks
-
Member
-
Legendary
Originally Posted by
jx10000
How to add. Wav file?
Update
Added WavDeaths (default value is false) and WavFile
-
Post Thanks / Like - 1 Thanks
BeeAntOS (1 members gave Thanks to RNN for this useful post)
-
Member
-
Member
any update for this? got exception for this in new hud version
-
Legendary
It was fixed several days ago, you have to download it again
-
-
Legendary
Replace lines 259-265
Code:
string s = string.Format("{0} {1:0.##} {2} {3} ", (bonus>0)? HasPoolSymbol:EmptyPoolSymbol, _pool, DeathsTotalSymbol, DataIndex[player.Index].DeathsTotal);
if (InRift)
{
s += string.Format(" [{0}{1}", DeathsInRiftSymbol, DataIndex[player.Index].DeathsInRift);
if (player.InGreaterRift) s += string.Format( " {0}s", (DataIndex[player.Index].DeathsInRift > 6)? 30:( 5 * (DataIndex[player.Index].DeathsInRift - (player.IsDead?1:0)) ) );
s += "]";
}
with this line:
Code:
string s = string.Format("{0} {1:0.##} ", (bonus>0)? HasPoolSymbol:EmptyPoolSymbol, _pool);
you will continue to be notified when someone dies unless you modify TTSDeaths/WavDeaths
-
Post Thanks / Like - 1 Thanks
Jembo (1 members gave Thanks to RNN for this useful post)
-
Active Member
This plugin got some kind of "bug" on this Thud version
The Line
Code:
MsgDeaths = "<Player> died"; // <Player> is replaced by the name of the player
Is proc'ing everytime an ally kills an elite pack, it was supposed to proc when "x" ally dies.
-
Legendary
-
Post Thanks / Like - 1 Thanks
Saico (1 members gave Thanks to RNN for this useful post)
-
Member
Hey @RNN can't get info for death or death in GR. I only have info for pools.
-
Member
60.png
hi RNN
1. I would like the counter to be reset in the new portal
2. is it possible to disable it
thanks
-
Legendary
The number that appears first represents the total number of deaths since a new game was started and is not reset until you go to the menu. The number in parentheses represents deaths in a Rift or Greater Rift and is reset when that Rift or GR is closed. I have no plans to change this.
Link enabled
Last edited by RNN; 3 Days Ago at 09:53 AM.
-
Member
WavDeaths = true;
WavFile = "notification_9.wav";
does not work
-
Legendary
As the sound matches the notification of New Vision I have changed it to:
WavFile = "notification_7.wav"; // File to be played. It must be in the Sounds\ folder
It does work for me. Make sure that this file (*.wav) exists in folder Sounds\, that the volume is not too low or muted and keep in mind that it does not work with your death, only with those of other players.
Last edited by RNN; 3 Days Ago at 11:16 AM.