Notice: fwrite(): Write of 467 bytes failed with errno=28 No space left on device in /home/rmrk/domains/rmrk.net/public_html/Sources/Cache/APIs/FileBased.php on line 96
Print Page - [Request] storage chest

The RPG Maker Resource Kit

RMRK RPG Maker Creation => Requests => Script Request => Topic started by: BudweezeR on June 27, 2008, 09:46:34 PM

Title: [Request] storage chest
Post by: BudweezeR on June 27, 2008, 09:46:34 PM
I've been looking for a long time for something like the stash from Diablo II. where you can store items and money it it. i've tried making one but it came out a wicked mess. if anyone can help me out  with either a script or event based tutorial, it would be greatly appriciated.

Thanks in advance!
Title: Re: [Request] storage chest
Post by: Dertt on June 29, 2008, 06:06:35 AM
If you want a script or a tutorial, why don't you go into either the script or tutorial section?
Title: Re: [Request] storage chest
Post by: Falcon on June 29, 2008, 03:07:43 PM
No event tutorial can do this, it requires some degree of scritping.
Title: Re: [Request] storage chest
Post by: BudweezeR on July 01, 2008, 07:05:47 PM
Okay well thanks, i'll keep looking.
Title: Re: [Request] storage chest
Post by: ceegamus on July 02, 2008, 02:11:23 AM
With enough variables and common events, you could do this with eventing.
Title: Re: [Request] storage chest
Post by: BudweezeR on July 02, 2008, 09:34:00 PM
Yeah but to many would lag the game don't you think? ???
Title: Re: [Request] storage chest
Post by: modern algebra on July 02, 2008, 10:16:45 PM
Not necessarily. It wouldn't be feasible to do it with events. You would need one variable for every item you could possibly possess, in order to track how many of that item is in the chest. You would also have to design a scene for it, which means you would need to be fairly competent with picture eventing. In doing it, you would need a selection algorithm, so there's a few more variables there, and you would also need to competently draw the names of everything, which means you would need to have pictures of every possible item name, as well as a picture of each digit from 0-9. The complications of that alone is a pain. You could only show a maximum of 16 items on the screen at any given time.

If you wanted to avoid Picture eventing, then the number of Show Choice branches would be a huge pain in the ass to do. I mean, you'd have to have a thousand conditions. Eventing this is just not feasible. Especially since it is not a difficult thing to script. I would do it, but I am way behind on everything I have to do.
Title: Re: [Request] storage chest
Post by: ceegamus on July 03, 2008, 02:49:24 AM
I never said it was smart.  Just possible.
Title: Re: [Request] storage chest
Post by: ahref on July 03, 2008, 05:46:15 PM
something would also have to be done to make the storage chest data be included when you save your game
Title: Re: [Request] storage chest
Post by: modern algebra on July 03, 2008, 10:32:51 PM
That's what the variables would be for :P

You could get the number for items the party currently has as a Control Variable command. The variables that I said were required were to track how many of which items were in the Chest.
Title: Re: [Request] storage chest
Post by: BudweezeR on July 05, 2008, 08:39:39 PM
Yeah i guess that would work... i'll give all that a try.
Thanks! ;D