Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 03-04-2002, 08:42 PM
happyme happyme is offline
Registered User
Join Date: Mar 2002
Location: Toronto, Ontario, Canada
Posts: 142
happyme is on a distinguished road
Send a message via AIM to happyme
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?
__________________
Reply With Quote
  #2  
Old 03-04-2002, 08:57 PM
Goboom Goboom is offline
Pixel Monkey
Goboom's Avatar
Join Date: Dec 2001
Location: Michigan
Posts: 1,702
Goboom is on a distinguished road
Send a message via ICQ to Goboom Send a message via AIM to Goboom Send a message via MSN to Goboom Send a message via Yahoo to Goboom
its a freeking img stupid!:grrr:
__________________
Reply With Quote
  #3  
Old 03-04-2002, 09:26 PM
screen_name screen_name is offline
is watching you
Join Date: Mar 2002
Location: The 3rd Dimension
Posts: 2,160
screen_name is on a distinguished road
Send a message via AIM to screen_name Send a message via MSN to screen_name
yes, it is a image

:P

lol
__________________
[signature]insert here[/signature]
Reply With Quote
  #4  
Old 03-05-2002, 03:43 AM
happyme happyme is offline
Registered User
Join Date: Mar 2002
Location: Toronto, Ontario, Canada
Posts: 142
happyme is on a distinguished road
Send a message via AIM to happyme
lol

lolz how would i do this???
__________________
Reply With Quote
  #5  
Old 03-05-2002, 03:50 AM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
Re: lol

Quote:
Originally posted by happyme
lolz how would i do this???
showimg...
Reply With Quote
  #6  
Old 03-05-2002, 03:53 AM
Goboom Goboom is offline
Pixel Monkey
Goboom's Avatar
Join Date: Dec 2001
Location: Michigan
Posts: 1,702
Goboom is on a distinguished road
Send a message via ICQ to Goboom Send a message via AIM to Goboom Send a message via MSN to Goboom Send a message via Yahoo to Goboom
Quote:
Originally posted by happyme
lolz how would i do this???
learn to script!
__________________
Reply With Quote
  #7  
Old 03-05-2002, 04:06 AM
happyme happyme is offline
Registered User
Join Date: Mar 2002
Location: Toronto, Ontario, Canada
Posts: 142
happyme is on a distinguished road
Send a message via AIM to happyme
Red face hehe

oki thanks u nice person, i luv u too
__________________
Reply With Quote
  #8  
Old 03-05-2002, 04:16 AM
Goboom Goboom is offline
Pixel Monkey
Goboom's Avatar
Join Date: Dec 2001
Location: Michigan
Posts: 1,702
Goboom is on a distinguished road
Send a message via ICQ to Goboom Send a message via AIM to Goboom Send a message via MSN to Goboom Send a message via Yahoo to Goboom
i love being loved
__________________
Reply With Quote
  #9  
Old 03-05-2002, 05:30 AM
neomaximus2k neomaximus2k is offline
Registered User
Join Date: Feb 2002
Location: UK
Posts: 324
neomaximus2k is on a distinguished road
Send a message via ICQ to neomaximus2k
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

__________________
Beware of thy Inner self
NPC Code:

_.,.__
((o\\o\))
.-. ` \\``
__( )___.o"".,___
=== ~~~~~~~~
==
= Neo

Reply With Quote
  #10  
Old 03-05-2002, 05:41 AM
Aknts Aknts is offline
Level Designer
Aknts's Avatar
Join Date: Apr 2001
Location: USofA
Posts: 3,340
Aknts will become famous soon enough
Send a message via AIM to Aknts
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.
__________________
Reply With Quote
  #11  
Old 03-05-2002, 07:59 AM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
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?)
Reply With Quote
  #12  
Old 03-05-2002, 08:09 AM
Aknts Aknts is offline
Level Designer
Aknts's Avatar
Join Date: Apr 2001
Location: USofA
Posts: 3,340
Aknts will become famous soon enough
Send a message via AIM to Aknts
Quote:
Originally posted by Python523

Isn't that the chinese water tourture?(sp?)
yes
__________________
Reply With Quote
  #13  
Old 03-05-2002, 09:51 AM
darkriders_p2p darkriders_p2p is offline
Registered User
Join Date: Jan 2002
Location: Canada
Posts: 690
darkriders_p2p is on a distinguished road
I thought the chineese water tourture was when they took someone dying of dehydration, and dripped water on him and he goes crazy.
__________________
maximus_asinus
Reply With Quote
  #14  
Old 03-05-2002, 10:00 AM
screen_name screen_name is offline
is watching you
Join Date: Mar 2002
Location: The 3rd Dimension
Posts: 2,160
screen_name is on a distinguished road
Send a message via AIM to screen_name Send a message via MSN to screen_name
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
__________________
[signature]insert here[/signature]
Reply With Quote
  #15  
Old 03-05-2002, 11:51 AM
nyghtGT nyghtGT is offline
Banned
nyghtGT's Avatar
Join Date: Jun 2001
Posts: 3,993
nyghtGT is on a distinguished road
Send a message via AIM to nyghtGT
Lol. I have never heard of that before. Does that really work?
Reply With Quote
  #16  
Old 03-05-2002, 02:44 PM
neomaximus2k neomaximus2k is offline
Registered User
Join Date: Feb 2002
Location: UK
Posts: 324
neomaximus2k is on a distinguished road
Send a message via ICQ to neomaximus2k
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......
__________________
Beware of thy Inner self
NPC Code:

_.,.__
((o\\o\))
.-. ` \\``
__( )___.o"".,___
=== ~~~~~~~~
==
= Neo

Reply With Quote
  #17  
Old 03-05-2002, 11:17 PM
Saga2001 Saga2001 is offline
Wishing he had 3 feet
Join Date: Aug 2001
Location: Basement
Posts: 1,565
Saga2001 is on a distinguished road
Send a message via ICQ to Saga2001 Send a message via AIM to Saga2001 Send a message via Yahoo to Saga2001
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?)*
__________________

!Wan ( 11:27:55 AM):
can i c ur scripts please?
Zorg (RC): If I hear NPC Server call Ne0, Past Austin or Brent sexy one more time im disconnecting it
Reply With Quote
  #18  
Old 03-07-2002, 06:25 PM
SSRobgeta SSRobgeta is offline
Ebil Cloud = l337 *kupo*
SSRobgeta's Avatar
Join Date: Aug 2001
Location: Monroeville, PA
Posts: 1,084
SSRobgeta is on a distinguished road
Send a message via AIM to SSRobgeta
It is f*cked up on how people just have to insult noobies because they ask for help. YOU WERE ONCE A NOOBIE!
__________________
Rob Getashu
Anyone can show you the way, but the real adventure is finding it yourself..
Reply With Quote
  #19  
Old 03-07-2002, 09:29 PM
Goboom Goboom is offline
Pixel Monkey
Goboom's Avatar
Join Date: Dec 2001
Location: Michigan
Posts: 1,702
Goboom is on a distinguished road
Send a message via ICQ to Goboom Send a message via AIM to Goboom Send a message via MSN to Goboom Send a message via Yahoo to Goboom
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...
__________________
Reply With Quote
  #20  
Old 03-07-2002, 09:34 PM
btedji btedji is offline
bryan986
btedji's Avatar
Join Date: Apr 2001
Location: Force 10
Posts: 1,153
btedji is on a distinguished road
Send a message via ICQ to btedji Send a message via AIM to btedji Send a message via Yahoo to btedji
but bg image at layer 4 or somethin

and put images above at layers 5 and 6 or whatever >4
Reply With Quote
  #21  
Old 03-07-2002, 09:44 PM
Goboom Goboom is offline
Pixel Monkey
Goboom's Avatar
Join Date: Dec 2001
Location: Michigan
Posts: 1,702
Goboom is on a distinguished road
Send a message via ICQ to Goboom Send a message via AIM to Goboom Send a message via MSN to Goboom Send a message via Yahoo to Goboom
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........
__________________
Reply With Quote
  #22  
Old 03-08-2002, 06:30 AM
SSRobgeta SSRobgeta is offline
Ebil Cloud = l337 *kupo*
SSRobgeta's Avatar
Join Date: Aug 2001
Location: Monroeville, PA
Posts: 1,084
SSRobgeta is on a distinguished road
Send a message via AIM to SSRobgeta
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.
__________________
Rob Getashu
Anyone can show you the way, but the real adventure is finding it yourself..
Reply With Quote
  #23  
Old 03-08-2002, 10:01 AM
Goboom Goboom is offline
Pixel Monkey
Goboom's Avatar
Join Date: Dec 2001
Location: Michigan
Posts: 1,702
Goboom is on a distinguished road
Send a message via ICQ to Goboom Send a message via AIM to Goboom Send a message via MSN to Goboom Send a message via Yahoo to Goboom
Then where else would i get my sick un explainable joy?
__________________
Reply With Quote
  #24  
Old 03-08-2002, 02:50 PM
neomaximus2k neomaximus2k is offline
Registered User
Join Date: Feb 2002
Location: UK
Posts: 324
neomaximus2k is on a distinguished road
Send a message via ICQ to neomaximus2k
Quote:
Originally posted by Goboom
Then where else would i get my sick un explainable joy?
from your torture treament's and shock theropy
__________________
Beware of thy Inner self
NPC Code:

_.,.__
((o\\o\))
.-. ` \\``
__( )___.o"".,___
=== ~~~~~~~~
==
= Neo

Reply With Quote
  #25  
Old 03-08-2002, 08:11 PM
SSRobgeta SSRobgeta is offline
Ebil Cloud = l337 *kupo*
SSRobgeta's Avatar
Join Date: Aug 2001
Location: Monroeville, PA
Posts: 1,084
SSRobgeta is on a distinguished road
Send a message via AIM to SSRobgeta
Quote:
Originally posted by neomaximus2k


from your torture treament's and shock theropy
exactly
__________________
Rob Getashu
Anyone can show you the way, but the real adventure is finding it yourself..
Reply With Quote
  #26  
Old 03-09-2002, 12:05 AM
Saga2001 Saga2001 is offline
Wishing he had 3 feet
Join Date: Aug 2001
Location: Basement
Posts: 1,565
Saga2001 is on a distinguished road
Send a message via ICQ to Saga2001 Send a message via AIM to Saga2001 Send a message via Yahoo to 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.
__________________

!Wan ( 11:27:55 AM):
can i c ur scripts please?
Zorg (RC): If I hear NPC Server call Ne0, Past Austin or Brent sexy one more time im disconnecting it
Reply With Quote
  #27  
Old 03-09-2002, 07:43 PM
neomaximus2k neomaximus2k is offline
Registered User
Join Date: Feb 2002
Location: UK
Posts: 324
neomaximus2k is on a distinguished road
Send a message via ICQ to neomaximus2k
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
__________________
Beware of thy Inner self
NPC Code:

_.,.__
((o\\o\))
.-. ` \\``
__( )___.o"".,___
=== ~~~~~~~~
==
= Neo

Reply With Quote
  #28  
Old 03-10-2002, 04:33 AM
Sennema Sennema is offline
Registered User
Join Date: Nov 2001
Location: Ontario, Canada
Posts: 132
Sennema is on a distinguished road
Send a message via ICQ to Sennema Send a message via AIM to Sennema
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
__________________
~Draemus Windblade


Just over 90% of all messages have no point or meaning.

"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"


Luminar
Reply With Quote
  #29  
Old 03-10-2002, 05:54 PM
neomaximus2k neomaximus2k is offline
Registered User
Join Date: Feb 2002
Location: UK
Posts: 324
neomaximus2k is on a distinguished road
Send a message via ICQ to neomaximus2k
[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
__________________
Beware of thy Inner self
NPC Code:

_.,.__
((o\\o\))
.-. ` \\``
__( )___.o"".,___
=== ~~~~~~~~
==
= Neo

Reply With Quote
  #30  
Old 03-10-2002, 10:50 PM
amonrabr amonrabr is offline
Scripter
Join Date: Nov 2001
Location: Brazil
Posts: 374
amonrabr is on a distinguished road
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;
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 12:56 AM.


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