Quote: (Sarajane): I got alot done. (stick): a lot is t...
blade2k » articles & tutorials

jump to:
Tutorials » Game Creation » RPG Maker 2000

GROWING MONEY IN BANKS


Reading Article
Author: joe
Posted on 08/02/2004
print :: back to list

G

ROWING MONEY IN BANKS tutorial ------------ v 1.00

Heeello folks, Joe speaking, french boy he is and stupid too.
(always he's stupid)

THE SUBJECT OF THIS TUTORIAL------------------------------------------

Imagine you've got a Bank in your game :
Banks don't only keep your Money in reality : They make it GROW.
Other Bank tutorials don't explain how to make it GROW.
(Yes I like the word 'GROW')
I won't explain in this tutorial how to make a Bank, and neither I'll
explain to make a Day-to-night-to-day process. In order to fully
applicate the subject of this tutorial in your game, you've got
to master 'How to make a Bank' & 'the Day to Day passing system' first.
Sorry.
Hey ! Mastered already ? So sorry twice !

LET'S GO TO THE WORK -------------------------------------------------
Here we Go :
You'll have to insert a TURN SWITCH ON (again ?) (oh my i've read so much
tutorials with so much switches today that my head is burning !)
into your Day to Night process. We'll call it 'Joe is wonderfull'.
(What an original name) Thus 'Joe is wonderfull' will activate a
certain thing every time day will come to night in your game. Got no
problems with that ? This certain thing will be a page in COMMON EVENTS
section (in your Database) (those who don't know what's a database goes
to to bed). Let's name this page 'DON MIGUEL'. (as an hommage)

As you know, Banks are using the system of storing money into a
variable. (In a case of deposit, for example, the amount of money you
depose is removed from your current amount of GP in your status to be
added in the variable "Account" which symbolize your account in the
Bank) This variable you named 'ACCOUNT' (or whatever variable which is
storing your money in the Bank) will change another variable named
'Benefit' every Day at the Dusk in the 'DON MIGUEL' page.

Let's do it : here's the beginning of the Don Miguel page.
(in the day to night process, switch 'Joe is wonderfull' turned ON)

1°) Make this page into 'parrallel process' in the 'event start
condition' slot. Choose in 'appearance condition switch' slot
'Joe's wonderfull' switch.
2°) Insert in this page CHANGE VARIABLE, choose ONE 'benefit', SET it
to OPERAND at the VARIABLE 'account'. Okey.
3°) Next insert CHANGE VARIABLE in the page, choose ONE 'benefit',
SET it a the "/" symbol (division symbol) (Always divide to better
reign said Charlemagne) and in OPERAND, put 1000 in SET.

---------------------- explanation pause --------------------------

The third etape will have for effect NOT to divide the amount of
money in your Bank (don't be afraid Cheapskates) but to divide
the SAME amount stored in the Variable 'benefit'.
We're making it to add this divided amount to your principal account.
So the OPERAND set will divide your total money stored by 1000 in this
case. Simple : imagine you have 22 000 GP on your account today.
Tommorrow you'll have
22000 + (22000/1000) = ?
22000 + (22) = 22022
See, I said that it was simple. (even for stupid people like French)

------------------------ End of pause ------------------------------

4°) Here you are given a choice : You can add dirctly your benefit
to your principle account OR like i choose, add it to a separate
parrallel account that don't generate any benefit/growing... This
account you cab add manually to your principle account when visit the
Bank. (more fun, more gameplay, more pleasure, more all.) (This slogan is
trademark Holyjoe Inc.)
Here I'll choose to explain the first solution (adding it automatically)
(you can also choose to take an option with the director of the bank
for that, fro example. But don't we go too far here ??!)
So :
Insert CHANGE VARIABLE in the page, choose ONE 'account' SET "+"
(symbol of 'adding' for strange people stranger to mathematics)
(or should I say 'adding elemental' to make me understandable ??!)
Choose VARIABLE 'benefit'.

5°) Make this devilish parrallel process end with a CHANGE SWITCH OFF
with "Joe is wonderfull".

6°) I don't like this number, i'll take the next.

7°) It's done my Friend. Every day you'll have 1 GP for 1000 GP already
stored in your Account. This idea was given to me by the terribly
(i mean it !) old game 'Super Hydlide' on Genesis.
Of course you can change the operand to make the day to day Benefit
higher or lower.
Thanx to Plope which allows me to use his overspeeding connection
so often !
Maybe I will upgrade this tutorial to make it reach beyond limits.
Please, please, please include me in your, please, game credits, please,
if this, please, tutorial gives you any, please, help or idea.
Peace. 8-)
Joe.

Mail-me cause I'm alone tonight, as everynight, watching the white
howling wild moon on my PC screen.
------- holyjoe@caramail.com ----------------------------------------
My name is HOLYJOE 'coz I'm entirely Holymateria made -Genuine-
and I am called Joe.