Raised This Month: $ Target: $400
 0% 

Deflect shots.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
fearAR
Veteran Member
Join Date: Oct 2010
Old 04-21-2012 , 17:07   Deflect shots.
Reply With Quote #1

Well, Sorry for my english D:

I am making a plugin which blocks the ATTACK2 button from the sniper weapons, like AWP. Doing this I am avoiding the FOVs or "SCOPEs".

It is working perfect because I return a previous constant when the forward FM_CmdStart is called and I set the button without the IN_ATTACK2 bitsum.

I've made that because If I block only the FOV the properties which are applied to the Player like Max. velocity, couldn't be avoided.

Well my problem is: If, He press IN_ATTACK2 button, the player takes a great accuracy, which I don't want, and It can't be removed, the accuracy is the same when the player is with FOV < 90, with sniper weapons.

I was thinking on a way, which deflects the shots, using the functions "set_tr2" like in I aim good, but I am not sure.

Could anyone helps me with an idea?

Greetings.

PD: The plugin "I aim good" uses the forward FM_TraceLine, and It changes the direction of the shots.
__________________
~~~~ NPC AI ~~~~

[ Pathfinding - OK ]
[ Citizen AI - OK ]
[ Handle Weapons - --- ]

Last edited by fearAR; 04-21-2012 at 17:11.
fearAR is offline
Send a message via MSN to fearAR
 


Thread Tools
Display Modes

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:50.


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