Lecode Tactical Battle System 0.77.2B

Yeah I was thinking how the ambush system could benefit from it.
That's definitely something I'll work on soon 🙂. Thanks for the idea.
Yeah I was thinking how the ambush system could benefit from it.
That's definitely something I'll work on soon 🙂. Thanks for the idea.

No problem! Thank YOU for the sick TBS plugins, my current project would not be possible if I hadn't found your work.
@Lecode I only need to update the .js files for my current project to get the new patch working correct? all the stuff in data is just for the demo?
@Tewth : Yes, take the new js files and add the new add-ons in the plugin manager.
Be careful with the config file tho. Don't erase your own configuration.
Speaking of which I have to find another way to set up configurations.
@Tewth : Yes, take the new js files and add the new add-ons in the plugin manager.
Be careful with the config file tho. Don't erase your own configuration.
Speaking of which I have to find another way to set up configurations.

Yeah I made sure to test it on a copy of my project first, then simply copied in my custom scope data and other important things like that back into the config file. Just wanted to make sure I wasn't missing anything 😛
@Tewth : Yes, take the new js files and add the new add-ons in the plugin manager.
Be careful with the config file tho. Don't erase your own configuration.
Speaking of which I have to find another way to set up configurations.

Awesome! Was eagerly awaiting this update. Do you have a list of features you'd like to add to the TBS?
For people who wants ready to use LeTBS Demo version 076A patched with RTP, here is the link :
https://www.dropbox.com/s/bbs5o5lxtm0o244/LeTbs 076A Demo.rar?dl=0

This "ready to use" demo will provide you :
- Standalone V 076A Lecode TBS with no need to download Version 075 and patch it
- The newest yanfly plugin updates (leTBS compatible) Core 1.25 Engine core 1.45 etc. (Rpgmaker MV 1.5 supported)
- The LeTBS_Multiselection plugin activated by default (it will let you use the Lucius "Ally Teleport." skill which is REALLY GREAT, thank you Lecode
With this, you will be able to use "Ally Teleport." but also Mega sparkle and Multi fire with new scope type (try it !)
- It will disable by default the preview action scope (there is still a little problem with this so you will avoid crash using items this way)

@moldy This is mainly a bugfix version for example :
In this version, the Ice prison is fixed and work as intended.
Cross scope work as intended, you can also combine scopes, there is new scope options if you want (can only target ally, enemy, own summons etc.)
Some other bugs are fixed, try to look the LeTBS changelog (Lecode posted it few messages before)
The movement point and TP is SHOWN in the status window (so GREAT)
You can also use different icons for different skill types (not possible to do in the plugin parameter yet, but now the option is possible by digging in Le tbs commands script)

There is also a random encounter support but I have not tried it yet!
Yeah I was having this issue as well. I worked around it by setting up a common event that gets called AFTER battle is done to keep track of the kill count using a variable, however I originally wanted to keep track of the total number of times each elemental typing was cast, but this works too.

The latter was my plan.
I implemented a skill evolution system where fire would be replaced by fire II if uses were a certain level.
For that I need CE's to work in battle. As well as a few other skills.

I can make do, since the project I'm working on is for a bunch of friends. and not yet demo-ready. But it would be nice if I could get them working.

I did just try Yanfly's Action sequences, but those don't work in an LETBS battle.
@Lecode Any chance you could do a quick fix to get common events to work with LeTBS instead of waiting for the next update. That would quickly open up many more options for us instead of having to wait for another update. It would be huge for making classes.
So first off I'm very new to RPG maker in general so I'm probably just making a really basic stupid mistake, and I'm sorry if this has already been asked.

I just copied all of the files from the demo and put them in my game, and I did put all of the plugins in the order specified on the home page, so I went to test it out and made a little test battle, but when I tried to activate the battle the screen goes black and the error "Cannot read property "apply" of undefined" shows up. How can I fix this error?
So first off I'm very new to RPG maker in general so I'm probably just making a really basic stupid mistake, and I'm sorry if this has already been asked.

I just copied all of the files from the demo and put them in my game, and I did put all of the plugins in the order specified on the home page, so I went to test it out and made a little test battle, but when I tried to activate the battle the screen goes black and the error "Cannot read property "apply" of undefined" shows up. How can I fix this error?

A bit farther up @Chaosicaa posted a link to download a working demo of this...

https://www.dropbox.com/s/bbs5o5lxtm0o244/LeTbs 076A Demo.rar?dl=0

Just use that as a baseline rather than trying to copy everything into an existing project, it will be a lot easier..

Then just copy and paste things you want from your original project into the demo, this is what I did and it worked well!
Anyone know of a way to disable the dialogue box after a battle is won from appearing?
@Tewth Yes, that's easy, this message is not LecodeTBS dependent so it will work whatever battle system you are using :
Open your rpg_manager.js script in your project js folder

Find the line (2510 for me) :

BattleManager.displayVictoryMessage = function() {
$gameMessage.add(TextManager.victory.format($gameParty.name()));
};

and comment out the middle line so it look like this :

//$gameMessage.add(TextManager.victory.format($gameParty.name()));

That way if you change your mind, you can remove the // (double slash) part and it will display again the victory message!

It will still display the defeat message, but it is just under in the script, do the same thing if you want to remove it too!
Hello. Soooo... I'm probably like super dumb, and I am not a coder, but could someone help me with this error?

Screenshot (6).png

This happens when I select the Item option.

Also, how do I start a battle? I cant figure out the documentation. Thanks!
Hello @BottleCapGames this is a known bug and will be patched in the next version.
The item preview scope is bugged actually so if you disable it, you will solve the problem :
On LeTBS_Commands plugin parameters, the last line is :
Preview action scopes (set this option to false and your problem will be solved waiting for the next patch)

To start a battle you need :
A map with actor starting places and enemy starting places (the event needs to have <Actor Cell> or <Enemy Cell> in their note and you need at least 1 one them each and activate the tbs plugin with plugin commands (you can see the plugin commands in the green crystal in the demo on the start map).
First off I wanted to say you're doing a great job with this battle system. Keep up the good work!
Now...
I wish for this system to become very solid so I would like to list some bugs that I've found.

1. If an enemy dies during the magic skill "Lightning Storm" the skill animation will stop but the sound effects
will continue to play out. I haven't tried this with other multi-hit skills but I know Lightning Storm does this.
I personally like to have skills play totally out during an overkill, maybe have it as an option?

2. The skill "Repulse Blow" will make an enemy move even if you miss him.

3. Whenever the enemy lands on any "tile effect" he won't finish his action and the game will not continue. This happens only when you set the "One Time Move" option in LeTBS plugin to "true".

4. The battle log window will not go away after the Fire Chickens are done with their attack. It takes another character's turn for it to be removed.

5. The skill "Rush" will hit the enemy even if there is an obstacle blocking your path.

6. Positive type of "tile effects", like those that can heal you, will stop you while you're moving. If you are using the "One Time Move" option in the plugin this makes it annoying.
Utopiablue said:
6. Positive type of "tile effects", like those that can heal you, will stop you while you're moving. If you are using the "One Time Move" option in the plugin this makes it annoying.

I suppose it's considered better to do so without One Time Move to make sure that the player doesn't ignore he just walk on a Tile Effects, but it can be disabled if you want since your using One Time Move. In the configuration file, for positive Tile Effects, search the line "stop_movement: true," and turn it to false for each Tile Effect that aren't supposed to stop the movement.
@Chaosicaa Thanks so much! It totally works now! Yay! 😂
@Lecode Any chance you could do a quick fix to get common events to work with LeTBS instead of waiting for the next update. That would quickly open up many more options for us instead of having to wait for another update. It would be huge for making classes.
Yes I'll deploy a quick fix soon.

1. If an enemy dies during the magic skill "Lightning Storm" the skill animation will stop but the sound effects
will continue to play out. I haven't tried this with other multi-hit skills but I know Lightning Storm does this.
I personally like to have skills play totally out during an overkill, maybe have it as an option?

2. The skill "Repulse Blow" will make an enemy move even if you miss him.

3. Whenever the enemy lands on any "tile effect" he won't finish his action and the game will not continue. This happens only when you set the "One Time Move" option in LeTBS plugin to "true".

4. The battle log window will not go away after the Fire Chickens are done with their attack. It takes another character's turn for it to be removed.

5. The skill "Rush" will hit the enemy even if there is an obstacle blocking your path.

6. Positive type of "tile effects", like those that can heal you, will stop you while you're moving. If you are using the "One Time Move" option in the plugin this makes it annoying.
Good catch. But about 6 this is normal. You're free to setup tile effects so they do not stop the battler movement. If they do, that's the player responsibility to use wisely the move command.
About 3 I'll disable the One Time Move effect for them. The AI isn't suited for that really.
I suppose it's considered better to do so without One Time Move to make sure that the player doesn't ignore he just walk on a Tile Effects, but it can be disabled if you want since your using One Time Move. In the configuration file, for positive Tile Effects, search the line "stop_movement: true," and turn it to false for each Tile Effect that aren't supposed to stop the movement.

Thanks, Weaky Feary! I kept looking at the LeTBS_TilesMarksAura script for the answer, I didn't bother looking at LeTBSConfig. Its also in the documentation I see. I should of paid closer attention before writing #6. Sorry about that one, Lecode.

About 3 I'll disable the One Time Move effect for them. The AI isn't suited for that really.

What about if you want to lay a trap that will stop the enemy from moving and holding it there for a few turns? This problem not just occurs with Tile Effects but also Marks. I just play tested using the Magic Trap spell, which is a Mark that stops the enemy movement, and it also had the same problem. It seems as though if the A.I. can not move to its desired path it stalls. Can there be a way to just tell the A.I. to cancel all actions if it is stopped?

Original thread: https://forums.rpgmakerweb.com/threads/lecode-tactical-battle-system-0-77-2b.71572/