do you mean like the combined attacks from Chrono Trigger? that'd be pretty sweet!
Theolized Sideview Battle System
RGSS3 Scripts (RMVX Ace)It's from Yanfly Battle Engine
I would love to. But I guess, the dual attack or more only work with default turn based rules. Right?
I have a lack of references since I never played Chrono Trigger / Suikoden / etc.
And I never know if there's RPG Maker games that have this feature. Sure, Victor has cooperative attack. But, is anyone ever use that?
I would have used combined attacks with an ATB system in my game.
But I decided to change my battle system to ABS, so that won't happen.
It could work with the default turn based system for sure.
It works in an ATB system too, both members need to have their ATB bar full and have the necessary requirements to use the combined skill. I used DoubleX's Unison Addon script with Battle Symphony and Yami's ATB and the result was awesome.
In an FTB, I would imagine the players selecting their skills normally, but if a certain combination of skill sequence is made (without the enemy interrupting), a stronger skill could trigger instead of the selected one, kinda like hidden combo skills.
Combined attacks can make the battle a bit more strategic instead of brute force if used wisely, and I like strategic battles more, especially in boss fights.
But I decided to change my battle system to ABS, so that won't happen.
It could work with the default turn based system for sure.
It works in an ATB system too, both members need to have their ATB bar full and have the necessary requirements to use the combined skill. I used DoubleX's Unison Addon script with Battle Symphony and Yami's ATB and the result was awesome.
In an FTB, I would imagine the players selecting their skills normally, but if a certain combination of skill sequence is made (without the enemy interrupting), a stronger skill could trigger instead of the selected one, kinda like hidden combo skills.
Combined attacks can make the battle a bit more strategic instead of brute force if used wisely, and I like strategic battles more, especially in boss fights.
That said, each turn rules has different combination attack. I need to work with default and any ATB / other turn rules script to make it works. That would be hardwork and I have no idea how to make it general so that you wont need extra patch for each turn system.
Anyway, unless I could try the actual implementation in game, I'm not sure If I could make the combination attack. You know, most of my script features were inspired from Eremidia: Dungeon! game.
Anyway, unless I could try the actual implementation in game, I'm not sure If I could make the combination attack. You know, most of my script features were inspired from Eremidia: Dungeon! game.
Oh well, if it can't be done, I won't lose sleep over it.
I did try the combination thing in Victor's engine but it started becoming a huge mess so I scrapped it in my project. It's very situational it would just be a waste if you're using combination attacks just to do damage and not deviate and have combination support skills or healing etc.
Another idea to throw out there, I don't know if you've seen this one or not, but like having a character become a weapon or something in battle, like say you have a fire demon on your team and you can transform them into a fire sword. Is it possible to do in your current version?
And ANOTHER idea would be something that is slightly inspired by the Mana Khemia series is where you can perform an attack and follow that attack up with a support character coming in and doing some new attack and replace the person who initiated the attack first. Iono, just throwing some extra ideas for this badass battle system. :3
Also, you never played Chrono Trigger? OR Suikoden!? Aw man, you're missing out! >_<;
I did try the combination thing in Victor's engine but it started becoming a huge mess so I scrapped it in my project. It's very situational it would just be a waste if you're using combination attacks just to do damage and not deviate and have combination support skills or healing etc.
Another idea to throw out there, I don't know if you've seen this one or not, but like having a character become a weapon or something in battle, like say you have a fire demon on your team and you can transform them into a fire sword. Is it possible to do in your current version?
And ANOTHER idea would be something that is slightly inspired by the Mana Khemia series is where you can perform an attack and follow that attack up with a support character coming in and doing some new attack and replace the person who initiated the attack first. Iono, just throwing some extra ideas for this badass battle system. :3
Also, you never played Chrono Trigger? OR Suikoden!? Aw man, you're missing out! >_<;
I have my own childhood where I couldn't play console games due to some reasons. However, I'm PC player so that I played many DOS game and old PC games back then. I knew RPGs in SEGA games named Landstalker and that was my first RPG I've ever finished. And it was using emulator. The turn based concept is a fairly new to me when the first time I knew RPG Maker lol.
A person just demonstrate my battler summon in his showcase.
No, it's a very specific game system.
Hmm... you could try to combine this with Yanfly Chain Skill and my battler summon. I havent tried this though.
A person just demonstrate my battler summon in his showcase.
Yanfly Ace Battle Engine
Even if a general combo skill feature working on all scripts using the same turn rule(let alone those using different turn rules) does exist(which is almost mission impossble already), it'd be so excessively complicated that it's just better to implement a combination attack feature on a script-by-script basis. It's because even 2 scripts using the same turn rule can, and are likely to, have significantly diverse action and input mechanics implementations, and any combo skill feature working on a action and input mechanics must be compatible with them. If there are 2 action and input mechanics being conflicting with each other(which is likely and normal), the only way for a combo skill feature working on both is to detect with ones are used and run the associated codes. It implies there will probably be lots of "if using script x; run block/method a; else run block/method b", meaning it's basically combining 2 complicated scripts into 1 even more complicated script, which is extremely prone to hellish nightmares unless you're exceptionally proficient(although I think you're 🙂 ).
So if you want to implement the combo skill feature, I'd suggest to do it for this script only. If, say, someone using YSA-CATB with this script wants to have this feature, my unison addon is probably a better choice in this case, as the core action and input mechanics here should be the YSA-CATB ones and my unison addon is built upon those mechanics.
Nonetheless, regardless of the turn rule, I think there's 1 vital basic principle to point out here: Unless simultaneous inputs from different battlers are allowed, there are always 1 and only 1 invoker for any combo skill and all the others casting it are just involved. Also, understanding how the action and input mechanics of a turn rule works is a prerequisite of building a combo skill feature into that turn rule.
(Read this if your script uses default battle system)
Any working solution must be able to always mark which inputs are the invoker ones, which are the involved ones, and which of the formers are mapped to which of the latters. It's because it must ensure the action points spent are always correct(some are spent on the invoker inputs and some are spent on the involved ones) whenever an input is finished or canceled. When the invoker finished inputting a combo skill, all the invoker and the involved should spend 1 action point; When the invoker cancels a combo skill(the involved can never do this as they've no input on it), all the invoker and the involved should restore 1 action point.
The outline of a combo skill feature built into it can be something like this:
Case 1 - More than 1 battler executes the same skill at the same time
Case 1A - The action input sequence follows strictly from the 1st action of the 1st member to the last action of the last member
1. All the invoker and the involved must be able to execute that action when the invoker picks that skill.
2. A dual-stack system can be used to store the inputs of non-combo and combo skills. The non-combo stack stores the invoker's inputs(all non-combo skills are called by the invoker only) and the combo stack stores the involved's "inputs"(actually they've no input at all - They're just involed in a combo skill input done by an invoker). Also, 2 new variables can be used to store the number of the invoker inputs and that of the involved ones. If the invoker variable + the involved variable >= the total number of action points, that battler shouldn't be able to input any more skills.
- Always push the invoker into the non-combo stack after finished inputting, regardless of whether the skill is combo or non-combo. Add the invoker variable of that invoker by 1 as well.
- If the invoker finished inputting a combo skill, push all the involved into the combo stack as well. Add the involved variable of those involved by 1 as well.
- If the invoker cancels a skill, pops that invoker from the non-combo stack and decreases the invoker variable of the invoker by 1.
- If the canceled skill is a combo skill, pops all those involved from the combo stack and increases the involved variables of those involved by 1 as well.
- Clears both stacks and resets all invoker and involved variables to 0 when thew input phase's done.
3. The battlelog should be tweaked to display all the invoker and the involved.
Case 1B - There's no restriction on the action input sequence
I'm still unable to figure out a working solution for this case yet lol 😀
Case 2 - Battler A picks skill X and Battler B picks skill Y, and the result is Battler A and Battler B executes skill Z
I haven't built anything about this yet so I don't know much about it. Vlue probably knows a lot more about this as he/she built his/her basic combo attack script.
The outline of a combo skill feature built into it can be something like this:
Case 1 - More than 1 battler executes the same skill at the same time
Case 1A - The action input sequence follows strictly from the 1st action of the 1st member to the last action of the last member
1. All the invoker and the involved must be able to execute that action when the invoker picks that skill.
2. A dual-stack system can be used to store the inputs of non-combo and combo skills. The non-combo stack stores the invoker's inputs(all non-combo skills are called by the invoker only) and the combo stack stores the involved's "inputs"(actually they've no input at all - They're just involed in a combo skill input done by an invoker). Also, 2 new variables can be used to store the number of the invoker inputs and that of the involved ones. If the invoker variable + the involved variable >= the total number of action points, that battler shouldn't be able to input any more skills.
- Always push the invoker into the non-combo stack after finished inputting, regardless of whether the skill is combo or non-combo. Add the invoker variable of that invoker by 1 as well.
- If the invoker finished inputting a combo skill, push all the involved into the combo stack as well. Add the involved variable of those involved by 1 as well.
- If the invoker cancels a skill, pops that invoker from the non-combo stack and decreases the invoker variable of the invoker by 1.
- If the canceled skill is a combo skill, pops all those involved from the combo stack and increases the involved variables of those involved by 1 as well.
- Clears both stacks and resets all invoker and involved variables to 0 when thew input phase's done.
3. The battlelog should be tweaked to display all the invoker and the involved.
Case 1B - There's no restriction on the action input sequence
I'm still unable to figure out a working solution for this case yet lol 😀
Case 2 - Battler A picks skill X and Battler B picks skill Y, and the result is Battler A and Battler B executes skill Z
I haven't built anything about this yet so I don't know much about it. Vlue probably knows a lot more about this as he/she built his/her basic combo attack script.
If I'm not mistaken, in a FTB system:
- Both party and troop have their own action pool with their size determined by some party member's stats(usually agi).
- An action is executed immediately after its input being finished.
- Different action can have different action costs.
If that's the case, the outline of a combo skill feature built into it can be something like this:
Case 1 - More than 1 battler executes the same skill at the same time
1. At least 2 conditions must be met for any combo skill to be executed:
- The action pool can afford the action cost of the combo skill
- All the invoker and the involved must be able to execute that action when the invoker picks that skill
2. If that combo skill does pull off, only the invoker's actions are executed and all the involved just pay their costs along with the invoker.
3. The battlelog should be tweaked to display all the invoker and the involved and all the invoker and the involved should contribute to the skill animation.
Case 2 - Battler A picks skill X and Battler B picks skill Y, and the result is Battler A and Battler B executes skill Z
It's just outright impossible for a ftb system, as long as a battler's action is executed immediately after that battler picking targets. It's because Battler A's skill X would've been executed even before skill Y is being picked by Battler B in this case.
- Both party and troop have their own action pool with their size determined by some party member's stats(usually agi).
- An action is executed immediately after its input being finished.
- Different action can have different action costs.
If that's the case, the outline of a combo skill feature built into it can be something like this:
Case 1 - More than 1 battler executes the same skill at the same time
1. At least 2 conditions must be met for any combo skill to be executed:
- The action pool can afford the action cost of the combo skill
- All the invoker and the involved must be able to execute that action when the invoker picks that skill
2. If that combo skill does pull off, only the invoker's actions are executed and all the involved just pay their costs along with the invoker.
3. The battlelog should be tweaked to display all the invoker and the involved and all the invoker and the involved should contribute to the skill animation.
Case 2 - Battler A picks skill X and Battler B picks skill Y, and the result is Battler A and Battler B executes skill Z
It's just outright impossible for a ftb system, as long as a battler's action is executed immediately after that battler picking targets. It's because Battler A's skill X would've been executed even before skill Y is being picked by Battler B in this case.
I use a lot of conditional checking "if script x is exist" in Yanfly's scripts already. I just dont want to spend my time working around to someone's script (and probably every scripts) and patch them. Especially for really-really introvert scripts. Requires their basic module yet their basic module overwrite most of the default script stuff. Or when their variable names (and probably method too) are not intuitive. I would like to stay away from those kind of script. Yanfly is still the best.
For your information, my script dont deal with the turn system. I only completely change the execution of use item method in order to show the skill action sequence. And at the moment, it can only show one battler performing an action because that is how default script did it (it uses @subject variable to store battler which is performing action). Then if you suggest me to do for this script only, then you mean the default turn rules (because yeah, it's default script and everyone use it).
As for the case, I always thought that the combo actions are always need to select same skill in different battler (case 2 which is impossible to do in FT😎 just like two-man attacks in Tankentai VX version if I recall correctly. The first case seems daunting. I'm not used to read a wall of text of technical thingy since my native language isnt English
and I usually learn by observing the visual case and let me figure out the mystery myself. But seems I get the main idea.If your script doesn't deal with turn system at all, then I'd suggest making a combo skill script that's completely independent from yet also compatible with this script. It's because turn system determines how the action and input mechanics work, and those mechanics are the main focus of any combo skill script.
If you want to observe the visual cases, then you may want to watch these:
DoubleX RMVXA Unison Skills/Items -
https://www.youtube.com/watch?v=mWhN18Fg8og
DoubleX RMVXA Unison Skills/Items + DoubleX RMVXA Unison Skills/Items Compatibility Fix + Yami Engine Symphony - Battle Symphony -
https://www.youtube.com/watch?v=1DnyR4SZUa4
DoubleX RMVXA Unison Addon to YSA Battle System: Classical ATB -
https://www.youtube.com/watch?v=xlFEF0yIosc&feature=youtu.be
Victor Engine - Cooperation Skills -
https://www.youtube.com/watch?v=zmIevWTcS2w
Also, you may want to have a look on Vlue's Basic Combo Attacks:
http://forums.rpgmakerweb.com/index.php?/topic/24135-basic-combo-attacks/?hl=%2Bbasic+%2Bcombo
If you want to observe the visual cases, then you may want to watch these:
DoubleX RMVXA Unison Skills/Items -
https://www.youtube.com/watch?v=mWhN18Fg8og
DoubleX RMVXA Unison Skills/Items + DoubleX RMVXA Unison Skills/Items Compatibility Fix + Yami Engine Symphony - Battle Symphony -
https://www.youtube.com/watch?v=1DnyR4SZUa4
DoubleX RMVXA Unison Addon to YSA Battle System: Classical ATB -
https://www.youtube.com/watch?v=xlFEF0yIosc&feature=youtu.be
Victor Engine - Cooperation Skills -
https://www.youtube.com/watch?v=zmIevWTcS2w
Also, you may want to have a look on Vlue's Basic Combo Attacks:
http://forums.rpgmakerweb.com/index.php?/topic/24135-basic-combo-attacks/?hl=%2Bbasic+%2Bcombo
Hmm... so the involved battler always the next battler from the invoker?
What if I rearrange the battler position in party?
Do I need to put extra check if the actor x is exist in party and have the same skill?
EDIT
Nevertheless, I got a little enlightenment about combo skill
Perhaps, I could try to make addon for combo skill ONLY works for this script and using default turn
What if I rearrange the battler position in party?
Do I need to put extra check if the actor x is exist in party and have the same skill?
EDIT
Nevertheless, I got a little enlightenment about combo skill
Perhaps, I could try to make addon for combo skill ONLY works for this script and using default turn
1. If the action input sequence follows strictly from the 1st action of the 1st member to the last action of the last member, then yes, the involved are always at the right of the invoker.
If that's not the case, then it's not necessarily true. 1 such counterexample is the Yanfly Ace Battle Engine, since if the 1st inputted action is a combo skill done by the 2nd member and that skill involves the 1st member, one of the involved will be at the left of the invoker.
I've been thinking of a general solution to the mapping between the invoker inputs and the involved ones, and the below is my draft:
The only unique information of an input is its position, which can be in the form of xth member's yth inputs, so instead of using the dual-stack system, I'd use a hash instead.
The structure of the hash is as follows:
input = { # x stands for xth member and y stands for yth input :x_y => [invoker_id], # For non-combo skills :x_y => [invoker_id, involved_id, involved_id, involved_id, ..., involved_id] # For combo skills}When an invoker finished inputting a combo or non-combo action, a combo skill script should be able to read the invoker index and the current action input index, so it should be able to create the unique x, y couple as the hash key of the current input. As any combo skill should have a list of the ids of the involved, it should be able to read them all and push them in the value of that key.
When a combo skill's cancelled, the combo skill script should be able to read its invoker index and that action's input index, so it should be able to retrieve the associated unique hash key containing the x, y couple. First cancel the invoker's input by reading the invoker id in the value of that key, then as all the remaining id, if any, must be the involved ids, they canbe used to cancel all the involved's "inputs"(again, they've no real input on that skill at all) of that skill as well.
The structure of the hash is as follows:
input = { # x stands for xth member and y stands for yth input :x_y => [invoker_id], # For non-combo skills :x_y => [invoker_id, involved_id, involved_id, involved_id, ..., involved_id] # For combo skills}When an invoker finished inputting a combo or non-combo action, a combo skill script should be able to read the invoker index and the current action input index, so it should be able to create the unique x, y couple as the hash key of the current input. As any combo skill should have a list of the ids of the involved, it should be able to read them all and push them in the value of that key.
When a combo skill's cancelled, the combo skill script should be able to read its invoker index and that action's input index, so it should be able to retrieve the associated unique hash key containing the x, y couple. First cancel the invoker's input by reading the invoker id in the value of that key, then as all the remaining id, if any, must be the involved ids, they canbe used to cancel all the involved's "inputs"(again, they've no real input on that skill at all) of that skill as well.
2. Yes, you need to check if all the involved exist and have that combo skill. Also, you need to check all of them can receive action inputs and can pay that skill's costs. I'd do this in method usable? under class Game_BattlerBase.
Alright, well I will go with the second case you've posted above. You need to select the same skill in different battler. I think that's is the easiest way. And also you can do something like this.
Actor A uses skill X
Actor B uses skill Y
It's not combination attack, then actor A will perform action sequence XYZ
Actor A uses skill X
Actor B uses skill X
It's combination attack. Then ...
Actor A will perform action sequence ASD
Actor B will perform action sequence QWE
In user perspective (because I'm fans of analyzing stuff based from the user's) the setting would me like this
Actor notetag
<combo: skill_id, ActionKey>Skill notetag
<combo>When the same skill is used by two (or maybe more. This seems need an extra config) battlers, they could perform a combo action.
Or, if you want to do something like this.
I would change the skill notetag into.
<combo: combo_id>When all the skills with the same id are used, then combination attack will be performed.
Also ...
-------------------------
Patch updated!
Just kill one more bug. This one is a rare case though
Actor A uses skill X
Actor B uses skill Y
It's not combination attack, then actor A will perform action sequence XYZ
Actor A uses skill X
Actor B uses skill X
It's combination attack. Then ...
Actor A will perform action sequence ASD
Actor B will perform action sequence QWE
In user perspective (because I'm fans of analyzing stuff based from the user's) the setting would me like this
Actor notetag
<combo: skill_id, ActionKey>Skill notetag
<combo>When the same skill is used by two (or maybe more. This seems need an extra config) battlers, they could perform a combo action.
Or, if you want to do something like this.
I would change the skill notetag into.
<combo: combo_id>When all the skills with the same id are used, then combination attack will be performed.
Also ...
-------------------------
Patch updated!
Just kill one more bug. This one is a rare case though
So it seems to me that you're going to build something similar to Vlue's Basic Combo Attacks 🙂
Just 1 reminder though - No matter how many members contribute to the combo attack and no matter how they contribute, as long as only 1 action's executed, there's only 1 subject to execute it. You'll have to establish rules or let users to do that to determine which member will be the subject. For instance, the rule can be "the member with the highest agi", as that member is supposed to be the first executing the action.
Just 1 reminder though - No matter how many members contribute to the combo attack and no matter how they contribute, as long as only 1 action's executed, there's only 1 subject to execute it. You'll have to establish rules or let users to do that to determine which member will be the subject. For instance, the rule can be "the member with the highest agi", as that member is supposed to be the first executing the action.
I will likely test this out in the next 30 minutes on my project, but this looks to be the best one I have seen yet. No offense to the other SBS, but yours seems to do everything without being overly complicated. Thank you for taking the time to learn Ruby and give us this script.
First post updated!
Added new addon. Animated Actor on Menu
Also include the ToS
Get the script : https://github.com/theoallen/TSBS/raw/master/Addons/Animated%20Actor%20on%20Menu.rb
Added new addon. Animated Actor on Menu
Also include the ToS
Get the script : https://github.com/theoallen/TSBS/raw/master/Addons/Animated%20Actor%20on%20Menu.rb
Hey mang, is it possible to have animated enemies carry weapons like a character battler would? If so, what would I have to do differently, I tried it the normal way and no luck. I SEEK YOUR GUIDANCE! 😛
What's the "normal way" do you mean?
In my game / sample game, the enemy Flay Venonum hold dagger, didnt he?
(image within the spoiler is a bit bandwidth killer)
You could define the icon index explicitly instead of using -1
This gave me a little idea where if you put <wp icon: index> in enemy notebox. And then if you call weapon icon from enemy, it will use the index you set in notetag. You want this kind of feature?
It'd make things slightly easier sure, but I'll try the way you showed as an example, pardon me. :3
EDIT: Yeah, the iconfile thing is a lot more easier, but hey, if you wanna put that in, by all means. 😛
EDIT: Yeah, the iconfile thing is a lot more easier, but hey, if you wanna put that in, by all means. 😛
Original thread: https://forums.rpgmakerweb.com/threads/theolized-sideview-battle-system.29231/