![]() |
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? |
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. |
Quote:
Currently the only way to do so is to script your own baddies, meaning your own hit detection etc. Which is pretty *** oO |
Quote:
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. |
While "**** it, just rewrite the whole thing" is somewhat of a default approach, I figured it would not qualify as "simple". <:]
|
i thought this thread said george bush items
|
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. |
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.