View Single Post
Vincenator
Member
Join Date: Aug 2009
Old 08-10-2011 , 01:54   Re: [TF2] Suicide Notifier (v1.0, 2011-07-06)
Reply With Quote #6

Thanks for the tip, Powerlord.
Actually, though, two things:
1) The only instances I can find of dying with the DR causing two death messages are from the train, the lumberyard pit, and the offblast edge. I think this is because you instantly die one and only one death from all other causes included in my plugin, whereas you die from some form of damage in these.
2) It seems the feign_death property no longer works as it should; it looks like death flags are now the way to go. GetEventInt(event, "death_flags")&TF_DEATHFLAG_DEADRINGER works.

I updated the plugin to only count DR deaths once; thanks again Powerlord.


Also, snelvuur, that's a good idea, but as far as I know it's not possible to have random messages display with just translations, which I intend to stick with. I suppose I could do something with multiple similarly named translations for a given event, like "Gravity" and "Gravity2", but I fear it would get a bit too confusing for server owners to set up properly.. Maybe, though.

Last edited by Vincenator; 08-10-2011 at 02:03.
Vincenator is offline