Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   menus (https://forums.graalonline.com/forums/showthread.php?t=25064)

happyme 03-04-2002 08:42 PM

menus
 
you know those menus like erm... like in frolic with the blue background n such... is the blue a img or a bg?? if its a bg how do you set the bg?

Goboom 03-04-2002 08:57 PM

its a freeking img stupid!:grrr:

screen_name 03-04-2002 09:26 PM

yes, it is a image

:P

lol

happyme 03-05-2002 03:43 AM

lol
 
lolz how would i do this???

Python523 03-05-2002 03:50 AM

Re: lol
 
Quote:

Originally posted by happyme
lolz how would i do this???
showimg...

Goboom 03-05-2002 03:53 AM

Quote:

Originally posted by happyme
lolz how would i do this???
learn to script!

happyme 03-05-2002 04:06 AM

hehe
 
oki thanks u nice person, i luv u too

Goboom 03-05-2002 04:16 AM

i love being loved

neomaximus2k 03-05-2002 05:30 AM

Re: hehe
 
Quote:

Originally posted by happyme
oki thanks u nice person, i luv u too
*feels unloved*
you use the showimg like tihs

showimg <ID>,<image name>,x,y

an example is this

showimg 1,test.png,screenwidth/2,screenheight/2;
that will put the point of 0,0 of the image to the exact centre spot on the screen, to have the image exactly centre then divide the haight and width of the image by 2.

Lets say the image wass 100 wide and 100 pixels heigh.
then it would be

showimg 2,test.png,(screenheight/2)-50,(screenw2idth/2)-50;

that will put the image exactly in the centre, if you want it else where then just change the X and Y values

:D

Aknts 03-05-2002 05:41 AM

Quote:

Originally posted by Goboom
its a freeking img stupid!
Quote:

Originally posted by Goboom
learn to script!
Quote:

Originally posted by Goboom
i love being loved

Shut up. Your stupid and rude. If I had it my way you would have a very painfull death. Like being tied down so tight that you can't move anything not even your head, and have water constantly(sp?) drip on your head till it eats away at your skin and through your skull.


Oh yes =) Try and be nicer buddy.

Python523 03-05-2002 07:59 AM

Quote:

Originally posted by Aknts







Shut up. Your stupid and rude. If I had it my way you would have a very painfull death. Like being tied down so tight that you can't move anything not even your head, and have water constantly(sp?) drip on your head till it eats away at your skin and through your skull.


Oh yes =) Try and be nicer buddy.

Isn't that the chinese water tourture?(sp?)

Aknts 03-05-2002 08:09 AM

Quote:

Originally posted by Python523

Isn't that the chinese water tourture?(sp?)

yes

darkriders_p2p 03-05-2002 09:51 AM

I thought the chineese water tourture was when they took someone dying of dehydration, and dripped water on him and he goes crazy.

screen_name 03-05-2002 10:00 AM

Quote:

Originally posted by darkriders_p2p
I thought the chineese water tourture was when they took someone dying of dehydration, and dripped water on him and he goes crazy.

doesnt have to be in dehydration, just a slow drip of water, drills hole through the head

nyghtGT 03-05-2002 11:51 AM

Lol. I have never heard of that before. Does that really work?

neomaximus2k 03-05-2002 02:44 PM

Quote:

Originally posted by nyghtGT
Lol. I have never heard of that before. Does that really work?
Lol why dont we try it out..
*grabs you ties you down in chair with water dripping on your head*
hmm now we wait......

Saga2001 03-05-2002 11:17 PM

Not only do you have to showimg, but you have to change the drawing height...
0 - level layer;
1 - player layer;
2 - right above player layer (below images&npcs);
3 - right above players and npcs;
4 - above all;
<4 - same as last;
For example to have a menu:
NPC Code:

if (created) timeout=.1;
if (playerenters) showstats 1024;
if (timeout) {
// and index above 400 is clientside, I believe
showimg 400,bgimg.gif,0,0;
changeimgvis 400,4;
showimg 401,@Menu Item 1,5,5;
changeimgvis 401,5;
showimg 402,@Menu Item 2,5,20;
changeimgvis 402,5;
}


;)

Quote:

Originally posted by Kaimetsu
It doesn't actually make a hole in their head. It just drives them insane with the repetitive tapping.
Yup, it has different effects on different people, but for the most part, it ust gets louder and louder till they can't stand it and go nuts...see thatss what i am going to do to my kids when I get older...

PastAustin: Bill, what are you doing?
Bill: Nothing dad, just working on my computer...*suspiciously*
PastAustin: Sure you are, *presses alt+tab* *sees www.whitehouse.com*
PastAustin: I like porn too, but you are too young, because if your young you don't have a brain, don't you know that, of corse you don't now go to the garage.
Bill: Do I have to?
PastAustin: Yes Bill...
(In the garage)
PastAustin: Now this means Chinese Water Torture Bill...Sorry *straps bill down and turns on the hose from the top of the garage and drips it on his forehead* *laughs histarically (sp?)*

SSRobgeta 03-07-2002 06:25 PM

It is f*cked up on how people just have to insult noobies because they ask for help. YOU WERE ONCE A NOOBIE!

Goboom 03-07-2002 09:29 PM

Quote:

Originally posted by SSRobgeta
It is f*cked up on how people just have to insult noobies because they ask for help. YOU WERE ONCE A NOOBIE!
YES i was a noob once but how do all the olbies feel that had to teach themselves how to script instead of comming to a forum asking fora script and then going allong with their happy a*$ lives until they run into another simple npc question that is easaly explained by either reading newfeatures2001.txt or the commands list....come on...

btedji 03-07-2002 09:34 PM

but bg image at layer 4 or somethin

and put images above at layers 5 and 6 or whatever >4

Goboom 03-07-2002 09:44 PM

DANG U BRYAN! you beatme to it...but ya
changeimgvis <index>,4;
changeimgvis <index>,5;-Cancels out 4
changeimgvis <index>,6;-Cancels out 5
changeimgvis <index>,7;-Cancels out 6
changeimgvis <index>,8;-Cancels out 7
ECT........

SSRobgeta 03-08-2002 06:30 AM

Quote:

Originally posted by Goboom

YES i was a noob once but how do all the olbies feel that had to teach themselves how to script instead of comming to a forum asking fora script and then going allong with their happy a*$ lives until they run into another simple npc question that is easaly explained by either reading newfeatures2001.txt or the commands list....come on...

Yes but you don't have to INSULT them.

Goboom 03-08-2002 10:01 AM

Then where else would i get my sick un explainable joy?

neomaximus2k 03-08-2002 02:50 PM

Quote:

Originally posted by Goboom
Then where else would i get my sick un explainable joy?
from your torture treament's and shock theropy

SSRobgeta 03-08-2002 08:11 PM

Quote:

Originally posted by neomaximus2k


from your torture treament's and shock theropy

exactly :D

Saga2001 03-09-2002 12:05 AM

:( no one liked my convo with my kid...
I thought it was funny, but you all didn't, oh well. Yeah your text should be 5 or more drawingheight and your bg should be 4, its a fact of life, deal with it. Drawing height is a fact of life!!! OMG! wouldn't it suck if in real life you wanted to do something, you had to script it in gscript? I think everyone would be a lot better at scripting, like setani walk,; just to look like your walking and x++; x--; y++; y--; woah, leet.

neomaximus2k 03-09-2002 07:43 PM

Quote:

Originally posted by Saga2001
:( no one liked my convo with my kid...
I thought it was funny, but you all didn't, oh well. Yeah your text should be 5 or more drawingheight and your bg should be 4, its a fact of life, deal with it. Drawing height is a fact of life!!! OMG! wouldn't it suck if in real life you wanted to do something, you had to script it in gscript? I think everyone would be a lot better at scripting, like setani walk,; just to look like your walking and x++; x--; y++; y--; woah, leet.

....................
you need to get out more m8

Sennema 03-10-2002 04:33 AM

Quote:

Originally posted by Saga2001
:( no one liked my convo with my kid...
I thought it was funny, but you all didn't, oh well. Yeah your text should be 5 or more drawingheight and your bg should be 4, its a fact of life, deal with it. Drawing height is a fact of life!!! OMG! wouldn't it suck if in real life you wanted to do something, you had to script it in gscript? I think everyone would be a lot better at scripting, like setani walk,; just to look like your walking and x++; x--; y++; y--; woah, leet.

take a nice, long, vacation. For your own good

neomaximus2k 03-10-2002 05:54 PM

[QUOTE]Originally posted by Sennema

"In order to preserve ourselves we seek out and eliminate anything that may do use harm. In doing so, we destroy things that, though possibly hazzardous, may be important to survival. So you see, in trying to save ourselves, we ultimately bring about our own destruction"
[QUOTE]

So damn true! i was hell bent on destroying air, and i did! now look at me *cough cough* i can no longer see, everything is going dark!!!

anyway *pops back to life again* straw roof, it is done just need ya email addy to send it over

amonrabr 03-10-2002 10:50 PM

Re: menus
 
Quote:

Originally posted by happyme
you know those menus like erm... like in frolic with the blue background n such... is the blue a img or a bg?? if its a bg how do you set the bg?
the index of some image is the layer..

showimg 1,door.gif,x,y;
showimg 2,head25.gif,x,y;


All times are GMT +2. The time now is 09:34 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.