Question about sm_gravity
So I've been trying to change a single players gravity with
sm_gravity <player> <float amount> Problem is, every time I do that it says checking gravity... 1.0 Set player gravity. And then there's no change in the gravity whatsoever. Is this broken? Is there a config I don't know about? Any help would be greatly appreciated! Thankyou! |
Re: Question about sm_gravity
I find that the gravity check is usually wrong, but the actual internal value does change.
A point to note is that the <float amount> (as per your example) is actually a ratio based off the sv_gravity. So 0.5 would give half the server gravity. Sometimes I've seen admins try !gravity @me 800 and wonder why their gravity was so ridiculously high. |
Re: Question about sm_gravity
Quote:
Keep in mind that the check is BEFORE the gravity change. IE, if you have normal gravity and use sm_gravity @me 0.5 the Gravity Check will be 1.0 If you then do sm_gravity 1.0, the check will be 0.5. I believe that's where most people get confused because they think it represents the changed gravity, when it actually reads your previous gravity. |
Re: Question about sm_gravity
I tried to do the sm_gravity @me .1,
it didn't change my gravity at all. I'm not talking about the check either, the multiplier applied to my entity was left untouched. Even when I changed again the past history for the check was completely 1.0 |
Re: Question about sm_gravity
@Tylerst, I tried using !gravity @me .1 and got:
Code:
Gravity check 0.000000 |
Re: Question about sm_gravity
Quote:
|
Re: Question about sm_gravity
Quote:
Given sv_gravity N, and individual sm_gravity <player> M the user's perceived gravity is NM, where M is 1.0 by default. |
Re: Question about sm_gravity
>_> Yes I do realize how it is supposed to work, however it is not changing the individual (or any) gravity whastoever.
I can write sm_gravity zetos 0.5 sm_gravity "zetos" 0.5 sm_gravity zetos "0.5" sm_gravity "zetos" "0.5" And it still will not change the gravity, the check is still returning one and the player does not have half the gravity of the server, he has the same gravity as the server. I've tried many different floats and the same problem occurs. Is there something special I need installed to get it to work? |
Re: Question about sm_gravity
Quote:
Anyway, sm_gravity, from funcommands, basically calls SetEntityGravity() - what SourceMod version are you running, and do you have anything in your SourceMod logs? |
Re: Question about sm_gravity
Quote:
Please advise. |
All times are GMT -4. The time now is 06:21. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.