[Help]Hover Source code

Posts 1–14 of 14 · Page 1 of 1
[Help]Hover Source code
Title explains. Does anyone have the source code for Hover?
i dont know the source..

but dont you just freeze the Z axis?

and hover is in your menu in your sig.. wdf? its in your menu but you dont have the source?
I think its PlayerGravity 0
That way you dont go up or down, just float
Quote Originally Posted by AVGN View Post
i dont know the source..

but dont you just freeze the Z axis?

and hover is in your menu in your sig.. wdf? its in your menu but you dont have the source?
In CA, Y is vertical.

There are a few ways of doing this though, one is to set gravity to 0 and the other is to freeze the Y, although you will still fall since the server sets you back. You will fall and dieeeeee

So basically set your Gravity to 0
[php]PushToConsole("PlayerGravity 0");
PushToConsole("PlayerVelocity 0");[/php]

Recived from PTC thread
Quote Originally Posted by markoj View Post
I think its PlayerGravity 0
That way you dont go up or down, just float
You forgot velocity, and if you try that, if you go up a slope, you will just keep going up.

It's more like if you say have a float that you use to store your position. if your y is ever less than(higher than) the float, then you would set the float to your new y, otherwise set your y to the float.

As for the PTC for player velocity I wouldn't know how that works exactly, but I assume you would not want to push it constantly.

Quote Originally Posted by AVGN View Post
i dont know the source..

but dont you just freeze the Z axis?

and hover is in your menu in your sig.. wdf? its in your menu but you dont have the source?
Yea you can freeze the y value in the local player struct.
Quote Originally Posted by IcySeal View Post

Yea you can freeze the y value in the local player struct.
.. I have to have a look
Quote Originally Posted by ac1d_buRn View Post


.. I have to have a look
No you should be able to do this on your own acid. Stop being a baby.
Quote Originally Posted by IcySeal View Post


No you should be able to do this on your own acid. Stop being a baby.
Never asked for help D:
All i said was i have to have a look at that.
Flame Moar
Dude its not working that why i took this a while ago and it fails.

What is the original values to it. Also would this work?
if( Hover > 0 ){
this->PushToConsole("PlayerGravity 0");
this->PushToConsole("PlayerVelocity 0");
Sleep(100);
}
heres what i use man.
Code:
            PushToConsole( "PlayerGravity -800" );
        break;
    case 1:
        PushToConsole("Gravity 0");
        PushToConsole("PlayerGravity 0");
        PushToConsole("GravityOverrride 0");
        PushToConsole("FallVelocity 0");
My fly hack in my menu isnt working very well....,
It is like a weird gravity...
Don't be mean to my Acidburn
PlayerGravity 0 is Hover
PlayerGravity -1099 is the default( with -800 you have a little "Superjump")
Posts 1–14 of 14 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us