Author
|
Message
|
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
|
05-14-2011
, 15:09
Mapchooser Extended Sounds (Updated 2011-11-03)
|
#1
|
New versions are posted in the MapChooser Extended thread.
The sounds plugin for Mapchooser Extended 1.7 and higher.
Features:
- Configurable sound sets, including sound events for: Vote Warning, Revote Warning, Vote Start, Vote End, and Countdown sounds.
- Sound sets are configured in addons/sourcemod/configs/mapchooser_extended/sounds/
- Configurable whether players only download sounds for the current set or for all sets.
- "tf" sound set should work even on an sv_pure 2 Team Fortress 2 server.
Dependencies:
- Mapchooser Extended 1.7 or higher.
- sv_pure 0 or sv_pure 1 server. "builtin" sounds will also work on sv_pure 2 servers.
Changelog:
- Version 1.3 (2011-11-03)
- All cvars have been renamed to conform with the MapChooser Extended standard. This means that you will need to delete your mapchooser_extended.cfg file.
- Updated to use OnMapVoteStarted instead of OnMapVoteStart
- Changed timings in TF Sound Set (32 to 30, 12 to 10)
- Version 1.2 (2011-05-16)
- Sound sets now each have their own config files.
- Fixed a bug where specifying an invalid sound set in cfg/sourcemod/mapchooser_extended_sounds.cfg would cause the plugin to enter into an infinite loop.
- Removed hl1 sound set from zip file and moved to a separate download.
- Version 1.1.2 (2011-05-15)
- Fixed a bug where the plugin would sometimes crash on start
- Fixed an issue where having a non-existent sound set as your sm_mapvote_soundset cvar on plugin load would cause the plugin to crash (or just not work). Now, it will switch to the default configuration. NOTE: Removing the default (tf) sound set and then referencing a non-existent sound set as the default will also make this crash (or not work).
- Version 1.1.1 (2011-05-15)
- Fixed having too many convars with the FCVAR_NOTIFY attribute.
- Version 1.1 (2011-05-14)
- Version 1.0 (???)
- Internal Release that only supported changing sound sets at server restart
Installation:
- Unpack archive to game root directory eg. orangebox/tf
- Upload the sounds directory to your Fast Download server if you have one.
- If you are using Team Fortress 2 and the "tf" set exclusively with sm_mapvote_downloadallsounds 0, this step is optional.
Upgrading:
- If you are using version 1.1.x, download the zip again as the configuration file system has changed.
Common Problems:
- "The sounds download but don't play!" or "I get the error 'Failed to load sound "sourcemod\mapchooser\tf2\announcer_dec_missi onbegins30s06.mp3", file probably missing from disk/repository"' in my game console"
- This has two potential problems. The first is that you didn't upload the sound files to your game server or fast download server.
- The second is that you may be running a sv_pure 2 server or a sv_pure 1 server without having the Mapchooser Sounds directory in your pure_server_whitelist.txt
- If it is a sv_pure 1 server, add this above the } at the end of hl2/pure_server_whitelist.txt :
Code:
sound\sourcemod\... allow_from_disk
- The hl2 directory is in the orangebox directory (for HL2DM, CS:S, DOD:S, and TF2), not your game directory.
- You cannot fix this on an sv_pure 2 server.
- "The sounds play fine the first map, but not after a map change!"
- This is actually the same issue as the previous problem, except that you're setting the sv_pure value in server.cfg. See the previous answer's solution.
- "The constant beeping during a vote is annoying. How do I get rid of it?"
- This is controlled by the game server. Set sv_hudhint_sound 0 in your server.cfg. Note: This disables the sound for all hint messages.
ConVars:
- mce_sounds_downloadallsounds [0/1] (def 0) - Force players to download all sound sets, so sets can be dynamically changed during the map. Takes effect at map change.
- mce_sounds_enablesounds [0/1] (def 1) - Enable this plugin. Sounds will still be downloaded (if applicable) even if the plugin is disabled this way.
- mce_sounds_enablewarningcountersounds [0/1] (def 1) - Enable sounds to be played during warning counter. If this is disabled, map vote warning, start, and stop sounds still play.
- mce_sounds_version [val] (def "1.1.2") - Mapchooser Extended Sounds Version
- mce_sounds_soundset [val] (def "tf") - Sound set to use, optimized for TF by default. Sound sets are defined in individual files in addons/sourcemod/configs/mapchooser_extended/sounds/. Takes effect immediately if mce_sounds_downloadallsounds is 1, otherwise at map change.
Commands:
- sm_mapvote_reload_sounds - Console command that reloads the Mapchooser Sound configuration files. EXPERIMENTAL. This may or may not work, although 1.1.2 should have fixed the crashing issue with it.
- sm_mapvote_list_soundsets - Admin command that lists which sound sets have been successfully loaded. Requires the Cvar admin flag.
Sound Sets:
- "tf" (included with plugin) - Featuring the Announcer from Team Fortress 2. Requires no external files if the game is Team Fortress 2. Submitted by Powerlord.
- "hl1" (hl1_sound_set.zip) - Featuring the HEV suit voice and GMan from Half-Life 1. Submitted by Zuko.
Sound sets support "builtin" sounds if the sound set is the same name as the game folder. It is possible to have a sound set composed entirely of "builtin" sounds, but is not recommended.
If you create a new sound set, it is recommended you put sounds in the sound/sourcemod/mapchooser/[setname]/ directory (ex: sound/sourcemod/mapchooser/hl1/). This allows Pure 1 servers to whitelist the sound/sourcmod directory to allow all sounds.
The Get Plugin link will not work because the plugin requires mapchooser_extended.inc to compile.
__________________
Not currently working on SourceMod plugin development.
Last edited by Powerlord; 01-27-2014 at 10:23.
Reason: Updated to version 1.3
|
|
|
|