Raised This Month: $51 Target: $400
 12% 

ultimate sounds Altered


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands       
genipalla
Member
Join Date: Feb 2007
Location: Albania
Old 01-26-2008 , 20:03   ultimate sounds Altered
Reply With Quote #1

Just like the ultimate sounds Plugin its 99.9% of its coding i was just bored and got tiered of the same stuff that it said so i changed the messages up a bit Oo
All credit still goes to Hephaistos for making the plugin.
Oo
Tell Me What You Guys Think about it.
//
//
//
// Put the ultimate_sounds.amxx in the plugins folder
// Put the ultimate_sounds.sma in the script folder (dont really need to)
// Add ultimate_sounds.amxx in your plugins.ini
// Put the Sounds folder in your servers Sounds folder.
///////////////////////////////////////////////////////////////////////////////
Attached Files
File Type: zip Ultimate Sounds.zip (587.7 KB, 879 views)
__________________

CS SOURCE
genipalla is offline
FuZ!on
Senior Member
Join Date: Aug 2007
Old 01-26-2008 , 20:39   Re: ultimate sounds Altered
Reply With Quote #2

Well, what did you alter?
FuZ!on is offline
genipalla
Member
Join Date: Feb 2007
Location: Albania
Old 01-26-2008 , 21:17   Re: ultimate sounds Altered
Reply With Quote #3

I changed all of the text codes to say different things Like Godlike is Hacker for instance.

///////////////////////////////////////////////////
// AMXMOD[X] //
// ::Ultimate sounds:: //
// by Hephaistos ([email protected]) //
// ALL CREDIT GOES TO Hephaistos //
// I only Changed the words No Credit for me! //
// cvar: //
// streak_mode < flags > //
// "a" - messages //
// "b" - sounds //
// //
// kniff_mode < flags > //
// "a" - messages //
// "b" - sounds //
// //
// hs_mode < flags > //
// "a" - messages //
// "b" - sounds //
// //
// lastman_mode < flags > //
// "a" - messages //
// "b" - hp //
// "c" - sounds //
///////////////////////////////////////////////////
#include <amxmodx>
#define KNIFFMESSAGES 4
#define LEVELS 7
#define MESSAGESNOHP 4
#define MESSAGESHP 4
new kills[33] = {0,...};
new deaths[33] = {0,...};
new alone_ann = 0
new levels[7] = {3, 5, 7, 9, 10, 13, 15};
new stksounds[7][] = {
"misc/multikill",
"misc/ultrakill",
"misc/monsterkill",
"misc/killingspree",
"misc/rampage",
"misc/holyshit",
"misc/godlike"};
new stkmessages[7][] = {
"%s: Born To Kill!",
"%s: PWNED!",
"%s: HITMAN!",
"%s: Dont Fuck With ME!",
"%s: RAPE!",
"%s: I Shit On All!",
"%s: HACKER!"};

new kniffmessages[KNIFFMESSAGES][] = {
"%s Gutted %s!",
"%s Shanked %s!",
"%s T-BAGGED %s!",
"%s Tripped And Stabed %s!"}
new messagesnohp[MESSAGESNOHP][] = {
"%i terrorist vs %i CT^n%s: To Bad Your Teammates Suck!",
"%i terrorist vs %i CT^n%s: Just Give Up Now.",
"%i terrorist vs %i CT^n%s: WoW I cant belive you survived!",
"%i terrorist vs %i CT^n%s: If you pull this off we know you Hack!"}
new messageshp[MESSAGESHP][] = {
"%i terrorist vs %i CT^n%s (%i hp): To Bad Your Teammates Suck!",
"%i terrorist vs %i CT^n%s (%i hp): Just Give Up Now.",
"%i terrorist vs %i CT^n%s (%i hp): WoW I cant belive you survived!",
"%i terrorist vs %i CT^n%s (%i hp): If you pull this off we know you Hack!"}
get_streak()
{
new streak[3]
get_cvar_string("streak_mode",streak,2)
return read_flags(streak)
}
public death_event(id)
{
new streak = get_streak()
if ((streak&1) || (streak&2))
{
new killer = read_data(1);
new victim = read_data(2);
kills[killer] += 1;
kills[victim] = 0;
deaths[killer] = 0;
deaths[victim] += 1;
for (new i = 0; i < LEVELS; i++)
{
if (kills[killer] == levels[i])
{
announce(killer, i);
return PLUGIN_CONTINUE;
}
}
}
return PLUGIN_CONTINUE;
}
announce(killer, level)
{
new streak = get_streak()
if (streak&1)
{
new name[32];
get_user_name(killer, name, 32);
set_hudmessage(0, 100, 200, 0.05, 0.65, 2, 0.02, 6.0, 0.01, 0.1, 2);
show_hudmessage(0, stkmessages[level], name);
}
if (streak&2){
client_cmd(0, "spk %s", stksounds[level]);
}
}
public reset_hud(id)
{
new streak = get_streak()
if (streak&1)
{
if (kills[id] > levels[0])
{
client_print(id, print_chat,
"* You Have Raped %d Players.", kills[id]);
}
else if (deaths[id] > 1)
{
client_print(id, print_chat,
"* You have died %d times just give up and go cry.", deaths[id]);
}
}
}
public client_connect(id)
{
new streak = get_streak()
if ((streak&1) || (streak&2))
{
kills[id] = 0;
deaths[id] = 0;
}
}
public knife_kill()
{
new kniffmode[4]
get_cvar_string("kniff_mode",kniffmode,4)
new kniffmode_bit = read_flags(kniffmode)
if (kniffmode_bit & 1)
{
new killer_id = read_data(1)
new victim_id = read_data(2)
new killer_name[33], victim_name[33]
get_user_name(killer_id,killer_name,33)
get_user_name(victim_id,victim_name,33)

set_hudmessage(200, 100, 0, -1.0, 0.30, 0, 6.0, 6.0, 0.5, 0.15, 1)
show_hudmessage(0,kniffmessages[ random_num(0,KNIFFMESSAGES-1) ],killer_name,victim_name)
}
if (kniffmode_bit & 2)
{
client_cmd(0,"spk misc/humiliation")
}
}

public roundend_msg(id)
alone_ann = 0
public death_msg(id)
{
new lmmode[8]
get_cvar_string("lastman_mode",lmmode,
new lmmode_bit = read_flags(lmmode)
new players_ct[32], players_t[32], ict, ite, last
get_players(players_ct,ict,"ae","CT")
get_players(players_t,ite,"ae","TERRORIST")
if (ict==1&&ite==1)
{
new name1[32], name2[32]
get_user_name(players_ct[0],name1,32)
get_user_name(players_t[0],name2,32)
set_hudmessage(200, 100, 0, -1.0, 0.30, 0, 6.0, 6.0, 0.5, 0.15, 1)
if (lmmode_bit & 1)
{
if (lmmode_bit & 2)
{
show_hudmessage(0,"%s (%i hp) vs. %s (%i hp)",name1,get_user_health(players_ct[0]),name2,get_user_health(players_t[0]))
}
else
{
show_hudmessage(0,"%s vs. %s",name1,name2)
}
if (lmmode_bit & 4)
{
client_cmd(0,"spk misc/maytheforce")
}
}
}
else
{
if (ict==1&&ite>1&&alone_ann==0&&(lmmode_bit & 4))
{
last=players_ct[0]
client_cmd(last,"spk misc/oneandonly")
}
else if (ite==1&&ict>1&&alone_ann==0&&(lmmode_bit & 4))
{
last=players_t[0]
client_cmd(last,"spk misc/oneandonly")
}
else
{
return PLUGIN_CONTINUE
}
alone_ann = last
new name[32]
get_user_name(last,name,32)
if (lmmode_bit & 1)
{
set_hudmessage(200, 100, 0, -1.0, 0.30, 0, 6.0, 6.0, 0.5, 0.15, 1)
if (lmmode_bit & 2)
{
show_hudmessage(0,messageshp[ random_num(0,MESSAGESHP-1) ],ite ,ict ,name,get_user_health(last))
}
else
{
show_hudmessage(0,messagesnohp[ random_num(0,MESSAGESNOHP-1) ],ite ,ict ,name )
}
}
if (lmmode_bit & 4)
{
client_cmd(last,"spk misc/maytheforce")
}
}
return PLUGIN_CONTINUE
}

public hs()
{
new hsmode[4]
get_cvar_string("hs_mode",hsmode,4)
new hsmode_bit = read_flags(hsmode)
if (hsmode_bit & 1)
{
new killer_id = read_data(1)
new victim_id = read_data(2)
new victim_name[33]
get_user_name(victim_id,victim_name,33)
set_hudmessage(200, 100, 0, -1.0, 0.30, 0, 3.0, 3.0, 0.15, 0.15, 1)
show_hudmessage(killer_id,"::HEADSHOT::^nYou Owned %s !!",victim_name)
}
if (hsmode_bit & 2)
{
client_cmd(0,"spk misc/headshot")
}
}
public plugin_precache()
{
precache_sound("misc/monsterkill.wav")
precache_sound("misc/godlike.wav")
precache_sound("misc/headshot.wav")
precache_sound("misc/humiliation.wav")
precache_sound("misc/killingspree.wav")
precache_sound("misc/multikill.wav")
precache_sound("misc/ultrakill.wav")
precache_sound("misc/maytheforce.wav")
precache_sound("misc/oneandonly.wav")
precache_sound("misc/prepare.wav")
precache_sound("misc/rampage.wav")
precache_sound("misc/holyshit.wav")
return PLUGIN_CONTINUE
}

public plugin_init()
{
register_plugin("Ultimate Sound","1.5","Dizzy")
register_event("DeathMsg","hs","a","3=1")
register_event("DeathMsg","knife_kill","a","4 &kni")
register_event("ResetHUD", "reset_hud", "b");
register_event("DeathMsg", "death_event", "a")
register_event("SendAudio","roundend_msg","a" ,"2=%!MRAD_terwin","2=%!MRAD_ctwin","2=%!MRAD _rounddraw")
register_event("TextMsg","roundend_msg","a"," 2&#Game_C","2&#Game_w")
register_event("DeathMsg","death_msg","a")
register_cvar("lastman_mode","abc")
register_cvar("streak_mode","ab")
register_cvar("kniff_mode","ab")
register_cvar("hs_mode","ab")
return PLUGIN_CONTINUE
}
__________________

CS SOURCE

Last edited by genipalla; 01-26-2008 at 21:18. Reason: Show the Coding
genipalla is offline
hoboman
Senior Member
Join Date: Jul 2007
Old 01-26-2008 , 23:51   Re: ultimate sounds Altered
Reply With Quote #4

1. you modified the old version of that plugin
2. the changes you made aren't nearly significant enough to make this seem like a new plugin
__________________
hoboman is offline
[H]itch
Junior Member
Join Date: Jan 2008
Old 01-27-2008 , 00:18   Re: ultimate sounds Altered
Reply With Quote #5

Quote:
Originally Posted by hoboman View Post
1. you modified the old version of that plugin
2. the changes you made aren't nearly significant enough to make this seem like a new plugin
Yeah, hobo is right i guess.
I was searching for some new good sounds for the server , like those female sounds in amxx.
You guys know anything bout it?
__________________



WHAT YOU LOOKING AT?
[H]itch is offline
genipalla
Member
Join Date: Feb 2007
Location: Albania
Old 01-27-2008 , 10:50   Re: ultimate sounds Altered
Reply With Quote #6

I never said it wasa NEW plugin i said it was an ALTERED PLUGIN..
and i can make this have differen sounds if you guys want?
__________________

CS SOURCE
genipalla is offline
fxfighter
Veteran Member
Join Date: Feb 2007
Location: Trollhättan
Old 01-27-2008 , 11:44   Re: ultimate sounds Altered
Reply With Quote #7

Quote:
Originally Posted by genipalla View Post
I never said it wasa NEW plugin i said it was an ALTERED PLUGIN..
and i can make this have differen sounds if you guys want?
Thats still not enugh enyone can change the sounds,
Try to optimize your code and add more futures or it wont get approved.
I am not an approver but i know they wont accept it as it is right now.
__________________
If one of my plugins become broken, contact me by mail. [email protected]

Last edited by fxfighter; 01-27-2008 at 14:42.
fxfighter is offline
Send a message via MSN to fxfighter
arvis
New Member
Join Date: Jan 2008
Old 01-27-2008 , 19:49   Re: ultimate sounds Altered
Reply With Quote #8

n1ce! I will download it ;) but i think i will like it
arvis is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 18:55.


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