/volume 100 set snd_volmaster to 1
Moderator: Moderators
/volume 100 set snd_volmaster to 1
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.
- Attachments
-
- show_master_volume.lua
- In case your ears are not enough.
- (703 Bytes) Downloaded 16 times
Re: /volume 100 set snd_volmaster to 1
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
Deprecated command? 
Why would you deprecate it? It's probably much easier to remember /volume that whatever command name you came up with.

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
Is it easier to remember both 'volume' and 'snd_volmaster', or just 'snd_volmaster' with the command /set snd_volmaster?
-
- Spring Developer
- Posts: 1254
- Joined: 24 Jun 2007, 08:34
Re: /volume 100 set snd_volmaster to 1
Furtunately, "/set" happens to be the command to change a config variable (those you can set in the config file, too./set snd_volmaster XX
And, coincidentially, snd_volmaster happens to be the config value for the volume.
Re: /volume 100 set snd_volmaster to 1
It is easier to remember /volume 50 than /set snd_volmaster 50 yes.
Re: /volume 100 set snd_volmaster to 1
Nope, in the first case you have to remember both /volume AND snd_volmaster.
Re: /volume 100 set snd_volmaster to 1
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.
-
- Spring Developer
- Posts: 1254
- Joined: 24 Jun 2007, 08:34
Re: /volume 100 set snd_volmaster to 1
If you insist on it, you can use the attached widget (lacks keybindings for volup and voldown, thought).
- Attachments
-
- volume_widget.lua
- (802 Bytes) Downloaded 115 times
- very_bad_soldier
- Posts: 1397
- Joined: 20 Feb 2007, 01:10
Re: /volume 100 set snd_volmaster to 1
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".Auswaschbar wrote:If you insist on it, you can use the attached widget (lacks keybindings for volup and voldown, thought).
-
- Spring Developer
- Posts: 1254
- Joined: 24 Jun 2007, 08:34
Re: /volume 100 set snd_volmaster to 1
Current version does not give unknown commands to lua, so it requires to "/luaui volup", but that is already fixed.
- very_bad_soldier
- Posts: 1397
- Joined: 20 Feb 2007, 01:10
Re: /volume 100 set snd_volmaster to 1
Yay thx, works like a charm.
Here is trepan's volume widget with GUI if someone is interested.
Here is trepan's volume widget with GUI if someone is interested.
- Attachments
-
- snd_volume.lua
- volume slider
- (4.22 KiB) Downloaded 9 times
Re: /volume 100 set snd_volmaster to 1
For real this time? I thought I saw a commit to fix it weeks ago.Auswaschbar wrote:that is already fixed.
-
- Spring Developer
- Posts: 1254
- Joined: 24 Jun 2007, 08:34