Lecode Tactical Battle System 0.77.2B

I'm not really sure what this means, here is the coding for the gun I added


https://gyazo.com/fa8fd1e13de31109e936f513f7af9fc9

Remove the last ]. (See, your text editor is yelling that it shouldn't be there ^^).


Change sequence: gun_bullet to sequence: gun. Since you called "gun" the sequence you just created.
Remove the last ]. (See, your text editor is yelling that it shouldn't be there ^^).


Change sequence: gun_bullet to sequence: gun. Since you called "gun" the sequence you just created.

Omg awesome thank you so much! I finally understand how to do it now and the gun skill is working perfectly, I appreciate your help it mean so much to me 😀  now I can continue with the creating of my game!
Hey LeCode just wanted to report on something. I have a little demo version that I tried to upload for my buddy to test out. However when he downloaded the game the LETBS folder would not have anything in it for him. We used google drive and I can see all the files in the folder just fine but when he tries to dl them to play the game its empty. I tried dropbox and then it just gives an error saying missing Img/letbs/battle_start. and the files are there when using dropbox but they get changed from png files to something else so rpg maker wont register them. Im not really sure how to make my demo playable since it seems no one is able to dl the letbs folder part of the game.
Hello Ygdrassill,


Have you tried to put your game in one folder and then use winrar on it?


Then you should be able to upload it without altering the files inside.


But that's an odd problem, how is battle_start.png changed? Can you send a screenshot of what is happening?


Anyway if the only missing file is "battle_start.png" you can send it to your buddy and tell him to put it in the good folder.


Or did you use the built in "Deploy project"?
Hello Ygdrassill,


Have you tried to put your game in one folder and then use winrar on it?


Then you should be able to upload it without altering the files inside.


But that's an odd problem, how is battle_start.png changed? Can you send a screenshot of what is happening?


Anyway if the only missing file is "battle_start.png" you can send it to your buddy and tell him to put it in the good folder.


Or did you use the built in "Deploy project"?

Oh, yeah I actually did use the built in Deployment option, then I compressed the files in winrar and uploaded the file to dropbox/google drive. Is it that the deployment option is a little buggy or something?


We did manage to get it working, but I had to upload the game folder directly to his google drive instead for him to see the files and dl it all. So I still


cant upload it normally to Dropbox or my drive for others to dl off of
So the deploy option ignores the letbs folder. What if it is inside the picture folder ?
So the deploy option ignores the letbs folder. What if it is inside the picture folder ?

If I move the letbs folder to the picture folder it just says the same error 


https://gyazo.com/d6939657240c7618f13a484f418678ee
Yes the error will remain because the system looks into /img/letbs but you moved it there: /img/picture/letbs.


Is there a way to know if the folders inside picture are properly processed by the deploy command ?
Hi again,


How did you create the "examine" command ? Because I would like to create "direct skills" that would be displayed in the main command hud.


(I tried Victor's Direct Commands but it doesn't work, and I'm affraid Yanfly didn't make a smiliar plugin.)


Thanks ♥
The TBS commands window don't use the default one (for obvious reasons) so the plugins you're talking about will not work.


I'll need to make an add-on for that.


Currently I'm working on TBS events and neutral entities, it's the final step for 0.6.
There's documentation of things you can put in the description section of the plugin to stop files from being removed when you choose to remove unused files. (Am I the only one that reads the help file?)
Hello, I try to use Yanfly Zed Death Mark with Letbs and it didn't work. Why? Letbs have other damage mechanic?


<Custom Apply Effect>


target._deathMarkDmg = 0;


</Custom Apply Effect>


<Custom React Effect>


if (value > 0 && attacker === origin && this.isHpEffect()) {


target._deathMarkDmg += value;


}


</Custom React Effect>


<Custom Leave Effect>


target.startAnimation(101);


var dmg = Math.round(-0.50 * target._deathMarkDmg);


target.gainHp(dmg);


target._deathMarkDmg = 0;


target.startDamagePopup();


target.clearResult();


</Custom Leave Effect>
@Blazexxx: Usually battle system plug-ins completely redo the damage sequence. So chances are those two plug-ins will not work together at all.
Hello, I try to use Yanfly Zed Death Mark with Letbs and it didn't work. Why? Letbs have other damage mechanic?


<Custom Apply Effect>


target._deathMarkDmg = 0;


</Custom Apply Effect>


<Custom React Effect>


if (value > 0 && attacker === origin && this.isHpEffect()) {


target._deathMarkDmg += value;


}


</Custom React Effect>


<Custom Leave Effect>


target.startAnimation(101);


var dmg = Math.round(-0.50 * target._deathMarkDmg);


target.gainHp(dmg);


target._deathMarkDmg = 0;


target.startDamagePopup();


target.clearResult();


</Custom Leave Effect>

Does it not deal damage or just doesn't play animation.

I used Ramza's Blocking and while it won't play animation, it will calculate damage reduction as result of a block.
Does it not deal damage or just doesn't play animation.

I used Ramza's Blocking and while it won't play animation, it will calculate damage reduction as result of a block.

No animation, no damage. Debuff dissapear and thats all, I turn off LeTBS and plugin work ok.
Yup, just like @bgillisp said.


I'll need to make a compatibility patch for it.
Yup, just like @bgillisp said.


I'll need to make a compatibility patch for it.

Thanks for answer guys, and thanks for that rly nice battle system Lecode!
Hey Lecode,


I want to use this battle system for my project, but I am worried about the bugs, crashing and compatibility issues. I am not a highly skilled programmer. I've got a "simple to play/hard to master" game system in my head and I am trying to bring it about. So far this has been the closest I've seen to being able to make it. I'd be willing to invest significant cash into making it do everything I want, if that would help.


There are a few things I would like to see implemented (if possible), but they are not as high of a priority as removing the existing bugs.


Things I would like to see implemented are (in no particular order):


Full Yanfly Compatibility: I have found it extremely difficult to find anyone willing to help me do any of the practical side of things, so I have relied heavily on Yanfly's work. I am not skilled enough to make my own plugins so I rely heavily on hers, even if I only use one or two functions from each one. As such, I need this to work with what I am already using.


Penalty Zones: I would for the ability to place (and remove) penalty zones. A penalty zone (or zones) reduces a stat (attack, defense, etc.) or add a State (Burn, etc.) to any actor or monster that ends their turn standing on it.


•  Random Penalty Zones: In addition to giving items and skills the ability to replace or remove Penalty Zones, I would also like to set a select number to appear randomly scattered across the battle field.


Random Obstructions: If I understand correctly, currently you must build your own battle maps and place existing obstacles. I would like the ability to set a certain number and have them randomly spawn on the battle map.
• Summoned Obstructions: I would like skills to be able to create barriers and walls which cannot be moved over, only around. You must be able to set a duration for summoned terrain (2-3 turns, etc.) to prevent abuse in game. It would also be preferable if we had Destructible Terrain (see below).
• Destructible Terrain: Terrain can be attacked, damaged and destroy like an enemy unit. However, it does not count as an enemy combatant, so need not be destroyed for victory to be determined and battle resolved. It would be preferable if we could treat the terrain like an actor or an enemy combatant. So we could expressly make rocks take more damage from Earth Magic, etc.
• Damage Zones: These are zones that inflict damage to the user upon entering them. The damage inflicted can be to HP or PP.


Movement Tags: This may exist and it is just my limited understanding of it that is the problem, but I would like the ability to put <Move +1> in a notebox and increase that character's maximum move range by 1. I would also like the ability to set base movement in an actor with a notetag like <Base Move 4> and giving that actor the ability to move in a basic diamond shape. Like so...


BaseMove4.PNG​




Difficult Terrain (Expanded): As mentioned earlier by other poster, if certain regions are more difficult to move through (mud, water, etc.) I would also like the ability to alter that by applying a Passive State via a skill. For instance, "Take Flight" allowing an actor or enemy to move without these penalties (but perhaps Turbulence could serve as a penalty for flyers but not effect forms of movement). Likewise, "Fish to Water" adding a swimming state that removed the slower movement, but was automatically removed upon exiting the water tile.


Area Tags: The simply ability to set a skill's AOE, for example...
<Radius X>: The skill will hit everything within X squares of the target zone.
<Range X>: This skill (weapon, item) can attack a target X squares away from the attacker (blocked by obstructions).
<Line X>: This skill will hit everything in a line.
<Reach X>: The skill (weapon, item) can strike at foes X squares away from the attacker.
<Throw X>: This skill (weapon, item) can attack a target X squares away from the attacker (Not blocked by obstructions).
<Charge X>: The attacker is moved X squares until adjacent to the foe so they can attack (Blocked by obstructions).
<Spring X>: The attacker is moved X squares until adjacent to the target and attacks (Not blocked by obstructions).
<Jump X>: The attacker is moved X squares in any direction (Not blocked by obstructions).


Again, I cannot emphasize how important Tags really are, as it makes book keeping, balancing and data-entry so much easier.


You have my full support with this project and although I will not be joining Patreon to pay $1 or $2 a month, I might be willing to pay a single lump sum of $100 or $200 if we can get this thing working flawlessly and I can implement it in my game.


Thank you for all your hard work. <3
I want to use this battle system for my project, but I am worried about the bugs, crashing and compatibility issues

So far I fixed 17 bugs for 0.6, so don't worry 😛.


As for compatibility issues I'll start with patching yanfly's plugins. That won't be for 0.6 though. I need to release it asap for people


to continue their project.

Penalty Zones: I would for the ability to place (and remove) penalty zones. A penalty zone (or zones) reduces a stat (attack, defense, etc.) or add a State (Burn, etc.) to any actor or monster that ends their turn standing on it.

This is the mark system. Look at the documentation ^^.

•  Random Penalty Zones: In addition to giving items and skills the ability to replace or remove Penalty Zones, I would also like to set a select number to appear randomly scattered across the battle field.

Replacing and removing a mark using a skill isn't possible currently but this is a really good idea.


With 0.6 and TBS eventing you'll be able to set random marks on the battlefield.

Random Obstructions: If I understand correctly, currently you must build your own battle maps and place existing obstacles. I would like the ability to set a certain number and have them randomly spawn on the battle map.

This is possible with an event generator plugin, or something like that. With 0.6 an event can be considered as an obstacle so it will do the trick.


But I'll keep this idea in mind. Eventing is still good but I will probably do an add-on for that. 

• Summoned Obstructions: I would like skills to be able to create barriers and walls which cannot be moved over, only around. You must be able to set a duration for summoned terrain (2-3 turns, etc.) to prevent abuse in game. It would also be preferable if we had Destructible Terrain (see below).

A summon system is planned for 0.7 ^^.

• Destructible Terrain: Terrain can be attacked, damaged and destroy like an enemy unit. However, it does not count as an enemy combatant, so need not be destroyed for victory to be determined and battle resolved. It would be preferable if we could treat the terrain like an actor or an enemy combatant. So we could expressly make rocks take more damage from Earth Magic, etc.

This will be possible in 0.6 with neutral entities 8').

•  Damage Zones: These are zones that inflict damage to the user upon entering them. The damage inflicted can be to HP or PP.

Tile effect / Aura / Mark system. (See doc')

Movement Tags: This may exist and it is just my limited understanding of it that is the problem, but I would like the ability to put <Move +1> in a notebox and increase that character's maximum move range by 1. I would also like the ability to set base movement in an actor with a notetag like <Base Move 4> and giving that actor the ability to move in a basic diamond shape. Like so...

All of that is possible. I explained how to do that in the documentation.

Difficult Terrain (Expanded): As mentioned earlier by other poster, if certain regions are more difficult to move through (mud, water, etc.) I would also like the ability to alter that by applying a Passive State via a skill. For instance, "Take Flight" allowing an actor or enemy to move without these penalties (but perhaps Turbulence could serve as a penalty for flyers but not effect forms of movement). Likewise, "Fish to Water" adding a swimming state that removed the slower movement, but was automatically removed upon exiting the water tile.

Planned too 🙂.

You have my full support with this project and although I will not be joining Patreon to pay $1 or $2 a month, I might be willing to pay a single lump sum of $100 or $200 if we can get this thing working flawlessly and I can implement it in my game.

Much appreciated <3.
Much appreciated <3.



Good to hear, exciting news and I am excited to watch development continue.


Did you see this?  (It was like the only thing you didn't reply to). 😉


Area Tags: The simply ability to set a skill's AOE, for example...
<Radius X>: The skill will hit everything within X squares of the target zone.
<Range X>: This skill (weapon, item) can attack a target X squares away from the attacker (blocked by obstructions).
<Line X>: This skill will hit everything in a line.
<Reach X>: The skill (weapon, item) can strike at foes X squares away from the attacker.
<Throw X>: This skill (weapon, item) can attack a target X squares away from the attacker (Not blocked by obstructions).
<Charge X>: The attacker is moved X squares until adjacent to the foe so they can attack (Blocked by obstructions).
<Spring X>: The attacker is moved X squares until adjacent to the target and attacks (Not blocked by obstructions).
<Jump X>: The attacker is moved X squares in any direction (Not blocked by obstructions).

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