Chaos Project

RPG Maker => RPG Maker Scripts => Script Requests => Topic started by: Pharoah on December 11, 2010, 10:27:13 pm

Title: Party Change in Battle
Post by: Pharoah on December 11, 2010, 10:27:13 pm
I'm not certain if it currently exists  or not, but I was wondering if there was a party change system that replaced a party member with a different one from the list of actors, without having a "Reserve", while in the middle of a battle, from a simple script call, something along the lines "$game_party.swap_actor_to_party(001)>(003)" where (###) is the actor_ID. This command would switch the party by swapping these two characters while in or out of battle.

If there is something like this available could I be directed to it? or if it's not would this be easy for someone to create?

Thanks.
Title: Re: Party Change in Battle
Post by: The Niche on December 12, 2010, 10:28:19 am
I don't really have a solution for this, but I would like to know why you're requesting it. A) I want to know how you plan to make the system believable and B) how you expect this not to make the game tremendously easy.
Title: Re: Party Change in Battle
Post by: Pharoah on December 12, 2010, 10:48:01 am
I plan on making it so characters can release their inner "Elemental" during battle, which would change the attributes of the character, Example, Ice Elementals are weak to fire, but resistant to ice/water, where the characters human form is not weak to fire, or resistant to ice/water.

When the character selects "Elemental Shift" while in battle, the character needs to be swapped out with the Actor_ID of the Elemental State.

Here's a little more detail.

My battle system is unique in the fact that characters have fixed equipment that can be evolved following a variety of evolution paths, the basic "Sword" animation has been replaced to actually include a animation of the character, giving the battle system a more interesting look than the basic battle system, because of this, the attack animation of the Basic Attack needs to change to match when he is in elemental form, where the basic attack animation could be "Fire Blast" with fire elemental, or "Rock smash" with Earth Elemental ETC.

The only way I can think to do this is to swap the character by changing the Actor_Id to the Actor_Id of his Elemental Form, but this needs to be able to be done in the heat of battle with a script command that's called when using the "Elemental Shift" skill.

Here's what I mean by Actor ID Change

Actor List:
Asher (001)
Gloria (002)
Dexter (003)
Asher Elemental (004)
Gloria Elemental (005)
Dexter Elemental (006)

When Asher uses his "Elemental Shift" skill, his character gets swapped with Asher Elemental (004) because the statistics of the character need to change to match that of the elemental, such as pdef, atk, etc etc.

If anyone knows of another way to do this, that would also work, but as it stands, I don't see a way except changing that battler graphic while in battle, but that doesn't change the skill list, nor the characters actual statistics, which is what I need to change.


A game that uses something similar is XenoGears, where the character can either be the human character, or the mech, each has their own HP/Def/Atk/Skills associated and can be switched both inside and outside of battle.
Title: Re: Party Change in Battle
Post by: The Niche on December 12, 2010, 11:14:21 am
Are you using a battle system that takes the player to a different screen for the battle and then returns them to the map, or a system that uses the map?
Title: Re: Party Change in Battle
Post by: Pharoah on December 12, 2010, 11:42:17 am
it's the default battle system, the only modification is an ABS. My additions do not modify the core system in any way, it only modifies the animation that's assigned to a weapon.

For example

Asher uses a Sword, which is a fixed item, he cannot de-equip, or change the item through any means but my weapon evolution event system. This means that the "Sword" animation is locked to him, as he is the only sword user.

Because of this, I have changed the animation of the sword weapons to include a modified character sprite, along with the "Slash" animation of the weapon. (Instead of just a "Slash" animation the character appears on the battle field, runs up, and slashes the mob).

In order to change this, I would have to force de-equip with the "Change Weapon" event command, the only problem is, when reverting back to human form, I need the weapon to be re-equipped, which is a very tedious process considering a single characters weapon has about 20-40 different evolution outcomes, which would cause me to first check which Evolution he currently has, then re-equip that weapon on the character.

While it can be done via events I'm sure, it would be the largest event for something that could be as simple as a script that does the same thing as "Change Party Members" but while in battle, not just on the map.

The Script would do nothing more than swap characters from the Actor List, which would in turn swap statistics, and skills, and even class, which determines the weapons used, and the weapons is where the animation is assigned.


So, if Asher is in party slot 1, and you use "Elemental Shift", Asher is removed from party slot 1, and replaced with Asher Elemental in party slot 1. Which would allow me to change what Animation is used when "Attack" is selected, as the "Asher Elemental" character doesn't have an equipped weapon.



Edit:

I believe I've found a script that will work to a degree what I need. The Easy Party Switcher by Blizzard, my only question, is there a script command to swap specific characters? Or if it has to go through the default party switch menu of this script via the "Switch" command in the battle menu.
Title: Re: Party Change in Battle
Post by: The Niche on December 12, 2010, 12:50:24 pm
Ok, I think I have a way you can do this.

Make a skill. Call it Fire elemental transformation, or ignite, or something like that. Make sure it doesn't do anything. Link it to a common event.
Name the common event after your skill. Now, store all the character's stats in variables. Next up, change the character's class to Fire elemental. Change the battler graphic, the character graphic if you want. Change the stats as well.

I've just noticed your point about the weapon evolution system. Now, by default, the editor can't change weapon stats and doesn't tolerate weapon graphics. So, did you make the various evolutions using multiple weapon entries in the database, or something far beyond my imagination?
Title: Re: Party Change in Battle
Post by: Aqua on December 12, 2010, 12:56:07 pm
http://forum.chaos-project.com/index.php/topic,110.0.html
This? O-o
Title: Re: Party Change in Battle
Post by: Blizzard on December 12, 2010, 03:21:02 pm
Lol, I was thinking the same thing as soon as I read "release their inner elemental". xD
Title: Re: Party Change in Battle
Post by: Pharoah on December 12, 2010, 11:03:34 pm
Quote from: Aqua on December 12, 2010, 12:56:07 pm
http://forum.chaos-project.com/index.php/topic,110.0.html
This? O-o


This is exactly what I'm looking for, well, actually, it's much much more, but I'll find uses for it all :D

Thank you so much.
Title: Re: Party Change in Battle
Post by: The Niche on December 13, 2010, 03:41:30 am
And they all lived happily ever after...
Title: Re: Party Change in Battle
Post by: Spaceman McConaughey on December 13, 2010, 03:42:52 am
And Niche finally sealed his mouth.

....

:V:?
Title: Re: Party Change in Battle
Post by: The Niche on December 13, 2010, 09:00:00 am
Quote from: Tuggernuts on December 13, 2010, 03:42:52 am
And Niche finally sealed his mouth.

....

:V:?


:v: of course, that's far too much to hope for.