(VXace Script Request) Simple CTB type battle system?

Starmage

Veteran
Veteran
Joined
Apr 2, 2016
Messages
783
Reaction score
843
First Language
FIlipino
Primarily Uses
N/A
Hello!!! ^_^ I just wish to ask again about another certain bug or issue I found, and it's more to do with Theo's SBS (I have already asked Theo about this on PM, and I'm still waiting for his response, but I'm gonna ask here regardless if you guys might know something about this). ^_^


There's sort of this bug when I do the (add party member) command during battles. In this fight, Chad and Klein will be surviving the fight for 2 turns, and after 2 turns, Ellemine and the rest will come as reinforcements... And during this time, the party position gets kinda messed up >.< Like in the pic, Zazir (the alien creature) is supposed to be on the green box, but he shows up behind chad.. also, the added party members will initially be static (not animating with their idle stance) and only start moving if they get hit/healed or when its their turn act. Thanks so much for any response! ^_^
 

Traverse

Veteran
Veteran
Joined
Jul 3, 2014
Messages
161
Reaction score
102
First Language
English
Primarily Uses
There's sort of this bug when I do the (add party member) command during battles. In this fight, Chad and Klein will be surviving the fight for 2 turns, and after 2 turns, Ellemine and the rest will come as reinforcements... And during this time, the party position gets kinda messed up >.<
As you said, this is a bug with Theo's script all on its own and should really have its own thread separately under the relevant forum. I did see this bug while I was testing the Yami stuff, but I assumed that Theo had some workaround and/or instructions in his script for how to handle it.

Apparently he does not, as I just found a poster on another forum who ran into the same problem. This seems to be a not-uncommon problem with sideview battle scripts, as this is not the first one I have seen where the creator evidently forgot to account for the need to add and remove party-members mid-battle.

This fix should really be made in the script itself, as it is a fairly major bug - but as TheoAllen is already updating his script and working on version 2.0, I suspect given the circumstances he will tell you simply to wait until 2.0 is out where the bug will be fixed.

However, if you insist on using this version of Theo's SBS, run this Script Call to fix the sprites after you add the party members:
Ruby:
SceneManager.scene.spriteset.actor_sprites.each_index { |i|
    sprite = SceneManager.scene.spriteset.actor_sprites[i]
    mem = $game_party.battle_members[i] ; return unless mem
    if sprite.battler.nil? || sprite.battler != mem
        mem.init_oripost ; mem.reset_pos(1) ; mem.battle_phase = :idle
    end
}
SceneManager.scene.spriteset.update
I can make no guarantees this will be 100% problem free as I am not particularly familiar with the ins and outs of Theo's system (I think it also makes Yami's Damage Popup trigger the revive/remove Death message). What the script call is supposed to do is run through all the actor sprites and compare them to your battle party members, manually resetting the sprites if the sprites don't match up.

I have not tested every possible case of adding and removing party members. Use at your own risk.
 

Starmage

Veteran
Veteran
Joined
Apr 2, 2016
Messages
783
Reaction score
843
First Language
FIlipino
Primarily Uses
N/A
Wow!! :D <3 The fix code worked wonders once again @Traverse ! ^_^ Thank you so much! :D I appreciate your help once again! :) And yeah, I do feel like Theo is gonna be fixing this soon for his 2.0 update on the major parts of the script, but for now, I'm content with using this on the game's current build until his update comes. :) Though I know I'd probably have to patch up a lot of things when that time comes. xP

Anyway, I appreciate the help once again! And yeah, I should've indeed made a new thread for this one. Its my bad >.<
 

NoahB

Composer
Veteran
Joined
May 4, 2014
Messages
100
Reaction score
73
First Language
Swedish
Primarily Uses
RMVXA
Also, shouldn't the Yami Order Gauge script be animated? In the videos I've seen of it, the icons move around, but when I try the script myself there's no animations. Is this a bug or is it intended?
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,299
Reaction score
11,713
First Language
English
Primarily Uses
RMVXA
[mod]@NoahB Please do not hijack a thread by asking a different question from that of the OP. You can read our Forum Rules here.[/mod]
Please post a thread in RGSSx Script Support.
 

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