Actor Battle postion

csevans84

Veteran
Veteran
Joined
Aug 26, 2016
Messages
66
Reaction score
16
First Language
english
Primarily Uses
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. Screen Shot 2019-07-13 at 5.43.06 PM.png
 

bgillisp

Global Moderators
Global Mod
Joined
Jul 2, 2014
Messages
12,505
Reaction score
12,808
First Language
English
Primarily Uses
RMVXA

I've moved this thread to Plug-In Support. Please be sure to post your threads in the correct forum next time. Thank you.

 

caethyril

^_^
Veteran
Joined
Feb 21, 2018
Messages
1,391
Reaction score
872
First Language
EN
Primarily Uses
RMMV
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":
Code:
screenWidth - 16 - (maxSize + 2) * 32 + index * 32
To shift the entire party over to the right by 50 px, just add 50:
Code:
screenWidth + 34 - (maxSize + 2) * 32 + index * 32
To reduce the spacing between successive actors, just reduce the number multiplying the index, e.g.
Code:
screenWidth - 16 - (maxSize + 2) * 32 + index * 12
Etc~

You may also want to adjust the "Step Distance" & "Flinch Distance" plugin parameters, found a few entries below "Home Position Y".
 

csevans84

Veteran
Veteran
Joined
Aug 26, 2016
Messages
66
Reaction score
16
First Language
english
Primarily Uses
They still aren't moving :(
 

caethyril

^_^
Veteran
Joined
Feb 21, 2018
Messages
1,391
Reaction score
872
First Language
EN
Primarily Uses
RMMV
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.
 

caethyril

^_^
Veteran
Joined
Feb 21, 2018
Messages
1,391
Reaction score
872
First Language
EN
Primarily Uses
RMMV
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~ :kaophew:

I believe Core Engine & Community_Basic have a lot of overlap, maybe consider turning off or removing Community_Basic? :kaoswt:

You could try temporarily turning off the ATB plugin, too (right-click > Turn OFF); save & test, see if that helps with the positioning issue.
 

caethyril

^_^
Veteran
Joined
Feb 21, 2018
Messages
1,391
Reaction score
872
First Language
EN
Primarily Uses
RMMV
Check the "Home Position Y" parameter; default value:
Code:
screenHeight - statusHeight - maxSize * 48 + (index+1) * 48 - 32
To increase the spacing, just increase the number multiplying the index, e.g.
Code:
screenHeight - statusHeight - maxSize * 48 + (index+1) * 64 - 32
 

csevans84

Veteran
Veteran
Joined
Aug 26, 2016
Messages
66
Reaction score
16
First Language
english
Primarily Uses
Hmm One last question before this closes. Can I get rid of the Gauges and just use Text?
 

caethyril

^_^
Veteran
Joined
Feb 21, 2018
Messages
1,391
Reaction score
872
First Language
EN
Primarily Uses
RMMV
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:
Code:
Window_Base.prototype.drawGauge = function() {};
To disable gauges only in the battle status window:
Code:
Window_BattleStatus.prototype.drawGauge = function() {};
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~ :kaopride:
 

caethyril

^_^
Veteran
Joined
Feb 21, 2018
Messages
1,391
Reaction score
872
First Language
EN
Primarily Uses
RMMV

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Oh, stop with the Melodrama...

...Listen to it instead!

anybody else like getting baked whilst coding?

When you go to the beach watch out for coconuts. Coconuts are more dangerous than sharks. Fact.
Try to get into pixelart again, so far its a sucess.
Also finally found a useful pixeltutorial which helps a lot.
♫ Anyone knows an ant can't move a rubber tree plant, but he's got high hopes, he's got high hopes, he's got high apple pie in the sky hopes ♫

Forum statistics

Threads
93,615
Messages
913,983
Members
123,180
Latest member
tdominach
Top