Author Topic: Player Launching  (Read 1699 times)

Thanks for the warp code guys, ive been using it alot. Really helpful to get around fast
SO i was thinking, instead of warping around, can there be a way to use velocity to throw the player to the current position he is looking at with motion using a key bind, i am thinking more of a personal mod using this code:

if(!$ClientWarp::Binds) {
   $remapDivision[$remapCount]="Warp Cmd";
   $remapName[$remapCount]="Activate";
   $remapCmd[$remapCount]="Warp";
   $remapCount++;
   $ClientWarp::Binds=1;
}
function Warp()
{
      commandtoserver('warp');
}
« Last Edit: July 22, 2010, 08:51:11 PM by Cca »

Thanks for the warp code guys, ive been using it alot.
Have you payed attention to the fact that it already exists as a default keybind?


I was looking at the click push script, maybe theres a way to bind click push to a key, and to the client

why would you bind clickpush to a key when it is activated by clicking another person

what

why would you bind clickpush to a key when it is activated by clicking another person
Have you payed attention to the fact that it already exists as a default keybind?

either this guy is handicapped or he is coming up with some diabolical scheme to make a (most likely very terrible) clientside mod.

He basically wants it so when he presses a certain key, it will activate a code similar to clickpush, and launch him through the map like a catapult.

He basically wants it so when he presses a certain key, it will activate a code similar to clickpush, and launch him through the map like a catapult.
But does he want to make it so you go to the exact place you were looking at, like if you actually typed /warp, but with velocity?

But does he want to make it so you go to the exact place you were looking at, like if you actually typed /warp, but with velocity?
Cca says "Yes". :o

You'd have to  determine the relative height and distance and then use some clever math to come up with velocities.

But I can't help you with that.

Tom

Look at the hookshot, it does that.

Hookshot does do that, but i want to throw my guy in the direction i am looking at with a key bind
He basically wants it so when he presses a certain key, it will activate a code similar to clickpush, and launch him through the map like a catapult.
Yes
But does he want to make it so you go to the exact place you were looking at, like if you actually typed /warp, but with velocity?
yes x2

I only just learned how to make slash commands, and how to edit functions in a script, so i need help with this
« Last Edit: July 20, 2010, 09:42:10 AM by Cca »

You'd have to  determine the relative height and distance and then use some clever math to come up with velocities.

But I can't help you with that.
i dont want it to put me in that exact spot, i just want to be shot in that direction

If you did use velocity you could have the problem of getting killed from the landing, but I am new to scripting as well, I know just about the same as you. But unless you turned off falling damage, then that could be a problem.

i dont mind the falling damage, id just like the script