Lecode Tactical Battle System 0.77.2B

"charge": [
"play_pose: user, atk",
"wait: 10",
"effects: {aoe}_battlers, current_obj, obj_anim",
"directional_anim: user, user, 126, 127, 128, 129",
"wait: 20",
"move_to_cell: user, cursor_cell, true",
"look_at: user, cursor_cell",
"play_pose: user, atk",
"wait: 10",
"effects: {aoe}_battlers, current_obj, obj_anim",
"if: isHit('{aoe}_battlers')",
"set_speed: {aoe}_battlers, +6",
"push: {aoe}_battlers, user_cell, $1",
"set_speed: {aoe}_battlers, reset",
"end_if",
"wait: 60"
],

trying to make a charge skill, doesnt quite behave correctly
How does it currently work?
Been a hot minute since I worked on action sequences, but from this, it should be
damaging the targets,
then play animation on user
user moves to selected cell,
damages targets
pushes them back 1 cell.
Where can I access the Letbs documentation?
Where can I access the Letbs documentation?
The 0.8 documentation isn't really updated, but the old documentation can be found here.
Should be relevant up to .77.2b
How does it currently work?
Been a hot minute since I worked on action sequences, but from this, it should be
damaging the targets,
then play animation on user
user moves to selected cell,
damages targets
pushes them back 1 cell.

yeah its a rush to target skill. If an enemy is hit then it should knockback 1 cell. its kinda wonky right now. I cant determine whether I should make a direct target collision, or create a type of invisible projectile that shoots forward in front of the target one cell.

Actually, that may be easier...

@Pharonix is there a way to shoot an invisible projectile 1 space after the user has moved? instead of saving cells?
The 0.8 documentation isn't really updated, but the old documentation can be found here.
Should be relevant up to .77.2b

Thank you very much, it helped me a lot.
@Sacrifyx So far how I've assembled the enemies using the 'Troops' section (and putting down appropriate boxes), but I can't add more than 8 enemies to a Troop, and I'm unsure of how else I can do it, is there a way to just write it into an event box?
@Sacrifyx So far how I've assembled the enemies using the 'Troops' section (and putting down appropriate boxes), but I can't add more than 8 enemies to a Troop, and I'm unsure of how else I can do it, is there a way to just write it into an event box?
2 ways:

1). event troop page event that calls letbs event that spawns enemies

2). I use FlipelyFlip's Large Troops (edited by me as it wasn't exactly compatible)
I was able to make battles with 50+ enemies with this. Just know that the more entities you cram on a map, the more computer resource intensive it gets. I crashed my beta-tester's computer with one of my battles lol.
Wow! Thank you! This was exactly what I was looking for! I really only needed a couple extra, (like 12) but I was having trouble working outside the Troop event menu

Thank you so much this problem has been haunting me for months T_T
@Pharonix. I solved it! Here is how:


"charge": [
"look_at: user, cursor_cell",
"play_pose: user, atk",
"wait: 10",
"directional_anim: user, user, 126, 127, 128, 129",
"wait: 20",
"move_straight: user, 2",
"play_pose: user, atk",
"wait: 10",
"effects: {aoe}_battlers, current_obj, obj_anim",
"if: isHit('{aoe}_battlers')",
"set_speed: {aoe}_battlers, +6",
"push: {aoe}_battlers, user_cell, $1",
"set_speed: {aoe}_battlers, reset",
"end_if",
"wait: 60"
],

Simply made them move forward three and deal cursor damage.

I am however stuck on the wording of something. I want to use something similar for a leap strike. However I cant quite figure out the wording for Jump forward 2 cells. out of curiousity what docs can i look at for help with this? the sequencing for commands in LETBS

Edit. Disregard. Found it
@Pharonix Hey, I was just wondering if you were able to make any progress on the unit stats issue. (also "origin" support in addition to "user" & "target") For example, "origin.mat" still uses the target's stats instead of the caster's stats.
2 ways:

1). event troop page event that calls letbs event that spawns enemies

2). I use FlipelyFlip's Large Troops (edited by me as it wasn't exactly compatible)
I was able to make battles with 50+ enemies with this. Just know that the more entities you cram on a map, the more computer resource intensive it gets. I crashed my beta-tester's computer with one of my battles lol.


what I do didn’t work with the plugin, you have a demo there?
Say that a jSON file is missing
OPA got it here.
Edit. Disregard. Found it
[/QUOTE]
@Pharonix Hey, I was just wondering if you were able to make any progress on the unit stats issue. (also "origin" support in addition to "user" & "target") For example, "origin.mat" still uses the target's stats instead of the caster's stats.

No I haven't, but seeing as I am officially unemployed as of today, I might have some time to actually delve deeper into this.
No I haven't, but seeing as I am officially unemployed as of today, I might have some time to actually delve deeper into this.
Bummer, I'm sorry to hear that. At least u can file for unemployment benefits lol.
Hi all, has anyone been using this plugin with Orange Overlay? I love both plugins but am struggling to make them work together...

The problem I've having is the MapCursor doesn't follow the highlighted tile correctly (as shown below). I've tried putting one plugin in front of another but it seems like the order doesn't matter.

You can see when I move the cursor down to any row below the sprite that's facing front, the cursor indicator (the with four corners image) stays at the second row (same row with the sprite facing front), but actually the cursor should be on the tile that's highlighted.
ezgif-3-8c3fd15845c0.gif


Sorry if I'm not explaining it clearly, but if anyone has encountered this before, could you please help me out? Thanks in advance!
Sorry if this has been answered, I've searched relentlessly in this thread but couldn't find a solid answer, but did see others having the same issue:

Is there a solution to spawning enemy reinforcements that use larger sprite sheets? Right now the reinforcements only work if all enemies are tagged: use_chara
Quick question guys, do "states" not work in this? When messing with it, it seems I can add a particular state to a target, but the state has no effect.

Is this a common issue or is there a fix?
Another question for you Pharonix, as you seem to be the resident expert 🙂, could you let me know how you got Hime's BattleActionEXP plugin to work with LETBS? I can't get the game to reward experience at all when active - regardless if it is set to enemy death or result of action. It doesn't even reward the experience after the battle
Dang, I didn't realize that plugin was incompatible. I had plans to use Hime's BattleActionEXP as well but hadn't gotten around to it yet... I'll look into Hime's code rn and see how it's XP is managed. The issue might be cuz battles in LTBS are on the map instead of the battle scene, just a hunch though...
Yeah that was my assumption as well, since it works fine when LETBS is Off. I haven't looked into the code at all, but the main issue is that the game stops awarding EXP all together. Any help would be appreciated!

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