|
|
Evita 03-10-2004, 01:55 AM just jumped on irc, didnt see ya. ive been working on this tw pack for the past few hours.
ive added a jumpjet script to the pack, for those that use it. i also have the .exe patched with happyski.
jumpjet code:
function JumpJet(%val)
{
if(%val)
{
if(getMountedItem(0) == -1)
postAction(2048, IDACTION_JET, 1);
else
{
postAction(2048, IDACTION_MOVEUP, 1);
postAction(2048, IDACTION_JET, 1);
}
}
else
postAction(2048, IDACTION_JET, 0);
}
Problem: when the above function gets the alt command (JumpJet(0)), the player stops jetting, but keeps jumping. The player will stop jumping if you tap the happyski jump key.
I am pretty tired right now, so Im hoping its something stupid ive done, and not a conflict with happyski.
lemme know. worst case: ill just take the script out of the pack.
vivrant 03-10-2004, 02:07 AM 2 things
is there a way to make your text box from that hud you made a long time ago 5 lines instead of 3
and wtf does happyski do
Evita 03-10-2004, 02:10 AM 2 things
is there a way to make your text box from that hud you made a long time ago 5 lines instead of 3
and wtf does happyski do
mang, i dont remember what i did a week ago, much less 'a long time ago', heh.
happyski (happy jump) is on the first page in scripting forums, check it out. :D
vivrant 03-10-2004, 02:17 AM lemme post a pic of it, it was like a year ago so i dont really expect you to remember i guess
vivrant 03-10-2004, 02:20 AM http://68.6.75.201:8081/~photos/albums/album07/aaf.jpg
Slitz 03-10-2004, 02:26 AM If I understand what you're after:
function JumpJet(%val)
{
if(%val)
{
if(getMountedItem(0) == -1)
postAction(2048, IDACTION_JET, 1);
else
{
postAction(2048, IDACTION_TURNLEFT, 1);
postAction(2048, IDACTION_JET, 1);
}
}
else
{
postAction(2048, IDACTION_TURNLEFT, 0);
postAction(2048, IDACTION_JET, 0);
}
}
Read through the whole happyjump thread. The problem is discussed there.
Evita 03-10-2004, 02:33 AM I am pretty tired right now, so Im hoping its something stupid ive done, and not a conflict with happyski.
duh, i knew it was something stupid on my part. thx slitz.
@vivrant: in 1.7, i have a functionEP that i used in some of the scripts to create trans huds. you could look at that.
im too busy with the tw pack atm.
Evita 03-10-2004, 03:06 AM well, it *almost* worked.
andrew, if you read this, is there anything *easy* that could be done with the patch to fix the jumpjet problem?
regular jumpjet:
function JumpJet(%val)
{
if(%val)
{
if(getMountedItem(0) == -1)
postAction(2048, IDACTION_JET, 1);
else
{
postAction(2048, IDACTION_MOVEUP, 1);
postAction(2048, IDACTION_JET, 1);
}
}
else
postAction(2048, IDACTION_JET, 0);
}
new jumpjet:
function JumpJet(%val)
{
if(%val)
{
if(getMountedItem(0) == -1)
postAction(2048, IDACTION_JET, 1);
else
{
postAction(2048, IDACTION_TURNLEFT, 1);
postAction(2048, IDACTION_JET, 1);
}
}
else
{
postAction(2048, IDACTION_TURNLEFT, 0);
postAction(2048, IDACTION_JET, 0);
}
}
Having to cancel the IDACTION_TURNLEFT in the new function = crap for skiing.
Slitz 03-10-2004, 03:12 AM You still need to read the happyjump thread! ;)
Bottom of first page: http://www.tribalwar.com/forums/showthread.php?t=279027
Evita 03-10-2004, 03:42 AM how did i overlook that? i just read all 3 pages, lol. im going to bed, zzzzz.
eskimofo 03-10-2004, 05:23 AM http://68.6.75.201:8081/~photos/albums/album07/aaf.jpg
^ love that trial... is that the one from one of the hudbot releases? if not, i want :o!
What disc explosion is that ?
|
|