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

ZR already hooking knife damage?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
anonpiss
Senior Member
Join Date: Jan 2010
Old 07-05-2010 , 06:14   ZR already hooking knife damage?
Reply With Quote #1

I would like to change the knife damage and no matter what code I tried using sdkhooks, it just doesn't work.

I wonder if this is caused by ZR already hooking the knife damage? If yes, how can I change the knife damage?
anonpiss is offline
anonpiss
Senior Member
Join Date: Jan 2010
Old 07-05-2010 , 06:29   Re: ZR already hooking knife damage?
Reply With Quote #2

I think I found some OnTakeDamage in damage.inc
Just wondering how can I change the knife damage there...
anonpiss is offline
rhelgeby
Veteran Member
Join Date: Oct 2008
Location: 0x4E6F72776179
Old 07-05-2010 , 09:25   Re: ZR already hooking knife damage?
Reply With Quote #3

ZR isn't blocking knife damage I think, but once a zombie hit a human the player is infected and HP is changed to a zombie class' HP.

infect.inc:InfectOnClientHurt
__________________
Richard Helgeby

Zombie:Reloaded | PawnUnit | Object Library
(Please don't send private messages for support, they will be ignored. Use the forum.)
rhelgeby is offline
Send a message via MSN to rhelgeby
anonpiss
Senior Member
Join Date: Jan 2010
Old 07-05-2010 , 10:25   Re: ZR already hooking knife damage?
Reply With Quote #4

Hmm I wonder why it doesn't work when I used SDKHooks to modify the knife damage?
anonpiss is offline
rhelgeby
Veteran Member
Join Date: Oct 2008
Location: 0x4E6F72776179
Old 07-05-2010 , 11:04   Re: ZR already hooking knife damage?
Reply With Quote #5

Search the SDK Hooks thread, I think someone mentioned stuff about modifying weapon damage. Also make sure ZR is disabled when testing, it might conflict with your plugin.
__________________
Richard Helgeby

Zombie:Reloaded | PawnUnit | Object Library
(Please don't send private messages for support, they will be ignored. Use the forum.)
rhelgeby is offline
Send a message via MSN to rhelgeby
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 20:32.


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