Page 1 of 1

/volume 100 set snd_volmaster to 1

Posted: 08 Jun 2009, 23:37
by zwzsg
When I type /volume 100, or actually even /volume 50, /volume 2, etc..., it sets snd_volmaster to 1. That is, 1 percent. Almost mute.

Re: /volume 100 set snd_volmaster to 1

Posted: 08 Jun 2009, 23:40
by lurker
Yes, it's a bug in a deprecated command. Might be fixed already. Don't use it.

Re: /volume 100 set snd_volmaster to 1

Posted: 08 Jun 2009, 23:44
by zwzsg
Deprecated command? :(

Why would you deprecate it? It's probably much easier to remember /volume that whatever command name you came up with.

Re: /volume 100 set snd_volmaster to 1

Posted: 08 Jun 2009, 23:48
by lurker
Is it easier to remember both 'volume' and 'snd_volmaster', or just 'snd_volmaster' with the command /set snd_volmaster?

Re: /volume 100 set snd_volmaster to 1

Posted: 08 Jun 2009, 23:49
by Auswaschbar
/set snd_volmaster XX
Furtunately, "/set" happens to be the command to change a config variable (those you can set in the config file, too.
And, coincidentially, snd_volmaster happens to be the config value for the volume.

Re: /volume 100 set snd_volmaster to 1

Posted: 09 Jun 2009, 00:01
by zwzsg
It is easier to remember /volume 50 than /set snd_volmaster 50 yes.

Re: /volume 100 set snd_volmaster to 1

Posted: 09 Jun 2009, 00:05
by lurker
Nope, in the first case you have to remember both /volume AND snd_volmaster.

Re: /volume 100 set snd_volmaster to 1

Posted: 09 Jun 2009, 03:13
by Pxtl
Can you do aliases in the config vars? Because I'm sure that it wouldn't hurt to have "volume" as an alias of snd_mastervol or whatever it is.

Re: /volume 100 set snd_volmaster to 1

Posted: 09 Jun 2009, 16:33
by Auswaschbar
If you insist on it, you can use the attached widget (lacks keybindings for volup and voldown, thought).

Re: /volume 100 set snd_volmaster to 1

Posted: 09 Jun 2009, 21:13
by very_bad_soldier
Auswaschbar wrote:If you insist on it, you can use the attached widget (lacks keybindings for volup and voldown, thought).
Is it me or is it bugged? The only way I could set the volume ingame was by directly typing commands like "set snd_volmaster 80".

Re: /volume 100 set snd_volmaster to 1

Posted: 09 Jun 2009, 21:17
by Auswaschbar
Current version does not give unknown commands to lua, so it requires to "/luaui volup", but that is already fixed.

Re: /volume 100 set snd_volmaster to 1

Posted: 09 Jun 2009, 21:32
by very_bad_soldier
Yay thx, works like a charm.

Here is trepan's volume widget with GUI if someone is interested.

Re: /volume 100 set snd_volmaster to 1

Posted: 10 Jun 2009, 01:20
by lurker
Auswaschbar wrote:that is already fixed.
For real this time? I thought I saw a commit to fix it weeks ago.

Re: /volume 100 set snd_volmaster to 1

Posted: 10 Jun 2009, 17:53
by Auswaschbar