AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved/Old Plugins (https://forums.alliedmods.net/forumdisplay.php?f=27)
-   -   Ultimate KillStreak Advanced (https://forums.alliedmods.net/showthread.php?t=48622)

SAMURAI16 12-16-2006 13:59

Ultimate KillStreak Advanced
 
3 Attachment(s)
Ultimate KillStreak Advanced v0.7



! Available Sounds for enemy kills, headshot kills, knife kills , first blood kills , double kill , round counter.

1) 10 sounds for enemy kills :
- At 3 kills -> play TripleKill sound
- 4 -> play MultiKill sound (it's not basically multikill sound)
- 6 -> play UltraKill sound (it's not basically ultrakill sound)
- 8 -> play KillingSpree sound (it's not basically killingspree sound)
- 10 -> play MegaKill sound
- 12 -> play Holy Shit sound
- 14 -> play Ludicrouskill sound
- 15 -> play rampage sound
- 16 -> play Unstoppable Sound (it's not basically unstoppable sound)
- 18 -> play Monster Kill sound (it's not basically monster kill sound)


2) 2 Sounds for Headshot (random play)
3) 2 Sounds for Knife Kill (random play)
4) 2 Sounds for First Blood (random play)
5) 3 Sounds for Round Counter Events (random play)
6) 1 Sound for Grenade Kill Events
7) 4 Sounds for Suicide Events (random play)
8) 2 Sounds for Double Kill Events (random play)

* CVARs:

- ut_killstreak_advanced (default 3) - enable/disable kill report, hudmessages
1 = Only HudMessages
2 = Only Sounds
3 = Sounds and HudMessages
Another number disable this event


- ut_killstreak_hs (default 1) -> enable/disable headshot events
Includes 2 sounds, hudmessages

- ut_killstreak_knife (default 1) -> enable/disable knife kill events
Includes 2 sounds, hudmessages

- ut_firstblood (default 1) -> enable/disable first blood events
Includes 2 sounds, hudmessages

- ut_nade_events (default 1) -> enable/disable Grenade kill events
Includes 1 sounds, hudmessages

- ut_suicide_events (default 1) -> enble/disable Suicide Events
Includes 4 sounds, hudmessages

- ut_doublekill_events (default 1) -> enable/disable Double Kill Events
Includes 2 sounds, hudmessage

- ut_roundcout_sounds (default 1) -> enable/disable Round Counter Sounds
Includes 3 sounds, hudmessage


* [UPDATE] 0.6 - > 0.7 (10/02/2007)
- Changed the ul_killstreak_advanced cvar (read on head plugin at "CVARS")
- Chaged the cord of hudmessages, to be to center
- Now on killstreak announce, messages will be with random colors

* [UPDATE] 0.5 -> 0.6
- Fixed bugs
- Added Round Counter Cvar:
ut_roundcout_sounds (def 1)


* [UPDATE] 0.4 -> 0.5
- Added Double Kill Events
Cvar : ut_doublekill_events (default 1)
Sounds : 2 sounds (random play)
Messages : 1 Hud Message
This is only if you kill 2 players with a bullet

* [UPDATE] 0.3 -> 0.4
- Added Grenade Kill Events :
Thanks to jim_yang to sugestion and little codes

Cvar : ut_nade_events (default 1)
Sounds : 1 sound
Messages : 4 hud messages (random display)

- Added Suicide Events :
Cvar : ut_suicide_events (default 1)
Sounds : 4 (random play)
Messages : 2 hud messages (random display)


* [UPDATE] 0.2 -> 0.3
- Added First Blood Events:
Cvar : ut_firstblood (default 1)
Sounds : 2 sounds (random play)
Messages : 3 hud messages (random display)

- Added Round Counter Events:
Sounds : 3 sounds (random play)Messages : 1 hud message

* [UPDATE] 0.1 -> 0.2

- Added new 4 headshot kill messages
- Added new 3 knife kill messages
This messages will displayed at random


* Install:
1) Enable Plugin
2) Copy "ultimate_sounds" folder in to your "cstrike\sound" folder
3) Restart server

BETA VERSION Released
- required CSX Module
- No new cvars, install like normal version
- Please report all bugs


* Credits
- xxAvalancheXx for double kill codes
- jim_yang for some sugestion and grenade events codes
- bo0m! for an register_event function
- Duca for Streak Mode Example

Ywa*NL 12-16-2006 14:17

Re: Ultimate KillStreak Advanced
 
Thanks man! It's better than the original one I think. Maybe making an announcement on the first kill/hit. Good job!

Edit
It's very very very bugged.

Few bugs:
- When someone kills someone else with a headshot you see the text without names.
- When someone kills someone else with a headshot you hear the "Humilation" sound
- I never hear the MultiKill etc. things (And don't see the texts)

You should fix all this things!!!

SAMURAI16 12-16-2006 16:17

Re: Ultimate KillStreak Advanced
 
- fixed all bugs

Ywa*NL 12-16-2006 17:17

Re: Ultimate KillStreak Advanced
 
Ok hope it will work now. Good job anyway.

Edit
Looks like it works :D . The only thing is that the sounds are precached everytime you connect or change map.

Brad 12-16-2006 18:32

Re: Ultimate KillStreak Advanced
 
It's advisable that you test your plugins before submitting them for approval. Had you, Ywa*NL wouldn't have run into the bugs he did.

It's advisable that you work in your indentation style. Pick one.

It's advisable that you either use semicolons to terminate a line or you don't. Doesn't matter which.

It's advisable that you use the ML system for your text.

Will wait to see what people have to say about the plugin before approving. Hopefully there aren't anymore obvious bugs.

Ywa*NL 12-16-2006 18:37

Re: Ultimate KillStreak Advanced
 
Quote:

Originally Posted by Brad (Post 416210)
Hopefully there aren't anymore obvious bugs.

The only one I can find now is this that the sounds are downloaded everytime (Or the client tries or something like that). And a random message system would be nice for headshot and stuff.

|POW|Da_ghost 12-16-2006 20:30

Re: Ultimate KillStreak Advanced
 
Quote:

Originally Posted by Ywa*NL (Post 416217)
The only one I can find now is this that the sounds are downloaded everytime (Or the client tries or something like that).

Well the Precache is fine so this is impossible.

SAMURAI16 12-17-2006 03:19

Re: Ultimate KillStreak Advanced
 
* [UPDATE] 0.1 -> 0.2
- Added new 4 headshot kill messages
- Added new 3 knife kill messages
This messages will displayed at random

Ywa*NL 12-17-2006 03:24

Re: Ultimate KillStreak Advanced
 
Quote:

Originally Posted by |POW|Da_ghost (Post 416256)
Well the Precache is fine so this is impossible.

But why I get this only with this plugin?

Oh and Samurai116 can you add First blood sound? And Go go go/Prepare to fight message on round start?

SAMURAI16 12-17-2006 04:05

Re: Ultimate KillStreak Advanced
 
* [UPDATE] 0.2 -> 0.3
- Added First Blood Events:
Cvar : ut_firstblood (default 1)
Sounds : 2 sounds (random play)
Messages : 3 hud messages (random display)


- Added Round Counter Events:
Sounds : 3 sounds (random play)
Messages : 1 hud message

Ywa*NL 12-17-2006 04:12

Re: Ultimate KillStreak Advanced
 
Thank you _O_ .

Maybe some message/sound when you plant the bomb or defuse it.

6pack 12-17-2006 04:12

Re: Ultimate KillStreak Advanced
 
This plugin does not precache any sounds files. I use the "sv_downloadurl" method, it does not work.
I tried downloading it from my server....does not work. (yes I have the correct cvars in my server.cfg file)

I usually don't place sound files on the computer that I play on to see if it downloads and with this nothing.
Fix please

Ywa*NL 12-17-2006 04:16

Re: Ultimate KillStreak Advanced
 
Quote:

Originally Posted by 6pack (Post 416380)
This plugin does not precache any sounds files. I use the "sv_downloadurl" method, it does not work.
I tried downloading it from my server....does not work. (yes I have the correct cvars in my server.cfg file)

I usually don't place sound files on the computer that I play on to see if it downloads and with this nothing.
Fix please

Here the precache works :o .

6pack 12-17-2006 04:35

Re: Ultimate KillStreak Advanced
 
Quote:

Originally Posted by Ywa*NL (Post 416381)
Here the precache works :o .

I dont see how, the files don't download much less play at all.
I gave myself godmode to get through the steps of the sound files but nothing.

SAMURAI16 12-17-2006 04:36

Re: Ultimate KillStreak Advanced
 
lol :/ precache works i tested

Ywa*NL 12-17-2006 04:42

Re: Ultimate KillStreak Advanced
 
Oh I found a bug (It's also in "The original" Ultimate sounds plugin). When someone connects everybody else (Including himself ofcourse) sees the "Prepare to fight" hudmessage.

SAMURAI16 12-17-2006 05:05

Re: Ultimate KillStreak Advanced
 
Fixed ~ Thanks to Bo0m! for help

6pack 12-17-2006 05:10

Re: Ultimate KillStreak Advanced
 
Quote:

Originally Posted by SAMURAI16 (Post 416387)
lol :/ precache works i tested

Did you fix it or did you just leave it alone and decided it worked? If you did not fix the precache then how can it work? Does anyone here have the same problem? Try putting the files on your server but not on your computer and see what happens.

Ywa*NL 12-17-2006 05:13

Re: Ultimate KillStreak Advanced
 
Quote:

Originally Posted by 6pack (Post 416395)
Try putting the files on your server but not on your computer and see what happens.

I did that and he downloaded needed files.

Edit
Got the problem (Look at it. Twice sound directory)
Code:

Error: server failed to transmit file 'sound/sound/ultimate_sounds/triplekill_ultimate.wav'
Error: server failed to transmit file 'sound/sound/ultimate_sounds/multikill_ultimate.wav'
Error: server failed to transmit file 'sound/sound/ultimate_sounds/ultrakill_ultimate.wav'
Error: server failed to transmit file 'sound/sound/ultimate_sounds/killingspree_ultimate.wav'
Error: server failed to transmit file 'sound/sound/ultimate_sounds/megakill_ultimate.wav'
Error: server failed to transmit file 'sound/sound/ultimate_sounds/holyshit_ultimate.wav'
Error: server failed to transmit file 'sound/sound/ultimate_sounds/ludicrouskill_ultimate.wav'
Error: server failed to transmit file 'sound/sound/ultimate_sounds/rampage_ultimate.wav'
Error: server failed to transmit file 'sound/sound/ultimate_sounds/unstoppable_ultimate.wav'
Error: server failed to transmit file 'sound/sound/ultimate_sounds/monsterkill_ultimate.wav'
Error: server failed to transmit file 'sound/sound/ultimate_sounds/headshot1_ultimate.wav'
Error: server failed to transmit file 'sound/sound/ultimate_sounds/headshot2_ultimate.wav'
Error: server failed to transmit file 'sound/sound/ultimate_sounds/knife1_ultimate.wav'
Error: server failed to transmit file 'sound/sound/ultimate_sounds/knife2_ultimate.wav'
Error: server failed to transmit file 'sound/sound/ultimate_sounds/firstblood1_ultimate'
Error: server failed to transmit file 'sound/sound/ultimate_sounds/firstblood2_ultimate'
Error: server failed to transmit file 'sound/sound/ultimate_sounds/prepare1_ultimate'
Error: server failed to transmit file 'sound/sound/ultimate_sounds/prepare2_ultimate'
Error: server failed to transmit file 'sound/sound/ultimate_sounds/


SAMURAI16 12-17-2006 05:40

Re: Ultimate KillStreak Advanced
 
Problems with precache fixed and also problem with prepare hud message

jim_yang 12-17-2006 07:01

Re: Ultimate KillStreak Advanced
 
Code:
new weapon = read_data(4);
should be
Code:
new weapon[24] read_data(4, weapon, 23)

SAMURAI16 12-17-2006 07:04

Re: Ultimate KillStreak Advanced
 
where are differences ?

jim_yang 12-17-2006 07:04

Re: Ultimate KillStreak Advanced
 
actually you can do this
Code:
new weapon[2] read_data(4,weapon,1) if(weapon[0] == 'k') { //knife kill }

SAMURAI16 12-17-2006 07:13

Re: Ultimate KillStreak Advanced
 
-updated . thanks

jim_yang 12-17-2006 07:34

Re: Ultimate KillStreak Advanced
 
is there a good sound for nade kill ? if so, hope you can add it in this plugin to make it ultimate
Code:
new weapon[3] read_data(4, weapon, 2) if(weapon[1] == 'r') {// nade kill }

SAMURAI16 12-17-2006 08:23

Re: Ultimate KillStreak Advanced
 
* [UPDATE] 0.3 -> 0.4
- Added Grenade Kill Events :

Cvar : ut_nade_events (default 1)
Sounds : 1 sound
Messages : 4 hud messages (random display)

- Added Suicide Events :
Cvar : ut_suicide_events (default 1)
Sounds : 4 (random play)
Messages : 2 hud messages (random display)

Ywa*NL 12-17-2006 09:55

Re: Ultimate KillStreak Advanced
 
Nice man! Thanks you update it. It's great.

nordy 12-17-2006 11:40

Re: Ultimate KillStreak Advanced
 
maybe add double kill sound and hud message -double i mean 2 kill with 1 bullet :D
- there must be like this:
multikill - 3
ultrakill - 4
killingspree - 5
monsterkill - 6
rampage - 7
unstoppable - 8
megakill - 10
ludicrouskill - 12
hollyshit - 14


you could also add all those things which was in miscstats so it wil be 1 complete plugin

SAMURAI16 12-17-2006 15:21

Re: Ultimate KillStreak Advanced
 
* [UPDATE] 0.4 -> 0.5
- Added Double Kill Events
Cvar : ut_doublekill_events (default 1)
Sounds : 2 sounds (random play)

Messages : 1 Hud Message

This is only if you kill 2 players with a bullet

jim_yang 12-18-2006 00:01

Re: Ultimate KillStreak Advanced
 
public event_death(id) ---> public event_death()

new i
i = random_num(0,hsounds-1)
client_cmd(0,"spk %s",hslist[i])
\/
client_cmd(0, "spk %s", hslist[random(hsounds)])

if(dbkill && !selfkill && get_pcvar_num(cvardouble) ==1)
not define its value

SAMURAI16 12-18-2006 00:07

Re: Ultimate KillStreak Advanced
 
oh . so give me an example for double kill

jim_yang 12-18-2006 00:18

Re: Ultimate KillStreak Advanced
 
sorry, i mean you didn't assign a value to dbkill then check it in "if" statement. it will never be true.

SAMURAI16 12-18-2006 00:20

Re: Ultimate KillStreak Advanced
 
ok i'l fix when i return from school :P

Ywa*NL 12-18-2006 15:19

Re: Ultimate KillStreak Advanced
 
1 Attachment(s)
Found a bug.

FR0NTLINE 12-18-2006 19:37

Re: Ultimate KillStreak Advanced
 
Samurai nice work but i only want a few of these sounds because i do like the old ultimate sounds also like may the force be with you. Can i edit the plugin sma file somehow to use the triple kill sound and megakill?

SAMURAI16 12-19-2006 07:32

Re: Ultimate KillStreak Advanced
 
-updated
Fixed double kill events ;

XmINiX 12-19-2006 08:30

Re: Ultimate KillStreak Advanced
 
I have been wondering....Hasnt this been made? I mean i dont own any servers on cs but i play it and i see a plugin like/better than this.

Minithug2007 12-19-2006 17:46

Re: Ultimate KillStreak Advanced
 
lolz really great plugin again! ty :O

BACARRA 12-20-2006 18:14

Re: Ultimate KillStreak Advanced
 
the reason it keeps trying to precache every map
Code:

public plugin_precache()
{
precache_sound("ultimate_sounds/triplekill_ultimate.wav")
precache_sound("ultimate_sounds/multikill_ultimate.wav")
precache_sound("ultimate_sounds/ultrakill_ultimate.wav")
precache_sound("ultimate_sounds/killingspree_ultimate.wav")
precache_sound("ultimate_sounds/megakill_ultimate.wav")
precache_sound("ultimate_sounds/holyshit_ultimate.wav")
precache_sound("ultimate_sounds/ludicrouskill_ultimate.wav")
precache_sound("ultimate_sounds/rampage_ultimate.wav")
precache_sound("ultimate_sounds/unstoppable_ultimate.wav")
precache_sound("ultimate_sounds/monsterkill_ultimate.wav")
precache_sound("ultimate_sounds/headshot1_ultimate.wav")
precache_sound("ultimate_sounds/headshot2_ultimate.wav")
precache_sound("ultimate_sounds/knife1_ultimate.wav")
precache_sound("ultimate_sounds/knife2_ultimate.wav")
precache_sound("ultimate_sounds/firstblood1_ultimate.wav")
precache_sound("ultimate_sounds/firstblood2_ultimate.wav")
precache_sound("ultimate_sounds/prepare1_ultimate.wav")
precache_sound("ultimate_sounds/prepare2_ultimate.wav")
precache_sound("ultimate_sounds/prepare3_ultimate.wav")
precache_sound("ultimate_sounds/nade_ultimate.wav")
precache_sound("ultimate_sounds/suicide1_ultimate.wav")
precache_sound("ultimate_sounds/suicide2_ultimate.wav")
precache_sound("ultimate_sounds/suicide3_ultimate.wav")
precache_sound("ultimate_sounds/suicide4_ultimate.wav")
precache_sound("ultimate_sounds/doublekill1_ultimate.wav")
precache_sound("ultimate_sounds/doublekill2_ultimate")
}

you need to add a .wav to the very last sound file

SAMURAI16 12-22-2006 15:40

Re: Ultimate KillStreak Advanced
 
Quote:

Originally Posted by BACARRA (Post 417798)
the reason it keeps trying to precache every map
Code:

public plugin_precache()
{
precache_sound("ultimate_sounds/triplekill_ultimate.wav")
precache_sound("ultimate_sounds/multikill_ultimate.wav")
precache_sound("ultimate_sounds/ultrakill_ultimate.wav")
precache_sound("ultimate_sounds/killingspree_ultimate.wav")
precache_sound("ultimate_sounds/megakill_ultimate.wav")
precache_sound("ultimate_sounds/holyshit_ultimate.wav")
precache_sound("ultimate_sounds/ludicrouskill_ultimate.wav")
precache_sound("ultimate_sounds/rampage_ultimate.wav")
precache_sound("ultimate_sounds/unstoppable_ultimate.wav")
precache_sound("ultimate_sounds/monsterkill_ultimate.wav")
precache_sound("ultimate_sounds/headshot1_ultimate.wav")
precache_sound("ultimate_sounds/headshot2_ultimate.wav")
precache_sound("ultimate_sounds/knife1_ultimate.wav")
precache_sound("ultimate_sounds/knife2_ultimate.wav")
precache_sound("ultimate_sounds/firstblood1_ultimate.wav")
precache_sound("ultimate_sounds/firstblood2_ultimate.wav")
precache_sound("ultimate_sounds/prepare1_ultimate.wav")
precache_sound("ultimate_sounds/prepare2_ultimate.wav")
precache_sound("ultimate_sounds/prepare3_ultimate.wav")
precache_sound("ultimate_sounds/nade_ultimate.wav")
precache_sound("ultimate_sounds/suicide1_ultimate.wav")
precache_sound("ultimate_sounds/suicide2_ultimate.wav")
precache_sound("ultimate_sounds/suicide3_ultimate.wav")
precache_sound("ultimate_sounds/suicide4_ultimate.wav")
precache_sound("ultimate_sounds/doublekill1_ultimate.wav")
precache_sound("ultimate_sounds/doublekill2_ultimate")
}

you need to add a .wav to the very last sound file

thanks ! updated


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

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