I've created some custom items with very powerful stats to try and boost the difficulty of my custom creature but sometimes he drops these overpowered items and I don't want that to ever happen.
I've made sure that the "droppable" and "stealable" checkboxes are unchecked in the creature's inventory, and I've re-exported every resource starting with the items and then the creature and then the area. It doesn't seem to eliminate the chance of these items dropping.
Has anyone else experienced this? Am I doing something wrong? Any info or advice would be much appreciated.
Item droppable flag not working?
Débuté par
midnightgeek
, juin 15 2010 08:35
#1
Posté 15 juin 2010 - 08:35
#2
Posté 15 juin 2010 - 11:45
The droppable flag is misleading. It makes an item guarenteed to drop, but any item has a chance of dropping.
You'll likely have to play with the local variables on the creature, for the treasure system. If you don't want it to generate any loot, you can set the TS_TREASURE_GENERATED variable to 1. This will trick the system into thinking loot has already dropped, and nothing will drop at all.
If you want a more precise method of cutting off just equipment drops, it looks like TS_OVERRIDE_EQUIPMENT should work, although I've never used it myself. The number you put in is the chance for each item to drop. However, if you put it at 0.0, which is the default, the system will assume you haven't overriden anything and the equipment will drop. If you set it to a negative number, it should prevent any equipment not flagged as droppable from dropping.
You'll likely have to play with the local variables on the creature, for the treasure system. If you don't want it to generate any loot, you can set the TS_TREASURE_GENERATED variable to 1. This will trick the system into thinking loot has already dropped, and nothing will drop at all.
If you want a more precise method of cutting off just equipment drops, it looks like TS_OVERRIDE_EQUIPMENT should work, although I've never used it myself. The number you put in is the chance for each item to drop. However, if you put it at 0.0, which is the default, the system will assume you haven't overriden anything and the equipment will drop. If you set it to a negative number, it should prevent any equipment not flagged as droppable from dropping.





Retour en haut






