Raised This Month: $51 Target: $400
 12% 

Mapchooser Extended Sounds (Updated 2011-11-03)


Post New Thread Reply   
 
Thread Tools Display Modes
banania
Member
Join Date: Feb 2011
Old 06-27-2011 , 12:52   Re: Mapchooser Extended Sounds (Updated 2011-05-16)
Reply With Quote #21

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 ;))
banania is offline
ASTFA
Member
Join Date: Jun 2011
Old 06-27-2011 , 22:23   Re: Mapchooser Extended Sounds (Updated 2011-05-16)
Reply With Quote #22

Quote:
Originally Posted by Powerlord View Post
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.
__________________

ASTFA is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 06-28-2011 , 01:12   Re: Mapchooser Extended Sounds (Updated 2011-05-16)
Reply With Quote #23

[quote=ASTFA;1498421]my mapchooser_extended_sounds.cfg is as below:

Hmm, the config file looks correct.

I'll play around with this on HL2M 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 View Post
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.
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
ASTFA
Member
Join Date: Jun 2011
Old 06-28-2011 , 02:39   Re: Mapchooser Extended Sounds (Updated 2011-05-16)
Reply With Quote #24

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.
__________________


Last edited by ASTFA; 06-28-2011 at 02:42.
ASTFA is offline
GrO
Veteran Member
Join Date: Jun 2010
Location: Poland
Old 06-28-2011 , 03:17   Re: Mapchooser Extended Sounds (Updated 2011-05-16)
Reply With Quote #25

The last example will work for sure, cause I'm using it the same way ;] Just leave empty quotes.
GrO is offline
ASTFA
Member
Join Date: Jun 2011
Old 06-28-2011 , 06:07   Re: Mapchooser Extended Sounds (Updated 2011-05-16)
Reply With Quote #26

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
__________________

ASTFA is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 06-28-2011 , 10:30   Re: Mapchooser Extended Sounds (Updated 2011-05-16)
Reply With Quote #27

Quote:
Originally Posted by ASTFA View Post
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 View Post
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"
        }
    }
}
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 06-28-2011 at 10:38.
Powerlord is offline
ASTFA
Member
Join Date: Jun 2011
Old 06-28-2011 , 21:20   Re: Mapchooser Extended Sounds (Updated 2011-05-16)
Reply With Quote #28

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.
__________________

ASTFA is offline
Spinner0205
Junior Member
Join Date: Feb 2010
Old 07-07-2011 , 00:46   Re: Mapchooser Extended Sounds (Updated 2011-05-16)
Reply With Quote #29

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?
Spinner0205 is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 07-07-2011 , 08:15   Re: Mapchooser Extended Sounds (Updated 2011-05-16)
Reply With Quote #30

Quote:
Originally Posted by Spinner0205 View Post
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.
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 07-07-2011 at 08:41.
Powerlord is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:36.


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