Lecode Tactical Battle System 0.77.2B

Hi, this battle system looks great, but unfortunately I can't run the demo version to appreciate its features...
I created a new project (obv on rpg maker MV) and copied the demo folder on the project folder, overwriting everything when asked..but when I run the test I only get a black screen telling me: "type error: undefined is not a function"
This is, i guess, a javascript error, but can't really get how to fix it..
Hope someone could help me

Other projects run without troubles, without this BS
sounds as if you mixed up some of the files - that error can be caused if some file versions are incompatible to each other.
Can you run the demo without copying it together with your new project?
Thanks for answering, Andar. I followed what the documentation of the tool said, so i created a new project and pasted the files in the archive, overwriting default files if necessary.. there was no project file in the demo folder, so the demo can't run standalone without a new project as base, if i've not misunderstood

(Sorry if some verbs are wrong, i'm not english)
then some of the files that were not overwritten because they were not included in the demo are of a different version than the ones overwritten.
I guess this could be a reason.
But now the problem is to find what files are wrong and where to find the right ones.. ok, I'll make some checks, i will post if i solve.

In the meantime, if someone knows a solution, please let me know

Thanks for now
Hi @TheShredding

I had the same error. This version should work:

Some people have this problem, use this link instead it might help you (this is the demo with full RTP, you just have to extract it with winrar):
https://www.dropbox.com/s/d9ujg4i73vaa7uc/V061 Lecode tbs Demo.rar?dl=0
Thanks a lot!
Well, this is great scipt, thank you)
Finally 😮‍💨.
The documentation is up. It's the whole website who changed.
I merged the AoE Creator with it and I added a mini-demo on the home page.

This weekend I'll release LeTBS 0.7.
I plan exciting features for 0.8 I can't wait to work on them, writting the doc was tiring.

P.S: The mini demo has indeed bugs and it's normal. I just wanted to setup the site and an easy way to show live updates.
I'll update it at the same time as the release of the 0.7 version.
This project is so awesome!! 🙂
I really want to get into it when I will have more time soon.

@Lecode Dunno if you know this already, but when I click on "All tags" on your site, I get an 404. 😮
Heads up friend. When using the mark and having the enemy moving to it, it gives me this error
upload_2017-5-25_6-32-48.png
There's also a strange glitch when setting a character on the field in any direction then choosing said character again pressing z twice ( which will then place you in the direction choosing phase) and instead of choosing a direction pressing x, it will cause the character to become invisible next time you try to place them on the board.
Spoiler: Example
upload_2017-5-25_6-48-2.png
Oh I forgot to say but the mini demo has indeed bugs and it's normal. I just wanted to setup the site and an easy way to show live updates.
I'll update it at the same time as the release of the 0.7 version.

Dunno if you know this already, but when I click on "All tags" on your site, I get an 404. 😮
Haha it's normal, this page isn't published yet.
From your avatar I can tell you have good tastes 😀.
Loving the plugin, can't wait until the new version releases!

There are a few things that I was wondering if are possible with the system thus far:

1. Is there a way to change how turn order is decided? Something along the lines of allowing all ally units move, fallowed by all enemy units?
2. Is there a way to allow enemies (and ally units, for that matter) counterattack if attacked within a certain range?
3. Can you have a map with more than 8 enemy units (since the troop maxes at 8, if I remember).
Is there AI/enemy attacks in it as of yet??
Can you have a map with more than 8 enemy units (since the troop maxes at 8, if I remember).

This is something else I'd like to see. 16 max would be nice if possible. That way you can pad out the area with a bunch of weaker mooks without every single combatant having to be a serious threat to the player.
BOSS BATTLES!! Hope you take a cue from MOGHUNTER!
This looks really awesome! However you mention the addon "LeTBS_RTPUse" in your documentation, but I can't find that addon anywhere...? I can't use the poses in my project so I really need that addon... 😢
@Vis_Mage
1. Yes this is the "fair repartition" 1 ally, then 1 enemy, then one enemy, you can disable it in the plugin configuration (hightest agility will be first)
2. Yes you can, they will counter attack if they are in the normal attack range (1 by default) if you add the counter attack parameter on them
3. You can not do it actually but with the 0.7 version coming soon you will be able to create a "gate" or "portal" that will summon enemies so they will be more of them (this a temporary solution while waiting the add-on)

@ShinGamix
Not yet, you will be able to choose and be able to change enemy IA in the 0.7 version with a tag in the enemy box :
Sample :
<letbs_AI>
type: summon, support
</letbs_AI>

offense : Offensive skills. The Ai will tend to use them aggressively, targeted directly a battler.
healing : Healing skills.
support : Skills that apply states. The AI will use them right away then they are available, to buff or debuff itself or another battler.
move : Skills that change the position of the caster. They are used to reach a specific target or to flee.
push : Skills that push the targets. The AI may use them to flee.
pull : Skills that pull the targets. The AI may use them to be close to a target.
summon: Skills that summon entities.

@autophagy
This add-on is coming with the next tbs update.
Current :
0.61 LeTBS_DamagePopupEX
0.61 LeTBS_TilesMarksAuraEffects
0.61 LeTBS_WinConditions
Coming soon :
0.70 LeTBS_Summoning
0.70 LeTBS_RhymeSmoothMapScrolling
0.70 LeTBS_BattleLog
0.70 LeTBS_EntityHud
0.70 LeTBS_RTPUse
Hello there.
It's official, the 0.7 version is released. I have to update the documentation again because I just noticed I missed the part about eventing, and there are missing parts about the AI. I have to make a video too, but I don't want to make you wait too long again so I release the 0.7 version anyway.
I bumped into a few bugs while working on it so please report any bug you may find.

Here's the changelog:
Code:
/*
# - 0.7 : Reworked the battle HUD
# Improved the positioning phase, you can also specify fixed actor cells
# The positioning phase is now correctly resumed
# The mouse is now correctly supported during the positioning phase
# Defeat is now based on actors in battle and not the whole party (bugfix)
# Added a minimal parameter to scopes
# Scopes and AoEs parameters are now evaluated
# Added smooth map scrolling system in battle
# Added a parameter to hide AI's scopes
# Counter attacks and magic reflection are now supported
# Added a summon system (add-on)
# The system now automatically use RPT ressources (add-on)
# Added these sequence commands: switch_cells, use_skill
# Added a fast sequence system as well as arguments for sequences
# Added a HUD that appear on an entity when the mouse is over it (add-on)
# Added some tag instructions to change sprite scale, tone and hue
# Added a tag "has_no_corpse" to hide an entity's corpse
# Added states and equipment animations in battle
# Added a map tactical and auto battle system
# The tag sprite_name is correctly taken into account into these components: Turn Order, Window Status
# The selected AoE now blinks
# Greatly improved targets and cells selection in sequences
# The AI Core is completed: all behavior are supported
# The AI correctly use its skills and doesn't stick with just one
# The AI correctly calculate the closest/farhest path to a given cell (no more stuck by obstacles)
# The AI uses smartly AoE skills to hit, heal or boost multiple targets
# The AI can use move skills to escape or reach targets
# The AI doesn't escape anymore if it's already too far from actors (prevents endless battles)
# The AI is able to focus its action on a specified target
# Added a parameter to define how much AI should try to escape (prevents endless battles)
# The AI now handles confusion states
# Added a parameter to delay AI calculation rate, in order to prevent freezes
# Added a configuration tag for AI
# Fixed a bug where collapse effects are triggered multiple times
# Projectiles and entities are now summoned for each cell in the AoE
# The turn order is now correctly determined
# Command, Skill and Item windows are now correctly positioned
# Skills can now directly alter move points with the instruction "change_move_points: +x /-x"
# Move points popup is now added - Though a little bugged
# Fixed a bug where triggering tiles and mark effects change the next
# action damage
*/

Now with the new website I can do live updates so you can follow closely the progress.
I'll make a post on my patreon pages later about the upcoming changes for 0.75 and 0.8.

1. Is there a way to change how turn order is decided? Something along the lines of allowing all ally units move, fallowed by all enemy units?
Like with GTBS ? Well for now it's not possible but it's really easy to do...I can make a tiny update about it later.

2. Is there a way to allow enemies (and ally units, for that matter) counterattack if attacked within a certain range?
The default counter attack and magic reflection system is supported in the 0.7 version but the counter attack is triggered on melee cells only.

BOSS BATTLES!! Hope you take a cue from MOGHUNTER!
Yeah I really like how Moghunter make his bosses. I want to achieve a system like that, thanks to ai commands.

This looks really awesome! However you mention the addon "LeTBS_RTPUse" in your documentation, but I can't find that addon anywhere...? I can't use the poses in my project so I really need that addon... 😢
Now you can 😤.

EDIT: Hotfix:
Code:
/*
# - 0.7a : Fixed a bug where the "Free_LOS" command in event comments would not work
#          Fixed a bug where the last summon data are used instead of a new data
#          Sprites of summoned entities are destroyed
*/
Please download the demo again. I also updated it.

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