Lecode Tactical Battle System 0.77.2B

If you want enemies to use face graphics, you can make it so the enemy doesn't use "RTP Mode" and instead use a full set of sprites like actors do.
What am I missing?

<letbs_sprite>
pose(idle): _idle, 1
pose(move): _move, 4
pose(cast): _cast, 1
pose(charge): _cast, 1
pose(atk): _atk, 4
pose(hit): _hit, 1
pose(dead): _dead, 1
pose(turn_start): _victory, 5
pose(victory): _victory, 5
turn_order: auto
status_sprite: auto
</letbs_sprite>

dvsd.PNG


Also made a image for bandit in status folder.
Your "Bandit_Cast" should be "Bandit_cast". I think it's case-sensitive. Same w/ "Hit" & "Idle".
Ohh man, I really dont have the eye for details. Still didnt work but i forgot i had completley replaced the
this.drawSprite(); function that used to be there. I added it and now enemies at least have their sprite showing again.

Currently trying to figure out what the function to draw the enemy image is.
Instead of "status_sprite: auto", I think you need to specify the filename like you did w/ the poses. Just a guess...I could be wrong (sry about to go to bed).
Instead of "status_sprite: auto", I think you need to specify the filename like you did w/ the poses. Just a guess...I could be wrong (sry about to go to bed).

Yeah I have tried that as well. But ill keep trying, good night 😛
Does anybody know if there's a way to make it so that the characters always pass over the corpses? When walking over a corpse, the battler always passes underneath the corpse, rather than stepping over it.
Screenshot_3.jpg
Hello! I am curious if anyone who currently reads this thread had found a way to integrate the priority system or "Taunt". I have been trying to add it to a state but I have been a having hard time getting it to actually work.
There's an example of a Taunt skill in the demo project.
There is a old post from the user Deathasia, mentioning that you can in fact use SideView mode for for short battle animations (in the style of Fire Emblem) but you need Yanfly's plugins for it....
...which ones? Which plugins specifically are needed?
@AbstractMan It's definitely doable, I've done a few minor tweaks on mine but nothing significant yet. Totally on the to-do list though. My plan was to look into MOG_ActorHud.js for some inspiration since it's mostly picture/image-based.

Current state:
View attachment 195189
  • Hello. Can you tell me how to make a TP indicator like yours? I'm not good at scripts and all I could do was give it the same size as HP and MP, but without letters and numbers. And I suppose it is impossible to make the "move point" indicator the same?
Question. Anyone know how to play a single animation for a skill instead of an animation for each enemy hit?

Got a skill black hole im working on. I'd like the animation to play of cursor cell and ONLY cursor cell, however when i use it still plays on everyone. JavaScript from LETBS Config posted below

Spoiler: JAVASCRIPT
"black_hole": [
"map_anim: cursor_cell, obj_anim",
"wait: 20",
"effects: {aoe}_battlers, current_obj, obj_anim",
],
@Myers & Sparks Check out the demo project's skill called "Witch's Escape" and look at the Letbs config for that skill for some inspiration. Also, this site is a good reference, if u haven't checked it out already.

On a side note... does anyone know how to make a "Chain Lightning" skill?
Looked at it, doesnt use map animation for its animation call. I'll mess around with it to see if i could use pieces from it.


@Frostorm I can imagine this would be tough one. The first step would be checking if it hit a target tho. Using this

Spoiler: JAVASCRIPT
"if: isHit('{aoe}_battlers')",

Maybe the first skill is a lightning strike that targets one person. calls a sequence using JS above.
If true it calls another skill. Lightning(Chained) that does damage in a cross AOE and if that hits it procs chained again.

Just one way to sort it out maybe. Without having to actually check for ever battler and account for proximity.

If not you might have to look into multiple scopes and figuring out how LECODE handled proximity detection and code for that.

Hope this helps...

@Myers & Sparks Check out the demo project's skill called "Witch's Escape" and look at the Letbs config for that skill for some inspiration. Also, this site is a good reference, if u haven't checked it out already.

On a side note... does anyone know how to make a "Chain Lightning" skill?




UPDATE

I got the first part working. Skill map on animation and not on battlers. Have to set animation on skill to none and call a map animation. Java Below.

Still cant get the second part to work. Would like all the battlers to get pulled to the center of the AOE. Cant quite figure it out. Also i've notice LETBS has a problem pushing/pulling multiple battlers if the origin cell isnt user_cell. These are just some observations. Maybe i'm overlooking something after being stuck on this skill all day.

Spoiler: First Part works
"black_hole": [
"map_anim: cursor_cell, 459",
"pull: {aoe}_battlers, user_cell, $3",
"save_cells: black_hole_select, cursor_cell, shift",
"wait: 180",
"call: black_hole_sup",

],

"black_hole_sup": [
"set_cursor: saved(black_hole_select)",
"effects: {aoe}_battlers, current_obj, obj_anim, 0",
"call: skill_pull",
],
@Myers & Sparks Check out the demo project's skill called "Witch's Escape" and look at the Letbs config for that skill for some inspiration. Also, this site is a good reference, if u haven't checked it out already.

On a side note... does anyone know how to make a "Chain Lightning" skill?
can't download the demo from that site

EDIT: downloaded from OP post#1 instead.. not sure seems like not the latest version
@xabileug Latest version should be v0.77.2b so lemme know if that's the version u got. I can upload the demo to dropbox or something if needed.
Edit: Hey guys, guess what? I found out how to force damage popups to show!
Solution: BattleManagerTBS.activeEntity().addPopup();
Where exactly did you put this? @Frostorm
Put it anytime you want a dmg popup to show. For example, DoT effects can use it like so:
JavaScript:
<Custom Regenerate Effect>
var value = 100;
target.gainHp(-value);
BattleManagerTBS.activeEntity().addPopup(value);
</Custom Regenerate Effect>
Put it anytime you want a dmg popup to show. For example, DoT effects can use it like so:
JavaScript:
<Custom Regenerate Effect>
var value = 100;
target.gainHp(-value);
BattleManagerTBS.activeEntity().addPopup(value);
</Custom Regenerate Effect>

Oh so right in the skill itself. thats really nice to know!

Edit
@Frostorm tried this out couldnt get it working. Tried in multiple js codes in the skill itself as well as the sequence for my skill. I would like to pop tp and mp gain values if possible. I tried the one you have as well as <Custom Execution>
@Myers & Sparks Check out the demo project's skill called "Witch's Escape" and look at the Letbs config for that skill for some inspiration. Also, this site is a good reference, if u haven't checked it out already.

On a side note... does anyone know how to make a "Chain Lightning" skill?
There is a Mana Ball skill in the demo. It should work in a similar way.

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