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 08-20-2010, 10:53 PM
MrOmega MrOmega is offline
One More Time
MrOmega's Avatar
Join Date: Aug 2010
Location: TN, USA
Posts: 631
MrOmega is an unknown quantity at this point
Send a message via AIM to MrOmega Send a message via MSN to MrOmega Send a message via Yahoo to MrOmega
Question Making a vase not drop the default health

Well, making a custom grab/lift system and everytime I lift up a vase it drops one of those small hearts from the classic system. I've looked through enablefeatures/showstats/serveropts/etc, can't find any documentation on how to make it not drop them. Anyone know how to fix this?
Reply With Quote
  #2  
Old 08-20-2010, 10:59 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Use NPCs for the pot. No other way that I know of.
__________________
Reply With Quote
  #3  
Old 08-21-2010, 02:18 AM
12171217 12171217 is offline
Banned
Join Date: Jan 2009
Posts: 453
12171217 has a spectacular aura about
Surely you can utilize takeitem and then at that point replace it with whatever you'd like via script? No clue if the old items array still functions as it used to, though.
Reply With Quote
  #4  
Old 08-21-2010, 02:52 AM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
If it's custom, could just use different tiles. The key to invoking(or not, in your case) the item drops is that it only happens if the exact tiles(a vase) are replaced with the default tiles after they're gone(the mat?). You can still use the same vase tiles, but replace them with different tiles and they won't drop anything.
Reply With Quote
  #5  
Old 08-21-2010, 03:40 AM
WhiteDragon WhiteDragon is offline
Banned
Join Date: Feb 2007
Posts: 1,002
WhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to behold
If you feel like rescripting literally everything on your server there is a server-option Stefan can turn on to disable all the default systems.
Reply With Quote
  #6  
Old 08-21-2010, 03:57 AM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
Quote:
Originally Posted by WhiteDragon View Post
If you feel like rescripting literally everything on your server there is a server-option Stefan can turn on to disable all the default systems.
I was always interested in this. Could have made some things a lot simpler for me.
Reply With Quote
  #7  
Old 08-21-2010, 04:11 AM
MrOmega MrOmega is offline
One More Time
MrOmega's Avatar
Join Date: Aug 2010
Location: TN, USA
Posts: 631
MrOmega is an unknown quantity at this point
Send a message via AIM to MrOmega Send a message via MSN to MrOmega Send a message via Yahoo to MrOmega
Quote:
Originally Posted by WhiteDragon View Post
If you feel like rescripting literally everything on your server there is a server-option Stefan can turn on to disable all the default systems.
Everything on my server is a custom system, so I vote yes, I'll just forum PM him. Thank you.
Reply With Quote
  #8  
Old 08-21-2010, 04:21 AM
WhiteDragon WhiteDragon is offline
Banned
Join Date: Feb 2007
Posts: 1,002
WhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to behold
Quote:
Originally Posted by MrOmega View Post
Everything on my server is a custom system, so I vote yes, I'll just forum PM him. Thank you.
This means movement, hit detection, ganis, pause, everything. It's the server mode the gold servers use.

Edit: Also default inventory and clientside onPlayerTouchsMe

Last edited by WhiteDragon; 08-21-2010 at 04:54 AM..
Reply With Quote
  #9  
Old 08-21-2010, 05:02 AM
MrOmega MrOmega is offline
One More Time
MrOmega's Avatar
Join Date: Aug 2010
Location: TN, USA
Posts: 631
MrOmega is an unknown quantity at this point
Send a message via AIM to MrOmega Send a message via MSN to MrOmega Send a message via Yahoo to MrOmega
Quote:
Originally Posted by WhiteDragon View Post
This means movement, hit detection, ganis, pause, everything. It's the server mode the gold servers use.

Edit: Also default inventory and clientside onPlayerTouchsMe
All I have already rescripted but what do you mean clientside onplayertouchsme? Like all 'onFunction' are taken out of the functions you can use?
Reply With Quote
  #10  
Old 08-21-2010, 05:07 AM
WhiteDragon WhiteDragon is offline
Banned
Join Date: Feb 2007
Posts: 1,002
WhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to behold
Quote:
Originally Posted by MrOmega View Post
All I have already rescripted but what do you mean clientside onplayertouchsme? Like all 'onFunction' are taken out of the functions you can use?
No, it's just onPlayerTouchsMe that no longer works in NPCs (clientside). You'll have to emulate it with a triggeraction.
Reply With Quote
  #11  
Old 08-21-2010, 07:45 AM
MrOmega MrOmega is offline
One More Time
MrOmega's Avatar
Join Date: Aug 2010
Location: TN, USA
Posts: 631
MrOmega is an unknown quantity at this point
Send a message via AIM to MrOmega Send a message via MSN to MrOmega Send a message via Yahoo to MrOmega
Quote:
Originally Posted by WhiteDragon View Post
No, it's just onPlayerTouchsMe that no longer works in NPCs (clientside). You'll have to emulate it with a triggeraction.
oh not a problem
Reply With Quote
  #12  
Old 08-22-2010, 08:28 AM
MrOmega MrOmega is offline
One More Time
MrOmega's Avatar
Join Date: Aug 2010
Location: TN, USA
Posts: 631
MrOmega is an unknown quantity at this point
Send a message via AIM to MrOmega Send a message via MSN to MrOmega Send a message via Yahoo to MrOmega
Is Stefan the only one able or can PWA? It's taking awhile for him to respond...
Reply With Quote
  #13  
Old 08-22-2010, 08:51 AM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by MrOmega View Post
Is Stefan the only one able or can PWA? It's taking awhile for him to respond...
Stefan is the only one, and I doubt you'll get a response anyway.
__________________
Reply With Quote
  #14  
Old 08-22-2010, 08:59 AM
MrOmega MrOmega is offline
One More Time
MrOmega's Avatar
Join Date: Aug 2010
Location: TN, USA
Posts: 631
MrOmega is an unknown quantity at this point
Send a message via AIM to MrOmega Send a message via MSN to MrOmega Send a message via Yahoo to MrOmega
Quote:
Originally Posted by cbk1994 View Post
Stefan is the only one, and I doubt you'll get a response anyway.
He talks to me and responds most of the time
Reply With Quote
  #15  
Old 08-22-2010, 02:54 PM
Loriel Loriel is offline
Somewhat rusty
Loriel's Avatar
Join Date: Mar 2001
Posts: 5,059
Loriel is a name known to allLoriel is a name known to allLoriel is a name known to allLoriel is a name known to all
Quote:
Originally Posted by MrOmega View Post
He talks to me and responds most of the time
can i touch you
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 09:46 PM.


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