-
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; 04-16-2020 at 09:09 AM.
Reason: the first 5 seconds when starting a game, it will remain silent
-
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.