Ok, so warsow has pretty good hud code, except that the math logic is a little to blame.
Input:
a*b + c*d
Interpreted as:
((d*c) + b) * a
As you can see, the game performs a number of operations in the reverse order without regard to the order of operations. Brackets do not work in hud code. It must be a linear series of operations in order to come up with the final result. Is it possible? I understand that it would be better to implement the correct math in the hud code, but this is much more interesting than imo.
source
share