Jump to content

Photo

A script request thread


  • Please log in to reply
51 replies to this topic

#31 EnnonFenom

EnnonFenom

    Why, must I clean out Old Lady Simmon's Cave?

  • Banned
  • Real Name:Eric Dethel

Posted 28 February 2008 - 02:20 AM

Um Joe123 I just found something that might be a bug with this script. When I am on a normal screen trying to swim normally link with stand every other frame, and some times just walk around instead of swimming. I will upload a video tomorrow, so you can see.

#32 Joe123

Joe123

    Retired

  • Members

Posted 28 February 2008 - 12:04 PM

That's rather unusual.

Are you putting water combos and the script together?

#33 EnnonFenom

EnnonFenom

    Why, must I clean out Old Lady Simmon's Cave?

  • Banned
  • Real Name:Eric Dethel

Posted 28 February 2008 - 01:41 PM

No its just a screen with normal water combos with out the script applied to the screen.

#34 Joe123

Joe123

    Retired

  • Members

Posted 28 February 2008 - 02:08 PM

Well if the script isn't applied to the screen, then it's unrelated and probably a system bug.

#35 EnnonFenom

EnnonFenom

    Why, must I clean out Old Lady Simmon's Cave?

  • Banned
  • Real Name:Eric Dethel

Posted 28 February 2008 - 02:11 PM

Are you sure because it did not do this until the script was put in.

Edit: for some reason or other, every other tile was made walkable And I did not to do that. But with animating tiles I have been have problems with them changing on me. So I guess its a bug and I will report it back at agn then. Sorry


Edited by ennonfenom, 28 February 2008 - 02:18 PM.


#36 Joe123

Joe123

    Retired

  • Members

Posted 28 February 2008 - 02:16 PM

Interesting.

Well I don't really see how it can have anything to do with the script if it's not even applied to the screen...

Are you sure it isn't?

#37 EnnonFenom

EnnonFenom

    Why, must I clean out Old Lady Simmon's Cave?

  • Banned
  • Real Name:Eric Dethel

Posted 28 February 2008 - 02:19 PM

Yeah, I just edited my post above you saying so... icon_sweat.gif

#38 Joe123

Joe123

    Retired

  • Members

Posted 28 February 2008 - 05:07 PM

Oh sorry, I must've just missed it, it was after I posted.

#39 EnnonFenom

EnnonFenom

    Why, must I clean out Old Lady Simmon's Cave?

  • Banned
  • Real Name:Eric Dethel

Posted 28 February 2008 - 05:13 PM

Its alright, it was my bad, for not looking in zquest, before posting.

#40 Joe123

Joe123

    Retired

  • Members

Posted 28 February 2008 - 05:17 PM

Did you still want me to add the part that adds a 2x1 ffc on top of Link when he's swimming sideways?

#41 EnnonFenom

EnnonFenom

    Why, must I clean out Old Lady Simmon's Cave?

  • Banned
  • Real Name:Eric Dethel

Posted 28 February 2008 - 05:22 PM

Yes please, that would be great. And if you can (only if you can) before monday, because I will be with out internet for a little while. With moving and all.

#42 Joe123

Joe123

    Retired

  • Members

Posted 28 February 2008 - 05:31 PM

Right, can you post the version of the script that you're currently using here please?

I can't remember where it'd be best to look for it.

#43 EnnonFenom

EnnonFenom

    Why, must I clean out Old Lady Simmon's Cave?

  • Banned
  • Real Name:Eric Dethel

Posted 28 February 2008 - 05:45 PM

Right well here it is:

CODE

import "std.zh"

ffc script deepwater{
    void run(){
    int x; int y; int loc;
    bool bootson; int btimer;
    bool stchk; bool fhchk;
    int framedelay;
    int speed = 2;

    int flg = 98; // 35 is centre statue, change it to something else if you want.
    int boots = 55; // set here the item ID number of your boots item
    int s = 1; // set here the SFX ID that you want to play when Link equips the boots.
    int swimLTM = 123; // set here the item ID number of the LTM item that makes link look like he's swimming
        while(true){
            x = Link->X+8; y = Link->Y+8;
            loc = ComboAt(x,y);
            if(Link->InputL && Link->Item[boots] && btimer == 0){
                if(s != 0)Game->PlaySound(s);
                bootson = !bootson;
                btimer = 20;
            }

            if(Screen->ComboF[loc] == flg || Screen->ComboI[loc] == flg){
                if(fhchk) fhchk = false;
                if(!stchk){
                    Game->PlaySound(55);
                    stchk = true;
                }
                if(!bootson){
                    Link->InputA = false;
                    Link->InputB = false;
                    if(!Link->Item[swimLTM]) Link->Item[swimLTM] = true;
                }else{
                    if(Link->Item[swimLTM]) Link->Item[swimLTM] = false;
                }


                if(!bootson){speed = 2; Trace(speed);}
                else{speed = 1; Trace(speed);}

                if(Link->Action != LA_FROZEN && Link->Action != LA_ATTACKING){
                    if(Link->InputLeft && Link->Dir == 2){
                        if(framedelay == speed){Link->X = Link->X+1; framedelay = 0;}
                        else framedelay++;
                    }
                    if(Link->InputRight && Link->Dir == 3){
                        if(framedelay == speed){Link->X = Link->X-1; framedelay = 0;}
                        else framedelay++;
                    }
                    if(Link->InputUp && Link->Dir == 0){
                        if(framedelay == speed){Link->Y = Link->Y+1; framedelay = 0;}
                        else framedelay++;
                    }
                    if(Link->InputDown && Link->Dir == 1){
                        if(framedelay == speed){Link->Y = Link->Y-1; framedelay = 0;}
                        else framedelay++;
                    }
                }
            }else{
                if(Link->Item[swimLTM]) Link->Item[swimLTM] = false;
                if(stchk) stchk = false;
                if(!fhchk){
                    Game->PlaySound(55);
                    fhchk = true;
                }
            }

        if(btimer > 0) btimer --;
        Waitframe();
        }
    }
}


#44 EnnonFenom

EnnonFenom

    Why, must I clean out Old Lady Simmon's Cave?

  • Banned
  • Real Name:Eric Dethel

Posted 01 March 2008 - 10:36 PM

So uhh, not to see like I am being inpatient, but in a day or two I will be with out the net so I was wondering how its coming?

#45 Joe123

Joe123

    Retired

  • Members

Posted 02 March 2008 - 05:31 AM

Eh, I haven't worked on it.
When are you going?

I might be able to do it tomorow evening, but I am very busy today I'm afraid.


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users