AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=109)
-   -   Mapchooser Extended Sounds (Updated 2011-11-03) (https://forums.alliedmods.net/showthread.php?t=156977)

banania 06-27-2011 12:52

Re: Mapchooser Extended Sounds (Updated 2011-05-16)
 
Thank you very much, the problem was that I forgot I had a mirror download for my test server so I added the sounds of it (sounds do more to download each connection ;))

ASTFA 06-27-2011 22:23

Re: Mapchooser Extended Sounds (Updated 2011-05-16)
 
Quote:

Originally Posted by Powerlord (Post 1497054)
When is this cvar being set?

Due to the way SourceMod's download tables work, this cvar is only checked once on map start, after the plugin's config file is read. The config file being cfg/sourcemod/mapchooser_extended_sounds.cfg, which it will auto-create and populate with default values the first time the plugin is loaded.

my mapchooser_extended_sounds.cfg is as below:

Code:

// This file was auto-generated by SourceMod (v1.3.8)
// ConVars for plugin "mapchooser_extended_sounds.smx"


// Force players to download all sound sets, so sets can be dynamically changed during the map. Defaults to off. Takes effect at map change.
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_mapvote_downloadallsounds "0"

// Enable this plugin.  Sounds will still be downloaded (if applicable) even if the plugin is disabled this way.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_mapvote_enablesounds "1"

// Enable sounds to be played during warning counter.  If this is disabled, map vote warning, start, and stop sounds still play.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_mapvote_enablewarningcountersounds "1"

// Mapchooser Extended Sounds Version
// -
// Default: "1.2"
sm_mapvote_sounds_version "1.2"

// Sound set to use, optimized for TF by default.  Sound sets are defined in addons/sourcemod/configs/mapchooser_extended_sounds.cfg.  Takes effect immediately if sm_mapvote_downloadallsounds is 1, otherwise at map change.
// -
// Default: "tf"
sm_mapvote_soundset "hl1"


The other question I have, since players on my server like the hl1 sounds alot more, is how do I turn off just the count down sound during voting?

I'm referring to the sound made every second during the count down of the voting period. It's annoying my players and I want to turn it off.

Powerlord 06-28-2011 01:12

Re: Mapchooser Extended Sounds (Updated 2011-05-16)
 
[quote=ASTFA;1498421]my mapchooser_extended_sounds.cfg is as below:

Hmm, the config file looks correct.

I'll play around with this on HL2:DM test server to see if I can get the same behavior with it forcing a download of all sound sets.

Quote:

Originally Posted by ASTFA (Post 1498421)
The other question I have, since players on my server like the hl1 sounds alot more, is how do I turn off just the count down sound during voting?

I'm referring to the sound made every second during the count down of the voting period. It's annoying my players and I want to turn it off.

Change this cvar in your configuration
Code:

sm_mapvote_enablewarningcountersounds 0
However, if the sounds are still in the hl1.cfg file, they will still be downloaded.

ASTFA 06-28-2011 02:39

Re: Mapchooser Extended Sounds (Updated 2011-05-16)
 
Thanks for the clarification. So how can I disable the dl for the file? do I just take the relevant line out in hl1.cfg?

from

Code:

        "vote warning"
        {
            "sound"            "sourcemod/mapchooser/hl1/bell_warning.wav"
        }

to

Code:

        "vote warning"
        {
 
        }

or

Code:

        "vote warning"
        {
            "sound"            ""
        }

?

Sorry I just want to avoid errors.

Thanks.

GrO 06-28-2011 03:17

Re: Mapchooser Extended Sounds (Updated 2011-05-16)
 
The last example will work for sure, cause I'm using it the same way ;] Just leave empty quotes.

ASTFA 06-28-2011 06:07

Re: Mapchooser Extended Sounds (Updated 2011-05-16)
 
Thanks GrO.

I'm also back to confirm that sm_mapvote_enablewarningcountersounds 0 does not work.

The only evidence that I have that the cfg is working is the fact that sm_mapvote_soundset "hl1" works

Powerlord 06-28-2011 10:30

Re: Mapchooser Extended Sounds (Updated 2011-05-16)
 
Quote:

Originally Posted by ASTFA (Post 1498421)
I'm referring to the sound made every second during the count down of the voting period. It's annoying my players and I want to turn it off.

I totally missed this part of your post earlier.

There's actually two ways to fix this:
1. Disable hintbox sounds by setting sv_hudhint_sound 0. This affects any plugin that displays text in the HintBox.
2. Set sm_mapvote_warningtimerlocation to 1 (Center Text) or 2 (Chat) in the Mapchooser Extended configuration to make it print the warning to a different location.

Actually, temporarily disabling sv_hudhint_sound might be a good feature to have a toggle for in the next version of Mapchooser Extended.

Quote:

Originally Posted by ASTFA (Post 1498506)
Thanks for the clarification. So how can I disable the dl for the file? do I just take the relevant line out in hl1.cfg?

Provided I didn't screw up, you can delete any sections in the sound configuration files that have files you don't want. Essentially, this plugin checks (or it's supposed to) if a sound value is configured before trying to play it.

For example, this config should work:
Code:

"MapchooserSoundsList"
{
    "hl1"
    {
        "vote start"
        {
            "sound"            "sourcemod/mapchooser/hl1/startyourvoting.mp3"
        }
        "vote end"
        {
            "sound"            "sourcemod/mapchooser/hl1/endofvote.mp3"
        }
    }
}


ASTFA 06-28-2011 21:20

Re: Mapchooser Extended Sounds (Updated 2011-05-16)
 
Thanks Powerlord, re countdown sounds I might wait for your update as I want players to know votes were being cast (do I really? might re-think that later). And I think having it in chat may put some players off.

Re dl of sound files, I've tried changing the vote warning one to "sound" "", but it didn't work for my server, I'll try deleting them like you said and report back when I next try.

Spinner0205 07-07-2011 00:46

Re: Mapchooser Extended Sounds (Updated 2011-05-16)
 
I was under the impression that the countdown times were for the amount of time left to vote. They are actually for the time before the vote starts I have found out. Will there be a feature added to have sounds for time left to vote in the future?

Powerlord 07-07-2011 08:15

Re: Mapchooser Extended Sounds (Updated 2011-05-16)
 
Quote:

Originally Posted by Spinner0205 (Post 1505393)
I was under the impression that the countdown times were for the amount of time left to vote. They are actually for the time before the vote starts I have found out. Will there be a feature added to have sounds for time left to vote in the future?

Sadly, the countdown for the time left until a vote ends is handled internally by SourceMod's menu system and I have no way of accessing it.


All times are GMT -4. The time now is 19:27.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.