Quote:
Originally Posted by Craxor
Test and see yourself, i believe i'm wrong, it's not broken just return weird values (0.5, 1.0, etc .. ) Mine return exactly the value you have ( 800, 530, 400.. etc ).
|
Well... they're not exactly "weird values".
0.5 gravity means half (1/2) the gravity set in "sv_gravity" CVAR.
So, the relative gravity of a player with "0.5 gravity", in a server with normal gravity (800) will be 800*0.5 = 400 units/s^2
Your API, basically, acts as a calculator for custom gravities; but an API only for doing that simple thing is not worth, IMO.