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

L4D2 - Check recharge on ability, change it?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Thraka
AlliedModders Donor
Join Date: Aug 2005
Old 12-20-2009 , 22:10   L4D2 - Check recharge on ability, change it?
Reply With Quote #1

When the charger releases his victim with my plugin, the ability he has is actually counting down very very very slowly. Normally it's 12 seconds, but it's like a minute or more.

I'm unsure how to change this, to speed it back up or reset it. I've checked what I can on the CCharge class, which I'm guessing is the active ability for the charger. I can read the 12 seconds it takes to recharge, but it doesn't seem to be the active status of the ability itself. I got that from m_nextActivationTimer and m_activationSupressedTimer.
Thraka is offline
Thraka
AlliedModders Donor
Join Date: Aug 2005
Old 12-23-2009 , 20:27   Re: L4D2 - Check recharge on ability, change it?
Reply With Quote #2

Is this stuff easier to figure out if there was an SDK like TF2 has? (does TF2 have one? I thought it did)
Thraka 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 12:04.


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