[7.7] [INT] [SR] SRJ Theme! menu

User Tag List

Page 16 of 16 FirstFirst ... 1213141516
Results 226 to 239 of 239
  1. #226
    BeeAntOS's Avatar Active Member
    Reputation
    30
    Join Date
    Oct 2017
    Posts
    119
    Thanks G/R
    238/28
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by TheLionKing View Post
    Hello.
    Is there anyways to turn down the sound, because its very high, then i would like to lower the default sound settings if its poosible ?

    .. \ <TurboHUD-folder> \ plugins \ User \ PluginEnablerOrDisablerPlugin.cs
    Code:
    		public override void Load(IController hud) {
    
    			base.Load(hud);
    
    			...
    
    			//Hud.Sound.VolumeMode = VolumeMode.AutoMaster;			// ((IngameMasterVolume ÷ 100) × VolumeMultiplier)
    			//Hud.Sound.VolumeMode = VolumeMode.AutoMasterAndEffects;	// ((IngameMasterVolume ÷ 100) × (IngameEffectsVolume ÷ 100) × VolumeMultiplier)
    			Hud.Sound.VolumeMode = VolumeMode.Constant;
    			Hud.Sound.ConstantVolume = 25;					// from 0; (NoSound) to 100; (MaxSound)
    			Hud.Sound.VolumeMultiplier = 1.0d;				// multiplier for VolumeMode(s) of "AutoMaster" or "AutoMasterAndEffects"
    
    			...
    		}
    P.S.:
    Use only one of the three different ".VolumeMode" configurations you prefer.
    All three ".VolumeMode" preferences lead in different ways (using different arithmetic) to the desired result.

    P.S. (2):
    If it doesn't work as expected, reconsider and configure plugins' loading priorities...
    Because, @Stormreaver using condition of "Order = 90000;" in his customization plugin of "SR_CustomizerPlugin.cs".
    Last edited by BeeAntOS; 12-10-2020 at 09:51 AM. Reason: P.S. (2)
    "When you reach the top, get ready to drop!"

    These ads disappear when you log in.

  2. #227
    TheLionKing's Avatar Member
    Reputation
    6
    Join Date
    Sep 2019
    Posts
    29
    Thanks G/R
    17/5
    Trade Feedback
    0 (0%)
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by BeeAntOS View Post
    .. \ <TurboHUD-folder> \ plugins \ User \ PluginEnablerOrDisablerPlugin.cs
    Code:
    		public override void Load(IController hud) {
    
    			base.Load(hud);
    
    			...
    
    			//Hud.Sound.VolumeMode = VolumeMode.AutoMaster;			// ((IngameMasterVolume ÷ 100) × VolumeMultiplier)
    			//Hud.Sound.VolumeMode = VolumeMode.AutoMasterAndEffects;	// ((IngameMasterVolume ÷ 100) × (IngameEffectsVolume ÷ 100) × VolumeMultiplier)
    			Hud.Sound.VolumeMode = VolumeMode.Constant;
    			Hud.Sound.ConstantVolume = 25;					// from 0; (NoSound) to 100; (MaxSound)
    			Hud.Sound.VolumeMultiplier = 1.0d;				// multiplier for VolumeMode(s) of "AutoMaster" or "AutoMasterAndEffects"
    
    			...
    		}
    P.S.:
    Use only one of the three different ".VolumeMode" configurations you prefer.
    All three ".VolumeMode" preferences lead in different ways (using different arithmetic) to the desired result.

    P.S. (2):
    If it doesn't work as expected, reconsider and configure plugins' loading priorities...
    Because, @Stormreaver using condition of "Order = 90000;" in his customization plugin of "SR_CustomizerPlugin.cs".
    Hi, i tryed the 3 settings ways, no change at all, no matter what i do.
    Your second way i dont know how to do

    Thanks for your reply that i could test

  3. #228
    nickd3's Avatar Member
    Reputation
    1
    Join Date
    Apr 2017
    Posts
    10
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Great theme - thanks

    Can I ask is there a way to increase the size of the player name lables?

  4. #229
    nickd3's Avatar Member
    Reputation
    1
    Join Date
    Apr 2017
    Posts
    10
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Or advise me which plugin is creating the name plate labels ?

    Thanks

  5. #230
    Stormreaver's Avatar Contributor
    Reputation
    149
    Join Date
    Jul 2012
    Posts
    283
    Thanks G/R
    39/133
    Trade Feedback
    0 (0%)
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    @TheLionKing

    Re Audio, I already have that setting in my customizer file.

    - Go to: \plugins\_SR\Root\SR_CustomizerPlugin.cs
    - Search for: Hud.Sound.ConstantVolume, toward line 147.
    - Change 100 to any lower value you prefer.

    You will need to do this change everytime we update the theme.
    For a more permanent solution, keep reading.


    @BeeAntOS was suggesting an override to my settings, which should work if you follow his example.
    Maybe you missed increasing the order of your override plugin to higher than "90000", something like "90005".
    I would use this approach if you want to make this change permanent and not change it everytime we do a theme update.

    To explain further, here are my notes regarding load order and TH volume:

    Higher load order value makes a specific plugin load last to override other plugins, giving this plugin precedence.
    But this also means calculations in other plugins will be finished first; so, variables in this plugin will not be not used.

    TH volume is now independent of the game.
    There are 3 VolumeModes: "AutoMaster", "AutoMasterAndEffects", "Constant". They are calculated as such:
    - AutoMaster volume: (IngameMasterVolume / 100) * VolumeMultiplier
    - AutoMasterAndEffects volume: (IngameMasterVolume / 100) * (IngameEffectsVolume / 100) * VolumeMultiplier
    - Constant volume: 0 = no sound; 100 = max sound


    Anyway, here is a full example of an override that should do what you ask, with changes highlighted in red:

    Code:
    public override void Load(IController hud)
    {
    	base.Load(hud);
    
    	// load order
    
    	Order = 90005;
    
    
    	// Change TH volume.
    
    	// used when Mode is AutoMaster or AutoMasterAndEffects:
    	/* Hud.Sound.VolumeMultiplier = 25.0;	// default 1.0 */
    
    	// used when Mode is Constant:
    	Hud.Sound.VolumeMode = VolumeMode.Constant; // windows volume
    	Hud.Sound.ConstantVolume = 40;	// 0-100, default is 100 (max).
    }
    __________________________


    @nickd3

    Can you please be more specific which player name lables you mean? A picture might help.
    Last edited by Stormreaver; 12-16-2020 at 07:19 PM.
    _________________________________________________________

    My TurboHUD Theme: >> https://bit.ly/SRJ_Theme
    Copy paste the link?

  6. #231
    nickd3's Avatar Member
    Reputation
    1
    Join Date
    Apr 2017
    Posts
    10
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    I actually think its part of the default plugins - the theme disables it - I would like to turn it back on but make the font bigger - thanks for the help

    banner.jpeg

  7. #232
    nickd3's Avatar Member
    Reputation
    1
    Join Date
    Apr 2017
    Posts
    10
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    having hacked around abit more I think the label font is defined in otherplayerplugin.cs from the default TH plugins

    The theme seems to disable it - can it be re-enabled.

    Thanks again for the help
    Last edited by nickd3; 12-16-2020 at 09:52 AM.

  8. #233
    TheLionKing's Avatar Member
    Reputation
    6
    Join Date
    Sep 2019
    Posts
    29
    Thanks G/R
    17/5
    Trade Feedback
    0 (0%)
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Stormreaver View Post
    @TheLionKing

    Re Audio, I already have that setting in my customizer file.

    - Go to: Python\plugins\_SR\Root\SR_CustomizerPlugin.cs
    - Search for: Hud.Sound.ConstantVolume, toward line 147.
    - Change 100 to any lower value you prefer.

    You will need to do this change everytime we update the theme.
    For a more permanent solution, keep reading.


    @BeeAntOS was suggesting an override to my settings, which should work if you follow his example.
    Maybe you missed increasing the order of your override plugin to higher than "90000", something like "90005".
    I would use this approach if you want to make this change permanent and not change it everytime we do a theme update.

    To explain further, here are my notes regarding load order and TH volume:

    Higher load order value makes a specific plugin load last to override other plugins, giving this plugin precedence.
    But this also means calculations in other plugins will be finished first; so, variables in this plugin will not be not used.

    TH volume is now independent of the game.
    There are 3 VolumeModes: "AutoMaster", "AutoMasterAndEffects", "Constant". They are calculated as such:
    - AutoMaster volume: (IngameMasterVolume / 100) * VolumeMultiplier
    - AutoMasterAndEffects volume: (IngameMasterVolume / 100) * (IngameEffectsVolume / 100) * VolumeMultiplier
    - Constant volume: 0 = no sound; 100 = max sound


    Anyway, here is a full example of an override that should do what you ask, with changes highlighted in red:

    Code:
    public override void Load(IController hud)
    {
    	base.Load(hud);
    
    	// load order
    
    	Order = 90005;
    
    
    	// Change TH volume.
    
    	// used when Mode is AutoMaster or AutoMasterAndEffects:
    	/* Hud.Sound.VolumeMultiplier = 25.0;	// default 1.0 */
    
    	// used when Mode is Constant:
    	Hud.Sound.VolumeMode = VolumeMode.Constant; // windows volume
    	Hud.Sound.ConstantVolume = 40;	// 0-100, default is 100 (max).
    }
    __________________________


    @nickd3

    Can you please be more specific which player name lables you mean? A picture might help.
    THANK YOU, that worked first time

  9. #234
    nickd3's Avatar Member
    Reputation
    1
    Join Date
    Apr 2017
    Posts
    10
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    I posted a picture banner.jpg earlier

    banner.jpeg
    Last edited by nickd3; 12-16-2020 at 01:04 PM.

  10. #235
    Stormreaver's Avatar Contributor
    Reputation
    149
    Join Date
    Jul 2012
    Posts
    283
    Thanks G/R
    39/133
    Trade Feedback
    0 (0%)
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by nickd3 View Post
    I posted a picture banner.jpg earlier

    banner.jpeg
    Ok so yeah that is the default one. But I do have my own cutomized file for it.
    - Go to: \plugins\_SR\Players\SR_OtherPlayersPlugin.cs,
    - Check my example on how I changed the DH one.
    - You can change any other class.
    - You can change both ground label and map label, font, font size and color.
    _________________________________________________________

    My TurboHUD Theme: >> https://bit.ly/SRJ_Theme
    Copy paste the link?

  11. #236
    nickd3's Avatar Member
    Reputation
    1
    Join Date
    Apr 2017
    Posts
    10
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Cracked it! Thanks for the help

  12. #237
    Jembo's Avatar Active Member
    Reputation
    32
    Join Date
    Nov 2018
    Posts
    105
    Thanks G/R
    22/29
    Trade Feedback
    0 (0%)
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Hey StormReaver, I've noticed with WD, Monk etc.

    Code:
                    // Horrify  --- (not working > only 2 runes give a buff) !!!
                    { (ActorSnoEnum)6481, HorrifyPaint }, // WD Female actor
                    { (ActorSnoEnum)6485, HorrifyPaint }, // WD Male actor
    
            private void HorrifyPaint(WorldLayer layer, IActor actor)
            {
                //if (Hud.Game.Me.Powers.BuffIsActive(67668, 0)) // with Horrify buff
                if (Hud.Game.Me.Powers.BuffIsActive(67668)) // with Horrify buff
                {
                    var skill = Hud.Game.Me.Powers.UsedWitchDoctorPowers.Horrify;
                    if (skill != null)
                    {
                        if (skill.Rune == 1) // with Face of Death, rune 1
                        {
                            HorrifyFodDeco.Paint(layer, actor, actor.FloorCoordinate, null);
                        }
                        else // All runes EXCEPT Face of Death
                        {
                            HorrifyDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
                        }
                    }
                }
            }
    Code:
                        case ActorSnoEnum._monk_female/*4717*/: // Female
                        case ActorSnoEnum._monk_male/*4721*/: // Male
                            {
                                // Cyclone Strike
                                // 223473
                                var Skill_CS = Hud.Game.Me.Powers.UsedMonkPowers.CycloneStrike;
                                if (Hud.Game.IsInTown) return; // only out of town
                                if (Skill_CS != null) // if CS equipped
                                {
                                    if (Skill_CS.Rune == 1) // Implosion rune (34y)
                                    {
                                        CycloneStrikeImpDeco.Paint(layer, actor, actor.FloorCoordinate, null);
                                    }
                                    else // All runes EXCEPT Implosion (24y)
                                    {
                                        CycloneStrikeDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
                                    }
                                }
    These ones show for when other players in party are running same class even when they don't have skill equipped. How to change to ONLY show for ME and not other players - Cheers
    For Example: 2 Witch Doctors in same game: Horrify: Frightening Aspect Rune (8sec buff) skill on bar with buff active to show the 18yard radius. BUT it also shows on party member who does not have skill on bar clearly as level 2.
    Imgur: The magic of the Internet

    Could it be due to one the following lines?
    Code:
            public void PaintWorld(WorldLayer layer)
            {
                var actors = Hud.Game.Actors;
                foreach (var actor in actors)
    Last edited by Jembo; 01-12-2021 at 01:54 PM.

  13. #238
    Stormreaver's Avatar Contributor
    Reputation
    149
    Join Date
    Jul 2012
    Posts
    283
    Thanks G/R
    39/133
    Trade Feedback
    0 (0%)
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Jembo View Post
    ...
    I have not looked at the code in a long while, but try this (untested):
    Code:
    var actors = Hud.Game.Me;
    instead of
    Code:
    var actors = Hud.Game.Actors;
    _________________________________________________________

    My TurboHUD Theme: >> https://bit.ly/SRJ_Theme
    Copy paste the link?

  14. #239
    Jembo's Avatar Active Member
    Reputation
    32
    Join Date
    Nov 2018
    Posts
    105
    Thanks G/R
    22/29
    Trade Feedback
    0 (0%)
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    hmmm no dice unfortunately:
    error CS1579: foreach statement cannot operate on variables of type 'IPlayer' because 'IPlayer' does not contain a public instance definition for 'GetEnumerator'

Page 16 of 16 FirstFirst ... 1213141516

Similar Threads

  1. Vista Theme For Windows
    By REDACTEDSEPHI in forum Community Chat
    Replies: 44
    Last Post: 07-12-2007, 03:24 PM
  2. Final toutch to window vista theme
    By Hounro in forum Community Chat
    Replies: 13
    Last Post: 06-11-2007, 06:09 PM
  3. My desktop theme {And where to get it}
    By matswurld in forum Art & Graphic Design
    Replies: 5
    Last Post: 05-28-2007, 02:14 AM
  4. Windows XP Theme
    By DaNuMan in forum Community Chat
    Replies: 5
    Last Post: 02-21-2007, 04:29 PM
  5. What is this windows theme?
    By leoj in forum Community Chat
    Replies: 8
    Last Post: 01-25-2007, 08:53 AM
All times are GMT -5. The time now is 08:41 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2021 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2021 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search