Battle Character Limit
JS Plugin Releases (RMMV)What battle engine is that? Yanfly's? That'd be useful to do for my game... I just need to know how to increase the amount of rows, like you suggested. 🙂
LOL It looks like that bat roamed into the wrong side of town. This is an awesome plugin!
Thanks dude! Now I just gotta wait to see if this is free for commercial use. I hope it is. ><
@rikucotton,
Free for commercial and non-commercial use.
Just don't forget to credit~
@gokupy,
I'm keeping it with no variables, at least for now.
Free for commercial and non-commercial use.
Just don't forget to credit~
@gokupy,
I'm keeping it with no variables, at least for now.
Have found out how it can be done, and it seems to work, great plugin! 😉
I have one issue with this and Ill admit I havent tried to fiddle with the settings yet for fear of breaking things, buuut my battle results screen has them stacked too close to each other so that the results are unreadable.
Awesome plugin, would it be able to make the front row do more damage and take more damage?
And the back row deal/receive less with exception to ranged or magic attacks?
And the back row deal/receive less with exception to ranged or magic attacks?
Great job! There's only one little problem I have with it. I am using this plugin in conjunction with Yanfly's Battle Status Window. When I enter a battle it thinks i'm in sideview mode, even though i'm in frontview mode. The most notable way of seeing this is because when my actor gets hit, the damage and animation play on the right side of the screen, where my actor is in sideview. I know that your plugins and Yanfly's weren't meant to be used together, but I hope you read this, just to know there is a small bug.
No offence, 'kay?
No offence, 'kay?
EDIT: Well, it would help if I read completely. A little tired from today apparently... nevermind my stupid question. 8)
I may be missing something, but when I downloaded this I don't see any commands or options with it? Or a description for that matter... could something be up with the download?
I may be missing something, but when I downloaded this I don't see any commands or options with it? Or a description for that matter... could something be up with the download?
:rhappy:I'm sorry to disturb you. I have a good idea. If you add a grid to the plug-in and let actors place on the grid at will, I think it will be more interesting. I won't JS, but I have a lot of ideas that can't be completed. If it is difficult, I will give up this idea
I am sure this is just an issue specific to my own project, but...
When setting max characters to 6, and max character per row to 3, the first row doesn't move over to fit the 4th, 5th, and 6th character until there is a 6th party member in battle. If a party of 4-5 is used, the first row appears where the 2nd row should be (i.e. it does not move over to accommodate the 4th or 5th character and they are instead off-screen to the right).
I was able to fix this issue by editing the function in the plugin as follows:
By changing the value to +1 of whatever the setting you choose in the plugin for characters per row, then changing the value in the first part of the if statement to the maximum number of characters per party.
I suppose the actual parameters in the plugin could be used instead of those flat values in order to automate it a bit better.
Anyway, just in case anyone else encounters this issue, know that the fix is easy and this plugin can still be used.
When setting max characters to 6, and max character per row to 3, the first row doesn't move over to fit the 4th, 5th, and 6th character until there is a 6th party member in battle. If a party of 4-5 is used, the first row appears where the 2nd row should be (i.e. it does not move over to accommodate the 4th or 5th character and they are instead off-screen to the right).
I was able to fix this issue by editing the function in the plugin as follows:
JavaScript:
Sprite_Actor.prototype.setActorHome = function(index) {
var c = Math.floor(index/charasPerRow);
if ($gameParty.battleMembers().length >= 4 ) {
var x = (Graphics.boxWidth - rightOffset) - forwardIndex * Math.floor(6/charasPerRow) + lowerCharaIndex * (index % charasPerRow) + rowSpacing * c;
} else {
var x = (Graphics.boxWidth - rightOffset) - forwardIndex * Math.floor($gameParty.battleMembers().length/charasPerRow) + lowerCharaIndex * (index % charasPerRow) + rowSpacing * c;
}
var y = topOffset + (index%charasPerRow) * charaVerticalSpacing;
this.setHome(x, y);
};
By changing the value to +1 of whatever the setting you choose in the plugin for characters per row, then changing the value in the first part of the if statement to the maximum number of characters per party.
I suppose the actual parameters in the plugin could be used instead of those flat values in order to automate it a bit better.
Anyway, just in case anyone else encounters this issue, know that the fix is easy and this plugin can still be used.
can you limit the number of battlers with this plugin my game uses one on one battles and would like to know if this would make that work
Did you download the plugin in the first post? The first parameter is "max characters in battle." Although, typically, for something like that you would simply not have more than one character in the party to begin with.
Original thread: https://forums.rpgmakerweb.com/threads/battle-character-limit.47849/

