Ellye's ATB (also includes CTB option)

Lionheart_84

Veteran
Veteran
Joined
Oct 27, 2015
Messages
537
Reaction score
49
First Language
Italian
Primarily Uses
it is possible to make sure that the ATB gauge whilst filling is of a color, and when it is full becomes of another ????
 

Jenza

Veteran
Veteran
Joined
Oct 25, 2015
Messages
40
Reaction score
7
First Language
English
UUUhh, i have a serious problem.

So I tried out the plugin but i decided it wasn't the best fit for my game, when i disabled the plugin the attack bar was still there so i tried to delete it and its coming up with an error.

Is there any way to fix this?
 

MuteDay

Mutation Engine
Veteran
Joined
Oct 19, 2015
Messages
253
Reaction score
39
First Language
English
UUUhh, i have a serious problem.

So I tried out the plugin but i decided it wasn't the best fit for my game, when i disabled the plugin the attack bar was still there so i tried to delete it and its coming up with an error.

Is there any way to fix this?
start new save
 

Mellye

Veteran
Veteran
Joined
Oct 24, 2015
Messages
347
Reaction score
279
First Language
Portuguese
UUUhh, i have a serious problem.

So I tried out the plugin but i decided it wasn't the best fit for my game, when i disabled the plugin the attack bar was still there so i tried to delete it and its coming up with an error.

Is there any way to fix this?
You mean, when you try to load a saved game that was using the plugin, or as soon as you start a test?
 

Pipnotiq

Villager
Member
Joined
Oct 28, 2015
Messages
10
Reaction score
2
First Language
English
There seems to be something in the YEP Core Plugin that's interfering with the ATB script. When the core is enabled, it stretches the HP bar and completely cuts off the ATB bar. I suppose this is technically a YEP problem, but any idea which setting in the core plugin is causing this? I have the ATB plugin before the Core plugin in my list if that makes any difference. =)

Moving the ATB script below the core plugin fixed this issue!
 
 
Last edited by a moderator:

MuteDay

Mutation Engine
Veteran
Joined
Oct 19, 2015
Messages
253
Reaction score
39
First Language
English
There seems to be something in the YEP Core Plugin that's interfering with the ATB script. When the core is enabled, it stretches the HP bar and completely cuts off the ATB bar. I suppose this is technically a YEP problem, but any idea which setting in the core plugin is causing this? I have the ATB plugin before the Core plugin in my list if that makes any difference. =)
put atb after and it should fix it
 

Pipnotiq

Villager
Member
Joined
Oct 28, 2015
Messages
10
Reaction score
2
First Language
English
It's pretty easy, but you'll have to pull out the calculator (or do maths in your head).  Simply look for this in the script (using whichever editor you choose):

Window_BattleStatus.prototype.drawGaugeAreaWithTp = function(rect, actor) { this.drawActorHp(actor, rect.x + 0, rect.y, 97); this.drawActorMp(actor, rect.x + 112, rect.y, 86); this.drawActorTp(actor, rect.x + 213, rect.y, 86); this.drawActorATB(actor, rect.x + 314, rect.y, 86); };It's pretty much near the top.  There is a 15 pixel width between the gauges, so keep that in mind.  Also remember that when resizing them, they are conforming to a set width of a container which is right above this piece of code.  Looks like this:

Window_BattleStatus.prototype.gaugeAreaWidth = function() { return 400; };The sizes of the gauges and the 15 pixel widths (default) must all fit in there so keep that in mind when figuring out the sizes of everything.  Here's my setup (without TP):

Window_BattleStatus.prototype.gaugeAreaWidth = function() { return 600; };Window_BattleStatus.prototype.drawGaugeAreaWithoutTp = function(rect, actor) { this.drawActorHp(actor, rect.x + 0, rect.y, 240); this.drawActorMp(actor, rect.x + 255, rect.y, 160); this.drawActorATB(actor, rect.x + 430, rect.y, 170); };I'll explain the numbers within this.drawActorHp(actor, rect.x + 0, rect.y, 240);.

rect.x + 0 - This is the position inside the container.  0 means absolute left and any change to that is how many pixels to the right it will be moved.

240 - This is the width, in pixels, of the gauge.  Adjust for each one accordingly.

If you take the numbers I have (240+15)+(160+15)+170, you get 600, so they'll all fit in there perfectly.  Any empty space will show empty space.  You can adjust the 15 pixel space to be larger or smaller if you like, but the gauges might not look right.

My setup is for a screen size of 1280x720, so this works out perfectly.  You can also change the text from AT to whatever, but it also needs to conform to a container, of which you can manipulate as well.  Look for this:

Window_Base.prototype.drawActorATB = function(actor, x, y, width) { var color1 = "#303050"; var color2 = "#6060A0"; this.drawGauge(x, y, width, actor.atbRate(), color1, color2); this.changeTextColor(this.systemColor()); this.drawText("Active Turn", x, y, 170); };Here you can change the gauge color and the text.  this.drawText("Active Turn", x, y, 170); is where you want to change the text and the size of it's container.  Mine is fitted to the size of the gauge itself that I set up above, but the default is 44.

Hope this helps anyone else that might want to know!

EDIT:

Also, this is what my gauges look like with my set up and with Rocketmancer's Custom Gauges plugin.

I must have those bars! Haha but how/which plugin do you edit to change the font for that? I'm having a hard time figuring it out.
 

djDarkX

Retro & Remastered Music Guru
Veteran
Joined
Jan 17, 2013
Messages
2,700
Reaction score
1,901
First Language
Music
Primarily Uses
RMMV
To change the font, you edit the Gamefont.css file inside the fonts folder of your game project.  As for what font I used...secret. ;)
 

MuteDay

Mutation Engine
Veteran
Joined
Oct 19, 2015
Messages
253
Reaction score
39
First Language
English
I must have those bars! Haha but how/which plugin do you edit to change the font for that? I'm having a hard time figuring it out.
your best bet would be to find a free font by googleing "Free Fonts" what i did to get my font
 

Lunesis

Veteran
Veteran
Joined
Oct 4, 2015
Messages
34
Reaction score
6
First Language
English
Primarily Uses
I must have those bars! Haha but how/which plugin do you edit to change the font for that? I'm having a hard time figuring it out.
Go to your fonts folder in your project, copy and paste whatever font file you want into that folder, go to the gamefont file and change the name of the font in the quotations to whatever the name of your font is, like this: "BASKVILL.ttf"
 
Last edited by a moderator:

Mellye

Veteran
Veteran
Joined
Oct 24, 2015
Messages
347
Reaction score
279
First Language
Portuguese
Thanks for making such a terrific plugin; I absolutely love it.

The only (small) issue I have with it is when using names on the predicted turn order display, the enemies use the name of the battler image file instead of the actual enemy name.

example: I made an enemy called Wasp in the database and used the hornet.png from the RTP. Instead of list the enemy as Wasp in the turn order, it calls it Hornet.

I'm fine just naming the files to the intended monster name, but if someone were to want 2 enemies with different names to use the same graphic for whatever reason, the display would still be wrong for one of them unless he copied the image over with both names.

If you could address this (minor) issue, it'd be greatly appreciated. If not, it's not really an issue as it's easily worked around. Everything else about the plugin is simply marvelous.  :)
Thanks for pointing this out! I'll fix this soon.

Edit: And it's fixed. Thanks!

----------------------------------------------

Just a small update for now:

 * 2015-10-31-0325: Monsters now properly show their name instead of their Battler Image name in CTB.

 * 2015-10-31-0325: Characters now step forward when its their turn.
 
Last edited by a moderator:

Lionheart_84

Veteran
Veteran
Joined
Oct 27, 2015
Messages
537
Reaction score
49
First Language
Italian
Primarily Uses
Thanks for pointing this out! I'll fix this soon.

Edit: And it's fixed. Thanks!

----------------------------------------------

Just a small update for now:

 * 2015-10-31-0325: Monsters now properly show their name instead of their Battler Image name in CTB.

 * 2015-10-31-0325: Characters now step forward when its their turn.
The new version of the plugin is incompatible with the plugin  YEP_BattleEngineCore

Characters not step forward when its their turn.
 
Last edited by a moderator:

Michael Dionne

Indie Games Developer
Veteran
Joined
Mar 12, 2015
Messages
70
Reaction score
60
First Language
French
I just want to specify, this plugin is compatible with mine, Portraits. It adds faces images in the BattleStatus window instead of only names :)
 

Mellye

Veteran
Veteran
Joined
Oct 24, 2015
Messages
347
Reaction score
279
First Language
Portuguese
The new version of the plugin is incompatible with the plugin  YEP_BattleEngineCore

Characters not step forward when its their turn.
Thanks for noting. I'll take a look later on and see why this happens, maybe it's an easy fix to make that compatible.

Just to be sure, is anything else breaking?

Update: Done, I think it now works properly with YEP_BattleEngineCore.
 
Last edited by a moderator:

clitvin

Veteran
Veteran
Joined
Oct 26, 2015
Messages
104
Reaction score
13
Primarily Uses
States seem to be coming off too fast. A state that should last 3-4 turns comes off usually in 1.5 actor actions.
 
Last edited by a moderator:

Mellye

Veteran
Veteran
Joined
Oct 24, 2015
Messages
347
Reaction score
279
First Language
Portuguese
States seem to be coming off too fast. A state that should last 3-4 turns comes off usually in 1.5 actor actions.
If you use Turn End duration, the duration of the state effect will be affected by the Turn Timer parameter.

The default value for my Turn Timer is a bit high: 150, when most level default characters have less than 40 Agility.

You can either: lower the Turn Timer (I'll probably lower the default a bit too), increase the Turn Duration (but if it's something that ticks per turn, it will also tick more total), or use Action End instead (that one will count down per action).

I do intended on adding an option to calculate Turn Time based on the average Agility of all battlers present in a battle, instead of being a fixed value, and I will probably do it soon - so you also have the option of just waiting for that.

Edit: I've implemented the above option. Check the last update and try using the new "Average Turn Timer" parameter.
 
Last edited by a moderator:

clitvin

Veteran
Veteran
Joined
Oct 26, 2015
Messages
104
Reaction score
13
Primarily Uses
If you use Turn End duration, the duration of the state effect will be affected by the Turn Timer parameter.

The default value for my Turn Timer is a bit high: 150, when most level default characters have less than 40 Agility.

You can either: lower the Turn Timer (I'll probably lower the default a bit too), increase the Turn Duration (but if it's something that ticks per turn, it will also tick more total), or use Action End instead (that one will count down per action).

I do intended on adding an option to calculate Turn Time based on the average Agility of all battlers present in a battle, instead of being a fixed value, and I will probably do it soon - so you also have the option of just waiting for that.

Edit: I've implemented the above option. Check the last update and try using the new "Average Turn Timer" parameter.
Right now the turn timer was set to 100, agi weight 200, base fill 100.

I was assuming that turn timer of 100 is equal to a base fill speed of 100.  So it should  be much slower then characters that are filling at 100+200*agi. 

But 4 rounds seem to go by during 1 actor action. 

Ideally, Id like to set it up so that an actor with 10 agi, would be taking exactly 1 action per turn. And every +/- 1 AGI would change that by 5% so 11 agi would take 1.05 actions per turn

and 30 Agi would take 2 actions per turn. What would the values have to look like for that to be the case?

The config would be really helpful if it was setup like this:

Default Turn Timer: [value in seconds]

Default Agi/1 Turn: [Value of AGI that coresponds to taking 1 action/turn]

% Agi Weight: [some multiplier that applied to every +/- pt of agi from the default]
 
Last edited by a moderator:

Mellye

Veteran
Veteran
Joined
Oct 24, 2015
Messages
347
Reaction score
279
First Language
Portuguese
Right now the turn timer was set to 100, agi weight 200, base fill 100.

I was assuming that turn timer of 100 is equal to a base fill speed of 100.  So it should  be much slower then characters that are filling at 100+200*agi. 

But 4 rounds seem to go by during 1 actor action. 

and 30 Agi would take 2 actions per turn. What would the values have to look like for that to be the case?
Oh, the formulas work this way:

ATB Gauge fills by: base_fill + AGI * (AgiWeight/100)

Turn Timer fills by: base_fill + Turn_Timer * (AgiWeight/100)

In other words, Turn_Timer is the AGI of the turn.

Ideally, Id like to set it up so that an actor with 10 agi, would be taking exactly 1 action per turn.
You'll want Turn Timer to be 10, then (and disable Average Turn Timer).

And every +/- 1 AGI would change that by 5% so 11 agi would take 1.05 actions per turn
Leave Agility Weight as 100, set Base Fill Speed to 10.

You'll probably want to reduce Full ATB to a lower value, though (or alternatively increase both Agility Weight and Fill Speed at the same proportion, like 200 and 20, 300 and 30, etc, while leaving Turn Timer as 10).

 
Last edited by a moderator:

Remove

Villager
Member
Joined
Oct 14, 2015
Messages
13
Reaction score
0
First Language
English
Primarily Uses
I haven't had any issue with your plugin over the past couple of days and I am greatly enjoying being able to use it in my project. I just wanted to say thank you for making it, and having it available to use freely.
 

SOC

Be your own hero
Veteran
Joined
Mar 22, 2012
Messages
570
Reaction score
490
First Language
English
Primarily Uses
RMMV
Can you put the version number at the beginning of the plugin description, please? Thanks!

The step forward is okay, but I'd like an option to disable it. I'd prefer an "actor blink/flash" option instead, especially if you plan on adding things like cast times~

Found a new bug with the step forward. If both characters reach their turn at almost the exact same time, they both step forward:

 
Last edited by a moderator:

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

Latest Threads

Latest Posts

Latest Profile Posts

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.
Can someone recommend some fun story-heavy RPGs to me? Coming up with good gameplay is a nightmare! I was thinking of making some gameplay platforming-based, but that doesn't work well in RPG form*. I also was thinking of removing battles, but that would be too much like OneShot. I don't even know how to make good puzzles!
one bad plugin combo later and one of my followers is moonwalking off the screen on his own... I didn't even more yet on the new map lol.
time for a new avatar :)

Forum statistics

Threads
106,018
Messages
1,018,358
Members
137,803
Latest member
andrewcole
Top