AndiNo wrote:
How does this new variable help me with distinction of bots and human players or melee and ranged weapons?
It does not. You should not care about these. Bots aim on their own, by the way.
The "variable" there (NEWPARAM) is a maximal vertical angle from the direction of your aim, where auto-adjustment is allowed. Originally, as you may see, it is 30 degrees. This means that autoaiming occurs if target is 30 degrees upper or lower than your crosshair.
To disable autoaim simply set 0 degrees.
Formally:
Code:
topangle = AngleMod180(-angles.pitch + 0.0);
botangle = AngleMod180(-angles.pitch - 0.0);
Or simply like
Code:
topangle = AngleMod180(-angles.pitch);
botangle = AngleMod180(-angles.pitch);
This was already tested in Doom-based mode, and both shooting and melee weapons work nice.