/volume 100 set snd_volmaster to 1

/volume 100 set snd_volmaster to 1

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

Post Reply
User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7052
Joined: 16 Nov 2004, 13:08

/volume 100 set snd_volmaster to 1

Post 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.
Attachments
show_master_volume.lua
In case your ears are not enough.
(703 Bytes) Downloaded 16 times
User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

Re: /volume 100 set snd_volmaster to 1

Post by lurker »

Yes, it's a bug in a deprecated command. Might be fixed already. Don't use it.
User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7052
Joined: 16 Nov 2004, 13:08

Re: /volume 100 set snd_volmaster to 1

Post 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.
User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

Re: /volume 100 set snd_volmaster to 1

Post by lurker »

Is it easier to remember both 'volume' and 'snd_volmaster', or just 'snd_volmaster' with the command /set snd_volmaster?
Auswaschbar
Spring Developer
Posts: 1254
Joined: 24 Jun 2007, 08:34

Re: /volume 100 set snd_volmaster to 1

Post 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.
User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7052
Joined: 16 Nov 2004, 13:08

Re: /volume 100 set snd_volmaster to 1

Post by zwzsg »

It is easier to remember /volume 50 than /set snd_volmaster 50 yes.
User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

Re: /volume 100 set snd_volmaster to 1

Post by lurker »

Nope, in the first case you have to remember both /volume AND snd_volmaster.
User avatar
Pxtl
Posts: 6112
Joined: 23 Oct 2004, 01:43

Re: /volume 100 set snd_volmaster to 1

Post 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.
Auswaschbar
Spring Developer
Posts: 1254
Joined: 24 Jun 2007, 08:34

Re: /volume 100 set snd_volmaster to 1

Post by Auswaschbar »

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
User avatar
very_bad_soldier
Posts: 1397
Joined: 20 Feb 2007, 01:10

Re: /volume 100 set snd_volmaster to 1

Post 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".
Auswaschbar
Spring Developer
Posts: 1254
Joined: 24 Jun 2007, 08:34

Re: /volume 100 set snd_volmaster to 1

Post by Auswaschbar »

Current version does not give unknown commands to lua, so it requires to "/luaui volup", but that is already fixed.
User avatar
very_bad_soldier
Posts: 1397
Joined: 20 Feb 2007, 01:10

Re: /volume 100 set snd_volmaster to 1

Post by very_bad_soldier »

Yay thx, works like a charm.

Here is trepan's volume widget with GUI if someone is interested.
Attachments
snd_volume.lua
volume slider
(4.22 KiB) Downloaded 9 times
User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

Re: /volume 100 set snd_volmaster to 1

Post by lurker »

Auswaschbar wrote:that is already fixed.
For real this time? I thought I saw a commit to fix it weeks ago.
Post Reply

Return to “Help & Bugs”