I am creating something close to the ff1 battle system and I have a lot of the elements in place but I can not get the actors where I need them. I am using Yanfly's ATB and battle core. I have tried note tags but I can only get the actor to move a little and not to the far right where I want them.
Actor Battle postion
Javascript/Plugin SupportI've moved this thread to Plug-In Support. Thank you.
Battle Engine Core has plugin parameters called "Home Position X" and "Home Position Y", found just under "---Sideview---" in the Plugin Manager. These parameters determine the actor positions.
Default "Home Position X":
To shift the entire party over to the right by 50 px, just add 50:
To reduce the spacing between successive actors, just reduce the number multiplying the index, e.g.
Etc~
You may also want to adjust the "Step Distance" & "Flinch Distance" plugin parameters, found a few entries below "Home Position Y".
Default "Home Position X":
Code:
screenWidth - 16 - (maxSize + 2) * 32 + index * 32
Code:
screenWidth + 34 - (maxSize + 2) * 32 + index * 32
Code:
screenWidth - 16 - (maxSize + 2) * 32 + index * 12
You may also want to adjust the "Step Distance" & "Flinch Distance" plugin parameters, found a few entries below "Home Position Y".
They still aren't moving 🙁
Did you save your project after making changes in the Plugin Manager? If not, the parameter changes will not be reflected during play. 🙂
Otherwise, it may help if you could screenshot or list all the plugins you're using, in the order they appear in the Plugin Manager.
Otherwise, it may help if you could screenshot or list all the plugins you're using, in the order they appear in the Plugin Manager.
I did save it but no change.
The ATB plugin is an extension for Battle Engine Core: ATB should load after (i.e. be placed below) Battle Engine Core. You can click + drag to rearrange the list~ 😮💨
I believe Core Engine & Community_Basic have a lot of overlap, maybe consider turning off or removing Community_Basic? 😅
You could try temporarily turning off the ATB plugin, too (right-click > Turn OFF); save & test, see if that helps with the positioning issue.
I believe Core Engine & Community_Basic have a lot of overlap, maybe consider turning off or removing Community_Basic? 😅
You could try temporarily turning off the ATB plugin, too (right-click > Turn OFF); save & test, see if that helps with the positioning issue.
Still nothing
Okay got them to move now how do I get them all on the same row? The one with green hair is perfect.
Okay everything is solved but one thing. I how do I space out actors on the Y axis. I don't want them to overlap.
Check the "Home Position Y" parameter; default value:
To increase the spacing, just increase the number multiplying the index, e.g.
Code:
screenHeight - statusHeight - maxSize * 48 + (index+1) * 48 - 32
Code:
screenHeight - statusHeight - maxSize * 48 + (index+1) * 64 - 32
Thank you so much
Hmm One last question before this closes. Can I get rid of the Gauges and just use Text?
I believe that'll need another plugin, since Yanfly's Battle Engine Core doesn't offer that feature. Fortunately, it's quite a simple thing to code!
To disable gauges throughout the game:
To disable gauges only in the battle status window:
You can pick one of the above options, save it as a .js file (Save As > File Type: All files, Filename: whateverYouLike.js) and import it like a plugin. Basically these options just replace the relevant gauge-drawing code with nothing while the plugin is active~ 😤
To disable gauges throughout the game:
Code:
Window_Base.prototype.drawGauge = function() {};
Code:
Window_BattleStatus.prototype.drawGauge = function() {};
That worked! But create a new issue lol. Now everything is really spaced out.
Well, it's just like it was except with the gauge removed. 😛 If you want to alter the layout more then you'll need a plugin to modify the status window...moving stuff around is generally more complicated than simply removing stuff. 😴
There's some relevant plugin recommendations over in this old thread:
https://forums.rpgmakerweb.com/index.php?threads/battle-gui-hud.73942/#post-696276
Otherwise you could start a thread in JS Plugin Requests, preferably with a mock-up of the desired result. 🙂
There's some relevant plugin recommendations over in this old thread:
https://forums.rpgmakerweb.com/index.php?threads/battle-gui-hud.73942/#post-696276
Otherwise you could start a thread in JS Plugin Requests, preferably with a mock-up of the desired result. 🙂
Original thread: https://forums.rpgmakerweb.com/threads/actor-battle-postion.111041/