Raised This Month: $94 Target: $400
 23% 

GHW Damage Dealt with ESP


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   General Purpose        Approver:   Emp` (115)
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 06-17-2008 , 22:58   GHW Damage Dealt with ESP
Reply With Quote #1

  • This plugin is much like bullet_damage(f117bomb) with 1 main difference. This plugin has the ability to make the damage number follow the person who shot you, or configurably the person you just shot.

CVARs:
  • espdmg_flags - Bitflag of the flags below (add the numbers up to get the value to set this to) (Default: 13)
  • espdmg_timelen - How long the damage number stays on the screen (Default: 2.0)
  • espdmg_channel - Primary constant hud channel used by plugin (Default: 4)
  • espdmg_channel2 - Secondary contant hud channel used by plugin (Default: 3)

Flags:
  • Code:
    FLAG_SHOWDEALT		1	Dmg Dealt appears on screen	(Default)
    FLAG_SHOWDEALTESP	2	Dmg Dealt follows target (ESP)
    FLAG_SHOWTAKEN		4	Dmg Taken appears on screen	(Default)
    FLAG_SHOWTAKENESP	8	Dmg Taken follows shooter (ESP)	(Default)

Requires CHR_Engine Stocks. (So download .amxx file instead of using the "Get Plugin" link.)
_
Attached Files
File Type: amxx GHW_Damage_ESP.amxx (7.4 KB, 1287 views)
File Type: sma Get Plugin or Get Source (GHW_Damage_ESP.sma - 3392 views - 4.4 KB)

Last edited by GHW_Chronic; 06-17-2008 at 23:30.
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
Emp`
AMX Mod X Plugin Approver
Join Date: Aug 2005
Location: Decapod 10
Old 06-17-2008 , 23:24   Re: GHW Damage Dealt with ESP
Reply With Quote #2

Don't bother checking if task_exists, just remove_task anyway.

Why not use HudSyncs?

Code:
//line 158 ???
						client_print(id,print_chat,"2")
edit: No point in having both
Code:
FLAG_SHOWTAKEN		4	Dmg Taken appears on screen	(Default)
FLAG_SHOWTAKENESP	8	Dmg Taken follows shooter (ESP)	(Default)
enabled by default.

Last edited by Emp`; 06-17-2008 at 23:30.
Emp` is offline
Send a message via AIM to Emp` Send a message via MSN to Emp` Send a message via Yahoo to Emp` Send a message via Skype™ to Emp`
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 06-17-2008 , 23:28   Re: GHW Damage Dealt with ESP
Reply With Quote #3

A. hudsync wouldnt work if you can figure out what my code does
B. debug message I forgot
C. meh
D. meh to the edit as well
E(dit). Added bugfix for tasks I didn't think about

Last edited by GHW_Chronic; 06-17-2008 at 23:31.
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
Dr. Jan Itor
Veteran Member
Join Date: Mar 2008
Location: there.
Old 06-23-2008 , 11:59   Re: GHW Damage Dealt with ESP
Reply With Quote #4

nice sounds good
__________________
Dr. Jan Itor is offline
AntiBots
Veteran Member
Join Date: May 2008
Location: La Plata, Bs As, Argenti
Old 06-23-2008 , 14:32   Re: GHW Damage Dealt with ESP
Reply With Quote #5

Exelent i am testing.
AntiBots is offline
Send a message via ICQ to AntiBots Send a message via MSN to AntiBots Send a message via Skype™ to AntiBots
Stewieg
Member
Join Date: Dec 2006
Location: Liepaja
Old 06-28-2008 , 05:55   Re: GHW Damage Dealt with ESP
Reply With Quote #6

maybe some screenshoots?
Stewieg is offline
Send a message via Skype™ to Stewieg
kobri
Senior Member
Join Date: Oct 2005
Location: Bulgaria
Old 10-23-2008 , 17:58   Re: GHW Damage Dealt with ESP
Reply With Quote #7

This is awesome, I've been waiting ages for something like this for my zombie plague servers!

Can it be made to show the target HP above their model, calculate dmg dealt within a specific timeframe and then animate this number moving up towards the sky and fading (RPG games style).

Like:

-234
2510HP
__________________
Founder of the legendary OptiLAN, MANIA and SECTOR.BG Gaming Communities
Providing everyday fun for over 15000 Bulgarian players!

http://about.me/kobri
kobri is offline
Send a message via Skype™ to kobri
CuLLi
BANNED
Join Date: Apr 2009
Location: Romania (piratebay) C
Old 05-09-2009 , 15:07   Re: GHW Damage Dealt with ESP
Reply With Quote #8

this is not working for me (knives)
CuLLi is offline
xXxOpOpxXx
Senior Member
Join Date: Aug 2007
Old 03-06-2010 , 01:57   Re: GHW Damage Dealt with ESP
Reply With Quote #9

for me only shows the damage that enemy hits me ...
__________________
xXxOpOpxXx is offline
Send a message via Skype™ to xXxOpOpxXx
Reply


Thread Tools
Display Modes

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 20:02.


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