The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Tutorials and Eventing => Topic started by: TheWorld on January 08, 2008, 11:46:32 PM

Title: -Event request
Post by: TheWorld on January 08, 2008, 11:46:32 PM
Ok,so...I'm making a game called "The World"

It has 2 different story lines, Past & future...but theres a problem.

If I choose past then your character gets changed into a warrior & class is a warrior...but.

If I choose future your character gets changed into a pilot & class is a pilot...yet the problem is when I change classes the skills get messed up. & when you get changed into warrior you wined up with pilot skills...& when you change into pilot you get pilot skills....

so to resolve this I moved all the classes down one space & left the first one blank this way I can just learn the skills during the game using the "Change Skills" event command. BUT the real request here is someone helping me get a level checker event,I'm going to make a NPC called "Skill Master" & when you reach a certain level you will have to do something to earn that skill.
Title: Re: -Event request
Post by: Kokowam on January 08, 2008, 11:49:52 PM
Make a common event run "Parallel Process" on a switch that will always be on. In it, put an event line that is "Variable[XXX]=Hero's Level" (look for it). Then, put a small wait command of... 2 frames? 1 frame? That'll reduce a bit of lag sometimes.

Also, just reference to that variable you're using to do any events. Such as conditional branches. If Variable[XXX] = 3, then etc. Then it'll do the etc. if you're level 3.
Title: Re: -Event request
Post by: TheWorld on January 09, 2008, 12:01:03 AM
You mean like so?(https://rmrk.net/proxy.php?request=http%3A%2F%2Fimg520.imageshack.us%2Fimg520%2F5404%2F57071832qy0.png&hash=a0c90057da2db4fb51b90c53118022f2309822bc)I'm not really that good with the whole variable thing ;9
Title: Re: -Event request
Post by: Kokowam on January 09, 2008, 12:08:51 AM
No.... A variable will always equal itself. The variable has to equal 5. Not a variable #5. Plus, you need the common event.
Title: Re: -Event request
Post by: TheWorld on January 09, 2008, 12:10:57 AM
ugh...so confusing...
Title: Re: -Event request
Post by: Brady on January 09, 2008, 09:21:42 AM
As a suggestion for your original problem:
You could just make two seperate characters and have an event to select which one you would use depending on whether you choose past or future...this only causes a roblem if you intend them to interact with each other or switch or somethin'...
Title: Re: -Event request
Post by: Falcon on January 09, 2008, 11:33:02 AM
ugh...so confusing...

Wait until you get RGSS errors, then tell us if this is confusing.

You can always use scripts to basically copy characters, $game_actors[X].maxhp = $game_actors[Y].maxhp or something like that for each stat.
Title: Re: -Event request
Post by: Brady on January 09, 2008, 02:53:29 PM
Yeah...i think i can wait for rgss errors...i get stressed enough with event errors, but i know i can fix any of them...as fr eventing though, my suggestion should work, unless you want to go with the scripting idea...that's generally easier to just copy a script over making events....
Title: Re: -Event request
Post by: Forty on January 09, 2008, 04:11:41 PM
Another way to do it, make another class that does not learn skills.
Your character will be this class at first.
Make the other two classes learn their first skills at level 2
And at the begining upgrade your character to level 2
Title: Re: -Event request
Post by: Brady on January 09, 2008, 05:17:12 PM
Oooh yeah, that's good.  That should sail pretty well