Advanced Bullet Damage
1 Attachment(s)
Advanced Bullet Damage Description: Remake of oryginal bullet damage plugin. This addon shows damage done by each bullet to attacker, and optionally shows damage received. Additionally, showing damage took via wall can be disabled, to eliminate wallhack syndrome.CVAR's PHP Code:
Modules fakemetaChangelog 1.0 - First Relase |
Re: Advanced Bullet Damage
nice works good test on my zombie server.
|
Re: Advanced Bullet Damage
Well done. I just wanted to point out that fm_is_ent_visible will return false negatives relatively often (at least there are many common situations where it will due to the origin comparison).
Anyway, a cvar for displaying chat messages instead of hud messages would be nice to have I believe. |
Re: Advanced Bullet Damage
Nothing to say more that Nextra has already said. :p
|
Re: Advanced Bullet Damage
You could come up with a neat measure to get rid of those false positives :)
I believe there is a possibility by catching the shot event and comparing traceline hit origins with fm_is_visible but it's too late for that now ;) |
Re: Advanced Bullet Damage
Good :)
|
Re: Advanced Bullet Damage
I think you should check if attacker is a player + ingame before you send a hudmessage.
|
Re: Advanced Bullet Damage
I don't think it needs because there are already a check in the native. So it doesn't matter, it will not generate an error.
|
Re: Advanced Bullet Damage
1 Attachment(s)
You can add stocks to your source file, not include all fakemeta_util file.
|
Re: Advanced Bullet Damage
Quote:
|
Re: Advanced Bullet Damage
He says that he can add directly the function he used in its script from fakemeta_util, instead of including fakemeta_util. Xs is not related at all here, M1R0n,M'.
|
Re: Advanced Bullet Damage
omg sorry, my bad.
|
Re: Advanced Bullet Damage
Quote:
|
Re: Advanced Bullet Damage
Indeed. It seems the plugin size increases of 1 ko just by including fakemeta_util ( it should not ) but it doesn't matter, it's extremely trivial.
|
Re: Advanced Bullet Damage
Well, there are people that dont have fm util, and complaining. Thats the difference.
|
Re: Advanced Bullet Damage
Like said Yami' fakemeta_util is already included in amxx 1.8, so I don't see the problem, AcidoX. ( It works with the webcompiler )
|
Re: Advanced Bullet Damage
i got this error after 5 min :
L 03/27/2009 - 17:40:56: Start of error session. L 03/27/2009 - 17:40:56: Info (map "fy_snow") (file "addons/amxmodx/logs/error_20090327.log") L 03/27/2009 - 17:40:56: Invalid player id 141 L 03/27/2009 - 17:40:56: [AMXX] Displaying debug trace (plugin "abd.amxx") L 03/27/2009 - 17:40:56: [AMXX] Run time error 10: native error (native "ShowSyncHudMsg") L 03/27/2009 - 17:40:56: [AMXX] [0] 39533.attach::on_damage (line 48) |
Re: Advanced Bullet Damage
Attacker is not filtered to be between 1 and max_clients, since entity from get_user_attacker() can be a non-player.
|
Re: Advanced Bullet Damage
Looks cool :D
|
Re: Advanced Bullet Damage
Quote:
Fixed ;) |
Re: Advanced Bullet Damage
Quote:
|
Re: Advanced Bullet Damage
I was talking about 'ingame'. For that no need. I was read 'player is ingame' and not 'player + ingame'. But whatever.
|
Re: Advanced Bullet Damage
Code:
Code:
|
Re: Advanced Bullet Damage
No matter.
|
Re: Advanced Bullet Damage
Shit, i thought of making a new bullet damage. Nvm, i'll make a new one anyway :P
|
Re: Advanced Bullet Damage
Quote:
|
Re: Advanced Bullet Damage
Sn!ff3r, you could implement the "circle" effect i made in this version :
http://forums.alliedmods.net/showthr...921#post719921 |
Re: Advanced Bullet Damage
Suggestion:
Use Ham_TraceAttack |
Re: Advanced Bullet Damage
No. Hamsandwich here is useless. In traceattack I must filter damagetype etc, in Damage event this is already done.
Quote:
|
Re: Advanced Bullet Damage
I've done a simplistic bullet damge a while ago, in wich i'm using Take_Damage from HAM and it works very well.
|
Re: Advanced Bullet Damage
Quote:
PHP Code:
|
Re: Advanced Bullet Damage
Quote:
|
Re: Advanced Bullet Damage
Quote:
|
Re: Advanced Bullet Damage
Quote:
-edit- You won't get the origin though -edit- Quote:
|
Re: Advanced Bullet Damage
Quote:
|
Re: Advanced Bullet Damage
Quote:
And btw. it is better that simple fm_is_ent_visible, that function would have a better name like fm_is_point_visible rather than ent_visible. If you want to check all the bones of the player to see wether the player is visible, that would do it but is uses a lot of cpu power ... |
Re: Advanced Bullet Damage
1 Attachment(s)
Look i have this plugin
And with it this plugin bugs i think that two hudmessages can you fix this that will not bugs with fragmatch.amxx??? |
Re: Advanced Bullet Damage
So can somebody help??? :(
|
Re: Advanced Bullet Damage
Quote:
|
Re: Advanced Bullet Damage
abd.sma :
Code:
|
All times are GMT -4. The time now is 15:41. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.