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 09-19-2005, 06:38 PM
prozac424242 prozac424242 is offline
Registered User
prozac424242's Avatar
Join Date: May 2001
Location: Gone crazy: back soon
Posts: 356
prozac424242 is on a distinguished road
Send a message via ICQ to prozac424242 Send a message via AIM to prozac424242
q menu inventory question

I searched the forums for this but did not find anything:

How do I put items in folders in the Q menu inventory?
You know, those sacks, and when you go in the sack,
you have the option to go back, or select an npc in this category.
__________________

Useful links:
Graal Stats
Client Script Functions-GS1 to GS2
Serverside Script Functions-Gscript page
Particle Engine-Player Attributes
Server Options-Admin rights-Gmaps
Quote:
Originally Posted by Admins
Thanks for developing and improving playerworlds and such
Reply With Quote
  #2  
Old 09-19-2005, 07:15 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
Name the NPC like this: Bagname/NPCname.
Examples:
Cats/Brown Cat
Cats/Blue Cat
Cats/Tie Dye Cat
__________________

Reply With Quote
  #3  
Old 09-19-2005, 07:48 PM
calani calani is offline
Scriptess
calani's Avatar
Join Date: Aug 2003
Location: asmgarden.gmap
Posts: 606
calani is on a distinguished road
Send a message via AIM to calani
Its the legendary Tye Dye Cat!
470hp, 230mp, 29 cha, 3str, 876exp

"That is Tye Dye Cat."
"It is likely more beautiful than you."


anyways, back on topic.
prozac, did you mean organize npcs within the normal qmenu, or are you trying to make your own?
__________________
Reply With Quote
  #4  
Old 09-19-2005, 08:24 PM
Skyld Skyld is offline
Script-fu
Skyld's Avatar
Join Date: Jan 2002
Location: United Kingdom
Posts: 3,914
Skyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud of
Send a message via AIM to Skyld
Quote:
Originally Posted by calani
Its the legendary Tye Dye Cat!
470hp, 230mp, 29 cha, 3str, 876exp

"That is Tye Dye Cat."
"It is likely more beautiful than you."
Waste. Of. MySQL. Storage.
Quote:
Originally Posted by calani
anyways, back on topic.
prozac, did you mean organize npcs within the normal qmenu, or are you trying to make your own?
Sounds like the built-in weapon menu.
__________________
Skyld
Reply With Quote
  #5  
Old 09-21-2005, 12:03 AM
prozac424242 prozac424242 is offline
Registered User
prozac424242's Avatar
Join Date: May 2001
Location: Gone crazy: back soon
Posts: 356
prozac424242 is on a distinguished road
Send a message via ICQ to prozac424242 Send a message via AIM to prozac424242
trying to make my own
but when i try that it says i cannot add WEAPONS/bagname/weapon
in the rc window.
is there some serveroption to set?

also i kinda got my own q menu replacement made,
i am guessing i can parse the weapon name on the / charachter
for different 'folders'in my custom system?
__________________

Useful links:
Graal Stats
Client Script Functions-GS1 to GS2
Serverside Script Functions-Gscript page
Particle Engine-Player Attributes
Server Options-Admin rights-Gmaps
Quote:
Originally Posted by Admins
Thanks for developing and improving playerworlds and such
Reply With Quote
  #6  
Old 09-21-2005, 12:06 AM
napo_p2p napo_p2p is offline
oh snaps
napo_p2p's Avatar
Join Date: Sep 2003
Location: Pismo Beach, California
Posts: 2,118
napo_p2p has a spectacular aura aboutnapo_p2p has a spectacular aura about
Send a message via AIM to napo_p2p Send a message via MSN to napo_p2p
Quote:
Originally Posted by prozac424242
i cannot add WEAPONS/bagname/weapon
Do you have rw WEAPONS/*/*?
__________________
Scito hoc super omnia.
Haec vita est tua una sola.
Dum vita superest, utere maxime quoque puncto, momento, et hora quae habes.
Tempus neminem non manet.
Noli manere tempus.
Carpe Diem

Seize the Day.
Reply With Quote
  #7  
Old 09-21-2005, 12:19 AM
ForgottenLegacy ForgottenLegacy is offline
-Backtoscripts-
Join Date: Aug 2003
Location: California
Posts: 289
ForgottenLegacy is on a distinguished road
Send a message via AIM to ForgottenLegacy
Quote:
Originally Posted by prozac424242
cannot add WEAPONS/bagname/weapon
There's something in serveropts called 'npcrights', and if it's true, which it should be for certain reasons, then you need to have rights to the individual bagname. So add "rw WEAPONS/bagname/*" to your rights list, or you can go with "rw WEAPONS/*/*" to give yourself rights to every weapon.
Quote:
Originally Posted by prozac424242
also i kinda got my own q menu replacement made,
i am guessing i can parse the weapon name on the / charachter
for different 'folders'in my custom system?
That would work. In GS2, you can use string.tokenize(delim) and have the "/" character, in quotes, as the delim. This would tokenize the string based not only on spaces, but on both spaces and the "/" character. GS1 uses the tokenize2 delims,string; command, and it works the same, but the "/" character doesn't need to be in quotes.
__________________
"The higher you fly, the harder it is to breathe."

[Kaidenn] Maybe I will somehow take control of Lance's body when he isn't looking, have him log onto Kingdoms, update one script, and leave.
[Kaidenn] And leave him exactly where I found him, unchanged and completely unnaware of what just took place the last two minutes.
[GrowlZ] Lance: You might want to lock your bedroom door tonight
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 03:52 AM.


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