Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

 
Reply to this topicStart new topic
> Im tring to make a bank
andreamillspaugh
post Jan 20 2013, 01:24 PM
Post #1



Group Icon

Group: Member
Posts: 2
Type: None
RM Skill: Undisclosed




Hi, there i found this tutorial and I want to us it but i can not find (Push Key: No Conditions) where is that located. thanks rolleyes.gif
Go to the top of the page
 
+Quote Post
   
MissCoriel
post Jan 20 2013, 04:45 PM
Post #2


Level 3
Group Icon

Group: Member
Posts: 42
Type: Musician
RM Skill: Skilled




it would help if you explained more or showed the tutorial link..
Banks are easier without key presses anyways. It is simple Math and variable storage.
A Variable to monitor how much Currency you have
A Variable to hold the amount of gold you place in the bank.
A Variable to measure your transaction.
When depositing, if Variable Amount to Deposit is Greater than The amount you have then deny.
When withdrawing, If Variable Amount to withdraw is Greater than the amount you have in bank then deny.

But as I was saying to begin with.. I need to see what you are doing.

This post has been edited by MissCoriel: Jan 20 2013, 04:45 PM


__________________________
Go to the top of the page
 
+Quote Post
   
bulmabriefs144
post Jan 20 2013, 08:12 PM
Post #3


Something Other Than Level 16
Group Icon

Group: Revolutionary
Posts: 627
Type: Developer
RM Skill: Advanced




Basically, the idea of a bank is subtract the money from your inventory, and add it to a variable (yea, you need to check it against how much you've got). To withdraw, remove from variable and add to inventory.

To interest, do a time system and for every 7 days, add 10% or something.

Finally, if you have equal/more than the variable limit (I think it was 999,999) remove that from the bank, and add 1 Million dollars (as either an item or a variable).

If you wanna do an foreign currency, instead of using gold, just add to a variable, then have some kind of custom menu that shows the currency types. Then do an exchange, like 5 gold is 3 adamant. Add and subtract, same as banking.


__________________________
Go to the top of the page
 
+Quote Post
   

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 24th May 2013 - 01:55 PM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker