The RPG Maker Resource Kit

RMRK RPG Maker Creation => Requests => Script Request => Topic started by: Jin_Axl on July 14, 2008, 02:59:39 AM

Title: [REQUEST] A Banking Script in RMVX
Post by: Jin_Axl on July 14, 2008, 02:59:39 AM
Well I need a script that allows you to deposit/withdraw item/gold to and from where I decide, such as a Bank Event in my project.
I tried to make a Gold deposit with variables, but I encounter with withdrawing the money I've store. And I think if I do the same with items without a scipt it should be a DAMNED nuisance.  :=:
I asked modern algebra if he could write the script but he's busy at this time, so I post a request in this box and wonder if someone can help me.

A script that allows you to deposit/withdraw item/gold. I think that not only me need this but more RPG makers do, too  :-*
Title: Re: [REQUEST] A Banking Script in RMVX
Post by: drakenkanon on July 15, 2008, 06:05:43 PM
no script is needed here, just do with events and variables:
Quote
original by moder algebra modern algebra II (just fixed a few bugs)
Code: [Select]
@>Loop
  @>Text: \GHow much would you like to deposit?
  @>Input Number [XXX: Transaction Amount], 4 digits
  @> Control Variables: [YYY: Party Gold] = Gold
  @>Conditional Branch: Variable [XXX] <= Variable [YYY]
    @>Break Loop
    @>
    : Branch END
  @>Text: You do not have enough \v[XXX] Gold
  @>Show Choices: Let me try again..., Forget it
   : When [Let me try again...]
      @>
   : When [Forget it]
      @>Exit Event Processing
   : Branch End
 :Repeat Above
@>Control Variables: [ZZZ: Money in Bank] += Variable [XXX: Transaction Amount]
@>change gold:-[xxx:transaction amount]
@>Text: You now have \v[ZZZ] in the bank! Please come again
this is for deposit but it is like the same for withdraw
Title: Re: [REQUEST] A Banking Script in RMVX
Post by: ahref on July 15, 2008, 06:24:59 PM
he wants it for items too which gets complicated :(
Title: Re: [REQUEST] A Banking Script in RMVX
Post by: Jin_Axl on July 15, 2008, 11:18:48 PM
Yes, and that's the point !
Gold banking event can be made simply with variables and switches, but what can I do for the items ?
MA said that a script would do it best, and if nobody's bother to take this request, he'll do it in his spare time.
But I wonder when will MA's spare time come  :-X
Title: Re: [REQUEST] A Banking Script in RMVX
Post by: drakenkanon on July 16, 2008, 09:04:26 AM
items can be pretty tough, maby you could try with multiple party script and transfer the items from one to another party.
Title: Re: [REQUEST] A Banking Script in RMVX
Post by: Jin_Axl on July 16, 2008, 10:01:17 AM
I used MA's multi-parties script and well-control it, but I need exactly an Item Deposit & Withdraw System.
I think items in this script can be related on their ID in DB and blah blah blah ... But I'm too dump about scripting  :=:

But I wonder myself : Did nobody need this kind of script ? If in an Action-RPG, this can be understood as a Stash (Diablo), in a Classic RPG (like Breath of Fire 1,2) this can be considered as a Bank.
I think this script will be a great help, and the one who writes that should be considered a Hero  :lol:
Title: Re: [REQUEST] A Banking Script in RMVX
Post by: modern algebra on July 16, 2008, 01:17:36 PM
Well, it'd really only be helpful if there is some kind of limit on how much the party can carry - since there are no default limits built in to RMVX, why would anyone want to place their stuff in a bank so that they can't use it if they need to?
Title: Re: [REQUEST] A Banking Script in RMVX
Post by: Jin_Axl on July 16, 2008, 02:24:40 PM
....
If you didn't notice me about that I wouldn't realize that.
Maybe I was so silly about that  :=:
Just forget about the request. I'll consider some more important problem  :=:
Title: Re: [REQUEST] A Banking Script in RMVX
Post by: drakenkanon on July 16, 2008, 04:21:56 PM
maby you could do it like this: if the player wants to put an item in the bank you delete that item from his inventory and give him a note, like this:
the player want an iron longsword to go into the bank, then you give him an iron longsword note in return, when he wants back his longsword you take away the note and return the longsword.
Title: Re: [REQUEST] A Banking Script in RMVX
Post by: ahref on July 16, 2008, 05:58:48 PM
oh like runescape notes. SOO many MMOS miss this cool feature. however it wont work here because your just swapping items and whats the point.

It is possible to make a banking script for items its just kinda tricky.
Title: Re: [REQUEST] A Banking Script in RMVX
Post by: drakenkanon on July 17, 2008, 09:29:54 AM
i dont really know but he wants a item banking system so he could try this, but i know another way: one variable for each item he wants the player to store in the bank, than if he stores an item you delete it from the inventory and do the item variable+1, when he wants back his item you give him the item and do the item variable -1, example:
the player wants to store an kings sword, than you take away the kings sword and do the kings sword variable+1, when he wants back his king sword you give him the king sword and do the kings sword variable-1.
warning: this can cost you like 10 hours when you have much items, you should only do this if you really want it, if you do just make 1 item this way and (when you're sure this doposit/return for this item works) just copy and paste this like 100 times, you only have to change the item and the variable right than wich can cost you like 3 hours less.
Title: Re: [REQUEST] A Banking Script in RMVX
Post by: modern algebra on July 17, 2008, 08:55:19 PM
The variables are the easy part. Eventing the scene for Depositing and Withdrawing Items is the difficult part. You would need conditional branches for every item, multiple conditional branches for every weapon and armour, and you'd need to display it all in Choice Branches or through picture eventing (the only way it will look nice). In any case, he doesn't seem to want it anymore:

Just forget about the request.
Title: Re: [REQUEST] A Banking Script in RMVX
Post by: Jin_Axl on July 18, 2008, 03:33:11 PM
I don't really want to abandon it, but if I use it, I must need another script set that goes along well with it : Inventory Category and Inventory Limitation.
That should bring me more trouble, but if there's someone who's kind to write these script sets I will surely use them.