Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Proffessions (Mining only atm) *Tutorial**XP and VX*

  • Yes.

    Votes: 1 100.0%
  • no.

    Votes: 0 0.0%
  • Clear up your writing.

    Votes: 0 0.0%
  • i'll use it.

    Votes: 1 100.0%

  • Total voters
    1
Hello

excuse me for my english i'm just a kid and my explanation language might not be the best so you need to concentrate while reading ;)
there are some people here who don't yet know how to script and i am one of them.
but you can do much things with common events and just events too

This tutorial requires you to know how conditional branches and variables work in RPG Maker VX
i updated my way of the mining professions but i will add a proffession demo.
it will include the mining skill, Blacksmithing skill, Woodworker(contains woodcutting and make staffs and poles for polearms etc.) i am also thinking of making a magic profession where you need to have spell books and stuff to give you extra power in your fight to freedom.

Updates:

  • I am making a Complete tutorial with flash so it's real easy to modify events and such. i want to make this demo as friendly user possible os i am making a startup with flash so you can choose to start the demo or the tutorial. The flash will require flash player 9 or 10.(it will show vids on how to do it and so on.)
    The demo will release be released on next Tuesday
    i decided to not further update this or whatsoever in the next week i want to learn how to make games with flash so there will be no update soon about this]
Mining profession
here is the mining profession.
Mining%20tutorial.jpg

Steps to create the mining proffesion.

basics:
I assume you have knowledge on how to use Conditional branches and variables etc.
No programming needed.
you only need one common event.
for trying use:
"Copper Vein"

you need
3 vars:
"Mining"
"Mining xp"
"Did i mine?"
1 switch:
"i have mining?"

2 Items:
"Copper ore"
"Copper Pickaxe"

The Common event.
Step one:
make a question that asks you if you want to mine it.
The first Conditional branch looks if you have the required mining lvl. if it's too low it won't work.
the second following will look if you have a pickaxe to work on the Vein if not it won't work.

I'll show you how now:
Code:
Conditional branch -> Variable Mining xp -> Equal to 1.

Conditional branch -> tab 4 -> item -> Copper Pickaxe

my higher lvl veins require a better pickaxe that is made of silver bars but i will explain that later.

Step 2:
you put a var called "did i mine?" i have Random No. (0...2)
this means it will choose a number between 0 and 2
after this make a conditional branch with the var "did i mine?" and equal to 2
if you test and it didn't choose 2 it will say that you need to try again

You create it by doing.
Code:
Control Variables -> Variable single "Did i mine?" -> set -> Random 0-2

The conditional branch that follows: Conditional branch -> Variable "Did i mine?" -> Equal to constant 2

when mined add 2 Copper ores. see in picture...

-Else(if not guessed 2)

 "i think i need to try again."

Step 3:
I've made a conditional branch of Mining xp >= 50.
>= 50 means Equal or higher than 50.
in this i made it so you get no expirience of this vein.

Else (if lower than 50)
i made it you get 1 xp.

you create by doing:
Code:
Conditional branch -> variable "Mining xp" -> Greater than or equal to 50

the xp is gained with this.

Control Variables -> "mining xp" -> add -> 1

this what you have seen is al in one common event after this create an event on the world with one tab with "you don't have mining"
the other with switch on "Mining" here you should do call common event "Copper vein"

The Common event should be looking like this
Name common event Copper Vein
Code:
Text: Should i mine this vein?

Question: Yes

..............No

 .............When yes:

....-> Conditional branch -> Variable "Mining xp" -> Equal or Greater than 1

.........-> Contidional branch -> Item "Copper pickaxe"

............-> Control variables -> "Did I mine?" -> Random 0 to 2

............-> Conditional branch -> Variable "Did I mine?" ==2

................-> Conditional branch  -> Variable "Mining xp" Equal or greater than 50

....................-> Text: you got no xp for this vein

....................-> Text: You received one "Copper Ore"

....................-> Change item: Add "Copper Ore" x1

....................-> Erase event

.................Else -> 

.....................-> Text: You received 1 xp

.....................-> Control Variables "Mining xp" -> Add 1

.....................-> Text: You received one "Copper Ore"

.....................-> Change item: Add "Copper ore" x1

.....................-> Erase event

........Else -> 

.............-> I don't have a Pickaxe with me

 

Else -> 

.....-> I am to low to mine this Vein.
this was the common event

now make a world event with one tab
Text: i don't have mining
And make a second tab with
Switch "Do i have mining" = on

Call Common event: Copper Vein




EXTRA:
PLEASE NOTE: Every Sort vein: copper, silver etc need to have his own common event

if you want a higher lvl vein to be activated only by a higher lvl pickaxe you need to make a conditional branch with the other pickaxe.
Checks if you have the higher pickaxe: Conditional branch -> Tab 4 -> Item -> "Golden pickaxe"

you can also make it that you can use a "Copper pickaxe" on a "Golden Vein" but it can be destoyed when doing this. [i did not yet try this out]

Code:
Conditional branch -> Tab 4 "Item" -> "Golden Pickaxe"

-> Control Variables -> Variable single "Did i mine?" -> set -> Random 0-2

....->Conditional branch -> Variable "Did i mine?" -> Equal to constant 2

........-> Conditional branch  -> Variable "Mining xp" Equal or greater than 150

........-> Text: You received 2 golden ores but no xp

........-> Change item: Add "Golden Ore" x 2

.........Else-> Text: you received 2 Golden ores and 2 xp

..............-> Control Variable "Mining xp" -> add -> 2

..............-> Change item: Add "Golden Ore" x 2

......Else -> 

............->Text: I think i should try again.

Else -> 

.......->Conditional branch -> "Copper Pickaxe"

..........-> Control Variables -> Variable single "Did i mine?" -> set -> Random 0-2

..........->Conditional branch -> Variable "Did i mine?" -> Equal to constant 2

.............-> Conditional branch  -> Variable "Mining xp" Equal or greater than 150

................-> Text: You received 2 golden ores but no xp

................-> Change item: Add "Golden Ore" x 2

...........Else-> Text: you received 2 Golden ores and 6 xp cuase of using a Copper pickaxe

................-> Control Variable "Mining xp" -> add -> 2

................-> Change item: Add "Golden Ore" x 2

......Else -> Text: You're pickaxe has been destroyed during this session you should try a "Golden pickaxe"
This should be put in Conditional branch -> Variable "Mining xp" -> equal or greater than Number


with the higher lvl vein it should look like this:
Code:
Text: Should i mine this vein?

Question: Yes

..............No

 .............When yes:

....-> Conditional branch -> Variable "Mining xp" -> Equal or Greater than 125

......->Conditional branch -> Tab 4 "Item" -> "Golden Pickaxe"

.......-> Control Variables -> Variable single "Did i mine?" -> set -> Random 0-2

.......->Conditional branch -> Variable "Did i mine?" -> Equal to constant 2

........-> Conditional branch  -> Variable "Mining xp" Equal or greater than 150

........-> Text: You received 2 golden ores but no xp

........-> Change item: Add "Golden Ore" x 2

.........Else-> Text: you received 2 Golden ores and 2 xp

..............-> Control Variable "Mining xp" -> add -> 2

..............-> Change item: Add "Golden Ore" x 2

......Else -> 

............->Text: I think i should try again.

Else -> 

.......->Conditional branch -> "Copper Pickaxe"

..........-> Control Variables -> Variable single "Did i mine?" -> set -> Random 0-2

..........->Conditional branch -> Variable "Did i mine?" -> Equal to constant 2

.............-> Conditional branch  -> Variable "Mining xp" Equal or greater than 150

................-> Text: You received 2 golden ores but no xp

................-> Change item: Add "Golden Ore" x 2

...........Else-> Text: you received 2 Golden ores and 6 xp cuase of using a Copper pickaxe

................-> Control Variable "Mining xp" -> add -> 2

................-> Change item: Add "Golden Ore" x 2

......Else -> Text: You're pickaxe has been destroyed during this session you should try a "Golden pickaxe"

...Else -> 

.............-> I don't have a Pickaxe with me

Else -> 

.....-> I am to low to mine this Vein.
 
I think it would be better to make them clear in the tutorial itself, rather then have people PM you. I get what your trying to explain, but its not explained well.
 
well i had to do it quickly i'll make a good run through tomorrow and add more proffessions.

if you do understand it works 100%
 
Rather then adding professions, you should clean up your writing a bit first. A lot of people won't take the time to figure out what you're trying to say if your writing isn't clear or contains a lot of mistakes.
I looked over it anyway, and it does look like it should work pretty nicely. I might try it out later and give you some feedback.
 
I tried to clean it up a bit don't know if it's good yet though

anwyay if you have any problems just reply here.

If you did understand how to do this and made it work with this tutorial please give some feedback by leaving a post with a thanks or something :)
 
Tutorial is great, but remember, the mining profession can be done in RMXP aswell. (With the same mining tutorial of yours, since it's the same as you'll do in RMXP.)
 
feralninja":2i881jcd said:
Tutorial is great, but remember, the mining profession can be done in RMXP aswell. (With the same mining tutorial of yours, since it's the same as you'll do in RMXP.)

thank you for your comment and yes it's also compitable for RMXP cuase it's made with events so feel free to try with RMXP too
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top