|
Post by christi on Apr 30, 2005 13:17:59 GMT -5
I don't know why I haven't noticed this until now, but I'm thinking I've run across a pretty big problem for my game:
I'm using the DBS, which I plan on modifying. I don't really want to go to a CBS unless I absolutely have to (my levelling system will take up enough memory as it is.) I'm also using a Custom Menu System, which, as has been discussed in other posts, does not allow you to use items (such as healing potions) through the menu. It'll let you view your inventory, but that's it. The last I'd heard, no one had really come up with a way to get around this.
I'd pretty much just come to accept this when I realized something this morning... why can't you access your bag inventory while in battle? Each character can access items they're personally carrying, but they can't access the bag. This presents a problem, as I was planning on storing everything the party acquired in the bag, and only allowing characters to carry their own weapons/armor. Has anyone found a way to access the items in the bag during battle in the DBS? Or am I just out of luck?
If this is the case, I'm disappointed. I guess the player will just have to make sure that all of the characters have healing/revival potions on them at all times.
|
|
|
Post by Rodak on Apr 30, 2005 15:05:52 GMT -5
I have not tried this, but if you change the "Consume" script for the item to check the ammount in the bag and reduce that by one until the bag has zero and then use the one the player is carrying when none are left, it may work. Also the player would only need to carry one of anything to have access to them all.
If the bag cannot be checked while in battle (I am awful with the battle system... but improving!) you may have to create a special variable for each item and access that variable through your menu. Keep the variable equal to the number of the item at all times (sometimes tricky). This would get interesting because you would then need to modify your characters "exit battle" script to equalize the bag with the variables.
I used a similiar system for my IBS (Imitation Battle System).
Good luck and I hope that helps.
Peace.
|
|
|
Post by Jugem on Apr 30, 2005 16:08:45 GMT -5
I'm also using a Custom Menu System, which, as has been discussed in other posts, does not allow you to use items (such as healing potions) through the menu. It'll let you view your inventory, but that's it. The last I'd heard, no one had really come up with a way to get around this. No one said you have to use the game's item system. If you're going the custom route, and you can't figure out a solution to your problem, why not just simulate the use of items? Use variables to represent items instead of actually using items. For example, you might create a variable called "Healing Potions" to represent healing potion items. The value of this variable represents how many of the item you have. When you want to use this item, check if its value is greater than 0. If so, then heal your party member, and subtract 1 from this variable.
|
|
|
Post by christi on Apr 30, 2005 16:21:36 GMT -5
In my custom menu, I use the "Display Sell List" command to bring up a list of my items. Using variables to simulate items sounds like a good idea, and doesn't seem like it'd be too much of a pain to implement, as I don't plan on having tons of items that can be used through the menu.
So, is it possible to do this with the "Display Sell List," though? Maybe if I had a Sort command, followed by "Apply Ifs" for each item number?
EDIT: Hey, I just tried it, and it worked! I can use items through my CMS, which REALLY makes me happy. It's going to be a lot of scripting, but definitely worth it in the end.
|
|
|
Post by vespuleth on May 3, 2005 23:20:47 GMT -5
so how did you end up doing it? i still havent figured out how to use items in a custom menu system.
|
|
|
Post by BloodKnight on May 5, 2005 14:11:31 GMT -5
I had a problem with my CMS in a battle. When I used the Display Sell List command, everything went fine, but now I know why:because using that command causes the Bag Shop Select flag to be on, which is the only way to delete individual items from the bag. I had no problems with deleting a member's items, because all I had to do was input a member number, make sure the appropriate item number was entered, use the Use item action command, and that went great.
I wanted the cruising of my battle menus to be near seamless, so I had to get rid of that. If you don't access that list, the flag will be off and therefore you cannot delete items from the bag. So I had to make a simple solution:have a script that keeps track of the item number, put it in a sort, and individually delete items from the bag. The more items you have(I have 300 items available), the more memory this is gonna take, and the more rearranging you have to do if an item is deleted/moved, so it's best to put in all the items you need before you do that.
|
|
|
Post by christi on May 7, 2005 10:47:09 GMT -5
so how did you end up doing it? I just posted my answer in another topic, "Item Use in the Custom Menu System," in case anyone were to ever come here looking for it specifically. BloodKnight: Interesting... I've not yet messed with using my CMS in battle. Everything in my battles is still default as of right now, and although I'd like to come up with an at least somewhat custom battle system, I'm undecided as of yet. I'd still like to know if there's any easy way to directly access the Bag's contents through the DBS. If anyone figures this out, don't forget about me!
|
|
|
Post by BloodKnight on May 7, 2005 11:01:32 GMT -5
You could use a magic/skill command to access a merchant script in a direct effect. I've been doing lots of cool stuff in the DBS, but that's coming off the top of my head.
|
|
|
Post by Dungeon Warden on May 7, 2005 12:56:56 GMT -5
I don't think you can use the merchant command in a system/ battle event. I remember trying it and it wouldn't work. Maybe there is a way to do it as I didn't extensively test it but you might need to try something else.
|
|