Raised This Month: $ Target: $400
 0% 

Death Glow


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Event Related       
doubleM
Member
Join Date: Aug 2005
Old 09-11-2005 , 02:23   Death Glow
Reply With Quote #1

I am a very advanced coder, yet I havn't yet had a chance to post any of my work. Recently, I had a request for an insainly short and simple plugin that took so little work that I decided to post it. Also, I am only sure that this mod will work in Counter Strike because I have no experience with other half-life mods. For those others, it may work, it may not, good luck ;)

In short, all this plug does is makes players who are killed, glow the color of their team.

It may be a useful plugin to someone, somewhere. All I know is that I made it in 3 minutes

CVARS:

amx_deathglow_time <seconds> - Alters how long the dead glow for in seconds

CMDS:

None
Attached Files
File Type: sma Get Plugin or Get Source (amx_deathglow.sma - 744 views - 1.2 KB)
doubleM is offline
knekter
Senior Member
Join Date: Mar 2004
Location: PA
Old 09-11-2005 , 04:23  
Reply With Quote #2

hmm very intersting seeing somone use a logevent to hook a users death. Not my style though, much easier using register_event. Nice work though!
__________________
More updates for Matrix Mod!
knekter is offline
Send a message via AIM to knekter Send a message via MSN to knekter
doubleM
Member
Join Date: Aug 2005
Old 09-11-2005 , 14:59  
Reply With Quote #3

Ya, I tend to use logevent instead of regular events for lots of other things too, like new rounds. I find it to be more reliable than hooking ResetHUD or audio/text events.
doubleM is offline
SubStream
Veteran Member
Join Date: Aug 2005
Location: USA
Old 09-13-2005 , 00:33  
Reply With Quote #4

I have been looking for a mod like this. I run a server with nearly 100 amxmodx plugins and one of them is called revivers kit where u can revive a dead player. I need this for when we revive cause its a server rule not to revive the opposite team so now people have no excuse for not knowing another player of the opposite team lies under their dead teamnmates body which in turn could cause them to revive the wrong person by accident.. this plugin is awesome and i'll post an edit to this when I am sure that it works.. testing it out in a few hours after i finish updating stuff.. ty for coding it.
__________________
If you're really bored, check out the plugins I've publicly released.
SubStream is offline
doubleM
Member
Join Date: Aug 2005
Old 09-13-2005 , 18:14  
Reply With Quote #5

Thanks! Finally, some good feedback. If it doesnt work for some reason or somethings not the way you like, just tell me what you want done. Im a very flexible coder
doubleM is offline
SubStream
Veteran Member
Join Date: Aug 2005
Location: USA
Old 09-15-2005 , 01:15  
Reply With Quote #6

Ok well I tested this out and I am not sure why but it either doesn't work or its not compatible with the other 86 plugins I have installed. I wish there was a way I could get it to work but I don't know because I have so many plugins already that its probably cause of one of the other ones. I do however think this is a great mod for fun servers or servers where the models are changed constantly. Right now I am using model changer plugins where clients can type /modelname to change their model to model name and so when they die its hard to tell if the body there is a teammate or not without a glow as the model on the ground is the custom model... if you can somehow find a way to make it compatible with other plugins... since I assume that is the problem.... I would definetly use this plugin... hope nobody tries nockin on it.. I think it's a great idea... I have a few ideas for other plugins but have no idea how to code... if u would like to code some for me or need some compensation to code some for me that can be arranged.. or something... please post back...
-RJ
__________________
If you're really bored, check out the plugins I've publicly released.
SubStream is offline
doubleM
Member
Join Date: Aug 2005
Old 09-16-2005 , 02:27  
Reply With Quote #7

I have no idea why this wouldnt work, as a matter of fact, I had another friend who had this happen to them too. Even with no plugins!!! I think its just a mystery??? (It works fine on my server) Or maybe there is some glitch hidden where I cannot find it
doubleM is offline
SubStream
Veteran Member
Join Date: Aug 2005
Location: USA
Old 09-16-2005 , 16:36  
Reply With Quote #8

Perhaps its related to server.cfg settings and other amx settings... my settings are definetly NOT conventional
I will try to re organize to see if the deathglow works at the top of the list of third party plugins.. I will post again once trying once more.

-RJ

EDIT
warning 204: symbol is assigned a value that is never used: "killer_id"

That showed up when compiling the plugin.. forgot to mention that... whooopsies...
__________________
If you're really bored, check out the plugins I've publicly released.
SubStream is offline
doubleM
Member
Join Date: Aug 2005
Old 09-16-2005 , 17:47  
Reply With Quote #9

Quote:
Originally Posted by SubStream
Perhaps its related to server.cfg settings and other amx settings... my settings are definetly NOT conventional
Yeah, neither are mine, it just seems to work sometimes and sometimes not.

Quote:
Originally Posted by SubStream
warning 204: symbol is assigned a value that is never used: "killer_id"

That showed up when compiling the plugin.. forgot to mention that... whooopsies...
Ya, just an extra variable I left in there on accident, shouldnt cause a problem.
doubleM is offline
uTg | bigpapajiggs
Senior Member
Join Date: Sep 2005
Location: Bellingham, WA
Old 09-16-2005 , 19:48  
Reply With Quote #10

This seems to work fine on my server. Thanks for the idea on using the Reviver's Kit with this!
__________________
What's my confidence level? I do crossword puzzles with a pen.
uTg | bigpapajiggs is offline
Send a message via AIM to uTg | bigpapajiggs Send a message via MSN to uTg | bigpapajiggs Send a message via Yahoo to uTg | bigpapajiggs
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:20.


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