-
Contributor
Originally Posted by
cafe1326
How to adjust the position of the icon?
modify the following code
x = portraitRect.Right;
y = portraitRect.Top + portraitRect.Height * 0.3f;
Buff.Left = x;
Buff.Top = y;
-
Post Thanks / Like - 1 Thanks
Mundzso (1 members gave Thanks to s4000 for this useful post)
-
Member
Originally Posted by
s4000
modify the following code
x = portraitRect.Right;
y = portraitRect.Top + portraitRect.Height * 0.3f;
Buff.Left = x;
Buff.Top = y;
I could put it to the left side instead of right.
But still not exactly where I want to. How can I move it a bit more to the left (now its like almost in the middle of my portrait)?
Sry for stupid questions, I'm familiar with offsets but this is new
-
Contributor
x = portraitRect.Right + portraitRect.Width * 0.3f; // change 0.3f to what u need
y = portraitRect.Top + portraitRect.Height * 0.3f; // change 0.3f to what u need
-
Post Thanks / Like - 1 Thanks
Mundzso (1 members gave Thanks to s4000 for this useful post)
-
Member
Originally Posted by
s4000
x = portraitRect.Right + portraitRect.Width * 0.3f; // change 0.3f to what u need
y = portraitRect.Top + portraitRect.Height * 0.3f; // change 0.3f to what u need
Thanks
I did this meanwhile and it also worked :
x = portraitRect.Left - 18f;
y = portraitRect.Top + portraitRect.Height * 0.3f;
Buff.Left = x;
Buff.Top = y;
-
Contributor
Originally Posted by
Mundzso
I have the same question, can't see any offset option in the code
This is a private plugin, I deleted the custom snippet which is useless to me
Code:
x = portraitRect.Right;
y = portraitRect.Top + portraitRect.Height * 0.3f;
You can change the position by modifying lines 83 and 84, It is based on the portrait rectangle
-
Post Thanks / Like - 1 Thanks
Mundzso (1 members gave Thanks to SeaDragon for this useful post)
-
Member
-
Legendary
- Version not yet tested: plugins\RNN\TrialsOfTempestsIcon.cs (moved to post #1 )
- Changes:
For players who are away, an estimate will be made of the remaining time (assumes the time between one effect and another is 90 seconds always)
The text of the Timer will be green if it is less than 10. In addition, for the lowest of all of them a green border will be drawn (currently only nearby players are considered, are the ones that can affect our stacks)
Last edited by RNN; 07-25-2020 at 10:15 AM.
Reason: link moved
-
Post Thanks / Like - 4 Thanks
-
Member
This is really helpful! Especially the 10 second timer. Is there a way to make the plugin play a sound 10 seconds before a player is set to proc?
-
Legendary
I don't think it includes something like that because ... I don't want to complicate it further, this theme is too buggy, and I stopped playing season so I have no chance to test it thoroughly
If someone makes modifications to this plugin, it's free to share it in this thread or in another. I wouldn't even have made the last change if it weren't for Seadragon's contribution (post # 25)
Last edited by RNN; 07-22-2020 at 03:15 PM.
-
Member
Originally Posted by
elderoak
This is really helpful! Especially the 10 second timer. Is there a way to make the plugin play a sound 10 seconds before a player is set to proc?
Originally Posted by
RNN
I don't think it includes something like that because ... I don't want to complicate it further, this theme is too buggy, and I stopped playing season so I have no chance to test it thoroughly
If someone makes modifications to this plugin, it's free to share it in this thread or in another. I wouldn't even have made the last change if it weren't for Seadragon's contribution (post # 25)
I would love the same thing. Is there a Specification/Guide/whatever on TurboHUD? Like you used var buff = player.Powers.GetBuff(484426); Where can i see whats getting stored in "buff" ? Especially buff.TimeLeftSeconds
-
Member
Aw. Well thank you anyway for this version!
-
Legendary
Originally Posted by
DerDude0305
Where can i see whats getting stored in "buff" ? Especially buff.TimeLeftSeconds
This may be helpful:
https://www.ownedcore.com/forums/dia...n-mybuffs.html ([V9.0] [ENG] [RNN] MyBuffs)
Screenshots are out of date
-
Member
Ah very nice. Got it figured out. Any clue why those notifications are so quiet? Or can i just edit the .wav and boost the db?
Here is what i did modify (Line 223). Makes a Sound 10 and 5 Seconds before Season Theme proc if enabled.
10 sec alarm RNN Season Theme - Pastebin.com
-
Post Thanks / Like - 1 Thanks
RNN (1 members gave Thanks to DerDude0305 for this useful post)
-
Legendary
Originally Posted by
DerDude0305
Any clue why those notifications are so quiet?
Read from here
https://www.ownedcore.com/forums/dia...ml#post4101743 ([v7.6] [INTERNATIONAL] [One] GRVoice)
-
Post Thanks / Like - 2 Thanks
-
Member
Thanks Derdude!
I don't like it playing while I'm in town, though, only inside GR, so I added this:
if(SoundEnabled && !Hud.Game.IsInTown && Hud.Game.Me.InGreaterRift && t < 10 && asd + 5000 < Hud.Game.CurrentRealTimeMilliseconds){
-
Post Thanks / Like - 2 Thanks
d3snorter,
RNN (2 members gave Thanks to elderoak for this useful post)