Gw Temp

Menu

Tutorial - 'Mining Skill' by fuzion1990

An item about RPGMaker 2000 posted on

Blurb

A tutorial on creating a mining system

Body

In this tuut you will learn how to create a mining tut. yea!OK... first of all if you are a newb you will still be able to understand this ,but you will need to know how to use Variables and Fork Conditions.Well then if you knew how to do that then i dont think you would be a newb. Forget the newb part. Whatever but it will be easy to understand! Oh and maybe you should make an item called oick axe and make it so you must use it to mine!DUH!(:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Create the following:
Variables:Mining XP, Random VAR
That's it...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Ok first go to common events and name it Mine (whatever metal your mining)in this case ill use Iron Ore and make the event start condition "call"! Ok...

Make a randomizer.That is how many x out of whatever x will you get the ore.Here is how it should look so far:

<>Variable Ch:[xxxx:Random VAR]Set,Randm[1*3]


There now that you have that make a fork condition and make it Variable:Random VAR set:1 same. And ad and else case. Here is how it should look so far:

<>Variable Ch:[xxxx:Random VAR]Set,Randm[1*3]
<>FORK Optn:Varbl[xxxx:Random VAR]-0
<>
: ELSE CASE
<>
: END CASE
<>


Good.Now before we forget so this wont screw your game after ": END CASE"make a Variable change.Change Random VAR and set it to 0! It should look like this:

<>Variable Ch:[xxxx:Random VAR]Set,Randm[1*3]


There now that you have that make a fork condition and make it Variable:Random VAR set:1 same. And ad and else case. Here is how it should look so far:

<>Variable Ch:[xxxx:Random VAR]Set,Randm[1*3]
<>FORK Optn:Varbl[xxxx:Random VAR]-0
<>
: ELSE CASE
<>
: END CASE
<>Variable CH:[xxx:Random VAR]Set, 0
<>


Under Fork Optn make a message that says something like You founf (whatever ) ore!
and ADD ITEM: (whatever) ore. IT should look like this:

<>Variable Ch:[xxxx:Random VAR]Set,Randm[1*3]
<>FORK Optn:Varbl[xxxx:Random VAR]-0
<>Messge: You found Iron Ore!
<>Add/Remove Item:Iron Ore-> 1 Incr.
<>
: ELSE CASE
<>
: END CASE
<>Variable CH:[xxx:Random VAR]Set, 0
<>


The also add under the add item a Variable change.Make it Mining XP +(5) or whatever.It should look like this:

<>Variable Ch:[xxxx:Random VAR]Set,Randm[1*3]
<>FORK Optn:Varbl[xxxx:Random VAR]-0
<>Messge: You found Iron Ore!
<>Add/Remove Item:Iron Ore-> 1 Incr.
<>Variable CH:[xxxx:Mining XP]+, 5
<>
: ELSE CASE
<>
: END CASE
<>Variable CH:[xxx:Random VAR]Set, 0
<>

Yea now all we have to do is add under "ELSE CASE":a message tat says You failed to mine anything.Finaly all of it together should look like this:

<>Variable Ch:[xxxx:Random VAR]Set,Randm[1*3]
<>FORK Optn:Varbl[xxxx:Random VAR]-0
<>Messge: You found Iron Ore!
<>Add/Remove Item:Iron Ore-> 1 Incr.
<>Variable CH:[xxxx:Mining XP]+, 5
<>
: ELSE CASE
<>Messge: You failed to mine anything.
: END CASE
<>Variable CH:[xxx:Random VAR]Set, 0
<>

AND WALLA!