|
|
EliteTrackStar 02-20-2007, 03:57 PM I searched for it got two threads:
http://www.tribalwar.com/forums/showthread.php?t=279027 - HJ Thread
http://www.tribalwar.com/forums/showthread.php?t=280250 - JJ 4 HJ Thread
I tried putting the workaround (in HJ thread) in my autoexe.cs but nothing happened. Can someone point me in the right directions...
random 02-20-2007, 04:17 PM It's been 8 years. Do the first training mission. You won't regret it.
EliteTrackStar 02-20-2007, 04:41 PM ...
GreyHound 02-20-2007, 05:58 PM function Jump::Start()
{
postAction(2048, IDACTION_TURNLEFT, 1);
$Jumping = 1;
}
function Jump::Stop()
{
postAction(2048, IDACTION_TURNLEFT, 0);
$Jumping = 0;
}
function Jet::Start()
{
//if thereīs no weapon mounted (piloting) or we donīt want jump and yet
if($inVehicle || !$pref::jumpAndJet)
{
postAction(2048, IDACTION_JET, 1);
}
else
{
postAction(2048, IDACTION_MOVEUP, 1);
if(!$Jumping)
schedule("Jet::Ensure();", 0.04);
postAction(2048, IDACTION_JET, 1);
}
}
function Jet::Ensure()
{
//the scheduled disabling of the jumping is risky, 2 checks minimize that.
if(!$Jumping)
postAction(2048, IDACTION_turnleft, 0);
}
function Jet::Stop()
{
postAction(2048, IDACTION_JET, 0);
}
EliteTrackStar 02-20-2007, 10:40 PM Thx for the help, but it's still not working for me. At first I thought something from my autoexe was interfering, but i ran tribes with just the code in autoexe and still didn't work. My autoexe has a stripped down version of 10k config for LT maps which is displayed below. Any farther help would be appreciated.
GreyHound 02-21-2007, 03:38 AM $pref::happyjump = true;
$pref::jumpAndJet = true;
$inVehicle = false;
editActionMap("playMap.sae");
bindCommand(mouse0, make, button1, TO, "Jet::Start();");
bindCommand(mouse0, break, button1, TO, "Jet::Stop();");
thatīs basicly how i use it together with hudbot 0.5 on kos.
EliteTrackStar 02-21-2007, 10:27 AM you sir, are my hero! <3!
Arsic 02-23-2007, 08:16 PM Hmm, there seems to be a problem here. Whenever I hold down jump, then jet, the jump state is canceled. Tried it using a scripted and regular happy jump with the same results. Then again, it could be another script conflicting in my config.
Lemon 02-24-2007, 12:56 AM you have to set a jumping variable for your ski bind so your jump jet doesn't cancel it...
Arsic 02-24-2007, 01:06 AM HappyJump is only bind to IDACTION_turnleft. What other variables am I missing?
Lemon 02-24-2007, 01:37 AM here is what I do (did since I got rid of jump jet)
bindCommand(keyboard0, make, "space",TO,"$jumping=1;postAction(204 8, IDACTION_TURNLEFT, 1);");
bindCommand(keyboard0, break,"space",TO, "$jumping=0;postAction(204 8, IDACTION_TURNLEFT, 0); ");
bindCommand(mouse0, make,button1,TO,"jumpjeton();");
bindCommand(mouse0, break,button1,TO,"jumpjetoff();");
function jumpjeton() {
postAction(2048,IDACTION_ TURNLEFT, 1);
postAction(2048,IDACTION_ JET, 1);
}
function jumpjetoff() {
if(!$jumping)
postAction(2048,IDACTION_ TURNLEFT,0);
postAction(2048,IDACTION_ JET, 0);
}
|
|