| Start with no spread for full auto weapons first and make that work then adjust offset to sync it with game for single shot weapons (no scoping).
It's not really random, there is a float table with 1024 random floats populated when you join a server but there is a counter that points to the next float to be used. It uses 2 each shot, one for pitch and one for yaw and the function creates an impulse vector. Time to do some reversing, when you have some code and need help then post it. The function is easy to find with all the BF2 info floating around.
It's simply a matter of reversing the deviation function's math and applying the opposite to your aim.
__________________
I'm like a virus, you can delete me but I am never really gone.
Links die, searching does not. (Fravia : searchlores.org)
Solving problems requires effort not a college degree.
|