iPhone App Directory
RPG Maker VX
 
Gallery Members Search Calendar Help


Welcome Guest ( Log In | Register )

Collapse

>Announcement

Keep an eye out for the upcoming 3rd Quarter Contest!
 
Reply to this topicStart new topic
> [-Minigame-] Gathering skills & leveling them, optional script addon
Neosky
post Sep 19 2010, 11:53 PM
Post #1


Master of the DarkSyde of Cheese!
Group Icon


Type: Undisclosed
Alignment: Lawful Evil




.:Neo's Gathering system:.



**Switches are optional

{Optional} Custom Page and list

[begin]

Set vaiables: Were are only going to do Wood, herbs, and mining.
1: Herb current
2: Wood current
3: Mining Current

4: Herb Max
5: Wood Max
6: Mining Max
These are mandatory. Everything else is going to be optional cosmetics.


Switch= 1: Have skills **



------------------------------------------------------------------

[Optionals]
Make items for axes / mining pick / herb gathering tool {gloves}
Make an item for know how many points you have "Gathering book" (more on that later)
See database in demo*

Make the items your going to be getting = Wood/ore/herb
See database in demo*

Create gathering animation
See database in demo*

you can just copy everything from my demo and place them where they are and there's really no work needed... lol See database in demo*



Gathering book is mainly if you don't want to use the script but still know what you have in points.
Create an item just a book that says something about gathering points.
only available in the menu, no scope. Call Common event: 001 Check Points

Comment Event 001: Check points

@>Text:-,-,Normal Bottom
I have \v[1] points for Herb gathering
I have \v[2] points for Wood gathering
I have \v[3] points for Mining

This will tell you how many points you have when you activate it from the menu.



[Starting Off optional]

{Optional}

Attached File  set_max.png ( 248.17K ) Number of downloads: 368



At the opening map "intro w/e"
Create an event anywhere you want setting the Max of the gathering skills to 1.
This is if your are using the script. If there is no value when you open the list, it crashes.


@>Control variables: [0006:Herb Max] = 1
@>Control variables: [0007:Mining Max] = 1
@>Control variables: [0008:wood Max] = 1
@>Control Self Switch: A=on

{Optional}


[Starting Off 2]

Attached File  gaining_skills.png ( 18.85K ) Number of downloads: 174



Making the event to allow gathering:

@>Change Item: [Gathering book],+1
@>Control Swtiches: [0001: Gathering on] = on
@>Show animation: Player,[Recover1]
@>Control Variables: [0006: Herb Max] = # (# = max number "5 on this demo")
@>Control Variables: [0007: Mining Max] = 5
@>Control Variables: [0008: Wood Max] = 5
@>Change Items:[Axe], + 1
@>Change Items:[Pick], + 1
@>Change Items:[Gloves], + 1


At this point you can now start gathering up to 5, or whatever you choose.

[Gathering Node]
Attached File  node.png ( 51.56K ) Number of downloads: 175



Now for the Node events.


Priority: Same as Characters
Trigger: Action button

Choose your default graphic {I placed a character set in the demo with examples}
You can use for wood Tileset D the broken post.

CODE
@>Conditional Branch: [Axe] in Inventory
    @>Text:-,- Dark, Bottom
     :        :Do you want to Chop \c[11]Wood\c[0]?
    @>Show Choices:     Yes,    No
     :  When [    Yes]
        @>Conditional Branch: Varaiable [0003: wood Chopping] >= 0
             @>Show animation: this event, [Wood Meter]
             @>Wait: 78 frame(s)
             @>Change Items: [Wood], +1
             @>Control Self switch: A =On
             @>Wait: 10 frame(s)
             @>Conditional Branch: Variable [0003: Wood chopping] == Variable [0003:Wood Max]
                 @>
              :   Else
                  @>Control Variables: [0003: Wood chopping] + = 1
                  @>
              :   Branch End
              @>
          :   Else
              @>Text: -,-, Dark, middle
              :          : Requires 0 Gather points, you have \v[3] points.
              @>
          :   Branch End
          @>
      :   When [    No]
          @>
      :   Branch end
      @>
  :   Else
      @>Text: -,-, Dark, middle
              :          : You don't have the right equipment.
      @>
  :   Branch End
@>


On the second page just have the finished graphic I used TileSet b some dirt clumps.
set self swtich A on and nothing else.



Now an what does what?

The first branch is to check if you have the item to allow chopping EX: Axe

The second branch is crucial to the level, it checks to see if your current chop level is greater then or equal to the number you choose. In this example it's set to 0, it's the first node you get, you don't have to have any points to gather this.
{To make it where you need [X] amount of points just change it from 0 to w/e. This is how the whole leveling your skills works.
Bascialy you can make your first level wood 0, then later in the game make a new set of wood that requires 25 points, everytime you gather the lv1 wood you get a point, so all you need to do is gather 25 lv1 nodes. Now you can gather lv2 nodes, and so on....}

The Third branch is to check if your current is equal to max.
If so nothing happens, if it's lower then you gain a point.

On the Second Branch if you've added, say you need 5 points.
The else is going to tell you
Requires 5 points. You have \v[3] points.
which would be something under 5.

Everything on the second branch is customizable. It's the actual act of chopping wood. have it just say you get wood, w/e you want. and add item wood+1 or what ever formulas you want.

This it in a nuttshell for the whole gathering situation.

[Leveling up your skills]

Attached File  leveling_up.png ( 25.56K ) Number of downloads: 185



This is for your Gathering Trainer to level your skill's Max.
Set the event to whatever, I made it the maid chick.

Priority: Same as characters
Trigger: Action Button

CODE
@>Conditional Branch: Switch[0001: Gathering on] == on
     @>Text:-,-,Dark,Bottom
      :         : Level your skills?
     @>Show choices:    Yes,    no
      :   When [    Yes]
          @>Text:-,-,Dark,bottom
          :          :   Which skill?
          @>Show Choices:   Mining,    Wood,    Herbs
           :   When [     Mining]
                @>Conditional Branch: Variable [0002: Mining skill] == Variable [0007:Mining Max]
                     @Show animation:  Player, [Recover1]
                     @>Text: -,-,dark, bottom
                      :         :  You know can gather to 150
                     @>Control Variables:[0007:Mining Max] = 150
                     @>
                 :   Else
                     @>Text:-,-,dark,bottom
                      :        : Not enough points.  You need \v[7], you have \v[2].
                     @>
                 :   Branch End
                 @>
             :   When cancel
                 @>
             :   Branch end
      :   When [     no]
           @>
      :   Branch end
      @>
:   Else
     @>Text:-,-,Dark,Bottom
      :        :  You don't have skills man!
     @>
:  Branch End



That's the setup for leveling your mining. All you have to do for the rest is where it says when wood and when herbs copy and paste the branch for mining and edit the variables.

What does what?

The first branch is to check weather your able to gather or not. If not the last else will be something like your skilless or something, lol.

Once you've chose you want to level up, you choose your skill to level, the next branch checks if your current skill is equal with the max, if so you level, if not she tells you how many you need and how many you have.
Under the level branches again is all customizable. Have them jump around blow up whatever, just make sure to change the Max variable to the next level you want the max to be. EX: 150

And that's it bascialy for everything.

The next is optional.

[Leveling to Max]
Attached File  gain_max.png ( 32.93K ) Number of downloads: 140



This is if you want to test everything out make sure it works, or whatever
Honestly It's longer then everything else, if you want this, just copy the event from the demo, it's the little girl.

As long as all the switches and variables and so on are the same as the demo, you just have to copy and paste, and she's ready for De-bugging.




As for the Script. All you have to do is copy the optional section from the scripts.
Copy and paste them into your game, and your done. Everything is set to show your progress through bars. I haven't edited it yet to display numbers or anything just bar progression. I'll get to that later when I have time.

You can edit whatever else you want in the scripts. This has been highly cut to just show the Statistics, so if you want everything else that comes with the script, go to the link above and get the default script and set it up.

Thanks, hope this helps, let me know what ever you need to know.
mine has lock picking skills as well, and so on. You can make however many skills you want.


DEMO"

http://www.mediafire.com/download.php?75ca2leiaq4xc30

*Edit: 9-1-11
addon:

using http://www.rpgmakervx.net/index.php?showtopic=49361&hl=
The simple random chest application from this thread is a GREAT idea for the loot. I'm using it to place 3 different items you "could" get from gathering.

This post has been edited by neosky: Sep 2 2011, 03:46 AM


--------------------


Remember, Remember the 5th of November...
Spoiler:



If you are new, please go through this spoiler for VERY useful links.
Spoiler:





Tarris Thread || User Forum || Tarris Hold Website || Twitch.tv
Go to the top of the page
 
+Quote Post
   
Neosky
post Sep 23 2010, 06:23 PM
Post #2


Master of the DarkSyde of Cheese!
Group Icon


Type: Undisclosed
Alignment: Lawful Evil




Just curious if this has helped at all?

I noticed that it has had 13 downloads so far, and alot of veiws, but no comments? I can't make it any better or so if no one leaves crit, lol. Just wanting to make sure everyone understands it, or if there were any bugs or whatever. It's just nice to hear sometimes.

This post has been edited by neosky: Sep 23 2010, 06:24 PM


--------------------


Remember, Remember the 5th of November...
Spoiler:



If you are new, please go through this spoiler for VERY useful links.
Spoiler:





Tarris Thread || User Forum || Tarris Hold Website || Twitch.tv
Go to the top of the page
 
+Quote Post
   
IceDragon
post Sep 25 2010, 10:31 PM
Post #3


I demand cookies.
Group Icon


Type: Coder
Alignment: Neutral Good




Sorry Neo, but thats just the normal order of things around here.
People come, take and just leave.

Anyway, nice Tut.
Though, knowing me, I would just create a script (And waste time debugging) to accomplish this.


--------------------
Spoiler:





To be Hexa-fied


Spoiler:
Other/Reminders--
Support your cookie loving dragon!

CODE
[url="http://www.rpgmakervx.net/index.php?showuser=52960"][img]http://i56.tinypic.com/2d1pfmw.png[/img][/url]


http://www.rpgmakervx.net/index.php?showto...amp;#entry48215 HA AUTOTILES
Pine's Birthday is the 2th of July

WORK ON YOUR TIME MEMORY @___@
Go to the top of the page
 
+Quote Post
   
Neosky
post Sep 25 2010, 11:24 PM
Post #4


Master of the DarkSyde of Cheese!
Group Icon


Type: Undisclosed
Alignment: Lawful Evil




lol, yeah. I just wanted to make sure eveything was working ok for everyone or if it made sense, lol. Having a script would rulz for that, but everytime someone asked about getting on in the script request everyone said just use events, so I decided after a year of people asking I'd throw this out. XD


--------------------


Remember, Remember the 5th of November...
Spoiler:



If you are new, please go through this spoiler for VERY useful links.
Spoiler:





Tarris Thread || User Forum || Tarris Hold Website || Twitch.tv
Go to the top of the page
 
+Quote Post
   
nicolechan63
post Sep 26 2010, 01:14 AM
Post #5



Group Icon


Type: Undisclosed
Alignment: Unaligned




Nice ! ^^ I checked it out the demo and I must say it's a really cool idea ! I'll make sure to include this in my Next Game and be sure to credit you

It was kind of annoying to Event the Gathering Process earlier with Text messages, Now i guess I'll be using yours =) Since it's so much way better, The Animated Graphics look really cool !

Thnx for the awesome Demo, really helps ppl like me a lot, Since I am new and know very little about eventing in RPG Maker !

This post has been edited by nicolechan63: Sep 26 2010, 01:17 AM
Go to the top of the page
 
+Quote Post
   
Neosky
post Sep 27 2010, 07:11 AM
Post #6


Master of the DarkSyde of Cheese!
Group Icon


Type: Undisclosed
Alignment: Lawful Evil




wow, thank you alot! Glad it works out. There's so much more you can do with it as well. Just remember you can customize all you want!


--------------------


Remember, Remember the 5th of November...
Spoiler:



If you are new, please go through this spoiler for VERY useful links.
Spoiler:





Tarris Thread || User Forum || Tarris Hold Website || Twitch.tv
Go to the top of the page
 
+Quote Post
   
Aarowaim
post Sep 29 2010, 01:35 AM
Post #7



Group Icon


Type: Coder
Alignment: Neutral Good




Pretty good tutorial. I prefer a different style of gathering system where the skills level automatically, but would require (x pieces of wood*gathering lvl) to level up. I would then give a reward for a better gathering lvl, e.g you are more likely to get better quality wood for crafting or maybe a better chance of getting an extra piece of wood.

But in all honesty, for the type of gathering system that you are teaching here, I think this is a pretty good tutorial that I would recommend for anyone who wants to know how to make a gathering system.


--------------------
My Quotations:
Spoiler:
(Feel free to use them in your sig, but use quote tags with my username plz)
QUOTE (Aarowaim)
Programming isn't a hobby, It's a lifestyle.


QUOTE (Aarowaim)
Everyone is dumb on the inside, but some show it more than others; I happen to be one of those "some".


I support:
Spoiler:





Tears of reality looks pretty promising


And most of all, my favorite program (other than rpg maker vx), Rainmeter. I even took the time to make a support bar.
Rainmeter doesn't show how much it rained last night, but it probably could ;)
Go on, click it... I know you want to.


My projects:
Spoiler:
Still fooling around on a test map that I'll get around to making a game out of.

My Creations:
Spoiler:

Codes:
Spoiler:
Still learning/practicing. I'm working on a code as a pet project or whatever they're called.
My first code (a small but useful addon) is up @ the completed RGSS2 scripts

Graphics:
Spoiler:

My Personality/Thoughts:
Spoiler:

My skills are:
Graphics: Anything smaller than 48x48 I can do decently, anything over that, I can recolour and sometimes put together, but I can't make graphics from scratch
Scripting/Coding: Pretty good at them when I try, but I'm a casual coder, so don't expect new codes too often.
Writing: I used to hate writing, but now I'm starting to like it and I'm pretty good at it. I'm no grammar god, but my ideas are very powerful.
Reading: Fast reader, Reading comprehension level was at Grade 11 when I was only in grade 1.
Procrastination: I'll get around to it.


Random thoughts:
If a writer writes, then shouldn't a butler butle and a carpenter carpent?
Why do they call it procrastination? There's nothing pro about it.
Go to the top of the page
 
+Quote Post
   
Neosky
post Sep 30 2010, 08:56 AM
Post #8


Master of the DarkSyde of Cheese!
Group Icon


Type: Undisclosed
Alignment: Lawful Evil




wow thanks!

Yeah I just figured it would be a good tut for a simple gathering system. I figured they'd have it level up by gathering kinda like mmos. And the more they gather the better stuff they can gather depending on either how many points are in the skill or if the creator wants they can make levels with a little adding on, lol. I based it off WoW;s gathering though. When you mine your skill can go to 75 or something, and every time you gather you get a point, and copper is the losest level and when you get like 25 points you can start getting iron or something can't remember, then bronze and so on till you get to 75 then you have to level it up so you can no gather up to 150 which gets into way better minerals and so on till you hit 450 I think is the cap right now...

Thank you so much though for the comment!!


--------------------


Remember, Remember the 5th of November...
Spoiler:



If you are new, please go through this spoiler for VERY useful links.
Spoiler:





Tarris Thread || User Forum || Tarris Hold Website || Twitch.tv
Go to the top of the page
 
+Quote Post
   
FenixFyreX
post Sep 30 2010, 05:47 PM
Post #9


I'm on fire 24/7 >:3
Group Icon


Type: Coder
Alignment: Lawful Good




This is a pretty neat addon/system you've created here. Could be very useful if used correctly.

QUOTE
Though, knowing me, I would just create a script (And waste time debugging) to accomplish this.


IceDragon, if this forum had a like system like Facebook, I'd have clicked it several times XD
Go to the top of the page
 
+Quote Post
   
The JJ
post Sep 30 2010, 06:03 PM
Post #10


TGOD
Group Icon


Type: Designer
Alignment: Chaotic Neutral




Seriously, This is brilliant eventing skills. I think I may use this for a short part of my game later on.
Great job happy.gif


--------------------



If anyone can sprite, draw RTP portraits and make HUD's then I will pay if someone would help me with some editing, Name the price and just PM me.
Go to the top of the page
 
+Quote Post
   
Aarowaim
post Oct 1 2010, 01:16 AM
Post #11



Group Icon


Type: Coder
Alignment: Neutral Good




I understand now, I thought that you meant there would only be 1 material for each gathering type. I think that I'll try out this version of the material gathering system as my first script.
I'll even PM you when I finish. Don't worry, I'm not a noob when it comes to giving credit. I just wanted a simple script challenge so that I could get into the hang of ruby scripting.
btw, I might add an optional auto leveling system anyways ;p


This post has been edited by Aarowaim: Oct 1 2010, 03:13 AM


--------------------
My Quotations:
Spoiler:
(Feel free to use them in your sig, but use quote tags with my username plz)
QUOTE (Aarowaim)
Programming isn't a hobby, It's a lifestyle.


QUOTE (Aarowaim)
Everyone is dumb on the inside, but some show it more than others; I happen to be one of those "some".


I support:
Spoiler:





Tears of reality looks pretty promising


And most of all, my favorite program (other than rpg maker vx), Rainmeter. I even took the time to make a support bar.
Rainmeter doesn't show how much it rained last night, but it probably could ;)
Go on, click it... I know you want to.


My projects:
Spoiler:
Still fooling around on a test map that I'll get around to making a game out of.

My Creations:
Spoiler:

Codes:
Spoiler:
Still learning/practicing. I'm working on a code as a pet project or whatever they're called.
My first code (a small but useful addon) is up @ the completed RGSS2 scripts

Graphics:
Spoiler:

My Personality/Thoughts:
Spoiler:

My skills are:
Graphics: Anything smaller than 48x48 I can do decently, anything over that, I can recolour and sometimes put together, but I can't make graphics from scratch
Scripting/Coding: Pretty good at them when I try, but I'm a casual coder, so don't expect new codes too often.
Writing: I used to hate writing, but now I'm starting to like it and I'm pretty good at it. I'm no grammar god, but my ideas are very powerful.
Reading: Fast reader, Reading comprehension level was at Grade 11 when I was only in grade 1.
Procrastination: I'll get around to it.


Random thoughts:
If a writer writes, then shouldn't a butler butle and a carpenter carpent?
Why do they call it procrastination? There's nothing pro about it.
Go to the top of the page
 
+Quote Post
   
Neosky
post Oct 2 2010, 01:03 AM
Post #12


Master of the DarkSyde of Cheese!
Group Icon


Type: Undisclosed
Alignment: Lawful Evil




Yeah one on board i was on it had a +Rep feature, but w/e, lol.


Thanks everyone, I have another one for a Suikoden 1 Type castle setup, it's alittle more then this but it's pretty kool. I could maybe place that up here too? If it sounds interesting.



--------------------


Remember, Remember the 5th of November...
Spoiler:



If you are new, please go through this spoiler for VERY useful links.
Spoiler:





Tarris Thread || User Forum || Tarris Hold Website || Twitch.tv
Go to the top of the page
 
+Quote Post
   
Neosky
post Sep 2 2011, 03:47 AM
Post #13


Master of the DarkSyde of Cheese!
Group Icon


Type: Undisclosed
Alignment: Lawful Evil




A bump to display that this would be a great App to use with this system.


*Edit: 9-1-11
addon:

using http://www.rpgmakervx.net/index.php?showtopic=49361&hl=
The simple random chest application from this thread is a GREAT idea for the loot. I'm using it to place 3 different items you "could" get from gathering.


--------------------


Remember, Remember the 5th of November...
Spoiler:



If you are new, please go through this spoiler for VERY useful links.
Spoiler:





Tarris Thread || User Forum || Tarris Hold Website || Twitch.tv
Go to the top of the page
 
+Quote Post
   
kingsofrpg
post Sep 2 2011, 10:42 PM
Post #14



Group Icon


Type: Designer
Alignment: Chaotic Evil




This is extremely similar to my tutorial sleep.gif sorry I didn't know someone already made one


--------------------
Variable/Game_Interpreter Fix
Spoiler:

Proud Puzzle Maker of "Relic"


CODE
dont_hate_the(player) unless player.is_a?(Game_Enemy)
Go to the top of the page
 
+Quote Post
   
Neosky
post Sep 3 2011, 12:33 AM
Post #15


Master of the DarkSyde of Cheese!
Group Icon


Type: Undisclosed
Alignment: Lawful Evil




lol. Yeah I saw when you guys added your's earlier this year, mine was old, almost a year ago, so it's kool. They can have more choices to test, they are pretty different. I've been enhanceing it since I've made it. Adding lockpicking, and so on.

After seeing that new app that helps make random chest I thought I would just add it to the thread to allow people to use it. It's pretty awesome app, you can place different item chances to your gathering.

This post has been edited by neosky: Sep 3 2011, 12:34 AM


--------------------


Remember, Remember the 5th of November...
Spoiler:



If you are new, please go through this spoiler for VERY useful links.
Spoiler:





Tarris Thread || User Forum || Tarris Hold Website || Twitch.tv
Go to the top of the page
 
+Quote Post
   
Andov
post Sep 28 2011, 05:14 PM
Post #16



Group Icon


Type: Undisclosed




I tried the sample for gathering. Works well. May I make two suggestions to polish this? First add notification of items recieved and a sfx when gather is successful. Second, I could only gather one wood and one herb without adding a point. Rocks I gathered all five. The gauges were a nice touch smile.gif

Three requests for info on custimization:
First, tiered resources so that one point or level of gathering can always yield tier one (copper) while second point or level allows gathering tiers one and two (iron). Currently one level only allowed me to gather one unit of copper.
Second, is it possible to make the nodes appear in random locations? Each visit to the map would make the node appear in a random location?
Third, is it possible for nodes to regenerate or become available again with time?

Thank you for this tutorial. I hope to hear your reply soon.

-A-
Go to the top of the page
 
+Quote Post
   
Neosky
post Sep 28 2011, 05:46 PM
Post #17


Master of the DarkSyde of Cheese!
Group Icon


Type: Undisclosed
Alignment: Lawful Evil




All of that is possible, just with some editing of your own. I can help but not this second, lol. Kids.... sad.gif
this was simple start to a ton of things you can do... I forgot about the confirmation noise, cause I use Item pop up, lol.

As for the without a point thing, did you mean visualy it told you that you didn't get a point in the book? I forgot to assign them, lol. You should be able to to gather all? I'll check again.

This post has been edited by neosky: Sep 28 2011, 05:57 PM


--------------------


Remember, Remember the 5th of November...
Spoiler:



If you are new, please go through this spoiler for VERY useful links.
Spoiler:





Tarris Thread || User Forum || Tarris Hold Website || Twitch.tv
Go to the top of the page
 
+Quote Post
   
ShinGamix
post Oct 20 2011, 01:35 AM
Post #18


...now loading...
Group Icon


Type: Designer
Alignment: Unaligned




Whew it's not thirty days yet..yes! score (no necro)
I was thing of using this for a base of my project's WorkCraft System
It has 5 tiers of skills that advance as you progress and it has about 20 skills a level.
I know it sounds massive but I was thinking your gathering system would be perfect for the base of it.
I am downloading the demo now and going to start to mess with it soon.
Thank you in advance
-Shin

Oh wow the download fished already yippie


--------------------
The Maker of Battle Dungeons!!


 

Go to the top of the page
 
+Quote Post
   
Frousteleous
post Jan 17 2012, 07:10 PM
Post #19



Group Icon






This is pretty sweet; ive been wanting to do something similar for awhile (a lot of my games involve digging for extra treasures or gold and mining for different kinds of ores used in alchemy and whatnot; never even thought to do something for herbs or woodcutting), and you basically did it for me in probably simpler terms!

thanks! ;D


--------------------
I Support:
Spoiler:

Go to the top of the page
 
+Quote Post
   
Hilltop
post Jan 17 2012, 08:52 PM
Post #20



Group Icon


Type: Musician




This is great! Definitely simple to configure and opens the doors to larger scaled ideas.

Thank you posting this:)
Go to the top of the page
 
+Quote Post
   

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 31st August 2014 - 09:22 AM

RPGMakerVX.net is an Privacy Policy, Legal.