View Single Post
ehha
SourceMod Donor
Join Date: Apr 2006
Location: Sibiu
Old 02-03-2010 , 17:08   Re: Module: Orpheu2.1 (Change max money and weapon slots in the end of the thread :D
Reply With Quote #86

Quote:
Originally Posted by joaquimandrade View Post
So, you want to use the armor value to something other than protect the user. Right? I don't think you need this module to do that.
Yes, I want to totally remove the armor's current behavior, so it won't effect any type damage in any way, & use my own armor behavior that I've implemented.

I'll use the newly unused 3 digits from the HUD to display my new armor of course. The new armor value will be stored in the same location & it will be modified through cs_set_user_armor(), buying it would be blocked.

I would also need to know witch which forward should I use (Ham_TakeDamage or Damage event) to make the new damage reduction calculations (assuming at least one of them would not be influenced).

Thanks for the link KadiR.
It's useful but with that method I have to change armor to 0 and back on every attack at least twice.
__________________

Last edited by ehha; 02-03-2010 at 17:39.
ehha is offline