Lecode Tactical Battle System 0.77.2B

Woo. My demo project is done, released just in time for the RM 28th Birthday Event. https://rpgmaker.net/games/10394/

Being a demo there is a lot more to add at a later date, but being goin hardcore for almost 2 months on it so gonna take a rest for a while hehe. Hope peeps enjoy it.

@yetruo I don't think so yet. Lecode is working on it though.
Any possibility for a compatibility with Yanfly's equip skills plugin?
Any possibility for a compatibility with Yanfly's equip skills plugin?
Can I ask what the current incompatibility is? I might be able to look into it...I'll certainly HAVE TO since that's a plugin I was intending to use.
Can I ask what the current incompatibility is? I might be able to look into it...I'll certainly HAVE TO since that's a plugin I was intending to use.
i equipped 4 skills using yanfly's system.

ALL the currently learned skills were available in battle.
That's the incompatibility.
Is there a way to allow Yanfly's doodads to work on a letbs battle map? I tried adding switch requirements to them, but no dice. Not sure how hard it would be to implement.
i equipped 4 skills using yanfly's system.

ALL the currently learned skills were available in battle.
That's the incompatibility.
If I have time for work tomorrow, I'll investigate and post a fix if I can find out. I've had to finaggle with that script before with an identical issue.
Woo. My demo project is done, released just in time for the RM 28th Birthday Event. https://rpgmaker.net/games/10394/

Being a demo there is a lot more to add at a later date, but being goin hardcore for almost 2 months on it so gonna take a rest for a while hehe. Hope peeps enjoy it.
I love TBS. I'll play it when I have the chance!
i equipped 4 skills using yanfly's system.

ALL the currently learned skills were available in battle.
That's the incompatibility.
I wish you asked this three months ago. I deleted my compatibility plugin because Yanfly's didn't do exactly what I wanted. I can't remember exactly what I did, but I do remember Yanfly's Equip Skill's rebuilds the "skill" in default battle. For this to work in the TBS, you'll need to take a ~"battleskills" from Yanfly and replace a ~"skills" in Lecode's TBS. I completely forgot what the exact keywords were. I'll tackle it more when midterm week is over, if my foggy memory didn't help.
I love TBS. I'll play it when I have the chance!

I wish you asked this three months ago. I deleted my compatibility plugin because Yanfly's didn't do exactly what I wanted. I can't remember exactly what I did, but I do remember Yanfly's Equip Skill's rebuilds the "skill" in default battle. For this to work in the TBS, you'll need to take a ~"battleskills" from Yanfly and replace a ~"skills" in Lecode's TBS. I completely forgot what the exact keywords were. I'll tackle it more when midterm week is over, if my foggy memory didn't help.

I actuallu spent about 7 hours over the last 2 nights hunting through the code and can't actually find where it populates with the actor skills lol.
Hi guys,
I have 3 new questions today :

1 - I'd like to use an ai controlled allies concept in some of my battles.
Is there some way to make the neutral characters to fight with your team (and considered as targets by the ennemies).
If not, is it possible to make some of your team members completely ai controlled ?

2 - Is there a way to script an entire battle ?
I'd like to replace one of my cutscene by a TBS battle in which the player is just a spectator.

3 - Is it possible to disable some characters on the before battle selection phase ?
If not, that would be a nice option.
Hi guys,
I have 3 new questions today :

1 - I'd like to use an ai controlled allies concept in some of my battles.
Is there some way to make the neutral characters to fight with your team (and considered as targets by the ennemies).
If not, is it possible to make some of your team members completely ai controlled ?

2 - Is there a way to script an entire battle ?
I'd like to replace one of my cutscene by a TBS battle in which the player is just a spectator.

3 - Is it possible to disable some characters on the before battle selection phase ?
If not, that would be a nice option.

I'm not sure about #3, I have a remove/add common event set I use for each battle.

For 1 you can add them, first set up the neutral characters as normal actors and add
<letbs_ai>
ai_control
</letbs_ai>
to their notebox. Next you need an event on the battle map to spawn them in. Use <TBS Event> in their note and use a comment event with <LeTBS> Trigger_Type: battle_start in it. Third you need a plugin command with 'LeTBS AddEntity Actor(n) (x,y) Order(first) DefaultAnim name' for example. (remove ' ) The n is for the actor's number, x and y are for the map coords, Order can be set to first or last in queue, defaultanim is the name of that char. I think, not entirely sure on it, but it worked when I tried it. *shrugs*

For 2...I think so, it would be a lot of work though. If you look at the test project in the town map the event shows the plugin notes to move chars around.
Haha, I actually did #2 easy

I created an enemy squad and an entirely ai controlled player team

I used Hime'party manager.
Which would help you with removing members as point #3

Just swap to the party that doesn''t have them.


I literally built a monster colliseum which allows you to choose a team, and have it fight.


For the monster coliseum I let the player choose the positioning since there' an issue starting if everyone is auto placed
Just want the creator of this fine plugin, I guess they are called now, to know that you have brought me back.

So people can blame you, if it comes around to that.


Second, just using 3 secs of the online website version of the plugin, amazed. This is 100% what I needed. I was going to event it all, like back in the day.

This, this gold.

Thank you.

Are you still working on it, or a future version? Just curious.
Also what if any can you think of, do you think this wouldn't be compatible with? Like obviously other battle systems aren't going to work, but what if, if there are any, action sequences, skins, and so on?

You don't have to answer any of these obviously, but if you do so, thank you.

OH yeah, can I use it as my main battle system, and use a MOG battle system, the tales one, as a mini game or something? You think?
OH yeah, can I use it as my main battle system, and use a MOG battle system, the tales one, as a mini game or something? You think?
One of the reasons why I moved from VX ACE to MV was because of this TBS. This TBS does allow for multiple battle systems in the same game. The flexibility is great.

I actuallu spent about 7 hours over the last 2 nights hunting through the code and can't actually find where it populates with the actor skills lol.

This is because Lecode "cloned" Window_SkillList instead of overwriting it. Anyways, I wrote a capability for YEP_EquipBattleSkills.js:
Code:
var AdvWindow_SkillListprototypemakeItemList = Window_SkillList.prototype.makeItemList;
Window_SkillList.prototype.makeItemList = function() {
    if (this._actor && Lecode.S_TBS.commandOn && $gameParty.inBattle()) {
      this._data = this._actor.battleSkills().filter(function(item) {
        return this.includes(item) && this.includesBattleEquip(item);
      }, this);
    } else {
      AdvWindow_SkillListprototypemakeItemList.call(this);
    }
};
It must be placed under YEP_EquipBattleSkills.js. I suggest scrolling to the bottom of YEP_EquipBattleSkills.js and just pasting it there to save plugin space. If you also decide to delete EquipBattle or if EquipBattle updates, the capability will go with it. The capability should work as long as Lecode doesn't completely overhaul the system.
One of the reasons why I moved from VX ACE to MV was because of this TBS. This TBS does allow for multiple battle systems in the same game. The flexibility is great.

This is because Lecode "cloned" Window_SkillList instead of overwriting it. Anyways, I wrote a capability for YEP_EquipBattleSkills.js:
Code:
var AdvWindow_SkillListprototypemakeItemList = Window_SkillList.prototype.makeItemList;
Window_SkillList.prototype.makeItemList = function() {
    if (this._actor && Lecode.S_TBS.commandOn && $gameParty.inBattle()) {
      this._data = this._actor.battleSkills().filter(function(item) {
        return this.includes(item) && this.includesBattleEquip(item);
      }, this);
    } else {
      AdvWindow_SkillListprototypemakeItemList.call(this);
    }
};
It must be placed under YEP_EquipBattleSkills.js. I suggest scrolling to the bottom of YEP_EquipBattleSkills.js and just pasting it there to save plugin space. If you also decide to delete EquipBattle or if EquipBattle updates, the capability will go with it. The capability should work as long as Lecode doesn't completely overhaul the system.


Thanks. I'l
Try this out later
One of the reasons why I moved from VX ACE to MV was because of this TBS. This TBS does allow for multiple battle systems in the same game. The flexibility is great.

Truly great!! Thanks.
One of the reasons why I moved from VX ACE to MV was because of this TBS. This TBS does allow for multiple battle systems in the same game. The flexibility is great.



This is because Lecode "cloned" Window_SkillList instead of overwriting it. Anyways, I wrote a capability for YEP_EquipBattleSkills.js:
Code:
var AdvWindow_SkillListprototypemakeItemList = Window_SkillList.prototype.makeItemList;
Window_SkillList.prototype.makeItemList = function() {
    if (this._actor && Lecode.S_TBS.commandOn && $gameParty.inBattle()) {
      this._data = this._actor.battleSkills().filter(function(item) {
        return this.includes(item) && this.includesBattleEquip(item);
      }, this);
    } else {
      AdvWindow_SkillListprototypemakeItemList.call(this);
    }
};
It must be placed under YEP_EquipBattleSkills.js. I suggest scrolling to the bottom of YEP_EquipBattleSkills.js and just pasting it there to save plugin space. If you also decide to delete EquipBattle or if EquipBattle updates, the capability will go with it. The capability should work as long as Lecode doesn't completely overhaul the system.
Seems to be working perfectly.
Thanks man!
I get the feeling that this might possibly be a really stupid question, especially since nobody else seems to be having this problem with the TBS. It might be because I'm new to RPG Maker MV? Whatever the case, I'm having no luck on my own and searching this thread has not gotten any relevant results.

I am using version 1.5.2 of MV and LeTBS 1.77.2. I created a new project, not modifying anything. I then pasted the files from "LeTBS 0.77.2 files.rar" into the project's directory. I opened the project again and, without modifying anything, ran a playtest. At first, everything was running fine and I was able to properly fight in the test battle against bandits, but there is a 100% consistent problem that occurs whenever I kill an enemy:

Code:
TypeError: undefined is not a function
    at Window_BattleLog.updateWaitMode ([Game's Directory]/js/plugins/YEP_BattleEngineCore.js:5089:35)
    at Window_BattleLog.updateWait ([Game's Directory]/js/rpg_windows.js:4803:43)
    at Window_BattleLog.update ([Game's Directory]/js/rpg_windows.js:4797:15)
    at [Game's Directory]/js/rpg_core.js:7029:19
    at Array.forEach (native)
    at WindowLayer.update ([Game's Directory]/js/rpg_core.js:7027:19)
    at [Game's Directory]/js/rpg_scenes.js:262:19
    at Array.forEach (native)
    at Scene_Battle.Scene_Base.updateChildren ([Game's Directory]/js/rpg_scenes.js:260:19)
    at Scene_Battle.Scene_Base.update ([Game's Directory]/js/rpg_scenes.js:113:10)

Again, it seems I'm the only one having this issue, so maybe I missed an instruction? Was I intended to retrieve another script from somewhere, or perhaps use a different version of MV? Again, other than dragging and dropping the files from the .rar into the project folder, I have not modified the project in any way.

Update: Tried building and running a new project in 1.5.1, same thing happened. Tried in 1.4.1 and a DIFFERENT error happened as soon as I started the playtest. So it doesn't look like version number is the issue to me.

Update 2: This also happens if a party member dies or is poisoned.

Aaaand Update 3: The problem was fixed by using the demo instead... which I actually TRIED to do earlier, but my laptop refused to open that particular .rar because I guess that would have just been too gosh-darn convenient, and also misery builds character. Or something. *sigh* Well, whatever, at least my desktop opened it just fine.
Hi, I've been able to use the demo (apart from the items thing) but I'm having a few issues trying to get started with the plugin in my project. I've put up all the plugins in order, put tags on characters and enemies, and tried testing with a battle event on the map, and that led to a "undefined is not a function" error as soon as the event started, and here's what I'm getting in the console:

TZ24z6M.png


(Forgive me for being overly paranoid with the log, I'm not sure why I bothered)

I think I set the Turn order graphics to use the RTP sprites but I'm not sure what else I need to do. I can provide more info as necessary.
I've been lurking here for some time, working on my game in the background. I'm finally past the conceptual stage and actually trying to implement LeTBS. I have one question that's been plaguing me (mostly because I have zero programming knowledge, most likely).

I'm trying to build a system that changes actor sprites (both the battler and the free world ones) based on the weapon they have equipped. As an example, the character would have a sprite holding a pistol when they equip a pistol, but would change to one holding a rifle when they equip a rifle.

I've seen some posts on this thread about changing the actor graphic, but I can't figure out how to do it (what to put, and where to put it). Any chance someone could help me out?
I've been lurking here for some time, working on my game in the background. I'm finally past the conceptual stage and actually trying to implement LeTBS. I have one question that's been plaguing me (mostly because I have zero programming knowledge, most likely).

I'm trying to build a system that changes actor sprites (both the battler and the free world ones) based on the weapon they have equipped. As an example, the character would have a sprite holding a pistol when they equip a pistol, but would change to one holding a rifle when they equip a rifle.

I've seen some posts on this thread about changing the actor graphic, but I can't figure out how to do it (what to put, and where to put it). Any chance someone could help me out?

You would need parallel events running checking the equipped item, then change the actor graphic using change actor images on page 3
I use yanfly class change and my actor graphics change properly

Problem 8s the dead sprite that is required in the battles folder of letbs
Make this a generic of your actor and NOT holding a weapon

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