CTB System -Circle Cross & Show ATB Bar for Enemies script question

I have a few questions I'd like help with:

Can it be set so that when "start battle" is selected, the script will start running the AP bar of our side and the enemy? Instead of running AP directly as soon as the battle screen is entered?

Another question is, after using the script, the character seems unable to perform defensive actions? (The option becomes gray and cannot be selected)
3.png


There is another small problem that I am not sure what caused it.

But if I use Neo Gauge Ultimate Ace (This script changes the way gauges are drawn.) and CTB at the same time,

MP will be displayed as XX.0

001-02.png


If I use Neo Gauge Ultimate Ace alone, it will display normally,

(CTB alone will also display normally)

I used the new project to test, Only three scripts are used: CTB System, Show ATB Bar for Enemies, and Neo Gauge Ultimate Ace ,No other scripts used

thank you

I found the script here:


Another question is, after using the script, the character seems unable to perform defensive actions? (The option becomes gray and cannot be selected)
This is because the skill speed is the AP cost for using the skill
This could be changed but in what way would you want to change it.
You can set the guard skill speed to 0 which would make it run as soon as the actor is able to take action or you can insert a line to make the cost 0 or edit the script so that you can specify individual skill speed with a note tag or hash variable that you can create in the script for every skill.

To make a quick change you can do this.
Circle cross script line 148 insert above skill.speed
return 0 if skill.id == 2
skill id 2 equals the guard skill. so change that if you use a different skill for guard (defense)

Here I just made an addon. Now you can set custom skill costs or have all skill costs use the default.

The MP display should be an easy fix.
Change line 132 actor.mp to actor.mp.to_i

As for...
Can it be set so that when "start battle" is selected, the script will start running the AP bar of our side and the enemy? Instead of running AP directly as soon as the battle screen is entered?
What do you mean by 'start battle' is selected.
The default is to load the battle scene and show the message of what enemies are there and if you have a surprise or preemptive start. There is no start battle.
But I understand you don't want to see the AP bars until you have begun the battle.
This is not easy as the location where the ap bars are created is when the battle has started. To have it processed elsewhere would invite havoc by causing the AP bars to be possibly recreated multiple times.
What do you mean by 'start battle' is selected.
The default is to load the battle scene and show the message of what enemies are there and if you have a surprise or preemptive start. There is no start battle.
But I understand you don't want to see the AP bars until you have begun the battle.
This is not easy as the location where the ap bars are created is when the battle has started. To have it processed elsewhere would invite havoc by causing the AP bars to be possibly recreated multiple times.
This is the part where you choose "start fighting" or "retreat" at the beginning. If you choose to fight, AP will start working.

But I didn't expect that could cause problems...
This is the part where you choose "start fighting" or "retreat" at the beginning. If you choose to fight, AP will start working.

But I didn't expect that could cause problems...
I understand now. That would require a complete restructure of how the script works.
I can play around with the code but early tests don't work.
I understand now. That would require a complete restructure of how the script works.
I can play around with the code but early tests don't work.
Hi, I got it. The other two issues have been solved successfully, thanks for the extra script.

About AP... Is it possible to have the AP bar run independently below or above the character window without showing it in the character window?

I found that if I change the battle layout, the AP becomes invisible, or there may be a delay of a few seconds when loading. Is it possible to run independently without being affected by the layout change?
About AP... Is it possible to have the AP bar run independently below or above the character window without showing it in the character window?
this script as well as many others will run in the battle status window.
I'm not willing to invest my time to change that. I welcome anyone else to try. edits of this atb is allowed as it is not mine really, I just changed it to make the module section so that it was easier to change settings that are used in the script.
If you use other atb scripts you will find the same thing.
To understand what is happening with your battle layout I would need to know what you have done to change it. if you have a script that overwrites the display of the ap bar then of course you will not see it.

Original thread: https://forums.rpgmakerweb.com/threads/ctb-system-circle-cross-show-atb-bar-for-enemies-script-question.178175/