Make AWP 100% accurate
Hello there.
I've been wondering, if there was a way to make the AWP 100% accurate. Or do I have to do the hit checking myself? EDIT: Oh. Could this please be moved to Scripting Help? |
Re: Make AWP 100% accurate
|
Re: Make AWP 100% accurate
Thx. I already found another solution.
PHP Code:
At least I think it is like that :P |
Re: Make AWP 100% accurate
ask arkshine to teach u how to use orpheu, just hack three float value, in CAwp:: PrimaryAttack()
Code:
void CAWP::PrimaryAttack() you see that the first parameter in AWPFire ? that's the spread rate, change all of them to 0.0 |
Re: Make AWP 100% accurate
Already thought of that, maybe I'll do that today. Hmmm. But how can I do that with Orpheu. Somethin about orpheu_memory?
But one thing: PHP Code:
|
Re: Make AWP 100% accurate
Hmmm. One problem there:
What is the signature of AWPFire? Can't really find it. |
Re: Make AWP 100% accurate
Forget about retrieving a decent signature for such function because the content is almost the same for such weapons and it's impossible to get a signature from that.
What you can do is to find the address of this function from PrimaryAttack. Something like : Code:
So, now, awp should have the same behavior like you were ducking all the time. EDIT : forget the files : functions/CAWP/AWPFire : Code:
{ virtualFunctions/CBasePlayerWeapon/PrimaryAttack : Code:
{ |
Re: Make AWP 100% accurate
Quote:
|
All times are GMT -4. The time now is 01:37. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.