-
Notifications
You must be signed in to change notification settings - Fork 117
feat(audio): Implement 'MoneyTransactionVolume' option to modify the volume of money deposit and withdraw audio events #1353
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(audio): Implement 'MoneyTransactionVolume' option to modify the volume of money deposit and withdraw audio events #1353
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we perhaps start Generals with default 0 as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would choose a default that fits best with the "best game ever" description, rather then set is a value that mimics the current game experience.
Maybe 0.25?
Or is it considered to be so annoying that we want to have it off by default?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In Data, the volume is set to 0.30. So 0.30 * 0.25 would make it 0.075 - very quiet.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i would say that very quiet is still better than being as noticeable as it currently is for a lot of people. But we could always play about with it, i can get some people to test and see what they think.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think a problem with this sound is that its limit in data is set to 3. It should have been 1. One sound at a time only. So the spam can be greatly reduced from data side.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
xezon
in CCG, is the MONEY tick audio considered to be annoying or fine?
Scotsman
It's never bothered me and I have never heard of anyone mentioning it so probably the latter
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is "MoneyTickVolume" an acceptable name or is there a better one?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
MoneyChangedVolume?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
MoneyDepositVolume?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
MoneyChangedVolume?
Based on that name that would imply that the sound should play even when losing money. Like if someone uses a cash hack on you.
Unless it already does and I just never hear it? (I personally typically only notice it when it's rapidly increasing, like when you have a bunch of hackers)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Based on that name that would imply that the sound should play even when losing money. Like if someone uses a cash hack on you.
Unless it already does and I just never hear it? (I personally typically only notice it when it's rapidly increasing, like when you have a bunch of hackers)
it plays on deposit and withdrawal. You just don't tend to hear it on withdrawal since a load of other construction related sounds tend to play, or button press sounds etc.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
MoneyChangedVolume works.
MoneyUpdatedVolume too.
Alternatively
MoneyTransferVolume
MoneyTransactionVolume
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Renamed to MoneyTransactionVolume
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Based on that name that would imply that the sound should play even when losing money. Like if someone uses a cash hack on you.
Unless it already does and I just never hear it? (I personally typically only notice it when it's rapidly increasing, like when you have a bunch of hackers)it plays on deposit and withdrawal. You just don't tend to hear it on withdrawal since a load of other construction related sounds tend to play, or button press sounds etc.
Well, even after around 20 years of playing this game I learned something new.
|
Generals fails to compile until code is replicated. |
GeneralsMD/Code/GameEngine/Source/GameClient/GUI/GUICallbacks/Menus/OptionsMenu.cpp
Outdated
Show resolved
Hide resolved
Mauller
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good to me, i think the complaints are due to it missing on the generals side.
Also did we want to get a wider view on having the sound enabled by default but at a low level?
Skyaero42
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agree
c8ec031 to
4085829
Compare
|
Tested once more in Generals and Zero Hour. Worked. Replicated in Generals with conflicts |
…volume of money deposit and withdraw audio events (TheSuperHackers#1353) In Options.ini add MoneyTransactionVolume=0 to turn off and MoneyTransactionVolume=100 to turn on
This change implements a 'MoneyTransactionVolume' option to control the volume of money deposit and withdraw audio events, via Options.ini.
Generals will begin with MoneyTransactionVolume = 100
Zero Hour will begin with MoneyTransactionVolume = 0
The main purpose of this change is that Zero Hour (and Generals) players will not need to suffer from money audio spam when setting the option value to 0.
Audio spam
MY_EARS.mp4
TODO