Search
Username:
Password:

Register or Reset Password

SUBMISSIONS
Counter Strike
   New Maps
   New Tutorials
   New Skins
   New GUI's
   New Sounds
   New Threads
Other
   Media
   Gamers
   Clans
   Studios
Event Sounds-2KB
Added by...
Author(s): Ironmad
Category: CS:S > Action Scripts
Notes/Usage Instructions:

Requires
Mattie Eventscripts Latest and ES_Tools Latest.

Features
This script makes you able to simply set sounds on specific events.
This script also holds an inbuild "Ajax: Failed Objective"
which I edited so it's working as a txt. script here. - Works Awsome!

The first download holds my script and the second download holds the default sounds.
This script is default set to use theese sounds, but I've made it fully
user-friendly so you can simple customize the script with your own sounds.
Though I have to say my sounds really pawns!!!

Read Updates for more info, but if you don't want to, -
hit the download

Installing This Script
This script is simply installed as all other new scripts.
Simply make a folder in your cstrike/addons/eventscripts that is named:
medda_events
In that folder you make a txt.document called
es_medda_events
Then you hit the download in this topic.
Copy the text and put it in your new es_medda_events.txt
After that you add theese lines in your autoexec:
es_load medda_events
es_load corelib
Remember to download the pack of sounds as well,
if you don't want to go for own sounds directly
Remember to put the soundfolder in your own folder cstrike/sound.
Enyoy!
______________________________________________________

Updates:

V1.2
This update also involves a great new admin feature!
Now you can write in chat one of the following to do this:
CHAT - RESULT.
killall - All dies instantly.
killcts - All CT's dies instantly.
killts - All T's dies instantly.
killbots - All bots dies instantly.
kickbots - All bots get kicked from server instantly.
addbot - Adds a bot
addbots - Adds X bots at the same time (X is your choice)

PS: If a normal client writes one of those commands,
all they'll hear is an "Access Denied" sound. Really really cool...

I've also added so all can through a chat command now bring up your "Motd".

Another cool thing is that this script finally got an easy inbuild download system.
And it still is fully user friendly to add your own sounds...

Last thing that is changed, is the announcement.
It doesn't stands it's my script anymore.
Instead it stands what you have to type in chat to bring up the motd.
You can of cource in the Edit area choose if it will show or not.
Enyoy this update folks, it totally pwns

V1.3
Have made it really easy to set more admins to this script.
Have also recreated the random of headshots, to make sure
this script dont use same variables as other scripts.
The biggest change is the involved webradio though,
and you need to remake a html for this.
But don't you worry, I'm made it totally easy for you

What the players will reach in their browser when they type
your webradio-command, is something similar to this:
http://www.freewebs.com/medda/Counterstrike/CSS%20Webradio.txt

Now what you have to do to make the clients reach this list,
with all your wanted webradios,
is to download the html.webradio.zip
When you got that one, you have to look very carefully in it and edit it to your likings.
When you've done that, you upload that file at any free site you want,
I use freewebs.com but there is loads of other sites as well
Then when you've upload it, that file has an url address.
That url you put in this new Script: Medda_Events V1.3.
If you got any problems, just reply here and I'll give you all the support you need.


This is the html.webradio:



Webradio Only For You!





Welcome To The Webradio!!!


If you want to listen to a webradio while playing,
just click on the radiolink you want to hear!

LINKNAME #1 HERE
LINKNAME #2 HERE
LINKNAME #3 HERE
LINKNAME #4 HERE
LINKNAME #5 HERE
LINKNAME #6 HERE
LINKNAME #7 HERE
LINKNAME #8 HERE
LINKNAME #9 HERE
LINKNAME #10 HERE

If you don't want to hear any webradio,
just click the "ok" below :)







Medda_Events V1.3
Script Code:
// Medda_Events V 1.3
// Written by Medda.
// Requires Mattie EventScripts Latest And ES_Tools Latest.
//
// Thanks to all in the forums who's providing me with helpful information!
//__________________________________________________________________________
block config
{
// ### EDIT HERE BELOW TO YOUR LIKINGS!!! ###
//
//
// #MAKE YOURSELF TO ADMIN:
// To make yourself admin you have to paste in your steamid.
// you can find your own steamid by joining a random server and type "status" in console.
// When you've found your steamid, paste it in here below.
// You can simply add more admins by the pattern:
es_xsetinfo medda_events_admins "STEAM_1:1:1111111,STEAM_2:2:2222222,STEAM_3:3:3333333"
//
//
// #ADMIN FEATURE:
// When you're admin I've made it possible for you to do type
// simple commands in chat instead of console. See following:
// # CHAT # - # RESULT #
// killall - All dies instantly.
// killcts - All CT's dies instantly.
// killts - All T's dies instantly.
// killbots - All bots dies instantly.
// kickbots - All bots get kicked from server instantly.
// addbot - Adds a bot
// addbots - Adds X bots at the same time instantly.
//
// Now this sets how many bots you want to add when you write "addbots" in chat:
es_xsetinfo add_bots 6
//
//
// #TO REMOVE EVENTS TO YOUR LIKINGS, READ THIS:
// Now If there is an "event" you dont like, you can simply remove it. -
// But remember, if you remove it, make sure you remove all of it contents.
// I have made it easy for you, by deviding em between lines.
// So if you remove an event, you'll delete everyting between the lines that involves the event.
// This will make you end up with 2 lines beside each other.
// So it's really really simple. ;)
//
//
// # EDIT THIS IF YOU WANT YOUR OWN SOUNDS TRIGGERED:
// You simply put in the path, soundname and type.
// Here below you see the "round_start", after that I've put the path 2KB/Other.
// Then I've written the name of the sound "Prepare" and I've end with
// The type of sound like ".mp3"...
// I've made it easy for you since the path/soundname.type you put after the
// "round_start", will be the sound triggered when a round starts.
//
es_xsetinfo round_start 2KB/Other/Prepare.mp3
es_xsetinfo team_attack 2KB/Other/Game_Over_Man.wav
es_xsetinfo hostage_rescued 2KB/Other/Hostages_Rescued.wav
es_xsetinfo start_planting 2KB/Other/Start_Planting.wav
es_xsetinfo bomb_planted 2KB/Other/Bomb_Planted.mp3
es_xsetinfo start_defuse 2KB/Other/Start_Defuse.mp3
es_xsetinfo admin_connects 2KB/Other/Admin_Joins.mp3
es_xsetinfo admin_disconnects 2KB/Other/Admin_Disconnects.mp3
es_xsetinfo knife_kill 2KB/Other/Knife.mp3
es_xsetinfo admin_dies ambient/voices/f_scream1.wav
es_xsetinfo access_denied 2KB/Other/Access_Denied.mp3
// Theese 3 sets the random sounds at headshots:
es_xsetinfo boom_headshot1 2KB/Other/Headshot1.mp3
es_xsetinfo boom_headshot2 2KB/Other/Headshot2.mp3
es_xsetinfo boom_headshot3 2KB/Other/Headshot3.mp3
// Do not remove this block:
es_xdoblock medda_events/download_converter
//
// #EDIT THIS IF YOU WANT TO UPLOAD THE SOUNDS FROM THIS SCRIPT:
// Now if you want my or your own sounds above downloaded to client by this script
// Set this to 1. If you dont want the sounds downloaded to client set this to 0
es_xsetinfo download_sounds_to_client 1
//
//
// #EDIT THIS TO CUSTOMIZE HOW TO BRING UP YOUR MOTD:
// Here below you set the command for your motd. The motd (message of the day) is the screen
// you see when you joins a server. Most people have cool pics and handy info here.
// However, here below you set what players have to type in chat to bring up your motd again.
// Default is set to "motd":
es_xsetinfo motd_appear_command "motd"
//
// #EDIT THIS TO CUSTOMIZE HOW TO BRING UP YOUR WEBRADIO:
// Here below you simply set what players have to type in chat to bring up your webradio
// Default is set to "webradio":
es_xsetinfo webradio_appear_command "webradio"
//
// Also set this to 1 if you want an announcement to show in the beginning of each round.
// About how to find your motd and and how to turn on your webradio.
// Set this to 0 if you don't want to show any announcement:
es_xsetinfo motd_webradio_announcement 1
}
//__________________________________________________________________________
// #SET YOUR MOTD URL:
// Here below you'll simply replace www.yoursite.com with your own motd url-address.
// PS: In ES_Tools .416c the url breaks with http://
// so just use www.yoursite.com (it will be fixed in .416d).
block motd
{
es est_MOTD_W event_var(userid) server_var(hostname) "0" www.yoursite.com
}
//__________________________________________________________________________
// #SET YOUR WEBRADIO URL:
// If you want your players to be able to listen to internet radio while playing, do following:
// Here below you'll simply replace www.yourradio.com with your own "radio" url-address.
// PS: In ES_Tools .416c the url breaks with http://
// so just use www.yourradio.com (it will be fixed in .416d).
block webradio
{
es est_MOTD_W event_var(userid) server_var(hostname) "0" www.yourradio.com
}
//__________________________________________________________________________
// ####### DO NOT EDIT ANYTING BELOW THIS LINE!!! #######
//__________________________________________________________________________
block load
{
es_xsetinfo test_user 0
es_xsetinfo alive_ct 0
es_xsetinfo alive_t 0
es_xsetinfo radio_on "radio on"
es_xsetinfo radio_off "radio off"
es_xsetinfo random_hs 0
es_xsetinfo random_headshot 0
es_xsetinfo soundtext_exists 0
es_xkeygroupcreate soundtext
es_xkeycreate soundtext "killall"
es_xkeycreate soundtext "killcts"
es_xkeycreate soundtext "killts"
es_xkeycreate soundtext "killbots"
es_xkeycreate soundtext "kickbots"
es_xkeycreate soundtext "addbot"
es_xkeycreate soundtext "addbots"
es_xdoblock medda_events/config
es_xsetinfo soundtext_exists 0
}
//__________________________________________________________________________
block unload
{
es_xkeygroupdelete soundtexts
}
//__________________________________________________________________________
block download_converter
{
es_xsetinfo xround_start 0
es_format xround_start "sound/%1" server_var(round_start)
es_xsetinfo xteam_attack 0
es_format xteam_attack "sound/%1" server_var(team_attack)
es_xsetinfo xhostage_rescued 0
es_format xhostage_rescued "sound/%1" server_var(hostage_rescued)
es_xsetinfo xstart_planting 0
es_format xstart_planting "sound/%1" server_var(start_planting)
es_xsetinfo xbomb_planted 0
es_format xbomb_planted "sound/%1" server_var(bomb_planted)
es_xsetinfo xstart_defuse 0
es_format xstart_defuse "sound/%1" server_var(start_defuse)
es_xsetinfo xadmin_connects 0
es_format xadmin_connects "sound/%1" server_var(admin_connects)
es_xsetinfo xadmin_disconnects 0
es_format xadmin_disconnects "sound/%1" server_var(admin_disconnects)
es_xsetinfo xknife_kill 0
es_format xknife_kill "sound/%1" server_var(knife_kill)
es_xsetinfo xadmin_dies 0
es_format xadmin_dies "sound/%1" server_var(admin_dies)
es_xsetinfo xaccess_denied 0
es_format xaccess_denied "sound/%1" server_var(access_denied)
es_xsetinfo xboom_headshot1 0
es_format xboom_headshot1 "sound/%1" server_var(boom_headshot1)
es_xsetinfo xboom_headshot2 0
es_format xboom_headshot2 "sound/%1" server_var(boom_headshot2)
es_xsetinfo xboom_headshot3 0
es_format xboom_headshot3 "sound/%1" server_var(boom_headshot3)
}
//__________________________________________________________________________
event es_map_start
{
if (server_var(download_sounds_to_client) == 1) do
{
es downloadable server_var(xround_start)
es downloadable server_var(xteam_attack)
es downloadable server_var(xhostage_rescued)
es downloadable server_var(xstart_planting)
es downloadable server_var(xbomb_planted)
es downloadable server_var(xstart_defuse)
es downloadable server_var(xadmin_connects)
es downloadable server_var(xadmin_disconnects)
es downloadable server_var(xknife_kill)
es downloadable server_var(xadmin_dies)
es downloadable server_var(xaccess_denied)
es downloadable server_var(xboom_headshot1)
es downloadable server_var(xboom_headshot2)
es downloadable server_var(xboom_headshot3)
}
}
//__________________________________________________________________________
event round_start
{
es_cexec_all playgamesound server_var(round_start)
if (server_var(motd_webradio_announcement) = 1) do
{
es_msg #multi #greenType#lightgreen server_var(motd_appear_command) #greenIn Chat To Find Our MOTD!
es_msg #multi #greenType#lightgreen server_var(webradio_appear_command) #greenTo Turn On The Webradio!
}
}
//__________________________________________________________________________
event player_hurt
{
if (event_var(es_userteam) equalto event_var(es_attackerteam)) do
{
if (event_var(es_steamid) notequalto event_var(es_attackersteamid)) do
{
es_cexec event_var(attacker) playgamesound server_var(team_attack)
es_sexec event_var(attacker) kill
}
}
}
//__________________________________________________________________________
event hostage_stops_following
{
es_tell event_var(userid) #green A Hostage Stopped Follow!
}
//__________________________________________________________________________
event hostage_rescued_all
{
es_cexec_all playgamesound server_var(hostage_rescued)
}
//__________________________________________________________________________
event bomb_beginplant
{
es_cexec event_var(userid) playgamesound server_var(start_planting)
}
//__________________________________________________________________________
event bomb_planted
{
es_delayed 2 es_cexec_all playgamesound server_var(bomb_planted)
es_xmsg #green The Bomb Has Been Planted!
}
//__________________________________________________________________________
event bomb_begindefuse
{
es_cexec event_var(userid) playgamesound server_var(start_defuse)
}
//__________________________________________________________________________
event player_activate
{
if (event_var(es_steamid) in server_var(medda_events_admins)) do
{
es_xmsg #green Ladies And Gentlemen!
es_xmsg #green Admin Has Joined The Server!
es_cexec_all playgamesound server_var(admin_connects)
}
}
//__________________________________________________________________________
event player_disconnect
{
if (event_var(es_steamid) in server_var(medda_events_admins)) do
{
es_msg #green Ladies And Gentlemen!
es_msg #green Admin Has Left The Building!
es_cexec_all playgamesound server_var(admin_disconnects)
}
}
//__________________________________________________________________________
event player_death
{
if (event_var(weapon) == knife) do
{
es_cexec_all playgamesound server_var(knife_kill)
}
if (event_var(headshot) == 1) do
{
es_xrand random_hs 1 3
es_format random_headshot "boom_headshot%1" server_var(random_hs)
es_cexec event_var(attacker) playgamesound server_var(server_var(random_headshot))
}
if (event_var(es_steamid) in server_var(medda_events_admins)) do
{
es_cexec_all playgamesound server_var(admin_dies)
}
}
//__________________________________________________________________________
event player_say
{
if (event_var(es_steamid) in server_var(medda_events_admins)) do
{
if (event_var(text) equalto "killall") do
{
es foreach player test_user #all "es_sexec server_var(test_user) kill"
}
}
if (event_var(es_steamid) in server_var(medda_events_admins)) do
{
if (event_var(text) equalto "killbots") do
{
es foreach player test_user #bot "es_sexec server_var(test_user) kill"
}
}
if (event_var(es_steamid) in server_var(medda_events_admins)) do
{
if (event_var(text) equalto "killts") do
{
es foreach player test_user #t "es_sexec server_var(test_user) kill"
}
}
if (event_var(es_steamid) in server_var(medda_events_admins)) do
{
if (event_var(text) equalto "killcts") do
{
es foreach player test_user #ct "es_sexec server_var(test_user) kill"
}
}
if (event_var(es_steamid) in server_var(medda_events_admins)) do
{
if (event_var(text) equalto "kickbots") do
{
es_cexec event_var(userid) rcon bot_kick
}
}
if (event_var(es_steamid) in server_var(medda_events_admins)) do
{
if (event_var(text) equalto "addbot") do
{
es_cexec event_var(userid) rcon bot_add
}
}
if (event_var(es_steamid) in server_var(medda_events_admins)) do
{
if (event_var(text) equalto "addbots") do
{
es_setinfo bot_admin event_var(userid)
es_xsetinfo bot_counter 0
es_xdoblock medda_events/add_bots
}
}
if (event_var(es_steamid) notin server_var(medda_events_admins)) do
{
es_exists soundtext_exists key soundtext event_var(text)
{
if (server_var(soundtext_exists) = 1) do
{
es_cexec event_var(userid) playgamesound 2KB/Other/Access_Denied.mp3
}
}
}
if (event_var(text) equalto server_var(motd_appear_command)) do
{
es_xdoblock medda_events/motd
}
if (event_var(text) equalto server_var(webradio_appear_command)) do
{
es_xdoblock medda_events/webradio
}
}
block add_bots
{
if (server_var(bot_counter) notequalto server_var(add_bots)) do
{
es_cexec server_var(bot_admin) rcon bot_add
es_math bot_counter + 1
es_xdoblock medda_events/add_bots
}
}
//__________________________________________________________________________
event round_end
{
es_setinfo end event_var(message)
es_xdelayed 3 es_xgetlivingplayercount alive_t 2
es_xdelayed 3 es_xgetlivingplayercount alive_ct 3
es_xdelayed 3.5 es_xdoblock medda_events/roundend
}
block roundend
{
if (server_var(end) equalto "#Bomb_Defused") do
{
if (server_var(alive_t) notequalto 0) do
{
foreach player test_user #t "es_sexec server_var(test_user) kill"
es_xmsg #lightgreen FAILED OBJECTIVE: Remaining Terrorists Slayed For Not Protecting Bomb.
}
}
if (server_var(end) equalto "#Target_Bombed") do
{
if (server_var(alive_ct) notequalto 0) do
{
foreach player test_user #ct "es_sexec server_var(test_user) kill"
es_xmsg #lightgreen FAILED OBJECTIVE: Remaining CTs Slayed For Not Diffusing Bomb.
}
}
if (server_var(end) equalto "#Target_Saved") do
{
if (server_var(alive_t) notequalto 0) do
{
foreach player test_user #t "es_sexec server_var(test_user) kill"
es_xmsg #lightgreen FAILED OBJECTIVE: Remaining Terrorists Slayed For Not Planting Bomb.
}
}
if (server_var(end) equalto "#All_Hostages_Rescued") do
{
if (server_var(alive_t) notequalto 0) do
{
foreach player test_user #t "es_sexec server_var(test_user) kill"
es_xmsg #lightgreen FAILED OBJECTIVE: Remaining Terrorists Slayed For Allowing Hostage Rescue.
}
}
if (server_var(end) equalto "#Hostages_Not_Rescued") do
{
if (server_var(alive_ct) notequalto 0) do
{
es foreach player test_user #ct "es_sexec server_var(test_user) kill"
es_xmsg #lightgreen FAILED OBJECTIVE: Remaining CTs Slayed For Not Rescuing Hostages.
}
}
}
//__________________________________________________________________________


Sounds To Medda_Events V1.2
You need winrar to extract theese files.

But u need the script right^^
Added: 2 years ago
Feedback (2)
DJ_Rostov .
BananiteY2M
Posted 5 months ago
Cons: Very Nice
- Bananite
Ironmad .
Eat PizzaY2M
Posted 2 years ago
Here u can se 3 scripts working together. To seperate them u need to find the name on them. Nr #1 Script name is: This is the html.webradio, nr 2#: Medda_Events V1.3 and nr #3: Sounds To Medda_Events V1.2
Add Feedback
Provide constructive feedback. What is "constructive"?
You must login or register to access this!
Assessment
The community's verdict.
User Rating [+]
10/10
bScore
10.00/10
You cannot assess yet!
Moderating FPSB is in your hands - when you assess a submission your vote determines its success or failure.

To vote on this submission register or login.
Stamps
This script in a nutshell...
No stamps recorded
You cannot stamp yet!
Stamps let you apply characteristics to submissions to help others understand them.

To stamp this submission register or login.
Added by...
Ironmad .
Eat Pizza
Ranked 409th with 4,606 points. 8 points behind Rokam .

[+] Donate
Vote for Submitter
Like this script? Vote Ironmad . for one or more monthly awards.
You must login or register to access this!
Related Scripts
Want more? Find related scripts.