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

SDK Hooks 2.1 - Updated 2011-9-10


Post New Thread Closed Thread   
 
Thread Tools Display Modes
alandarev
Member
Join Date: Aug 2012
Old 10-13-2014 , 16:32   Re: SDK Hooks 2.1 - Updated 2011-9-10
#2711

There is damagecustom for OnTakeDamage, what damagecustom stands for?
alandarev is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 10-13-2014 , 16:56   Re: SDK Hooks 2.1 - Updated 2011-9-10
#2712

Quote:
Originally Posted by alandarev View Post
There is damagecustom for OnTakeDamage, what damagecustom stands for?
damagecustom is, as far as I know, only used in Team Fortress 2.

It matches up with the TF_CUSTOM values in tf2_stocks.inc.
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
maciu
New Member
Join Date: Oct 2014
Old 10-27-2014 , 10:50   Re: SDK Hooks 2.1 - Updated 2011-9-10
#2713

Hellow !
please help. I need new version sdk hooks
I'm building a GunGame server, and I want to mvp number of stars corresponds to the level. please help, and as far as accurate to describe step by step how to do this.
maciu is offline
WildCard65
Veteran Member
Join Date: Aug 2013
Location: Canada
Old 10-28-2014 , 11:45   Re: SDK Hooks 2.1 - Updated 2011-9-10
#2714

Quote:
Originally Posted by maciu View Post
Hellow !
please help. I need new version sdk hooks
I'm building a GunGame server, and I want to mvp number of stars corresponds to the level. please help, and as far as accurate to describe step by step how to do this.
latest sourcemod versions include SDKHooks
__________________
WildCard65 is offline
ltgenkd
AlliedModders Donor
Join Date: Sep 2008
Old 12-10-2014 , 01:39   Re: SDK Hooks 2.1 - Updated 2011-9-10
#2715

Is Insurgency2 (2014) supported in SDKHooks?
__________________
ltgenkd is offline
RedSword
SourceMod Plugin Approver
Join Date: Mar 2006
Location: Quebec, Canada
Old 03-24-2015 , 06:37   Re: SDK Hooks 2.1 - Updated 2011-9-10
#2716

Just to let you guys know I created a wiki page : https://wiki.alliedmods.net/SDKHooks and I added some information regarding CSS (only for SDKHook_OnTakeDamage though).

I feel like that should have been done a long time ago.

I think having a list of different damage types in different games would be interesting.

Feel free to contribute.

Red
__________________
My plugins :
Red Maze
Afk Bomb
RAWR (per player/rounds Awp Restrict.)
Kill Assist
Be Medic

You can also Donate if you appreciate my work
RedSword is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 03-24-2015 , 15:38   Re: SDK Hooks 2.1 - Updated 2011-9-10
#2717

Quote:
Originally Posted by RedSword View Post
-snip-
I thought damage from a knife gave the custom damage of DMG_SLASH
Mitchell is offline
RedSword
SourceMod Plugin Approver
Join Date: Mar 2006
Location: Quebec, Canada
Old 03-24-2015 , 16:16   Re: SDK Hooks 2.1 - Updated 2011-9-10
#2718

Quote:
Originally Posted by Mitchell View Post
I thought damage from a knife gave the custom damage of DMG_SLASH
All of what I wrote came from me individually testing that. (and necavi's help for the grenade-disconnect thing)
__________________
My plugins :
Red Maze
Afk Bomb
RAWR (per player/rounds Awp Restrict.)
Kill Assist
Be Medic

You can also Donate if you appreciate my work

Last edited by RedSword; 03-24-2015 at 16:18.
RedSword is offline
DeathChaos25
Senior Member
Join Date: Jan 2014
Location: Puerto Rico
Old 03-25-2015 , 19:00   Re: SDK Hooks 2.1 - Updated 2011-9-10
#2719

I'd like to point out that OnTakeDamagePost gives a lot of false information regarding to damage taken in L4D2.

My plugin Restore Death Animations used to hook OnTakDamagePost, but sometimes players would die when they shouldn't have because OnTakeDamagePost reports more damage than they actually took, or they didn't die when they should have because it reported that they took less damage than they actually did.
__________________
DeathChaos25 is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 03-25-2015 , 20:21   Re: SDK Hooks 2.1 - Updated 2011-9-10
#2720

That is the purpose of the recently added OnTakeDamageAlive hook, regular OnTakeDamage (even a post hook) is before certain calculations happen for players. That said, no form of OnTakeDamage hook is a great way of detecting death.
__________________
asherkin is offline
Closed Thread



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 08:14.


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