AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=109)
-   -   Quake Sounds (https://forums.alliedmods.net/showthread.php?t=58548)

dalto 07-28-2007 19:55

Quake Sounds
 
2 Attachment(s)
Quake Sounds

Current Version: 1.8

Description:
This plugin plays Quake sounds. It currently has two separate sound sets, a normal set and female set. The sounds which are played and the events which trigger sounds can be configured. It allows users to have individual sound settings and saves these settings across sessions. It also displays localized text messages for each event. You can add or remove sound sets from the additional sound sets. This plugin currently supports Counter Strike:Source, Day of Defeat:Source and Half Life 2: Deathmatch.

Planned Features:
  • Add more event sounds as requested
CVar's:
sm_quakesounds_version: The version number
sm_quakesounds_enable: Enables the plugin
sm_quakesounds_announce: Enables the plugin announcement
sm_quakesounds_text: The default text setting for new users
sm_quakesounds_sound: The default sound setting for new users
For full descriptions check the cfg/sm_quakesounds.cfg file

Changelog:
1.8: Fixed array out of bounds, autoloaded cfg, added volume control
1.7: Added join server sound and menu exit choice
1.6: Added event sounds framework, changed sm_quakesounds_enable behavior, added german translation from -<[PAGC]>- Isias
1.5: Added support for late loading and more translatable strings
1.4.3: Added support for HL2: Deathmatch
1.4.1: Changed the way disabled sounds were handled
1.4: Added flexible kill settings and the ability to add/remove sound sets
1.3.1: Fixed bugs in sound and text preferences, array out of bounds error
1.3: Added more sound settings and moved them to the config file
1.2: Bug fixes around setting and saving text display preferences
1.1: Allowed the attacker and victim name to be used in the text
1.0: Added localized text messages and more configurability
0.96: Improved DOD:S support, fixed the announce cvar.
0.95: Added support Day of Defeat:Source, better error handling
0.9: Added progressive sounds and switched to emitsound
0.8: Added cvar to control announcements and updated menu
0.7: Added teamkill, cvar control and more
0.6: Made user settings persistant
0.5: Added configuration file for sounds locations
0.4: Initial Release

Languages:

English
German, courtesyt of -<[PAGC]>- Isias, XG1|AleX
French, courtesy of HO!NO!
All others are still needed

Installation:

Copy all the files to your mod directory(cstrike, dods, hl2mp).

dalto 07-28-2007 22:05

Re: SM Quake Sounds
 
SM Quake Sounds FAQ

Q: I want to add sound sets but I don't know how to do it.
A: That is because I provided absolutely no documentation on how to do it.

Q: So, can you tell me how?
A: Well...OK
  • The top of the addons/sourcemod/config/quakesoundlist.cfg file has a section called "sound sets". Inside this section are 5 places to have sound sets. First add a short name of your sound into one these.
  • Next you need to add a line to each of the sound keys in the file using that short name that has a path to the sound file relative to the sound/ directory.
  • Next you need to go the addons/sourcemod/translations/plugin.quakesounds.txt file and add a key for your sound set.
  • Lastly, don't forget to add the sound files to your server.
  • If all this sounds confusing than just look at the standard and female sound configurations and do the same thing for your sounds.
Q: What if I want to have more than 5 sound sets.
A: Then your players will hate you for making them download that many sounds. But, if you REALLY want to do this then you will need to edit the script or send me a note and ask me for a custom copy.

Q: What if I want to remove one of the existing sound sets?
A: Just change the sound set data to ""

Q: I want the DOMINATING sound to be played at 5 kills instead of 4.
A: That is not a question, but I will pretend that it was and answer it anyway. In the addons/sourcemod/config/quakesoundlist.cfg there is data for "kills". You can change the values to whatever you need to.

Q: What does "config" "9" mean?
A: It means play the sound and display the text to everyone. Here is a complete description of how to set that feild.
The field now works as follows
0: Off
1: Play sound to everyone
2: Play sound to attacker
4: Play sound to victim
8: Print text to everyone
16: Print text to attacker
32: Print text to victim

You need to add the above values to get your value
If you want to play sounds and text to everyone 1 + 8 = 9
If you want to print text to everyone but only want sounds to play for those involved: 2 + 4 + 8 = 14

Q: Your version numbering scheme is really confusing.
A: It makes perfect sense when you consider that I have changed the versioning scheme three times without any announcement. The current versioning scheme as of version 1.3 looks like this x.y.z. A change in x is called a major release. A change in y is a feature release. A change in z is fix or minor upgrade. Changes in z never require updating configuration files. You can just overwrite your quakesounds.smx file.

Q: I was looking at the changelog and I noticed that you are always fixing bugs. Wouldn't it be easier just to write the plugins without all the bugs?
A: Yes, but then I wouldn't have anything to do to pass the time.

Q: Doesn't all this configuration seem overly complicated? Couldn't we make it simpler?
A: Probably.

Q: I installed the plugin but it will not load.
A: Make sure you installed all the files. If you open the distribution you should be able to just drop that into your cstrike or dod folder.

Q: I made sure to copy the latest copy of all the files but it still doesn't work.
A: Check your server logs and addons/sourcemod/logs for errors and then post into this thread.

Q: I want to use your plugin with a mod other than CS:S, DOD:S or HL2DM, will it work?
A: I have no idea. If you post what mod you want it to work with I am glad to check it out. I might need your help to test it though.

Q: I was playing on our server earlier and we had this one guy get like 25 kills in a row and profanity came up on the screen and played over my speakers! How do I make it stop?
A: There are two ways to fix this problem:
  1. Stop letting your players get so many consecutive kills.
  2. Change the addons/sourcemod/configs/quakesoundlist.cfg and addons/sourcemod/translations/plugin.quakesounds.txt to play/display whatever you want.
Q: I set sm_quakesounds_who to 3 but everyone is still hearing the sounds. What is going on?
A: sm_quakesounds_who, sm_quakesounds_female, sm_quakesounds_min_kills and quite a few others have been deprecated between 1.0 and 1.4. They have been replaced by more flexible configuration in the addons/sourcemod/configs/quakesoundlist.cfg file.

Q: All the text displays are in English. I hate english! Why don't you have more translations?
A: That is because I only know english and as of 1.4 nobody has bothered to submit any translations.

^BuGs^ 07-28-2007 23:09

Re: SM Quake Sounds
 
Nice job. :up:

dalto 07-28-2007 23:29

Re: SM Quake Sounds
 
New version 0.6. Added support for persisting user settings.

Kaschenko 07-29-2007 03:22

Re: SM Quake Sounds
 
Would be cool if it would be possible to disable with downloading quake sounds "female" and to disable "female" in the menu! quake. Also it would be desirable to edit quantity downloading and working sounds.

It would be desirable all it to have possibility to do on a server.

FlyingMongoose 07-29-2007 04:00

Re: SM Quake Sounds
 
Thank you for this, I've been procrastinating doing this forever.Though personally I disable quake sounds in servers I play in.

tcviper 07-29-2007 09:05

Re: SM Quake Sounds
 
Missing:

1) Teamkiller :)
2) Let people say quake or !quake instead of just !quake please
3) setting of per round or per game
4) setting per sound if players involved only hear it or all or only attacker or only victim would be handy
5) Removing one of the sounds still plays it after mapchange (firstblood)
6) setting per sound when it plays (Dominating after XX kills)

tcviper 07-29-2007 09:41

Re: SM Quake Sounds
 
!quake to set you quake sounds preferences might wanna change that to
Type !quake to set you quake sounds preferences

and once a user has chosen something not display it anymore

dalto 07-29-2007 11:04

Re: SM Quake Sounds
 
Quote:

Originally Posted by tcviper (Post 509723)
1) Teamkiller :)

I will add it.

Quote:

Originally Posted by tcviper (Post 509723)
2) Let people say quake or !quake instead of just !quake please

Is this, generally speaking, a good idea from a usability and consistency perspective? I would like to here peoples thoughts here.

Quote:

Originally Posted by tcviper (Post 509723)
3) setting of per round or per game

Huh? Setting of what per round or per game?

Quote:

Originally Posted by tcviper (Post 509723)
4) setting per sound if players involved only hear it or all or only attacker or only victim would be handy

I will add this

Quote:

Originally Posted by tcviper (Post 509723)
5) Removing one of the sounds still plays it after mapchange (firstblood)

I would strongly recommend against removing sounds from the config file. The first thing I am going to be doing is adding better error handling around the loading of the config file. I will also be adding CVAR's to disable certain sounds.

Quote:

Originally Posted by tcviper (Post 509723)
6) setting per sound when it plays (Dominating after XX kills)

I will add s start value for the kills section.

Quote:

Originally Posted by tcviper (Post 509723)
!quake to set you quake sounds preferences might wanna change that to
Type !quake to set you quake sounds preferences

I changed it to "Say !quake or /quake to set your quake sounds preferences"

Quote:

Originally Posted by tcviper (Post 509723)
and once a user has chosen something not display it anymore

Is this a good idea? I know on my server people forget the commands they have not used in a while.

FroL 07-29-2007 11:30

Re: SM Quake Sounds
 
Add plz.:
doublekill
triplekill
and ect.
Now I use ES-version of quake sounds.


All times are GMT -4. The time now is 21:45.

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