The RPG Maker Resource Kit

Other Game Creation => Program Troubleshooting => Topic started by: afroakuma on January 28, 2007, 04:42:27 PM

Title: Class Change in battle RPG2K3
Post by: afroakuma on January 28, 2007, 04:42:27 PM
I modified a tutorial to cause a class change automatically on receiving a status effect in battle, but the character doesn't change battle charsets. Is this a flaw in the system, or is there actually a way to use a common event to cause a full class change (including graphics)? Thanks.

EDIT: Actually, I think my script may work; the only problem is, when I set the Common Event to Autostart the game freezes; and if I set it to Cal or Parallel Process then I think it doesn't work.
Title: Re: Class Change in battle RPG2K3
Post by: Yami on January 29, 2007, 12:05:32 AM
The reason it freezes with auto-start is because when you use auto-start it makes it so nothing else can happen while that event is running.
Title: Re: Class Change in battle RPG2K3
Post by: afroakuma on January 29, 2007, 12:22:05 PM
I came to understand that....however, parallel process just isn't doing anything, and I'm trying to avoid having to use a battle trigger.

What I have in my common event is basically:

When Hero is afflicted with Status, if (StatusSwitch) is off, memorize Hero's equipment, remove Hero's equipment and change Hero's class. (StatusSwitch) turns on.

and a similar one to reverse the process if Hero gets back to normal.

For some reason none of this works on a parallel process; is there any way to make this work through a common event that will actually run in the background?
Title: Re: Class Change in battle RPG2K3
Post by: Narkidin on January 29, 2007, 12:29:10 PM
Quote from: Yami on January 29, 2007, 12:05:32 AM
The reason it freezes with auto-start is because when you use auto-start it makes it so nothing else can happen while that event is running.

No that is wrong using Auto Start & Parallel Processing together will make the PP run first then the Auto Run.
Title: Re: Class Change in battle RPG2K3
Post by: afroakuma on January 30, 2007, 03:50:37 PM
Er...none of which helps me... does Parallel Process begin automatically? Can Common Events actually trigger in battle?

Title: Re: Class Change in battle RPG2K3
Post by: King Anesis on January 31, 2007, 03:24:08 AM
Common events can trigger in battle if activated by a switch or if its called upon. Meaning, the event is set to Call.
Title: Re: Class Change in battle RPG2K3
Post by: afroakuma on January 31, 2007, 12:38:46 PM
OK...now, is there a way to create a self-running common event that always checks for character status? Namely, without needing to be called and without freezing the game?
Title: Re: Class Change in battle RPG2K3
Post by: Erk64 on February 01, 2007, 02:45:52 PM
I don't think a character's class has anything to do with their graphic. For instance, you can have multiple actors assigned to the same class, but they will still keep their own graphics. If you want to change it, I suggest using a command called "Change Route" or "Edit Route," whatever it's called. (I forget the exact name for it on XP, and I don't realy know if it appears in 2K) Anyway, besides using this command to set up an actor's route, it can be used to change their graphic. Try looking into that.
Title: Re: Class Change in battle RPG2K3
Post by: afroakuma on February 02, 2007, 03:48:46 PM
I found the command in RMXP, but the matching command "Change Sprite Association" in RM2K3 only works for overworld sprites; also, setting a character to a class in RM2K3 automatically overwrites their battle graphic and statistic growth graphs. What I need is a way to make a common event that can run constantly in the background without crashing the game that checks for a status and applies a class change as a result of that status. How can I make a common event that will run repeatedly in the background?