[Snippet]Controlable speed and gravity

Posts 1–9 of 9 · Page 1 of 1
[Snippet]Controlable speed and gravity
Hey guys. As you know I resently released a hack that ended up not working for most people (dont know why, it worked perfectly for me)

But anyway, in that hack you were able to control your gravity and speed (increasing or decreasing by 100). Here are the snippets. Hope it helps

Speed hack
Code:
int speeda;
char speedpush[255];

//insert your hotkeys here
//on hotkey press it adds 100
speeda = speeda +100;
//makes the whole thing into a string and stores it into speedpush so you can push it to console
//the first variable is what you want to store the string into
//the second is the string
//the third is the variable you want to place into the string
sprintf(speedpush,"BaseMoveAccel %d",speeda);
//now we push it to console
PushToConsole(speedpush);
//reuse the same variables to save memory
//and we repeat it for everything we want to change
sprintf(speedpush,"StartAccel %d",speeda);
PushToConsole(speedpush);
sprintf(speedpush,"MaxAccel %d",speeda);
PushToConsole(speedpush);
sprintf(speedpush,"AccelInc %d",speeda);
PushToConsole(speedpush);
sprintf(speedpush,"WalkVel %d",speeda);
PushToConsole(speedpush);
sprintf(speedpush,"FRunVel %d",speeda);
PushToConsole(speedpush);
sprintf(speedpush,"BRunVel %d",speeda);
PushToConsole(speedpush);
sprintf(speedpush,"SRunVel %d",speeda);
PushToConsole(speedpush);
//got to lazy to change this line so i left it...
PushToConsole("DuckVel 50.000000");
Gravity hack(didnt comment this one because the comments are above):
Code:
int gravity = -800;
char gravityPush[255];

if(GetAsyncKeyState(VK_RIGHT)&0x8000){
gravity = gravity + 100;
sprintf(gravityPush,"PlayerGravity %d", gravity);
PushToConsole(gravityPush);
}
if(GetAsyncKeyState(VK_LEFT)&0x8000){
gravity = gravity - 100;
sprintf(gravityPush,"PlayerGravity %d", gravity);
PushToConsole(gravityPush);
}
Hope this helped you guys
ok thanks cant i put this in gellins base
Yup. Its meant for Gellins base.
Just make sure that if you release it to give creds
i used that method for vjump so you could control how high ur camera went
no problem man
Does gellins base still work for NA?
Quote Originally Posted by Zoom View Post
Does gellins base still work for NA?
Yes just update the "L T C lient" (remove space) addy

and the device pointer (or use a hook that auto find it like i do)
Quote Originally Posted by powerfear View Post
Yes just update the "L T C lient" (remove space) addy

and the device pointer (or use a hook that auto find it like i do)
>.> auto find hooking? MY NAME
Easy to do. I'd like to have you do it for Y and X axis (A glitcher)


^^ The base still works just has to be updated.
Posts 1–9 of 9 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us