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

[TF2] Health w/o Decay


Post New Thread Reply   
 
Thread Tools Display Modes
Tylerst
Veteran Member
Join Date: Oct 2010
Old 06-18-2011 , 09:57   Re: [TF2] Health w/o Decay
Reply With Quote #21

The SDKHooks thing I posted wouldn't work, I as said in the sentence before it, the resources are set per frame, that code would just cause the HP to flip back and forth between the default and the modified health constantly.

I just posted it to show Max what was meant by using an SDKHooks PostThink.

The only way to make it work would be to somehow block it from resetting per frame, which I have no idea if that's possible.

Although, if it did work, it wouldn't be very cpu intensive.

I was refering to OnGameFrame+OnTakeDamage per player with the cpu intensive thing.

Last edited by Tylerst; 06-18-2011 at 10:01.
Tylerst is offline
Monkeys
Veteran Member
Join Date: Jan 2010
Old 06-18-2011 , 13:15   Re: [TF2] Health w/o Decay
Reply With Quote #22

You can't quite call it CPU intensive.
Maybe relative to other things, it's more intensive, but it still is a fairly small script.
__________________
Get a lid on that zombie,
he's never gonna be alri-i-ight.
Oooh get a lid on that zombie,
or he's gonna feed all night.
Monkeys is offline
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 07:20.


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