Theolized Sideview Battle System

I want to know how can I do that the character is seen doing steps while going to the enemy, like looping frames while moving to the target, I was trying to do it but the character moves to the target after change frames and not while is changing of frames...

I just don't like see that the characters are jumping all time like frogs ^_^U so I wanted to give a more realistic move, Kaduki Sprites has the movement frames already made.
Basically you'd have to create your own sequence, rather than looping.

You'd have to take it step by step, like the character would take on sprite 1 while he moves to target +120X, then sprite 2 til +90X, then they reach their final destination at +60X, like so:

[:move_to_target, 120, 0, 10, 0],

[😛ose, 1, 1, 10],

[:move_to_target, 90, 0, 10, 0],

[😛ose, 1, 2, 10],

[:move_to_target, 60, 0, 10, 0],

[😛ose, 1, 3, 30],

-Attack phase starts-

And just use that for any physical attack sequence, or if you use it often you could make it its own sequence called "approach" and then just call that sequence whenever you need it with the [:action, "approach"], command
Hello everyone! I have some questions regarding this great battle system.

I was able to set up everything as far as the video shows and that´s working fine. Now i would like to set up separate

battle sequences for every character. I know i have to put together the sequence "by hand" so to speak, but there are

some questions remaining:

-Where exactly do i have to put this whole sequence? I tried it like it´s done in the demo, where it is a whole separate

script(or section), but that didn´t really work. So where do i have to put that?

-Is there a special way it has to be named, like, say, the battlers (Battler_1 and so on) for it to work?

-I can´t figure out how i can make my characters use weapons(the icon of the weapon) when attacking, at what point and how

do i set that up?

That´s all for now, i hope somebody can help me, i really try to understand everything, but some things are just a bit too much

for me.. <.<
 Hi Knackwurscht,

1- Yes, you are on the right track. Here's an example so that you can understand how it should look:

Spoiler
module TSBS

  Soldier = {

  "Soldier-idle" => [

  #[Loop, afterimage, flip]

  [true, false, false],

  #[😛ose, number, cell, wait, (icon)],

  [😛ose, 1, 0, 7],

  [😛ose, 1, 1, 7],

  [😛ose, 1, 2, 7],

  [😛ose, 1, 3, 7],

  [😛ose, 1, 4, 7],

  [😛ose, 1, 5, 7],

  [😛ose, 1, 6, 7],

  [😛ose, 1, 7, 7],

  [😛ose, 1, 8, 7],

  ],

}

  AnimLoop.merge!(Soldier)

end
Then you would call that action sequence (in this instance, the idle sequence) in the comment box of the actor/enemy as so:

<sideview>          or          <sideview: Soldier>   if enemy

  idle : Soldier-idle

<\sideview>

if done for a specific skill, you'd list in in the comment box of a skill as so:

\sequence : Soldier-idle

2-Nope all names are arbitrary. I could have named it bird in the aniloop merge and kitten-idle for the sequence, and they could all be used by Soldier.

That being said, there can only be 1 sequence of a given name, even if they're within seperate animloop merge setups. So throughout your entire list of scripts, there can only be one action called "Soldier-idle", though you can asign that single action for multiple purposes.

**3- Sorry, I personally don't use icons, so I can't help you there. All I can say is read config 2 about icons and maybe check Theo's wiki page which contains a ton of incredibly useful tutorials: https://github.com/theoallen/TSBS/wiki

I hope this helps. If you have any more questions or if I didn't explain something clear enough, just tell me and i'll try to help some more!
Basically you'd have to create your own sequence, rather than looping.

You'd have to take it step by step, like the character would take on sprite 1 while he moves to target +120X, then sprite 2 til +90X, then they reach their final destination at +60X, like so:

[:move_to_target, 120, 0, 10, 0],

[😛ose, 1, 1, 10],

[:move_to_target, 90, 0, 10, 0],

[😛ose, 1, 2, 10],

[:move_to_target, 60, 0, 10, 0],

[😛ose, 1, 3, 30],

-Attack phase starts-

And just use that for any physical attack sequence, or if you use it often you could make it its own sequence called "approach" and then just call that sequence whenever you need it with the [:action, "approach"], command
Yeah, I figured that so, sadly this system doesn't have a more detailed movement behavior like Victor System (which I was about to change for this one because Victor most likely got tired of everything and left some annoying bugs). Well thanks for the help! 🤘 🤣 🤘
Yeah, I figured that so, sadly this system doesn't have a more detailed movement behavior like Victor System (which I was about to change for this one because Victor most likely got tired of everything and left some annoying bugs). Well thanks for the help! 🤘 🤣 🤘
I mean it is detailed, this battle system is basically like legos. Everything is in parts and with those parts you can make pretty much anything. Sure it's not a quick "lets loop left foot right foot", but since you yourself designate which sprite appears when, you can have spontaneous movement or change what happens depending on switches/variables/states/pretty much anything.

Personally I think it's the most detailed system, and I love theo's system to death for allowing creativity with ease. But I guess in the end this is all just my opinion mixed with my experiences 😛
Hi TheoAllen. I am seriously considering using your battle system for the upcoming IGMC 2015 contest, and I am sure there are others like me as well, so I am asking for everyone interested.

Can we use your battle system for the IGMC 2015 contest?

You said in your terms that we can use it for non-monetary but not for monetary contests. Well, for IGMC I believe only first place gets any money. So how would this work? Maybe you can set a payment condition for if the user wins? Then those who agree can use this system.
I want to do that the filename to be used is determined by the actor/enemy ID rather than by their name, because currently I'm not sure about the names of each actor and monster, I don't want to have to rename ALLLL the files just for have changed a name.

I tried to do it by myself but due my script knowledge being below 5%, I could only find what determines the filename

On "Implementation v1.4" line 1222:

@battler_name = @name.cloneIf I change it to for example "Terry", the game requests me for the file "Terry_1", so I tried to change @name.clone for @id.clone, but the game shows an error saying "can't clone fixnum" 🙁

I won't have any problems with the actors and enemies for use the ids, because I can use the notetags <folder: actors> and <folder: enemies> to organize them to avoid that Actor1 and Enemy1 uses the same thing 🙂 .

So, what I must change to use their IDs instead of their names?
You can't clone a simple number, that's why you get an error.


Also, @battler_name will expect a string and not a number, so you can try this:

Code:
@battler_name = @id.to_s
I haven't tested this. 😛
Thanks for the quick answer!!! It worked like a charm.

And guess what, the notetag <sideview: name> works aswell 😀 So yes, the system already had a feature to use a different name 😮

Well, all solved (for now).
Hi there 😀  I have a question i had a RpgMakervx ace but it was not original so now i bought Origina one on steam and now i wonder can i use custom battle sistems there and custom sprite , characters animations etc ? ​
 ​
Also i realy like your battle system and all the add-ons wuld gladly suport you in some way since i dont have any particular skills i culd proly donate 10-20$ for your cause.   I know its not much but it wuld just be a token of apriciation.  ​
 ​
Best regards: seNs ​
Hi there 😀  I have a question i had a RpgMakervx ace but it was not original so now i bought Origina one on steam and now i wonder can i use custom battle sistems there and custom sprite , characters animations etc ? ​
 ​
Also i realy like your battle system and all the add-ons wuld gladly suport you in some way since i dont have any particular skills i culd proly donate 10-20$ for your cause.   I know its not much but it wuld just be a token of apriciation.  ​
 ​
Best regards: seNs ​
As long as you can access and insert scripts, you'll be able to use it. I'd suggest looking up tutorials first before asking questions on here about the process in doing so.

https://github.com/theoallen/TSBS/wiki -This is where you should start if you want to learn how to use Theo's script.

If you want to learn how to edit/add/anything else for scripts in general, there are a lot of helpful guides on this forum to help you, just look around a bit.
This place still open? I just got into the script today, and things were going pretty darn well. However, when I did any action aside from Run, it read the following:

Script 'Implementation' line 4709: ArgumentError occurred.

wrong number of arguments (2 for 3)


When I checked it out, line 4709 reads:

show_action_sequences (targets, item)

What am I doing wrong?
Thank you so much for this. I've all my free time the past few days trying to get SBS working with differing Class battle graphics.

This worked out of the box! 
This place still open? I just got into the script today, and things were going pretty darn well. However, when I did any action aside from Run, it read the following:

Script 'Implementation' line 4709: ArgumentError occurred.

wrong number of arguments (2 for 3)

When I checked it out, line 4709 reads:

show_action_sequences (targets, item)

What am I doing wrong?
The script is fine as it is (unless you got an older version), so you either didn't make your actions correctly or you don't have all of the necessary scripts ([instructions], config 1, config 2, implementation, patch).

Or maybe you have a conflicting script?
A suggestion to make this script more compatible(or at least easing those trying to make other scripts compatible with this script): Make a deep copy container in Game_Temp to track all the deep copies made by this script. For example:

Spoiler
#------------------------------------------------------------------------------|# Alias method: copy |#------------------------------------------------------------------------------|alias tsbs_copy copydef copy(object) # Rewritten to store the deep copy into the global deep copy container $game_temp.deep_copy_container[object] ||= [] deep_copy = tsbs_copy(object) $game_temp.deep_copy_container[object] << deep_copy deep_copy #end # copy#------------------------------------------------------------------------------|# * Edit class: Game_Temp |#------------------------------------------------------------------------------|class Game_Temp #----------------------------------------------------------------------------| # New public instance variable | #----------------------------------------------------------------------------| attr_reader :deep_copy_container # The container of all deep copies made #----------------------------------------------------------------------------| # Alias method: initialize | #----------------------------------------------------------------------------| alias tsbs_init_2 initialize def initialize tsbs_init_2 # Added to initialize the deep copy container as well @deep_copy_container = {} # end # initializeend # Game_Temp
If an object in a script has something conflicting with Marshal(like Bitmap, Fiber, Proc, etc), which is to be addressed, that script should have provided some ways to clear it so it can be used with Marshal.

Without tracking all the deep copies made by this script, however, other scripters will likely have an extremely hard time finding them all, let alone clearing them right before using Marshal.

With the above snippet(or later a part of this script if the author decides to integrate it into this script), other scripters can do their job much more easily.

For example, if a script has some Procs under RPG::BaseItem and has clear_proc under RPG::BaseItem to clear all those Proc made by it, then that scripter just need to do this right before using Marshal:

Spoiler
$game_temp.deep_copy_container.each_value { |deep_copies| deep_copies.each { |deep_copy| deep_copy.clear_proc if deep_copy.is_a?(RPG::BaseItem) }}
If that script also has reset_proc under RPG::BaseItem to reset all those Proc made by it, then that script just need to do this right after using Marshal as well:

Spoiler
$game_temp.deep_copy_container.each_value { |deep_copies| deep_copies.each { |deep_copy| deep_copy.reset_proc if deep_copy.is_a?(RPG::BaseItem) }}
This way, some compatibility issues with this script can be solved much, much more easily
smile.png
I'm looking for Theo's updated camera script. The one here is outdated and I would like a link to his most recent one. Thanks in advance.
Hey guys , here is a few questions , could be hard to answer tho ...  

1 . I'm trying to do a zoom in when it's a critical hit , can we know it before the movement to the enemy ?  

    Because right now , the way I know is to apply the condition after the "show damage" . But I want to 

    set my zoom in before the action . Like in Suikoden games.

2. Can we force a monster or an actor to change position in the battle ? I mean when a monster dies in the front row , the

    one in back move forward to take his spot ? I need to implement a line with the new coordinate and move to that position.

    I think I need to find a way to move any actors or monsters during action sequence not only the one who is doing the specific action .     It'll be so great !  😀

3. Last one , I want my battle sequences faster , less wait . I mean I want to start my next action after the one before
   is completely finished .

Thx 🙂
Hey guys , here is a few questions , could be hard to answer tho ...  

1 . I'm trying to do a zoom in when it's a critical hit , can we know it before the movement to the enemy ?  

    Because right now , the way I know is to apply the condition after the "show damage" . But I want to 

    set my zoom in before the action . Like in Suikoden games.

2. Can we force a monster or an actor to change position in the battle ? I mean when a monster dies in the front row , the

    one in back move forward to take his spot ? I need to implement a line with the new coordinate and move to that position.

3. Last one , I want my battle sequences faster , less wait . I mean I want to start my next action after the one before

   is completely finished .

Thx 🙂
1. Honestly I have no idea when ACE determines if a hit will be a critical hit. It seems that it determines this at the actual hit (aka :target_damage), by what you have explained. So, your going to need to rework it. This may be a little more labor intensive than you want, and this all hinges on whether or not Theo's :force_critical will work even if a skill has "no" set as its critical hit possibility. So, test it to make sure it can.

  • Set all skills' "critical:" box to "No". This will prevent random critical hits done by the system.
  • Create an action called "Calculate_Crit" In the scripting database. Here, you will do two things. First, you're going to use [:script, <insert the random number scriptline here(I can't remember exactly what it is, but google should yield it, or you could always go into the "rgssx Q's that don't deserve their own threads" and someone should know there), and set it equal to a variable>], for example let's just say it is a random number out of 10.
  • Second, if the Var, which is any number out of 10, equals 1, then you will activate force critical hit and zoom in the camera.
[:if, "$game_variables(1) = 1",

[

[:force_critical, true],

[<zooming function goes here>],

],

],

  • Now, for every attack or skill action you make, before [:target_damage], insert [:forced, Calculate_Crit], and after the [:target_damage], always reset zoom and insert [:force_critical, false],
I know it's labor intensive, but from what you've said about the behavior of the engine calculating critical hits, this is the easiest work around I can think of.

Also, if your testing proves that Theo can't force a crit if it is set to "No" on a skill, then you can still accomplish what you want, you'd just have to use the var check to determine whether or not to do [:target_damage], or [:target_damage, 2.0]. If you don't understand what I mean then I'll explain it if it comes to it.

2. You'd probably need another script for that, since Theo doesn't determine where the monsters are located, you do in the database editor.

3. I don't think you can do that with Theo's script alone, either. You'd probably need a new script.
I'm looking for Theo's updated camera script. The one here is outdated and I would like a link to his most recent one. Thanks in advance.
It's in the demo. Download it and c/p the script from it to your project.
Maybe there is a way to apply target damage before showing the damage on the enemy ?

Original thread: https://forums.rpgmakerweb.com/threads/theolized-sideview-battle-system.29231/