|
Author
|
Message
|
|
Veteran Member
|

04-21-2012
, 17:07
Deflect shots.
|
#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.
|
|
|
|