@ KJ : Hud.Game.IsIngameSoundEnabled menu

User Tag List

Page 1 of 2 12 LastLast
Results 1 to 15 of 25
  1. #1
    User5981's Avatar First Dev On The Internet
    Reputation
    379
    Join Date
    Aug 2017
    Posts
    765
    Thanks G/R
    30/358
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    @ KJ : Hud.Game.IsIngameSoundEnabled

    Is there a way to get the sound volume from game ?
    I added Ancient & Primal drop sounds to my CraftersDelightPlugin and I use Hud.Game.IsIngameSoundEnabled like you did in CooldownSoundPlayerPlugin.
    I don't know if it is possible to read from memory but having sound played by HUD at the same volume setting as the game would be perfect.
    Thank you.
    Supported version for all Resu plugins

    @ KJ : Hud.Game.IsIngameSoundEnabled
  2. Thanks ADV2015 (1 members gave Thanks to User5981 for this useful post)
  3. #2
    User5981's Avatar First Dev On The Internet
    Reputation
    379
    Join Date
    Aug 2017
    Posts
    765
    Thanks G/R
    30/358
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    KJ, I have users complaining of future heart attacks
    If you could add these to a todo list (even if their time never comes) that would be great :
    Hud.Game.MasterVolume
    Hud.Game.EffectsVolume

    Hud.Sound.SetSoundVolumeTo()
    Supported version for all Resu plugins

  4. #3
    KillerJohn's Avatar TurboHUD HUDmaster CoreCoins Purchaser Authenticator enabled
    Reputation
    3693
    Join Date
    Jul 2012
    Posts
    2,532
    Thanks G/R
    46/3335
    Trade Feedback
    0 (0%)
    Mentioned
    16 Post(s)
    Tagged
    0 Thread(s)
    in next release:

    - BREAKING CHANGE: IGameController.IsIngameSoundEnabled is moved under ISoundController
    - added: ISoundController.IngameMasterVolume and IngameEffectsVolume

    but sadly there is no way to change the volume of a SoundPlayer
    Do not send me private messages unless it is absolutely necessary or the content is sensitive or when I ask you to do that...

  5. #4
    User5981's Avatar First Dev On The Internet
    Reputation
    379
    Join Date
    Aug 2017
    Posts
    765
    Thanks G/R
    30/358
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ah thanks for the reply and new features!
    At least I can make multiple versions of a sound file at different volumes and call them depending on the game volume :-)
    Supported version for all Resu plugins

  6. #5
    KillerJohn's Avatar TurboHUD HUDmaster CoreCoins Purchaser Authenticator enabled
    Reputation
    3693
    Join Date
    Jul 2012
    Posts
    2,532
    Thanks G/R
    46/3335
    Trade Feedback
    0 (0%)
    Mentioned
    16 Post(s)
    Tagged
    0 Thread(s)
    ok, managed to find a solution



    HUD will automatically adjust IT'S OWN (I mean the process') volume according to this formula:

    volume = maxvolume * (MasterVolume / 100)*(EffectsVolume / 100)

    so if MasterVolume is 50 and EffectsVolume is 20, then HUD's volume will be at 10%
    Do not send me private messages unless it is absolutely necessary or the content is sensitive or when I ask you to do that...

  7. Thanks User5981, prrovoss, Tiken972 (3 members gave Thanks to KillerJohn for this useful post)
  8. #6
    User5981's Avatar First Dev On The Internet
    Reputation
    379
    Join Date
    Aug 2017
    Posts
    765
    Thanks G/R
    30/358
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hats off to you sir!
    (and less work for me, all I'll have to do will be changing IsIngameSoundEnabled following next release)
    Supported version for all Resu plugins

  9. #7
    User5981's Avatar First Dev On The Internet
    Reputation
    379
    Join Date
    Aug 2017
    Posts
    765
    Thanks G/R
    30/358
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by KillerJohn View Post
    ok, managed to find a solution



    HUD will automatically adjust IT'S OWN (I mean the process') volume according to this formula:

    volume = maxvolume * (MasterVolume / 100)*(EffectsVolume / 100)

    so if MasterVolume is 50 and EffectsVolume is 20, then HUD's volume will be at 10%
    Hi KJ,
    I did some tests playing with the game volume settings and found the sound a bit low,
    then I put headphones and realised the sounds are only played on the left channel,
    If you make it stereo with the same formula, the volume will be perfect!
    Last edited by User5981; 08-16-2018 at 01:47 PM.
    Supported version for all Resu plugins

  10. #8
    bm206's Avatar Active Member
    Reputation
    73
    Join Date
    Mar 2017
    Posts
    285
    Thanks G/R
    57/64
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Is it possible to add a multiplier to the formula? I want a low Diablo volume but a high TH volume.

    Edit:
    A workaround:


    Put volume of HUD on the left side of KJ's screenshot back to the top. But you have to do this after every TH start.
    Last edited by bm206; 08-16-2018 at 07:09 AM.

  11. #9
    xtechwolf's Avatar Member
    Reputation
    3
    Join Date
    Feb 2018
    Posts
    6
    Thanks G/R
    3/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The latest version broke the default item speak plugin somehow. I had item speak enabled for ancients / primals but now I can't hear anything.

    Edit: Nevermind, it's just my in game volume being super low. It does relate to this topic since i've always like HUD being louder than the game itself.
    Last edited by xtechwolf; 08-16-2018 at 01:54 PM.

  12. #10
    KillerJohn's Avatar TurboHUD HUDmaster CoreCoins Purchaser Authenticator enabled
    Reputation
    3693
    Join Date
    Jul 2012
    Posts
    2,532
    Thanks G/R
    46/3335
    Trade Feedback
    0 (0%)
    Mentioned
    16 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by User5981 View Post
    Hi KJ,
    I did some tests playing with the game volume settings and found the sound a bit low,
    then I put headphones and realised the sounds are only played on the left channel,
    If you make it stereo with the same formula, the volume will be perfect!
    I don't think I have control over that.
    Do not send me private messages unless it is absolutely necessary or the content is sensitive or when I ask you to do that...

  13. Thanks JollyTex (1 members gave Thanks to KillerJohn for this useful post)
  14. #11
    KillerJohn's Avatar TurboHUD HUDmaster CoreCoins Purchaser Authenticator enabled
    Reputation
    3693
    Join Date
    Jul 2012
    Posts
    2,532
    Thanks G/R
    46/3335
    Trade Feedback
    0 (0%)
    Mentioned
    16 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by bm206 View Post
    Is it possible to add a multiplier to the formula? I want a low Diablo volume but a high TH volume.

    Edit:
    A workaround:


    Put volume of HUD on the left side of KJ's screenshot back to the top. But you have to do this after every TH start.
    does make a sense to add a multiplier to ISoundController
    Do not send me private messages unless it is absolutely necessary or the content is sensitive or when I ask you to do that...

  15. #12
    User5981's Avatar First Dev On The Internet
    Reputation
    379
    Join Date
    Aug 2017
    Posts
    765
    Thanks G/R
    30/358
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by KillerJohn View Post
    I don't think I have control over that.
    I don't know in C# but In audio DSP plugins, the right channel is often the following number
    e.g
    SoundOutput[0] = Left channel
    SoundOutput[1] = Right channel

    it could also be routing :
    input[0] route to Output[0] for left
    input[1] route to Output[1] for right

    or maybe there is a pan parameter :
    pan = -1 left only
    pan = 0 stereo
    pan = +1 right only
    Supported version for all Resu plugins

  16. #13
    bm206's Avatar Active Member
    Reputation
    73
    Join Date
    Mar 2017
    Posts
    285
    Thanks G/R
    57/64
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by KillerJohn View Post
    does make a sense to add a multiplier to ISoundController
    Or a fixed output volume in a file like TH does for the local language?

  17. #14
    User5981's Avatar First Dev On The Internet
    Reputation
    379
    Join Date
    Aug 2017
    Posts
    765
    Thanks G/R
    30/358
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    @KJ
    If you control TurboHUD's volume using windows mixer control :
    Windows Mixer Control in C#
    (trying to help while completly blind on this)
    Supported version for all Resu plugins

  18. #15
    Buzzy62's Avatar Member
    Reputation
    10
    Join Date
    Mar 2017
    Posts
    105
    Thanks G/R
    18/9
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by User5981 View Post
    Hi KJ,
    I did some tests playing with the game volume settings and found the sound a bit low,
    then I put headphones and realised the sounds are only played on the left channel,
    If you make it stereo with the same formula, the volume will be perfect!
    Confirmed. I also only get the left channel.

Page 1 of 2 12 LastLast

Similar Threads

  1. Evading Hack Detection Mechanisms in Online Games
    By Matt in forum World of Warcraft Guides
    Replies: 4
    Last Post: 10-06-2006, 06:47 PM
  2. World of Warcraft game
    By Shanaar in forum Community Chat
    Replies: 25
    Last Post: 09-25-2006, 07:51 AM
  3. Should MMOwned Cover more Games? -- Poll
    By Matt in forum OC News
    Replies: 26
    Last Post: 09-03-2006, 01:31 AM
  4. Favourite Gaming Consoles!
    By janzi9 in forum Gaming Chat
    Replies: 30
    Last Post: 08-09-2006, 08:53 PM
  5. Game Hacking Tutorial!
    By lopolop in forum Community Chat
    Replies: 24
    Last Post: 06-29-2006, 08:39 AM
All times are GMT -5. The time now is 11:13 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search