(VX Ace) ATB System Options Help

SilentWyvern

The King of Cornflakes
Member
Joined
May 23, 2015
Messages
13
Reaction score
3
First Language
English
Primarily Uses
Sorry for the less than discriptive title, wasn't sure exactly how to word what I needed.

I'm currently making a game centered around ATB combat, but as I'm aware there are players who don't exactly LIKE ATB combat so I'm looking for a way via the system options to turn it off if they'd like.

The ATB system in question is Yami's Classical ATB.

https://yamiworld.wordpress.com/rgss3/battle-scripts/yeas-add-on/ysa-battle-system-classical-active-time-battle/

I'm also using Yanfly's System Options script for namely for the player control options.

https://yanflychannel.wordpress.com/rmvxa/menu-scripts/system-options/

I can't quite figure out how to work the options in the System Options script to allow me to turn the ATB on or off. The page I linked for Yami's CATB gives script calls that revert it back to the standard combat system (IE no ATB).

Script call for CATB:

$game_system:set_battle_system:)catb)

Script call for DTB:

$game_system:set_battle_system:)dtb)

Thanks in advance. 
 

DoubleX

Just a nameless weakling
Veteran
Joined
Jan 2, 2014
Messages
1,787
Reaction score
939
First Language
Chinese
Primarily Uses
N/A
Sorry for the less than discriptive title, wasn't sure exactly how to word what I needed.

I'm currently making a game centered around ATB combat, but as I'm aware there are players who don't exactly LIKE ATB combat so I'm looking for a way via the system options to turn it off if they'd like.

The ATB system in question is Yami's Classical ATB.

https://yamiworld.wordpress.com/rgss3/battle-scripts/yeas-add-on/ysa-battle-system-classical-active-time-battle/

I'm also using Yanfly's System Options script for namely for the player control options.

https://yanflychannel.wordpress.com/rmvxa/menu-scripts/system-options/

I can't quite figure out how to work the options in the System Options script to allow me to turn the ATB on or off. The page I linked for Yami's CATB gives script calls that revert it back to the standard combat system (IE no ATB).

Script call for CATB:

$game_system:set_battle_system:)catb)

Script call for DTB:

$game_system:set_battle_system:)dtb)

Thanks in advance. 
Those script calls have typos. The correct ones are:

$game_system.set_battle_system:)catb)$game_system.set_battle_system:)dtb)In Event Commands, there's an option called Script. Just put those script calls there.

For example, to change the battle system to catb, put this into the script box of that option:

$game_system.set_battle_system:)catb)Similarly, to change the battle system to dtb, put this into the script box of that option:

Code:
$game_system.set_battle_system(:dtb)
 

SilentWyvern

The King of Cornflakes
Member
Joined
May 23, 2015
Messages
13
Reaction score
3
First Language
English
Primarily Uses
So I followed what you said, in the Database Common Events tab I created a Condition Switch with the script call you posted for (dtb).

This is the only way I can get the game to go from an ATB to the DTB, but then I can't get it to go back to an ATB system.

Any other way either does nothing, crashes the game or makes it so I have no control over the actor.
 

DoubleX

Just a nameless weakling
Veteran
Joined
Jan 2, 2014
Messages
1,787
Reaction score
939
First Language
Chinese
Primarily Uses
N/A
So I followed what you said, in the Database Common Events tab I created a Condition Switch with the script call you posted for (dtb).

This is the only way I can get the game to go from an ATB to the DTB, but then I can't get it to go back to an ATB system.

Any other way either does nothing, crashes the game or makes it so I have no control over the actor.
May you please post the screenshots of your common events?
 

SilentWyvern

The King of Cornflakes
Member
Joined
May 23, 2015
Messages
13
Reaction score
3
First Language
English
Primarily Uses
Sorry for the delay, bad weather knocked out my internet for a while there.

At any rate, I haven't been able to recreate the circumstance in which the game crashes, but I've attached a picture of the switch as it is now.

I'm very new to this so please bear with me, trying to work through different settings. I've ever tried reverting the battle system to a dtb style and having the catb be turned on but I got the same results, character is unable to move. Not really sure what else to try here.

Common Event 1.png
 

DoubleX

Just a nameless weakling
Veteran
Joined
Jan 2, 2014
Messages
1,787
Reaction score
939
First Language
Chinese
Primarily Uses
N/A
Sorry for the delay, bad weather knocked out my internet for a while there.

At any rate, I haven't been able to recreate the circumstance in which the game crashes, but I've attached a picture of the switch as it is now.

I'm very new to this so please bear with me, trying to work through different settings. I've ever tried reverting the battle system to a dtb style and having the catb be turned on but I got the same results, character is unable to move. Not really sure what else to try here.
You need another common event(called by something that changes the battle system to catb) using this script call:

$game_system.set_battle_system:)catb)So now you've 2 common events: 1 for changing the battle system to dtb, and another 1 for changing the battle system to catb.

The former is called by something that changes the battle system to dtb, and the latter is called by something that changes the battle system to catb :)
 
Last edited by a moderator:

SilentWyvern

The King of Cornflakes
Member
Joined
May 23, 2015
Messages
13
Reaction score
3
First Language
English
Primarily Uses
I'm not sure what exactly I'm doing wrong, now its just conflicting with other scripts at the end of combat.
 

DoubleX

Just a nameless weakling
Veteran
Joined
Jan 2, 2014
Messages
1,787
Reaction score
939
First Language
Chinese
Primarily Uses
N/A
I'm not sure what exactly I'm doing wrong, now its just conflicting with other scripts at the end of combat.
You may want to send me your project via pm then :)
 

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

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,864
Messages
1,017,056
Members
137,573
Latest member
nikisknight
Top