[t1] HaPpY jump

Pages : [1] 2 3

[meph]DooM!
03-04-2004, 03:04 AM
this patch turns the "IDACTION_TURNLEFT" (or "Turn Left" key in the Options Screen) into a "perfect" ski script. you may bind your spacebar to "Turn Left" and use it instead of a ski script.

note: this will make your observer mode "jump" button function pretty retarded like since i made this to be a simple patch.

MORE INFO IN README

HaPpY jump (http://www.team5150.com/~andrew/project.tribes/t1_happyjump_patch/)




p.s. burnyabad and felonius can suck it

random
03-04-2004, 03:12 AM
SOMEONE ran out of ideas for tribes cheats

Evita
03-04-2004, 03:26 AM
cool

now we need to patch in a few more 'scripts', and me an random both can have our scriptless config :D

vortex
03-04-2004, 03:58 AM
So if I bind my in-game jump key to turn left it'll actually be that?

cruncha-
03-04-2004, 04:05 AM
i dont get it.

JaPaNDa
03-04-2004, 04:10 AM
i dont get it.

Siward
03-04-2004, 04:29 AM
From the readme on the download:

"happyjump fixes this by NOT clearing the jump state with each client
update and instead keeping it ON until you release your jump key.
the block of code for IDACTION_MOVEUP (jump) wasnt exactly large enough
to re-code crap in, so i used IDACTION_TURNLEFT instead (which is why
you have to bind your jump key to 'Turn Left'."

DooM!']p.s. burnyabad and felonius can suck it

Was there ever any doubt they were idiots? ;)

Shinigami
03-04-2004, 05:24 AM
so i can cap like daunt now right

P.S. This rocks, but especialy because I'm only using the EndFrame function for one script now.

addps4cat
03-04-2004, 08:38 AM
this will make me the black jesus of tribez

Rosco-SS
03-04-2004, 09:09 AM
burnyabad called me a cheater once, twice, three times.

BitchFace
03-04-2004, 09:25 AM
Danny and Jason, I'm STUCK in school right now.

Help me connect to IRC so I can talk to you guys, I'm trying to get on Java IRC applets, but it refuses my connection :(

How can I fix that? Man, this shit is ishtar.

madbomber
03-04-2004, 09:43 AM
So would there be any difference or improvement in skiing with this? Or is it just so you can run one less script?

Shinigami
03-04-2004, 10:12 AM
Danny and Jason, I'm STUCK in school right now.

Help me connect to IRC so I can talk to you guys, I'm trying to get on Java IRC applets, but it refuses my connection :(

How can I fix that? Man, this shit is ishtar.

You're prolly behind a firewall.

rofl, served!

Shinigami
03-04-2004, 10:20 AM
So would there be any difference or improvement in skiing with this? Or is it just so you can run one less script?

It's more like being on or off rather than a frequency. With a normal ski script, the higher you raised the frequency, the more it bogged down the system.

UniX
03-04-2004, 05:44 PM
Why cant you have it set to the Jump key setting? lol

Macbeth
03-04-2004, 06:52 PM
rtfm

fohs
03-04-2004, 11:35 PM
if i ctrl+k and im still holding the space bar, when i respawn i cant get the jumping to stop

Slitz
03-05-2004, 03:09 AM
Oh this is great!!!

One thing though.. Seems that "postAction(2048, IDACTION_MOVEUP, 1);" turns the jumping on, and only running postAction(2048, IDACTION_TURNLEFT, 1); and then postAction(2048, IDACTION_TURNLEFT, 0); stops it... So when you press the jump-jet key it'll keep jumping until you press the jump key... Anyway to fix that other than doing the IDACTION_TURNLEFT twice in the jumpjet function? %)

Shinigami
03-05-2004, 03:13 AM
Oh this is great!!!

One thing though.. Seems that "postAction(2048, IDACTION_MOVEUP, 1);" turns the jumping on, and only running postAction(2048, IDACTION_TURNLEFT, 1); and then postAction(2048, IDACTION_TURNLEFT, 0); stops it... So when you press the jump-jet key it'll keep jumping until you press the jump key... Anyway to fix that other than doing the IDACTION_TURNLEFT twice in the jumpjet function? %)

Here's what I did.



function Jump::Start()
{
if($Viking::isPilot)
{
Pilot::Toggle();
}
postAction(2048, IDACTION_TURNLEFT, 1);
$jj = "1";
}

function Jump::Stop()
{
postAction(2048, IDACTION_TURNLEFT, 0);
$jj = "";
}

function Jet::Start()
{
if(getMountedItem(0) != -1 && $Jet::Jump)
{
postAction(2048, IDACTION_TURNLEFT, 1);
postAction(2048, IDACTION_JET, 1);
}
else
{
postAction(2048, IDACTION_JET, 1);
}
}

function Jet::Stop()
{
if($jj != "1")
{
postAction(2048, IDACTION_TURNLEFT, 0);
}
postAction(2048, IDACTION_JET, 0);
}


The $jj var is so that if you break jetting and are still holding down the ski button, it doesn't stop skiing.

Slitz
03-05-2004, 03:28 AM
Here's what I did.

Yea, that's a good workaround. :) I was thinking the patch could be changed to not affect the regular IDACTION_MOVEUP though. If possible, that'd be best.