Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Feature request (https://forums.graalonline.com/forums/forumdisplay.php?f=194)
-   -   Change bush items (https://forums.graalonline.com/forums/showthread.php?t=85291)

Crow 04-24-2009 07:53 PM

Change bush items
 
I would like to see the default bush and baddy items changed. Currently, only rupee drops work on the gmap because only the rupees are classes. I request an additional server default class which would represent bombs, arrows and hearts.
Pwease?

Loriel 04-24-2009 08:03 PM

My suggestion for the engine would be to add a server option that defines callback functions in the Control-NPC that gets called for baddy deaths and removing vases and bushes and whatever in the level boards.

I cannot see a simple way to have a script detect when the board gets changed in such a way, and replacing all tile-based bushes with NPCs does not seem optimal either (while it sure might make sense for baddies). The Control-NPC seems like the right place to put this since changes to the board are pretty independent of any particularly player that might be involved. If that is too many Control-NPC triggers or something, another server option could define a probability for it to happen.

Pelikano 04-25-2009 05:48 PM

Quote:

Originally Posted by Crow (Post 1486518)
I would like to see the default bush and baddy items changed. Currently, only rupee drops work on the gmap because only the rupees are classes. I request an additional server default class which would represent bombs, arrows and hearts.
Pwease?

Would be an awesome improvement.
Currently the only way to do so is to script your own baddies, meaning your own hit detection etc.
Which is pretty *** oO

cbk1994 04-25-2009 07:10 PM

Quote:

Originally Posted by Loriel (Post 1486520)
I cannot see a simple way to have a script detect when the board gets changed in such a way, and replacing all tile-based bushes with NPCs does not seem optimal either (while it sure might make sense for baddies).

http://forums.graalonline.com/forums...ad.php?t=73784

Could simply change the tiles and the tileset around a bit so the classic sword system wouldn't interfere.

I mostly agree with you, though.

Loriel 04-25-2009 07:56 PM

While "**** it, just rewrite the whole thing" is somewhat of a default approach, I figured it would not qualify as "simple". <:]

k_killar 04-26-2009 04:29 PM

i thought this thread said george bush items

Admins 06-22-2009 02:10 PM

I've updated the npcserver on Atlantis for this:
New server option: itemdropevents=true
The control npc will get the event onItemDrop(level, x, y, itemname), so you can place your own objects in the levels. It would be good if someone could test it.

Crow 06-22-2009 06:47 PM

Works :) Great improvement, thanks! Think it might be possible to change the list of available items and their drop rates in the future? Also, an additional argument stating if the item was dropped by the server or by the player would be great.


All times are GMT +2. The time now is 03:56 PM.

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