The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Tutorials and Eventing => Topic started by: alex95 on January 24, 2010, 02:17:26 AM

Title: [resolved] class changing system?
Post by: alex95 on January 24, 2010, 02:17:26 AM
I'm making a class system where you buy an Item, andit changes the class of whoever uses it, but I don't know how to make the class change to the person who uses it. it asks me who changes into who, and there isn't an option for just the character who uses it....... ??? ??? ??? ???
Title: Re: how would you make a class change effect anyone who uses a class change item ?
Post by: Meridius on January 24, 2010, 03:49:34 AM
Would this be an in-battle item or would it only be applicable outside of battle? Either way it's a little tricky to pull off on the fly... Having a CMS would make it easy, other than that I'd say you may want to implement a 'Guild' system where you can go to a specific location and change your class.

But we'll give it a try anyway!

Some questions: 1. How many heroes are in your project? 2. How to you plan to switch party members? 3. RM2K or RM2K3

Once I know more we can elaborate on the details...

Title: Re: how would you make a class change effect anyone who uses a class change item ?
Post by: alex95 on January 24, 2010, 08:01:23 AM
Its RM2K3 and if I can i'll want to make it only used not in battle. There are 4 heroes, and 6 different classes (excluding beginning classes). I'm trying to make an item so that when a party member uses it, he changes to the specific class of that item....
if you could help at all, that would be super help  :)


(Credit: credit goes to NPC for all the mapping resources :) )
Title: Re: how would you make a class change effect anyone who uses a class change item ?
Post by: Meridius on January 24, 2010, 06:31:51 PM
4 Heroes eh? Ok this makes things a lot easier.. Do you start the game with all 4 or start with 1 and others join during progress?

Edit: Also another question: Do you you want the level of the hero to carry over when the class changes or would you rather have it be class independant?

Carry over example:
Hero 1 is level 5; when Hero changes class, new class is also Level 5

Independent example:
Hero 1 is Level 5 with (Class A) and changes to (Class B). (Class B) is only at Level 2, so Hero 1 is now Level 2 of (Class B)
Title: Re: how would you make a class change effect anyone who uses a class change item ?
Post by: alex95 on January 25, 2010, 01:33:25 AM
You start with 3, and 1 gets added on as the first part of the storyline

I'm making it so that he changes class when he uses the item, but kinda like ff1, where they change sprites too they stay the same lvl though....
Title: Re: how would you make a class change effect anyone who uses a class change item ?
Post by: Meridius on January 25, 2010, 02:03:08 AM
Ok, so you need to make an item that turns on a switch; it's one of the item options (Number of uses is up to you, depending on how you want it to work) So we'll just call the switch (Change to Warrior) for the sake of this example.

The next thing you'll need to do is setup a Common Event. Have it set to Parallel Process and make it's trigger switch require the Switch from the item (Change to Warrior).

After that; just follow this script and you should be in the right direction.. This code is just for one class, so you'll need to repeat the process for the other classes (Creating the item with switch, the common event, etc)
[spoiler]
<> Branch if Hero4 in the Party
  <>Message: Please Choose Hero To Change Class
  <>Show Choices: Hero 1 / Hero 2 / Hero 3 / Hero 4
  : [Hero 1] Handler
    <>Change Class: Hero 1 Class B ((Other settings dependent on preference))
    <>
  : [Hero 2] Handler
    <>Change Class: Hero 2 Class B ((Other settings dependent on preference))
    <>
  : [Hero 3] Handler
    <>Change Class: Hero 3 Class B ((Other settings dependent on preference))
    <>
  : [Hero 4] Handler
    <>Change Class: Hero 4 Class B ((Other settings dependent on preference))
    <>
: Else Handler
<>Message: Please Choose Hero To Change Class
  <>Show Choices: Hero 1 / Hero 2 / Hero 3
  : [Hero 1] Handler
    <>Change Class: Hero 1 Class B ((Other settings dependent on preference))
    <>
  : [Hero 2] Handler
    <>Change Class: Hero 2 Class B ((Other settings dependent on preference))
    <>
  : [Hero 3] Handler
    <>Change Class: Hero 3 Class B ((Other settings dependent on preference))
    <>
: End
<>Switch Operation: [0001: Change to Warrior] OFF
<>
[/spoiler]

The reason we have it setup like this is to make sure that Hero 4 has or hasn't joined your party, that way you won't be setting a class for a hero you don't have yet.
Title: Re: [resolved] class changing system?
Post by: alex95 on January 25, 2010, 03:20:46 AM
Thank you lots!!!!
would it b ok if I put u in my game credits?
(for helping class change system of course)  ???
;D ;D ;D ;D ;D ;D ;D ;D ;D ;D ;D ;D ;D ;D ;D ;D
Title: Re: [resolved] class changing system?
Post by: Meridius on January 25, 2010, 01:43:23 PM
It's your call, I'm just glad to help out.  ;D
Title: Re: [resolved] class changing system?
Post by: alex95 on January 26, 2010, 11:02:25 PM
The class system worked awesome btw   ;D

ur gonna b in the credits 4 the class system
(Credits)
Maps:
NPC
Alex95 (I made like 2 maps)

Class System:
Meridius

;D