Submit Your Article Guild Wars 2 Forum RPG Maker VX.com
 
RPG Maker
 

 Username:
 Password:
   Not a member? Register!



Home > Tutorials > RPG Maker VX > Mining System

Mining System


First off make 5 new items and a Weapon.

Assuming everyone knows what I'm saying I won't include a list of stats for the items.

1. Pickaxe
2. Hammer
3. Copper
4. Tin
5. Bronze
6. <Wep> Bronze Sword
You can also make weapons and armor specifically made out of the bar that you have, to limit the player.
You might also wanna add some more ores and other bars to make armor and weapons out of. (Such as Iron)

Now, create a event. You can make the graphic a rock or something you can mind from.

Make it say

Would you like to mine (Insert name of ore here)?
Yes
- Condintional Branch, Pickaxe in Inventory
-- You pick at the rock and get (Insert name of ore)
-- Insert (Insert name of ore here) in to inventory
- Else
-- You need a pickaxe to mine here.
No
- Okay.

Now create a new event that is the oppisite ore.

Now create a new event that is a Ore burner to make the bar.

Make it say

What would you like to smith?
Bronze
(You can add more bars to make).
- Conditional Branch, Copper in Inventory
-- Conditional Branch, Tin in Inventory
-- You smith a Bronze Bar.
-- Insert Bronze Bar into Inventory
-- Delete Copper from Inventory
-- Delete Tin from Inventory
-- Else
-- You need tin.
- Else
- You need copper.

Now create a new event that is a Smithing Station.

Make it say

What would you like to smith?
Bronze Sword
(You may add more)
-Conditional Branch, Bronze Bar in Inventory
-- Conditional Branch, Hammer in Inventory
-- You hammer the bronze bar.
-- You smithed a Bronze Sword.
-- Insert Bronze Sword in Inventory
-- Delete Bronze Bar
-- Else
-- You need a hammer to smith here.
- Else
- You need a bronze bar.

Now you have created a full Mining and Smithing System.

Additional Methods:

You could also make a probability that you get more than one ore or a big ore clump that could be used more than one time.
If so...
Create a new item
Clump of (Ore)
In the rock event add

Create a Variable named Mining Probability
Random Numbers 1 ~ 2

Would you like to mine (Insert name of ore here)?
-Yes
- Condintional Branch, Pickaxe in Inventory
-- Condintional Branch, MiningProbability = 1 (Regular)
-- You pick at the rock and get (Insert name of ore)
-- Insert (Insert name of ore here) in to inventory
- Else
-- Condintional Branch, MiningProbabaility = 2(Irregular)
-- You pick at the rock and get a Clump of (Insert name of ore)
-- Insert Clump of (Ore) in Inventory
- Else
- You need a pickaxe to mine here.
-No
- Okay.

Then in the Smith Bruner event. Just delete the Clump of (Ore) and add another regular ore to the inventory, so it seems as if you made a bar out of half of the clump and it turned into the regular amount.

Another additional method is that you can make one object that needs to be made with more than one bar. In the smithing event add a condintional branch below the first conditional branch that says another bar is needed to make the object and delete two bars.
If they don't have another one you can say " You need another bronze bar to make this." You caould also ue this method to make object that need diffrent bars, like you may need 1 Bronze bar and a Iron bar.


Details
Tutorial: Mining System
Date Listed: 2009-12-22
Author: JJDOMER45
Total Hits: 2090


Embed
Short URL:

HTML:

BB Code:



RPG RPG Revolution
RPG RPG Revolution is your #1 stop for game development and console RPG games, as well as those created by people like you. Link to us to support us, so we may grow to be better website community for you.

RPG RPG Revolution is an Privacy Policy and Legal