Author Topic: Gnome glider interface  (Read 125 times)

Offline Chandlermaki

  • Rune Member
  • *
  • Posts: 129
  • Rep 6
  • You's trollin'.
  • Location: USA
    • View Profile
Gnome glider interface
« on: April 01, 2011, 04:57:34 pm »
Alright, today I'm going to release a snippet showing you how to get the Gnome glider interface working. This is very simple, and should work on all 317 sources with little modification. If you need help, PM me.

Firstly, here's what you need to bring up the interface. I have it brought up by dialogue, but you can bring it up with a button, or whatever else you want. PM me if you need help with this.
Code: [Select]
c.sendFrame248(802,5063); //Gnome glider interface

Second, you'll want to add these into your action button class, whatever that may be (for me it's simply "Button", it will be different for your source). Change the xxxx values to the coordinates that you want.
Code: [Select]
case 3056:
                        c.teleportToX = xxxx;
c.teleportToY = xxxx;
c.Send("You travel on the gnome's glider to your destination");
c.closeInterface();
break;

case 3057:
c.teleportToX = xxxx;
c.teleportToY = xxxx;
c.Send("You travel on the gnome's glider to your destination.");
c.closeInterface();
break;

case 3058:
c.teleportToX = xxxx;
c.teleportToY = xxxx;
c.Send("You travel on the gnome's glider to your destination");
c.closeInterface();
break;

case 3059:
c.teleportToX = xxxx;
c.teleportToY = xxxx;
c.Send("You travel on the gnome's glider to your destination.");
c.closeInterface();
break;

case 3060:
c.teleportToX = xxxx;
c.teleportToY = xxxx;
c.Send("You travel on the gnome's glider to your destination.");
c.closeInterface();
break;

Then in your text handler:
Code: [Select]
c.sendString("Destination", 809);
c.sendString("Destination", 810);
c.sendString("Destination", 811);
c.sendString("Destination", 812);
c.sendString("Destination", 813);
        c.sendString("Destination", 12338);
        c.sendString("Destination", 12339);
The last two strings are for the bottom left destination, since it has two words.

Some things you might want to know:

c.Send is probably going to be c.sendMessage or c.sM in your source.
c.sendString is most likely going to be c.sendFrame126 in your source.

Figure out what your teleportToX and teleportToY is yourself. I don't know what source you're using. :P

If you need any help with this, feel free to PM me.
Insert clever signature here.

Share on Bluesky Share on Facebook


Offline AdotSells

  • Firecape Member
  • *
  • Posts: 300
  • Rep 4
    • View Profile
Re: Gnome glider interface
« Reply #1 on: April 01, 2011, 05:46:38 pm »
Can i have a Picture please?  Screenie it and send it over msn.  Then ill convert to devolution and release if you like?

Offline Amoridan

  • Mithril Member
  • *
  • Posts: 66
  • Rep 0
  • <<>><<>> I see you
  • Location: Seattle, WA // Tokyo, Japan
    • View Profile
Re: Gnome glider interface
« Reply #2 on: April 01, 2011, 06:14:39 pm »
hmm i tried it in my 317 but for some reason its not working.... il look it over a little more.. maybe i  made a mistake
Owner and Coder of Project Life,
Amoridan

To apply for Project Life,
http://www.projectlifersps.smfnew.com/
we are a team who release clients and servers to those people who dont know how to do it themselves. And we are non prophit team of programmers, GFX designers, and 3D artists.
To check out are 562 project which we be putting online soon and also we will be releasing after we feel that we dont want it anymore is at: http://www.projectlife562.smfnew.com/