AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Audiomsg Arguments... (https://forums.alliedmods.net/showthread.php?t=95700)

shadow.hk 06-26-2009 08:59

Audiomsg Arguments...
 
Wondering how I can get a list of all the audio messages for Counter-strike so I can block certain ones.

Stuff like terwin, ctwin, rounddraw.

DruGzOG 06-26-2009 09:00

Re: Audiomsg Arguments...
 
PHP Code:

register_event("SendAudio""Terrorists_win" "a""2&%!MRAD_terwin");
 
register_event("SendAudio""CounterTerrorists_win""a""2&%!MRAD_ctwin"); 


shadow.hk 06-26-2009 09:02

Re: Audiomsg Arguments...
 
Quote:

Originally Posted by DruGzOG (Post 857544)
PHP Code:

register_event("SendAudio""Terrorists_win" "a""2&%!MRAD_terwin");
 
register_event("SendAudio""CounterTerrorists_win""a""2&%!MRAD_ctwin"); 


I know how to hook them, I need a list of the counter-strike audio messages.

DruGzOG 06-26-2009 09:04

Re: Audiomsg Arguments...
 
PHP Code:

/* ++++++++++Zombie Zealots++++++++++
+++++++++++++www.zombiezealots.com+++ */
#include <amxmodx>
#include <amxmisc>
#define VERSION "1.20"
public plugin_init()
{
 
register_plugin("Test"VERSION"LeviN");
 
 
register_event("SendAudio""Terrorists_win" "a""2&%!MRAD_terwin");
 
register_event("SendAudio""CounterTerrorists_win""a""2&%!MRAD_ctwin");
}
public 
Terrorists_win()
{
 
client_print(0print_center"Something here");
 return 
PLUGIN_HANDLED;
}
public 
CounterTerrorists_win()
{
 
client_print(0print_center"Something Here");
 return 
PLUGIN_HANDLED;


I dont remember the rounddraw, check in the amxmisc include

minimiller 06-26-2009 09:09

Re: Audiomsg Arguments...
 
"%!MRAD_rounddraw"

shadow.hk 06-26-2009 09:12

Re: Audiomsg Arguments...
 
Quote:

Originally Posted by DruGzOG (Post 857551)
I dont remember the rounddraw, check in the amxmisc include

...I think you misunderstood me. I know that rounddraw, terwin, and ctwin are sounds you can hook in SendAudio, and I know how to hook them, but I'm looking for a list of other sounds that I can hook. Like the "Alright, let's move out" sound at round-start.

DruGzOG 06-26-2009 09:29

Re: Audiomsg Arguments...
 
Ah I see, Thats the only three I know of

ConnorMcLeod 06-26-2009 18:50

Re: Audiomsg Arguments...
 
2 Attachment(s)
Run this plugin untill you think all audio msgs has been sent once one your server, then remove it.

Output files exemple (5mins run) :

SendAudio_All.txt
Code:

"%!MRAD_ctwin"
"%!MRAD_terwin"
"%!MRAD_rounddraw"
"%!MRAD_BOMBPL"
"%!MRAD_BOMBDEF"
"%!MRAD_rescued"

SendAudio_One.txt
Code:

"%!MRAD_MOVEOUT"
"%!MRAD_FOLLOWME"
"%!MRAD_NEGATIVE"
"%!MRAD_INPOS"
"%!MRAD_FIREINHOLE"
"%!MRAD_HITASSIST"
"%!MRAD_ENEMYDOWN"
"%!MRAD_AFFIRM"
"%!MRAD_ENEMYSPOT"
"%!MRAD_COVERME"
"%!MRAD_TAKEPOINT"
"%!MRAD_LOCKNLOAD"
"%!MRAD_POSITION"
"%!MRAD_REGROUP"
"%!MRAD_GO"
"%!MRAD_ROGER"
"%!MRAD_FALLBACK"
"%!MRAD_STICKTOG"
"%!MRAD_GETINPOS"
"%!MRAD_STORMFRONT"
"%!MRAD_REPORTIN"
"%!MRAD_REPRTINGIN"
"%!MRAD_BACKUP"
"%!MRAD_CLEAR"
"%!MRAD_BLOW"
"%!MRAD_LETSGO"


Also, have a look at cstrike/sentences.txt (extrait of it):
Code:

// radio sounds
MRAD_GETINPOS radio/com_getinpos
MRAD_GO radio/com_go
MRAD_REPORTIN radio/com_reportin
MRAD_FOLLOWCOM radio/com_followcom
MRAD_AFFIRM radio/ct_affirm
MRAD_BACKUP radio/ct_backup
MRAD_COVERME radio/ct_coverme
MRAD_ENEMYSPOT radio/ct_enemys
MRAD_FIREINHOLE radio/ct_fireinhole
MRAD_IMHIT radio/ct_imhit
MRAD_INPOS radio/ct_inpos
MRAD_POINT radio/ct_point
MRAD_REPRTINGIN radio/ct_reportingin

MRAD_CTWIN radio/ctwin
MRAD_HOSDOWN radio/hosdown
MRAD_LETSGO radio/letsgo
MRAD_LOCKNLOAD radio/locknload
MRAD_MATEDOWN radio/matedown
MRAD_MOVEOUT radio/moveout
MRAD_RESCUED radio/rescued
MRAD_ROGER radio/roger
MRAD_TERWIN radio/terwin
MRAD_ENEMYDOWN radio/enemydown
MRAD_ROUNDDRAW radio/rounddraw
MRAD_ELIM radio/elim
MRAD_GETOUT radio/getout
MRAD_VIP radio/vip

MRAD_BLOW radio/blow
MRAD_BOMBDEF radio/bombdef
MRAD_BOMBPL radio/bombpl
MRAD_CLEAR radio/clear
MRAD_FALLBACK radio/fallback
MRAD_GOGOGO radio/com_go
MRAD_HITASSIST radio/fireassis
MRAD_REGROUP radio/regroup
MRAD_STICKTOG radio/sticktog

MRAD_TAKEPOINT radio/takepoint
MRAD_POSITION radio/position
MRAD_CIRCLEBACK radio/circleback
MRAD_FOLLOWME radio/followme
MRAD_MEETME radio/meetme
MRAD_STORMFRONT radio/stormfront
MRAD_NEGATIVE radio/negative


anakin_cstrike 06-26-2009 19:16

Re: Audiomsg Arguments...
 
Code:
iType = !!id
wtf ? just to look diferent?

ConnorMcLeod 06-26-2009 19:17

Re: Audiomsg Arguments...
 
So it only take values 0 (All) and 1 (One).


All times are GMT -4. The time now is 15:41.

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