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

[L4D1/2] Assistance System


Post New Thread Reply   
 
Thread Tools Display Modes
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 09-16-2010 , 14:03   Re: [L4D1/2] Assistance System
Reply With Quote #51

*sigh* because it uses the Colors include file, which is not on the web compiler, so you need to compile locally or download the uploaded .smx (not Get plugin)
__________________
Silvers is offline
Louis Yap
New Member
Join Date: Oct 2010
Old 10-04-2010 , 06:35   Re: [L4D1/2] Assistance System
Reply With Quote #52

i got an idea....if u play DotA before...(defence of the ancients)put the killing streak sound effect when each SI killed,when killed 2 in the limit period of time...will get something like double kill and even rampage...hope you understand..or ask your friend who play DotA.
example.
[Boomer Got Killed By Ellis(50dmg)|Assist:]
[Jockey Got Killed By Ellis(189dmg)|Assist:Coach(18dmg).]
[Ellis Just Got A Double Kill!!]
(with killing sound effect)
Hope can get something like that

Sorry For My Poor English.
Louis Yap is offline
2befine
Junior Member
Join Date: Nov 2009
Old 10-11-2010 , 08:55   Re: [L4D1/2] Assistance System
Reply With Quote #53

to compile Put colors.inc to sourcemod/scripting/include
Attached Files
File Type: inc colors.inc (11.0 KB, 451 views)

Last edited by 2befine; 10-11-2010 at 08:59.
2befine is offline
MON@H Rasta
Junior Member
Join Date: Dec 2010
Location: Kyiv, Ukraine
Old 01-25-2011 , 15:32   Re: [L4D1/2] Assistance System
Reply With Quote #54

Is it possible to translate it?
MON@H Rasta is offline
Send a message via ICQ to MON@H Rasta Send a message via Skype™ to MON@H Rasta
CosmicD
Senior Member
Join Date: Dec 2009
Location: Hasselt, Belgium
Old 01-26-2011 , 14:18   Re: [L4D1/2] Assistance System
Reply With Quote #55

I hope this compile error will be fixed soon I would like to test this on the serv
__________________
CosmicD is offline
Drixevel
AlliedModders Donor
Join Date: Sep 2009
Location: Somewhere headbangin'
Old 01-31-2011 , 08:37   Re: [L4D1/2] Assistance System
Reply With Quote #56

Compiled version, have fun.
Attached Files
File Type: smx l4d2_assist.smx (5.6 KB, 482 views)
Drixevel is offline
Namelessb0i
Junior Member
Join Date: Feb 2010
Old 02-07-2011 , 18:33   Re: [L4D1/2] Assistance System
Reply With Quote #57

I found a minor bug in this plugin is that it does not show the total damage done to "Tank" when the first and second tank and ai tank are passed. Instead it only shows the damage the player incontrol took when he was a tank and got killed. If you do not understand what i mean here's an Example.

Player A gets the tank and he dies "All damage by survivor calculated" (No issues with this)

Player A passes the tank to Player B and got killed "Damage calculated is only the damage that Player B took but not Player A"

Lastly. Player A passes the tank to Player B and Passes it to ai Tank "Damage calculated is only the damage that ai Tank took but not Player A and B"

Plugin tested Silvers version

i Hope someone can kindly fix this. Thank you !
Namelessb0i is offline
ViRaGisTe
Member
Join Date: Feb 2011
Old 05-10-2011 , 14:27   Re: [L4D1/2] Assistance System
Reply With Quote #58

well I modified the original ver1.2 of [E]c with no model names since we still didnt sort this out.

1 - added creation of .cfg file.
2- removed |assist showing up when no assist occured (thx to Silvers )
3 - added a cvar to show if a player crownd the witch (one shot killed the witch)

as for the witch damage ... I've been looking around and it seems that the event player_hurt (like its name says) is only for playable classes .. so the related substructure dmg_health doesnt support the damage done to a witch...

1 - one solution is to use infected_hurt infected_death and just some code copying.. but that will make the engine check for every kill made !! that's too much cpu usage.

2 - maybe using SDK HOOKS 2.0 OnTakeDamage but that will bring up major modifications !!

3 - best solution (which may also fix the bug mentioned by Namelessb0i) is to intercept the source engine values calculated in_game like the stats you see on the map change screen (did most damage to tank, did most damage to survivors ..), if we find a way to catch these values. BINGO!

@SilverS here's a hint to avoid duplicated name issues .. check if the victim is a bot then only write its model
if he's a human then write his model next to player's name

PHP Code:
GetClientModel(victimvictimModelsizeof(victimModel));
GetClientAuthString(victimvictimSTEAMsizeof(victimSTEAM));
                .
                .
                .
if (
strcmp(victimSTEAM"BOT")==0)
                . 
Attached Files
File Type: smx l4d2_assist_NoModels.smx (6.3 KB, 757 views)
File Type: sp Get Plugin or Get Source (l4d2_assist_NoModels.sp - 803 views - 5.8 KB)
ViRaGisTe is offline
Skepticus
Junior Member
Join Date: Sep 2011
Old 09-30-2011 , 11:52   Re: [L4D1/2] Assistance System
Reply With Quote #59

Is there add a toggle to use "sm_tsay" function, so that it shows up in the top left instead of clogging up game chat?

Last edited by Skepticus; 09-30-2011 at 11:58.
Skepticus is offline
arnold
Junior Member
Join Date: Jul 2011
Old 03-25-2012 , 17:28   Re: [L4D1/2] Assistance System
Reply With Quote #60

home/groups/sourcemod/upload_tmp/phpUuQ6AY.sp(2) : fatal error 120: cannot read from file: "colors" Compilation aborted. 1 Error. any help
__________________
Games lover
arnold 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 01:51.


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