AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   Quake Sounds (https://forums.alliedmods.net/showthread.php?t=72725)

hleV 06-14-2008 17:33

Quake Sounds
 
9 Attachment(s)
Description:
This is the Quake Sounds version for Counter-Strike. It's not the same as Counter-Strike: Source's Quake Sounds (at least I think so). I didn't even look at it. I think this is kinda unique because these sounds aren't often in servers and plugin contains some nice modes and the ability to enable/disable whichever you want.
The plugin runs 6 types of announces:
  • Streak - you know it from Ultimate Sounds: rampage, ultra kill etc. Contains 13 different sounds.
  • Headshot - same as in Ultimate Sounds except the 2 sound hear types (changed by CVAR).
  • Humiliating defeat - you hear humiliating defeat after you kill somebody with knife. Same hear abilities as HS.
  • First blood - first kill after game commences or new round (changed by CVAR) is displayed as first blood.
  • Hattrick - best player of the round with at least 4 (changed by CVAR) kills is displayed at round's end.
  • Flawless victory - if a team wins without any dead players in it (like there's 10 vs 10 and at the end it's 10 vs 0) it announces a flawless team's victory at the end of the round.
Every announce is displayed in a white HUD message over your crosshair (way over lol) except the flawless victory one, it's displayed right side of the screen below the crosshair.
Commands:
amx_quakesounds <1|0> - enables/disables Quake Sounds.
CVARs (all these are enabled by default):
  • qs_enabled <1|0> - enables/disables Quake Sounds.
  • qs_streak <1|0> - enables/disables streak mode.
  • qs_headshot <1|2|0> - 1 - hears for killer, 2 - hears for everyone, 0 - disabled.
  • qs_humiliatingdefeat <1|2|0> - 1 - hears for killer, 2 - hears for everyone, 0 - disabled.
  • qs_firstblood <1|2|0> - 1 - on game commencing, 2 - on every round, 0 - disabled.
  • qs_hattrick <num> - minimum number of kills to be the best player of the round (def: 4). 0 - disabled.
  • qs_flawlessvictory <num> - minimum number of players in server to anounce flawless victory (def: 6). 0 - disabled.
Installation:
Like any other AMXX plugin. Don't forget to put quakesounds.txt to your amxmodx/data/lang folder.
Credits:
  • Dizzy / Bmann_420 for Ultimate Sounds plugin (took streak from it).
  • Scarrzurs for Frag Counter plugin (took best player of the round from it).
  • X-olent for flawless victory code and other scripters.
  • Those who helped to test the Quake Sounds.
Notes:
  • Quake Sounds were tested with Metamod PODBots and real players on both Windows ant Linux.
  • I wont add .ini (or whatever) support for sound files or something else so please don't ask for it.
  • This is my first plugin so please tell if anything is wrong with the code.
  • Quake Sounds should work on other HL mods except the flawless victory mode. So please disable it before trying it not in CS.
  • These .wav files were downloaded from one Counter-Strike: Source server and not from anywhere else. You can freely use it wherever you want.
Changelog:
Quote:

2.0 version:
  • Rewriten the plugin.
  • Fixed hattrick. The player doesn't have to be alive at round's end.
  • Fixed flawless victory mode.
  • Removed qs_download CVAR. I believe it isn't needed.
  • Changed CVAR qs_knifekill to qs_humiliatingdefeat to be the same as sound.
1.2 Final version:
  • Changed speak to spk (exclude flawless victory) so players could hear 2 sounds at one moment.
  • Fixed Multi-Lingual.
  • Added CVARs to control HS and Knife kill sounds whether they heared only by a killer or by all players.
  • Added CVAR to control how many players needed to announce Flawless victory.
  • Simplified Hattrick CVAR so now there's only one CVAR instead of 2.
  • Changed hattrick announce conditions so the player must stay alive till round's end to be announced as the best. This also prevents players from gaining Hattrick by having 3 kills and adding one more by killing himself.
  • Added client say command qs_version. Now the players can see which QS version is installed.


Fry! 06-14-2008 17:56

Re: Quake Sounds
 
GOOD JOB. =)

PoSiTiOn Of PoWeR 06-14-2008 18:02

Re: Quake Sounds
 
Unbelievable: I love this plugin / sounds worked well !
gj hleV xD

Fry! 06-14-2008 18:30

Re: Quake Sounds
 
hleV, I must say some sounds are not working. Further than these sounds (First blood, Head shot, Rampage, Hattrick and Flawessvictory) another sounds not working.

hleV 06-14-2008 18:36

Re: Quake Sounds
 
I've tested Quake Sounds only with bots and it worked fine though.

Are you saying that all streak mode sounds doesn't work? Try to kill 3 enemies without dieing and see if it says Rampage.
The sounds occurs when you do these kills: 3, 5, 7, 9, 11, 13, 16, 19, 22, 25, 28, 31, 35. If you die, all starts over again.

I hope this wont occur to anyone else.

YamiKaitou 06-14-2008 19:08

Re: Quake Sounds
 
Are you using ResetHUD to detect new round and/or player spawn? If so, bad boy. (only saying this cause it appears like you are)

bmann_420 06-14-2008 19:32

Re: Quake Sounds
 
Right on, sounds good. Appreciate credits :D Might just have to try it out

Curryking 06-14-2008 20:04

Re: Quake Sounds
 
The best way to get as much translation as possible is to open a new thread in the translation request forum ;-)

None the less, here is the German one, some expressions are quite difficult to translate, so I left the English ones, but they should still be understood by the most German gamers ;-)

German

Code:

[de]
ENABLED = Quake Sounds aktiviert!
DISABLED = Quake Sounds deaktiviert!
ALREADY_ENABLED = Quake Sounds sind bereits aktiviert!
ALREADY_DISABLED = Quake Sounds sind bereits deaktiviert!
RAMPAGE = %s tobt herum!
KILLING_SPREE = %s ist auf einem Amoklauf!
DOMINATING = %s dominiert!
UNSTOPPABLE = %s ist nicht aufzuhalten!
ULTRA_KILL = %s machte einen Ultra-Kill!
EAGLE_EYE = %s hat ein Adlerauge!
OWNAGE = %s owns!
LUDICROUS_KILL = %s machte einen irrsinnigen Kill!
HEAD_HUNTER = %s ist ein Kopfjaeger!
WHICKED_SICK = %s is boesartig krank!
MONSTER_KILL = %s machte einen Monster-Kill!
HOLY_SHIT = Heilige Scheisse! %s hat schon wieder einen bekommen!
GODLIKE = %s ist gottaehnlich!!!
FIRST_BLOOD = %s vergoss erstes Blut!
HATTRICK = %s war diese Runde unreal!
FLAWLESS_VICTORY_CT = Tadelloser Sieg fuer die Counter-Terroristen!
FLAWLESS_VICTORY_T = Tadelloser Sieg fuer die Terroristen!

And you have a little typo in the original one
Quote:

MONSTER_KILL = %s made a monster kill!
Cheers, Curry

bmann_420 06-14-2008 22:31

Re: Quake Sounds
 
And the sounds just go into the sound folder (sound/qs)? That will make it so the other sounds from the other plugins wont come up, but just making sure you diddnt place it in the misc dir.

Toster v2.1 06-15-2008 03:43

Re: Quake Sounds
 
I don't get it. Where do people get the idea to use ResetHUD? I haven't seen this in any tutorial/documentation and the forum is full of posts saying not to use it.


All times are GMT -4. The time now is 14:44.

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