Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

 
Reply to this topicStart new topic
> [Eventing]Basic leveling system, It is pretty basic, a bit time-consuming though.
RuneRPG
post Oct 18 2009, 09:37 AM
Post #1


Level 1
Group Icon

Group: Member
Posts: 8
Type: Developer
RM Skill: Beginner




Okay, I will teach how to make a basic leveling system with no scripts. Please note that it is pretty time-consuming as you have to make a pretty massive amount of conditional branches, depending on the maximum level of the things you are implementing.

First, you will start with a Common Event. I named mine 'Normal Log Cutting' but you can name your event whatever is relevant to what you are making.



In my woodcutting system, There is a chance I can get no logs at all. This will get me no experience, so I will not add this after the End Branch. Instead, I will start adding the leveling system after I get logs successfully which is determined when the random number is greater than 5 and set the variables.

To set the variables, go to Control Variables and add a new variable. You should set it to add 1. My examples are 'LogsNeeded' and 'ChoppedLogs'. LogsNeeded will be the variable that keeps track of the amount of "experience" I have. As seen in the picture, when LogsNeeded equals 3, I level up to level 2 woodcutting. The reason I have 2 different variables (LogsNeeded and ChoppedLogs) is because I have more than one type of tree and the next tree after a normal tree (Oaks) will add 2 to LogsNeeded instead of 1, which means I get more experience from chopping Oaks.

The variable 'ChoppedLogs' is not needed but if you decide to add it, It will display the amount of total logs you chopped. If you want to add this, go to Control Variables and add a new variable. You can add this right under 'LogsNeeded'. You should also set this to add 1.

Under this, make a new Conditional Branch. Set it to the variable that matches my 'LogsNeeded' variable. For the value that it will equal, put however many "logs" you need to cut to get to level 2. Then, go to Control Variables and add a new variable for the level. I named mine 'Woodcutting Level'. Only when you level to level 2, make the variable add 2. For all the other levels, make the variable add 1. The reason for this is because the variable starts at 0, instead of 1. Under the line that says, Control Variables: [####: VARIABLE NAME] += 2, add text. Make it say:

You have leveled up in [WHATEVER]!
You are now level \v[THE VARIABLE NUMBER THAT STORES YOUR LEVEL]

Keep adding more Conditional Branches for every level, only this time change the value that LogsNeeded equals and switch WoodcuttingLevel to add 1 instead of add 2. To have a experience curve that gets harder as you level, multiply your LogsNeeded for level 2, with a calculator by a certain amount. I chose to multiply by 1.25. The higher the number, the harder the training. I wouldn't recommend anything over 2. Keep repeating this step for more levels. I hope this helped. smile.gif
Go to the top of the page
 
+Quote Post
   
RuneRPG
post Nov 14 2009, 10:22 PM
Post #2


Level 1
Group Icon

Group: Member
Posts: 8
Type: Developer
RM Skill: Beginner




I think I put this in the wrong section? Move to Tutorials or something?
Go to the top of the page
 
+Quote Post
   
The Law G14
post Nov 15 2009, 06:00 AM
Post #3


Scripter FTW
Group Icon

Group: Local Mod
Posts: 1,346
Type: Scripter
RM Skill: Skilled
Rev Points: 5




This might be a little better in the Tutorials Section, sI'll move it for you. Also, nice tutorial you have here, I'm sure alot of poeple will find it useful smile.gif


__________________________

To put in sig, copy this link:
CODE
[url="http://www.rpgrevolution.com/forums/index.php?showtopic=51540"][img]http://img40.imageshack.us/img40/6504/conceptthelawbanner.png[/img][/url]


Sig Stuff


"When you first come, no one knows you. When help them out, they all know you. When you leave, they all love you. When you come back, they've already forgotten you." -- copy into your sig if you think this quote speaks true!

If you are one of the very few teenagers that know what real rap is and don't blindly listen to the hate statements (rap is crap), then put this in your sig. I say this in the name of Common, Mos Def, Lupe Fiasco, 2Pac, Nas, Talib Kweli, Eminem, and many others. -Exiled One

My Project Thread: Gai's Hunters


Go to the top of the page
 
+Quote Post
   
RuneRPG
post Nov 25 2009, 11:02 PM
Post #4


Level 1
Group Icon

Group: Member
Posts: 8
Type: Developer
RM Skill: Beginner




Thank you Law. smile.gif
Go to the top of the page
 
+Quote Post
   
Michael
post Nov 26 2009, 04:54 AM
Post #5


Level 33
Group Icon

Group: Revolutionary
Posts: 838
Type: Writer
RM Skill: Skilled




This looks like a great tutorial, but is they're any faster way to make more levels?
Go to the top of the page
 
+Quote Post
   
Runefreak
post Dec 4 2009, 05:02 PM
Post #6


Comic Saaaaaaaans!
Group Icon

Group: Revolutionary
Posts: 140
Type: Developer
RM Skill: Advanced




Neat tutorial, I'll be using this in my farm game. thanks.gif teehee.gif


__________________________
</div>
Go to the top of the page
 
+Quote Post
   
Bio Wolfz
post Dec 4 2009, 05:46 PM
Post #7


Blinded Assassin
Group Icon

Group: Revolutionary
Posts: 164
Type: Mapper
RM Skill: Intermediate




This could be interesting but is this XP or VX.
Go to the top of the page
 
+Quote Post
   
Runefreak
post Dec 4 2009, 06:12 PM
Post #8


Comic Saaaaaaaans!
Group Icon

Group: Revolutionary
Posts: 140
Type: Developer
RM Skill: Advanced




QUOTE (Bio Wolfz @ Dec 4 2009, 05:46 PM) *
This could be interesting but is this XP or VX.

This system works with both RPG Maker XP and RPG Maker VX.


__________________________
</div>
Go to the top of the page
 
+Quote Post
   
Bio Wolfz
post Dec 4 2009, 06:19 PM
Post #9


Blinded Assassin
Group Icon

Group: Revolutionary
Posts: 164
Type: Mapper
RM Skill: Intermediate




O.O. Then i will be trying it.
Go to the top of the page
 
+Quote Post
   
RuneRPG
post Jan 4 2010, 05:47 PM
Post #10


Level 1
Group Icon

Group: Member
Posts: 8
Type: Developer
RM Skill: Beginner




QUOTE (Michael @ Nov 26 2009, 07:54 AM) *
This looks like a great tutorial, but is they're any faster way to make more levels?

Not that I know of, without using any scripting that is.

QUOTE (runefreak @ Dec 4 2009, 08:02 PM) *
Neat tutorial, I'll be using this in my farm game. thanks.gif teehee.gif

I hope you found this useful.

QUOTE (Bio Wolfz @ Dec 4 2009, 09:19 PM) *
O.O. Then i will be trying it.

Hope it works out for you. smile.gif
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: 24th May 2013 - 05:46 PM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker