Lecode Tactical Battle System 0.77.2B

My question would be, if possible, what is the ETA for the next version released and what new features can we expect in said release?
Take a look at my latest posts on patreon 🙂
But in addition to what's announced I'm going to improve the battle flow again. Ditching blocking processes all together and welcoming asynchronous functions.
And instead of relying on the update function to process each battle phase I'm probably going to treat them sequentially. So code-wise we'd have a clear idea of what do each phase do practically.
Ooh, increased processing speed would be really good. One of the issues brought up by peeps testing my project was the lag while ai processes stuff/etc. This next update is gonna be crazy awesome. *4 cheers for Lecode*
Are there plans on implementing a fog of war system? In other words, enemies would remain hidden until they come into vision range. I have some ideas for it. Certain tiles(most likely impassable walls and other obstacles) would block the range. Some passable tiles(maybe like tall grass or a cardboard box) would keep an enemy hidden until an opposing unit gets close enough.
Are there plans on implementing a fog of war system?
It's in the todo list but it won't be there for 0.8. There's already much to do. But I definitely like the concept and would like to make an add-on for it.
hmm i dont think im doing anything wrong but i cant seem to complete a battle, a made a simple map with 1 batter vs 1 enemy and no mateer how i defeat him i always get this error once his hp reaches zero.
upload_2018-4-7_4-48-54.png
hmm i dont think im doing anything wrong but i cant seem to complete a battle, a made a simple map with 1 batter vs 1 enemy and no mateer how i defeat him i always get this error once his hp reaches zero.
Double check the plugins and their orders. If YEP BattleCore throws an error it's likely due to a set up error.
im still just poking around in a demo thou
upload_2018-4-7_6-54-31.png

upload_2018-4-7_6-54-58.png

haven't move anything they only thing i have changed is the map
how would i go about making a skill the would buff the user for every target in the aoe?
how would i go about making a skill the would buff the user for every target in the aoe?
Make a sequence using the "for_each" command to loop through each target in the aoe and trigger the skill effects.
If the state/buff you're trying to apply can be stacked, it should work.
ok another question if you dont mind, im trying to use YEP Buffstatescore to make an animation play on a battler when a state is removed
<Custom Remove Effect>

target.startAnimation(3);

target.gainHp(Math.floor(-user.mat*1.3))

</Custom Remove Effect>


that damage part works great but the animation isnt playing.
Man I'm so far behind now, gotta go back like 40 pages to catch back up.
Ok so, I made a custom summon sequence, and the summon works fine, the monster gets summoned it can use normal attacks and thats fine, however when I want it to use a spell or ability I get this error

TypeError: Cannot read property 'leTbs_scopeData' of null rpg managers.js:1756
at TBSActiveSummon.TBSEntity.getObjectScopeData (LeTBS.js:8048)
at Function.BattleManagerTBS.makeSkillScope (LeTBS.js:3005)
at Function.BattleManagerTBS.drawSkillScope (LeTBS.js:3010)
at Function.BattleManagerTBS.previewObjectScope (LeTBS_Commands.js:361)
at Window_TBSSkillList.updateHelp (LeTBS_Commands.js:309)
at Window_TBSSkillList.selectLast (LeTBS_Commands.js:316)
at Window_TBSSkillList.Window_BattleSkill.show (rpg_windows.js:5670)
at Scene_Battle.showSkillWindow (LeTBS.js:1215)
at Function.BattleManagerTBS.processCommandSkill (LeTBS.js:2980)
at Function.BattleManagerTBS.onCommandInput (LeTBS.js:2790)

I have a usable ability in the summons class abilities, have the summon set to the right class and all that, but it still crashes with this error when I select magic or special.
As promised, I've kept my eye on this. Now I'm going to give it a look under the hood. 🙂
I want to make a map where there's traps (tile effects) but I want them to disappear after they are triggered.
Is it possible to do this, or am i stuck with traps that last forever.
Ok so, I made a custom summon sequence, and the summon works fine, the monster gets summoned it can use normal attacks and thats fine, however when I want it to use a spell or ability I get this error

TypeError: Cannot read property 'leTbs_scopeData' of null rpg managers.js:1756
at TBSActiveSummon.TBSEntity.getObjectScopeData (LeTBS.js:8048)
at Function.BattleManagerTBS.makeSkillScope (LeTBS.js:3005)
at Function.BattleManagerTBS.drawSkillScope (LeTBS.js:3010)
at Function.BattleManagerTBS.previewObjectScope (LeTBS_Commands.js:361)
at Window_TBSSkillList.updateHelp (LeTBS_Commands.js:309)
at Window_TBSSkillList.selectLast (LeTBS_Commands.js:316)
at Window_TBSSkillList.Window_BattleSkill.show (rpg_windows.js:5670)
at Scene_Battle.showSkillWindow (LeTBS.js:1215)
at Function.BattleManagerTBS.processCommandSkill (LeTBS.js:2980)
at Function.BattleManagerTBS.onCommandInput (LeTBS.js:2790)

I have a usable ability in the summons class abilities, have the summon set to the right class and all that, but it still crashes with this error when I select magic or special.
also whenever I select items in battle from the actions menu the game crashes as well, so I cant use my custom summon to use abilities or spells and cant select items in battle for anyone right now.
also whenever I select items in battle from the actions menu the game crashes as well, so I cant use my custom summon to use abilities or spells and cant select items in battle for anyone right now.
What version are you using.

There were a few issues with older versions where items skills, etc without a scope crash the system.
options are to make sure everything has a scope/aoe, or to turn off skill scope preview.
So y'all remember how i made things like variable cells, so that you can set a character into a variable based on what the value is?

for example if you make <Var Cell: 15> and variable 15 = 30
then it'll display actor 30 there. otherwise it functions like a normal actor placement cell.

I just added one for <Switch Cell: x>
So what this does is, if the switch x is ON, then it'll display the actor there.

for instance:
<Switch Cell: 18>
This will display actor 18 if switch 18 is turned on.

This works great for big battles using FlippelyFlips Large Troops script(see my earlier post to fix it)

I plan on having a 50 enemy battle, versus the player's 5 character party.

What I can do now, is make a bunch of Random <Switch Cell: x> cells, and make it so if you recruit characters as mercenaries for the battle, they'll show up.

Just wish <Enemy Cell: x> would pull the enemy with the id x
Like <Enemy Cell: 129> would pull the enemy from your enemies list in.

This would let you make large battles without any addon scripts.

<EnemyID Cell> could be added then...

I'm gonna look into seeing if this is possible

EDIT: Here's my full If statement for checking what kind of cell it is:
Spoiler: Spoiler
Code:
if (note.match(/<Enemy Cell>/i)) {
            data.type = "enemy";
        } else if (note.match(/<Enemy Cell\s?:\s?(.+)>/i)) {
            data.type = "enemy";
            data.fixed = Number(RegExp.$1);
        } else if (note.match(/<Actor Cell>/i)) {
            data.type = "actor";
        } else if (note.match(/<Actor Cell\s?:\s?(.+)>/i)) {
            data.type = "actor";
            data.fixed = Number(RegExp.$1);
        } else if (note.match(/<Var Cell\s?:\s?(.+)>/i)) {
            data.type = "actor";
            var varcellval = Number(RegExp.$1);
            data.fixed = $gameVariables.value(varcellval);
        } else if (note.match(/<Switch Cell\s?:\s?(.+)>/i)) {
            data.type = "actor";
            var switchVal = Number(RegExp.$1);
            var result = $gameSwitches.value(switchVal) ? switchVal : 0
            data.fixed = result
        }
The awesome thing is if in any of these:
<Var Cell: x> <Actor Cell: x> <Switch Cell: x>
if the data.fixed = 0, it'll function like a normal actor placement cell, which makes it easy to zero these spots out (Just set the respective variables to 0 and set the switches to OFF)

EDIT 2: I understand I probably shouldn't be editing the javascript, but I don't really plan on updating my LETBS scripts until at least .80,
I'm so lazy that I really don't want to have to redo my 200+ enemies' configurations to use the new format of sprite image config.
However this was made, I bet my kidney that it would make my brain explode just understanding how to use it. 😮
However this was made, I bet my kidney that it would make my brain explode just understanding how to use it. 😮

I literally built my project using Lecode's 77 demo as a base, then deleting all the assets I didn't need nor want.
This left me with preconfigured skills, enemies and actors that I could then modify to make my own stuff.

It gets a lot easier once you get into it a bit.

If you have any issues/questions, there are many of us in here who can help.
@Pharonix Hehe that makes me a bit more confident now, imma give it a spin then! I've always wanted to try and make a
tactical project but never had the chance to do it lol.

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