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

[CS:GO] killing messages and sounds


Post New Thread Reply   
 
Thread Tools Display Modes
ocidius
Senior Member
Join Date: Oct 2014
Old 04-30-2015 , 05:38   Re: [CS:GO] killing messages and sounds
Reply With Quote #41

can you have a look for the quake plugin .... i think it s the same systeme but with a little more sound
there is the list of the sound
Quote:
"SoundSet"
{
"headshot"
{
"0"
{
"sound" "quake/standard/headshot.mp3"
"config" "9"
}
"1"
{
"sound" "quake/standard/headshot.mp3"
"config" "9"
}
"3"
{
"sound" "quake/standard/hattrick.mp3"
"config" "9"
}
"5"
{
"sound" "quake/standard/headhunter.mp3"
"config" "9"
}
}
"killsound"
{
"4"
{
"sound" "quake/standard/dominating.mp3"
"config" "9"
}
"6"
{
"sound" "quake/standard/rampage.mp3"
"config" "9"
}
"8"
{
"sound" "quake/standard/killingspree.mp3"
"config" "9"
}
"10"
{
"sound" "quake/standard/monsterkill.mp3"
"config" "9"
}
"14"
{
"sound" "quake/standard/unstoppable.mp3"
"config" "9"
}
"16"
{
"sound" "quake/standard/ultrakill.mp3"
"config" "9"
}
"18"
{
"sound" "quake/standard/godlike.mp3"
"config" "9"
}
"20"
{
"sound" "quake/standard/wickedsick.mp3"
"config" "9"
}
"22"
{
"sound" "quake/standard/impressive.mp3"
"config" "9"
}
"24"
{
"sound" "quake/standard/ludicrouskill.mp3"
"config" "9"
}
"26"
{
"sound" "quake/standard/holyshit.mp3"
"config" "9"
}
}
"combo"
{
"2"
{
"sound" "quake/standard/doublekill.mp3"
"config" "9"
}
"3"
{
"sound" "quake/standard/triplekill.mp3"
"config" "9"
}
"4"
{
"sound" "quake/standard/multikill.mp3"
"config" "9"
}
"5"
{
"sound" "quake/standard/combowhore.mp3"
"config" "9"
}
}
"first blood"
{
"sound" "quake/standard/firstblood.mp3"
"config" "9"
}
"grenade"
{
"sound" "quake/standard/perfect.mp3"
"config" "9"
}
"selfkill"
{
"sound" "quake/standard/humiliation.mp3"
"config" "9"
}
"round play"
{
"sound" "quake/standard/play.mp3"
"config" "9"
}
"knife"
{
"sound" "quake/standard/humiliation.mp3"
"config" "9"
}
"teamkill"
{
"sound" "quake/standard/teamkiller.mp3"
"config" "9"
}
"join server"
{
"sound" "quake/standard/welcome.mp3"
"config" "9"
}
}
i think you will need overlay too ... i will have a look for making overlays
ocidius is offline
TonyBaretta
Senior Member
Join Date: Mar 2014
Location: nope.avi
Old 04-30-2015 , 16:42   Re: [CS:GO] killing messages and sounds
Reply With Quote #42

here you go , is not the best version but it work , maybe i ll try to contact Spartan_C001 for make a version with all the right overlays respect the names of the sounds like the combo sounds. this is a very basic version
Attached Files
File Type: zip quakesoundsv3_overlays_edition.zip (4.25 MB, 338 views)
__________________
TonyBaretta is offline
ocidius
Senior Member
Join Date: Oct 2014
Old 04-30-2015 , 21:41   Re: [CS:GO] killing messages and sounds
Reply With Quote #43

that would be great with good overlays .....
On my server i don t have the sound activate, is that normal ??? or did i miss a command or a cvar ?
ocidius is offline
ocidius
Senior Member
Join Date: Oct 2014
Old 04-30-2015 , 22:09   Re: [CS:GO] killing messages and sounds
Reply With Quote #44

HI , i just test the quake version it works perfectly !!!

But just need to make better overlay .... something more quake ^^

Hope you will find a solution quick it s a good plugin ^^

Last edited by ocidius; 04-30-2015 at 22:09.
ocidius is offline
Pohearts
AlliedModders Donor
Join Date: Oct 2014
Location: Hong Kong
Old 05-01-2015 , 04:43   Re: [CS:GO] killing messages and sounds
Reply With Quote #45

Quote:
Originally Posted by TonyBaretta View Post
idk maybe i can do the overlays for it , i need to see how it work quake sounds plugin.

is only a problem of Timing now is too easy
For now
Version 1.2

Added cvar ks_sound 0 default ( disable / enable sounds)
Increased time for keep KS active
About the knife kill nothing new
'cuz you can't use StrEqual for knife in CSGO.

Change in line 88 of csgo_5kill.sp:
Code:
else if(StrEqual(weapon,"knife"))
To:
Code:
else if (strncmp(weapon, "knife", 5) == 0)
then it should work.
__________________
HoursPlayed.net / Next Level Gaming network

Last edited by Pohearts; 05-01-2015 at 04:44.
Pohearts is offline
TonyBaretta
Senior Member
Join Date: Mar 2014
Location: nope.avi
Old 05-01-2015 , 04:58   Re: [CS:GO] killing messages and sounds
Reply With Quote #46

yes it work now , tnx for the fix

version 1.3

fixed knife kill (ty to Pohearts)
Attached Files
File Type: zip csgo 5kills plugin1.3.zip (1.01 MB, 272 views)
__________________
TonyBaretta is offline
7106
Senior Member
Join Date: Jun 2013
Old 05-01-2015 , 07:30   Re: [CS:GO] killing messages and sounds
Reply With Quote #47

BfWriteByte error
7106 is offline
TonyBaretta
Senior Member
Join Date: Mar 2014
Location: nope.avi
Old 05-01-2015 , 08:25   Re: [CS:GO] killing messages and sounds
Reply With Quote #48

mmm no?

the only thing need to be fixed is this

L 05/01/2015 - 13:56:25: [SM] [0] Line 116, D:\PLUGINS TONY\csgo 5kills plugin\SERVER SIDE\addons\sourcemod\scripting\csgo_5kill.sp ::Event_round_end()
L 05/01/2015 - 13:57:26: [SM] Plugin encountered error 15: Array index is out of bounds
__________________
TonyBaretta is offline
ocidius
Senior Member
Join Date: Oct 2014
Old 05-01-2015 , 11:25   Re: [CS:GO] killing messages and sounds
Reply With Quote #49

Tony did you fix it on the quake version you gave to me ?
ocidius is offline
Pohearts
AlliedModders Donor
Join Date: Oct 2014
Location: Hong Kong
Old 05-01-2015 , 12:20   Re: [CS:GO] killing messages and sounds
Reply With Quote #50

Quote:
Originally Posted by TonyBaretta View Post
mmm no?

the only thing need to be fixed is this

L 05/01/2015 - 13:56:25: [SM] [0] Line 116, D:\PLUGINS TONY\csgo 5kills plugin\SERVER SIDE\addons\sourcemod\scripting\csgo_5kill.sp ::Event_round_end()
L 05/01/2015 - 13:57:26: [SM] Plugin encountered error 15: Array index is out of bounds
I've no idea why people still using GetMaxClient() which are deprecated for more than 7years...


Try to change the following start from line 112:
Code:
public Event_round_end(Handle:event, const String:name[], bool:dontBroadcast)
{
	for(new client=1;client <= g_iMaxClients;client++)
	{
		g_killCount[client] = 0;
		if((g_taskCountdown[client] !=INVALID_HANDLE) && (g_killCount[client]!=0))
		{
			KillTimer(g_taskCountdown[client]);
			g_taskCountdown[client] =INVALID_HANDLE;
		}
	}
}
to:
Code:
public Event_round_end(Handle:event, const String:name[], bool:dontBroadcast)
{
	for (new client = 1; client <= MaxClients; client++)
	{
		if (IsClientInGame(i)) {
			g_killCount[client] = 0;
			if ((g_taskCountdown[client] != INVALID_HANDLE) && (g_killCount[client] != 0))
			{
				KillTimer(g_taskCountdown[client]);
				g_taskCountdown[client] = INVALID_HANDLE;
			}
		}
	}
}
And from line 38:
Code:
new g_killCount[33] = 0, g_iMaxClients = 0;
To:
Code:
new g_killCount[MAXPLAYERS + 1] = 0, g_iMaxClients = 0;
__________________
HoursPlayed.net / Next Level Gaming network
Pohearts 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 14:01.


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