[script] ski/jumpjet for 1.40

·liquid·

Veteran XX
HI

just reinstalled this game after a five year hiatus. SOOO frikin rusty lol. while trying to get my old 1.11/1.30 config up and running in 1.40 the first thing I started with was the ski/jumpjet because I can't play without it. I have no idea if someone else posted code with similar functionality because I haven't read this forum in ages.... but here it is anyway:

Code:
editActionMap("playMap.sae");
bindCommand(keyboard0, make, "space", TO, "ski(1);");
bindCommand(keyboard0, break, "space", TO, "ski(0);");
bindCommand(mouse0, make, button1, TO, "jumpJet(1);");
bindCommand(mouse0, break, button1, TO, "jumpJet(0);");

function ski(%v){
    $skiing = %v;
    if(%v)
        postAction(2048, IDACTION_MOVEUP, 1);
    else
        postAction(2048, IDACTION_MOVEUP, 0);
}

function jumpJet(%v) {
    if(%v) {
        postAction(2048, IDACTION_MOVEUP, 1);
        postAction(2048, IDACTION_JET, 1);
    }
    else {
        postAction(2048, IDACTION_JET, 0);
        if(!$skiing)
            postAction(2048, IDACTION_MOVEUP, 0);
    }
}

now I need someone to tell me how to create transparent and translucent png files so I can get my HUD's graphical elements working properly. HELP HELP HELP
 
Back
Top