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 07-24-2003, 02:40 PM
GoZelda GoZelda is offline
Mister 1,000,000
GoZelda's Avatar
Join Date: Jan 2003
Location: Brussels, capital of Europe.
Posts: 5,396
GoZelda will become famous soon enough
Send a message via AIM to GoZelda Send a message via MSN to GoZelda
Mouse-menu NPC

I made this mouse-menu NPC. It might be a bit longer than others, but i made it in such a way that someone can easily edit. Note: i might give this to Valikorlia or the new G2K1. Try this NPC out as much as you can, because it can prove to be very funny ;P
Attached Files
File Type: nw menu_npc.nw (13.9 KB, 236 views)
__________________

Quote:
Originally Posted by Lance
stefan is satan
I am the best.
[URL removed]Music or aural pollution?
Reply With Quote
  #2  
Old 07-24-2003, 05:02 PM
Spark910 Spark910 is offline
Ex-Graal Global
Spark910's Avatar
Join Date: Oct 2001
Location: England
Posts: 10,892
Spark910 has a spectacular aura about
Re: Mouse-menu NPC

Quote:
Originally posted by GoZelda
I made this mouse-menu NPC. It might be a bit longer than others, but i made it in such a way that someone can easily edit. Note: i might give this to Valikorlia or the new G2K1. Try this NPC out as much as you can, because it can prove to be very funny ;P
Good except some bugs!

''No Not really'' - After clicking trade
When that is the answer to:

''Aw, sorry to hear that! Anything I can do about it...?''
__________________
--Spark911
Reply With Quote
  #3  
Old 07-24-2003, 05:50 PM
GoZelda GoZelda is offline
Mister 1,000,000
GoZelda's Avatar
Join Date: Jan 2003
Location: Brussels, capital of Europe.
Posts: 5,396
GoZelda will become famous soon enough
Send a message via AIM to GoZelda Send a message via MSN to GoZelda
I don't understand what you're saying there =\
__________________

Quote:
Originally Posted by Lance
stefan is satan
I am the best.
[URL removed]Music or aural pollution?
Reply With Quote
  #4  
Old 07-24-2003, 06:33 PM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
I don't like it at all, sorry, prehaps you should learn more advanced methods so you can shorten your script and make it seem more professional and advanced, it's a good concept but it could be done better I think
Reply With Quote
  #5  
Old 07-24-2003, 07:36 PM
GoZelda GoZelda is offline
Mister 1,000,000
GoZelda's Avatar
Join Date: Jan 2003
Location: Brussels, capital of Europe.
Posts: 5,396
GoZelda will become famous soon enough
Send a message via AIM to GoZelda Send a message via MSN to GoZelda
You can't help it if you don't like it
But what for advanced methods do you suggest?
__________________

Quote:
Originally Posted by Lance
stefan is satan
I am the best.
[URL removed]Music or aural pollution?
Reply With Quote
  #6  
Old 07-24-2003, 08:04 PM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
Quote:
Originally posted by GoZelda
You can't help it if you don't like it
But what for advanced methods do you suggest?
Making it customizable, the way you would 'customize' this isn't good at all, when I think of something as customizable, I think of editing a few vars, arrays, and strings, not reading a whole script and editing half the lines, and things like
changeimgcolors 10,1,1,1,1;
changeimgcolors 11,1,1,1,1;
changeimgcolors 12,1,1,1,1;
changeimgcolors 13,1,1,1,1;
changeimgcolors 14,1,1,1,1;
can be made into one line with a for loops
Reply With Quote
  #7  
Old 07-24-2003, 08:09 PM
osrs osrs is offline
Graalian since 1998
osrs's Avatar
Join Date: Mar 2002
Location: Brazil
Posts: 2,724
osrs is on a distinguished road
Send a message via ICQ to osrs Send a message via AIM to osrs Send a message via MSN to osrs Send a message via Yahoo to osrs
Quote:
Originally posted by GoZelda
You can't help it if you don't like it
But what for advanced methods do you suggest?
more for loops,maybe arrays,etc..
__________________
"Ability is what you are capable of doing. Motivation determines what you do. Attitude determines how well you do it."
Facebook: facebook.com/raysilvadotnet /
Reply With Quote
  #8  
Old 07-24-2003, 08:48 PM
GoZelda GoZelda is offline
Mister 1,000,000
GoZelda's Avatar
Join Date: Jan 2003
Location: Brussels, capital of Europe.
Posts: 5,396
GoZelda will become famous soon enough
Send a message via AIM to GoZelda Send a message via MSN to GoZelda
Quote:
Originally posted by Python523

Making it customizable, the way you would 'customize' this isn't good at all, when I think of something as customizable, I think of editing a few vars, arrays, and strings, not reading a whole script and editing half the lines, and things like
changeimgcolors 10,1,1,1,1;
changeimgcolors 11,1,1,1,1;
changeimgcolors 12,1,1,1,1;
changeimgcolors 13,1,1,1,1;
changeimgcolors 14,1,1,1,1;
can be made into one line with a for loops
Ah crap, forgot about that
__________________

Quote:
Originally Posted by Lance
stefan is satan
I am the best.
[URL removed]Music or aural pollution?
Reply With Quote
  #9  
Old 07-24-2003, 09:09 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
Bug (in steps)

1. right click, choose talk
2. choose bad (this step can be skipped and bug still have the same effect)
3. when options appear, right click again
4. right click one more time if menu doesn't appear
5. choose an option
__________________
[signature]insert here[/signature]
Reply With Quote
  #10  
Old 07-24-2003, 09:53 PM
GoZelda GoZelda is offline
Mister 1,000,000
GoZelda's Avatar
Join Date: Jan 2003
Location: Brussels, capital of Europe.
Posts: 5,396
GoZelda will become famous soon enough
Send a message via AIM to GoZelda Send a message via MSN to GoZelda
Ah yes i see what the problem is. Just add "this.menu=1" behind the if (leftmousebutton)
__________________

Quote:
Originally Posted by Lance
stefan is satan
I am the best.
[URL removed]Music or aural pollution?
Reply With Quote
  #11  
Old 07-25-2003, 12:35 AM
adam adam is offline
http://wiki.graal.us/
adam's Avatar
Join Date: Nov 2001
Posts: 2,247
adam has a spectacular aura aboutadam has a spectacular aura about
Send a message via AIM to adam
If only I could find my old mouse menu


It calls another npc in the weaponlist depending on what button you click

the buttons can be added and removed in a server string

and they wouldn't display unless you had the corresponding npc.
__________________
Rogue Shadow (TCN)(NAT)(Global Development Team)

For development help, contact the patrons of the #graaldt irc channel below, I am usually there.
Click Here to Join IRC Chat Now! -- irc.freenode.net Channel: #graaldt
Quote:
<Dustyshouri> no, RogueShadow is always talking about scripts lol
<Dustyshouri> in fact, he pretty much brought Graal back as a topic single-handedly
Reply With Quote
  #12  
Old 10-03-2003, 07:19 AM
deman1171 deman1171 is offline
Registered User
Join Date: Mar 2003
Posts: 0
deman1171 is on a distinguished road
That is very good (sorry for reviving old threads) i love to see your new stuff, it's really awesome, and heh new val is coming, with the worldmap, and tileset, so i suggest to try to get a job there, and make it a little better, and get it up ^ ^
Reply With Quote
  #13  
Old 10-03-2003, 01:58 PM
CheeToS2 CheeToS2 is offline
That Guy
CheeToS2's Avatar
Join Date: Dec 2001
Location: Seattle, WA
Posts: 2,528
CheeToS2 will become famous soon enough
Send a message via AIM to CheeToS2
Quote:
Originally posted by deman1171
That is very good (sorry for reviving old threads) i love to see your new stuff, it's really awesome, and heh new val is coming, with the worldmap, and tileset, so i suggest to try to get a job there, and make it a little better, and get it up ^ ^
reviving threads is not a good way to prove you should have been unmasked from here you could have just forum PMed him
__________________

Reply With Quote
  #14  
Old 10-03-2003, 06:15 PM
GoZelda GoZelda is offline
Mister 1,000,000
GoZelda's Avatar
Join Date: Jan 2003
Location: Brussels, capital of Europe.
Posts: 5,396
GoZelda will become famous soon enough
Send a message via AIM to GoZelda Send a message via MSN to GoZelda
Erm, i don't think he's from Val :/
But i'm not joining any Pw's - don't like it to much, i'm busy too. Learning C++
__________________

Quote:
Originally Posted by Lance
stefan is satan
I am the best.
[URL removed]Music or aural pollution?
Reply With Quote
  #15  
Old 10-03-2003, 07:00 PM
Rolav Rolav is offline
Registered User
Rolav's Avatar
Join Date: Aug 2003
Location: Colorado, USA
Posts: 88
Rolav is on a distinguished road
Send a message via ICQ to Rolav Send a message via AIM to Rolav Send a message via Yahoo to Rolav
Dude! He stole that script from someone else on here, I remember seeing it once like 4 months ago in a old old post from like 2001 :-/ ill see if i can find aha
__________________
Liek hey!
----------------
Dabura (10/6/2003 12:41:03 PM):
Mass message:
there seems to be something wrong with the server "Atlantis", everyone seems to be speeking in some sort of code....odd


Put this image in your sig if you support Bomy Island! (g2k1 revision)
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 10:51 AM.


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