Charas-Project

Game Creation => Requests => RPG Maker Programming => Topic started by: Rahl on July 23, 2008, 07:43:52 PM

Title: Basic Material Collection Tutorial
Post by: Rahl on July 23, 2008, 07:43:52 PM
Step one:

This is a simple tutorial on how to create things such as plants and trees and such that regenerate after a time and allow you to collect them again. For those new to scripting or that just don't know how.

Create a page like this but substitute the pictures and items and switch to match your game and the materials you want to be picked.

(http://i43.photobucket.com/albums/e354/hellroc/tutpedal1.jpg)

Create your second page like this also filling in the picture (the picture should look like it has been picked or chopped or whatever) and switch you chose to take place in 1. But also make sure a requirement for that page is the switch you choose to be turned on.

(http://i43.photobucket.com/albums/e354/hellroc/tutpedal2.jpg)

This next bit is making material gathering but somethign that requires another item to be in your inventory to collect it (ie: an axe, or pickaxe, or whatever).

Create a page like this but substitute the pictures and items and switch to match your game and the materials you want to be picked.

(http://i43.photobucket.com/albums/e354/hellroc/gotwood1.jpg)

Create your second page like this also filling in the picture (the picture should look like it has been picked or chopped or whatever) and switch you chose to take place in 1.
But also make sure a requirement for that page is the switch you choose to be turned on.

(http://i43.photobucket.com/albums/e354/hellroc/gotwood2.jpg)

Now if your resource takes up more than one square such as this tree for example. Make all the little squares to form the tree together and on the first page there should be the original picture, and on the second a tansparent picture. Make sure these are all on the level you want them to be.

(http://i43.photobucket.com/albums/e354/hellroc/gotwood3.jpg)

[EDIT] PS the amount of time till respawn can be upped by adding more waits

You can download this tutorial here:
http://www.savefile.com/files/1684844

(ps theres also a health bar scripting in there so don't mind the health bar.)
Title: Re: Basic Material Collection Tutorial
Post by: Uberpwn_w00t on July 23, 2008, 08:07:14 PM
Neat-o.

Bookmarked.
Title: Re: Basic Material Collection Tutorial
Post by: Rahl on July 23, 2008, 08:24:37 PM
Thanks