- Joined
- Oct 12, 2015
- Messages
- 6
- Reaction score
- 0
- First Language
- Indonesian
Hi all, so I'm trying to add a twist to Yanfly's Row Formation script and instead make something similar to the system in Darkest Dungeon.
In a nutshell, both allies and enemies have 4 rows, and each can only be occupied by 1 character.
Skills have a user requirement (must be standing in a certain row) and can only target certain rows (e.g. Slash can only be used by someone in Row 1 or 2, and can only hit enemies in Row 1). Some Skills move you around, but you can also do it the hard way and spend a turn moving. Whenever you move, you shift the party around. If someone in Row 1 moves back to Row 2, whoever is in Row 2 moves to Row 1. If someone in Row 1 moves back to row 3, whoever is in Row 2 moves to Row 1, and whoever is in Row 3 moves to Row 2.
(you can also just click the link and watch their battle system in action).
I'm not very good with scripting, but I did manage to make moving in battle work using Skills that move you and an ally at the same time. What I don't know how to do is add the ability to move around outside of battle.
Yanfly's Row Formation script has a Row Menu that you can open up both inside and outside of battle, but I can't use this because from a lot of searching, no one seems to know how to make it so that only 1 character can occupy 1 row. Without the ability to change rows outside of battle, it becomes a little tedious. I think I have an elegant solution, but I can't script my way out of a paper bag, so some help would be nice:
What I need is a way to control Rows using the Party Formation menu, NOT the Row menu.
You know the Formation option in the menu that lets you reorder your party? That has very little use, but what if we set it so that whoever is first on the party formation will be in Row 1. Whoever's second in Row 2. Third in 3. Fourth in 4. If you happen to have more party members than the number of rows, nothing would happen with them, so Fifth in the position will not be in Row 5, he'll just not be in the party, same with Sixth, Seventh and so on.
With a Party Formation like the above Row 1, 2, 3, 4 would be Harold, Therese, Marsha and Lucius.
If you shift it around like the second image, Row 1, 2, 3, 4 would be Marsha, Therese, Harold, Lucius instead.
If possible, this formation should also reset at the end of every battle, so let's say you go into battle with the row order of Harold, Therese, Marsha and Lucius. You move Harold back to Row 2 and Therese takes his place. You win the battle with the row order of Therese, Harold, Marsha and Lucius. When you go back to the map, you revert back to Harold, Therese, Marsha and Lucius.
Tl;Dr
How do I make it so that I control the Row using the Party Formation menu instead of the Row menu? Where the first in the party will be in Row 1, second in Row 2, etc.
Thanks in advance.
In a nutshell, both allies and enemies have 4 rows, and each can only be occupied by 1 character.
Skills have a user requirement (must be standing in a certain row) and can only target certain rows (e.g. Slash can only be used by someone in Row 1 or 2, and can only hit enemies in Row 1). Some Skills move you around, but you can also do it the hard way and spend a turn moving. Whenever you move, you shift the party around. If someone in Row 1 moves back to Row 2, whoever is in Row 2 moves to Row 1. If someone in Row 1 moves back to row 3, whoever is in Row 2 moves to Row 1, and whoever is in Row 3 moves to Row 2.
(you can also just click the link and watch their battle system in action).
I'm not very good with scripting, but I did manage to make moving in battle work using Skills that move you and an ally at the same time. What I don't know how to do is add the ability to move around outside of battle.
Yanfly's Row Formation script has a Row Menu that you can open up both inside and outside of battle, but I can't use this because from a lot of searching, no one seems to know how to make it so that only 1 character can occupy 1 row. Without the ability to change rows outside of battle, it becomes a little tedious. I think I have an elegant solution, but I can't script my way out of a paper bag, so some help would be nice:
What I need is a way to control Rows using the Party Formation menu, NOT the Row menu.
You know the Formation option in the menu that lets you reorder your party? That has very little use, but what if we set it so that whoever is first on the party formation will be in Row 1. Whoever's second in Row 2. Third in 3. Fourth in 4. If you happen to have more party members than the number of rows, nothing would happen with them, so Fifth in the position will not be in Row 5, he'll just not be in the party, same with Sixth, Seventh and so on.


With a Party Formation like the above Row 1, 2, 3, 4 would be Harold, Therese, Marsha and Lucius.
If you shift it around like the second image, Row 1, 2, 3, 4 would be Marsha, Therese, Harold, Lucius instead.
If possible, this formation should also reset at the end of every battle, so let's say you go into battle with the row order of Harold, Therese, Marsha and Lucius. You move Harold back to Row 2 and Therese takes his place. You win the battle with the row order of Therese, Harold, Marsha and Lucius. When you go back to the map, you revert back to Harold, Therese, Marsha and Lucius.
Tl;Dr
How do I make it so that I control the Row using the Party Formation menu instead of the Row menu? Where the first in the party will be in Row 1, second in Row 2, etc.
Thanks in advance.
Last edited by a moderator: