Lecode Tactical Battle System 0.77.2B

The existing AOEs are circle, square, line, cross, path. You can use a tag to ignore obstructions.


Charge, move and jump effects are handled through sequences.


I highly suggest you to test the demo and read the doc to get an idea of what you can already achieve. 🙂
Sure thing. I will fully go over it first thing in the morning (its 11pm). I am just tossing out ideas, things I would like to be able to do. If I can do most of them already that is great news.
I try to make abilities with marks, and they work good, but body_anim don't work and mark dissapear after appearing animation (but marks still work), Whats wrong?


Oh yes, its known bug, ok then.
Bug Report:


Teleportation II: If the skill is used AFTER the player has already taken a move action, the skill activates but has no effect. I tested Teleportation I and it has no such malfunction.


Question:


Is it possible for actors to occupy multiple squares?


I use size categories in my game and wanted to know if that is something that can be done or not?

Space Occupied (in Squares):
Tiny:  1 x 1
Small: 1 x 1
Medium: 1 x 1
Large: 1 x 1
Giant: 2 x 2
Colossal:  3 x 3


Can someone please provide me with a size template (or the sizes) the sprite sheets?


I can see it in the documentation, but I cannot find any specific measurements and I need specifics for commissioning artists.


Something like this:


mk5Csii.png
Can't we bind states to tiles with :

Code:
3: {
            "entering": {
            states: [17],
            play_anim: false,
            aoe: "square(1)",
            stop_movement: false,
            wait: 40
        }
    },
Bug Report:


Teleportation II: If the skill is used AFTER the player has already taken a move action, the skill activates but has no effect. I tested Teleportation I and it has no such malfunction.

Teleportation II hasn't the same effect as Teleportation I. Teleportation II teleports the battler in front of the caster to the selected cell. I think you didn't use it that way.

Is it possible for actors to occupy multiple squares?

It's planned 🙂.

Can't we bind states to tiles with :

On the bound skill, use the add state command.
Hello Retroboy,


If you want to know the dimentions you just have to open one of your project original file with a software like photofiltre 7, gimp or photoshop (I would recomend photofiltre 7 if you are a beginner since it is FREE and EASY to use and QUICK to load) and you can see that for one actor sheet


dimensions are 144 large (for 3 positions) and 192 height (for 4 positions) so you get the tile wideness (wich is 48 * 48) for 1 position


https://postimg.org/image/yd7q5wbxz/


For the whole sheet with 8 actors you got 576 large and 384 height (48 * 3 * 4 large and 48 * 4 * 2 height)


But if you want more control over that you can use the Shaz change tile size wich is compatible with lecode tactical battle script (but you will have to find or ceate your own tiles to match the size you chose)


Sorry for my broken english : )
Hello Retroboy,


If you want to know the dimentions you just have to open one of your project original file with a software like photofiltre 7, gimp or photoshop (I would recomend photofiltre 7 if you are a beginner since it is FREE and EASY to use and QUICK to load) and you can see that for one actor sheet


dimensions are 144 large (for 3 positions) and 192 height (for 4 positions) so you get the tile wideness (wich is 48 * 48) for 1 position


https://postimg.org/image/yd7q5wbxz/


For the whole sheet with 8 actors you got 576 large and 384 height (48 * 3 * 4 large and 48 * 4 * 2 height)


But if you want more control over that you can use the Shaz change tile size wich is compatible with lecode tactical battle script (but you will have to find or ceate your own tiles to match the size you chose)


Sorry for my broken english : )



Thank you sincerely. I think (unless I am mistaken) that this battle system uses sprite sheets with different dimensions to the standard MV set up?
For this sprite sheet you just need to add in :


Yourproject - >  img - > LeTBS - > Battlers


One image with your character name (the name in the character set) and add _idle to it   ex : Actor1_Idle (dimensions 144 large and 192 height (you just need to put the actor and not the whole sheet) 3 position large and 4 positions height)


Then put your actor name and then add _Dead to it  ex : Actor1_Dead (dimensions 48 large and 192 height) (1 position large and 4 positions height) If you do not want to do the 4 dead poses you can just have one pose and copy paste it 4 times for example.


For these you can actually put bigger images but your character will be bigger than the tile (Actually it's not that important especially for bosses if hey are bigger than the tile)


Actually there is also _atk and _cast and _hit and _victory (your character animations when attack and cast and receive a hit and win battle but these are optional it is just for better looking fights)


Exemple if your character is 48 large and 96 height it will be 1 tile large for 2 tile height you just have to keep the proportions for your sheet ex :


144 large and 192 height will become 144 large for 384 height ( * 2 for height ) with the same number of poses and it will be OK


Then in Yourproject - >  img - > LeTBS - > Status


You can put just one pose of your character and name your picture _Sprite    ex: Actor1_Sprite  (48 * 48)  (Actually you may put bigger images but the script do not support really big images for this yet maybe in a further update) (The window will be too small to contain it)


Then in Yourproject - >  img - > LeTBS - > TurnOrder


Just one picture of your character with the name :   TurnOrder then you add _CHARACTERNAME   ex : TurnOrder_Actor1  (dimensions : 40 * 40)


If you want to do this quick for the _sprite and the TurnOrder_   you can just take the faceset and copy it then rename it and then ajust the size of it with a software.


I don't know yet how to put bigger images without messing with the turn order actually (you probably have to change some settings in the script itself if you want to do that)


And then it's over you have set up 1 character (the first time is tedious but when you understand it it is actually easy)


Do not hesitate to do like the demo and you will understand the system : )
@RetroBoy: There is no standard spritesheet for LeTBS. The plugin uses whatever type of sheet you have based on your configuration (See sprite configuration in doc).


The only restriction is to have 4 lines. One for each directions, in that order: down, left, right, up. The size and the number of frames of your sprites sheet don't matter. 🙂


I don't like how the default system enforces a template for sprite sheets. It should be customizable.
@Lecode


I have this error after proceeding like so : 

3: {
        "entering": {
            skill_effects: 53,
            play_anim: false,
            aoe: "circle(0)",
            stop_movement: false,
            wait: 40



fe760c879e.png
Hello Luth,


Try to turn OFF your YEP_Skillcore plugin and tell us if the problem persists (or if an other problem appear in the console) there might be a conflict between these scripts :/


Edit : Oups that's probably not the problem, maybe the       aoe: "circle(0)",  (since and area of effect of 0 is not an "area")?
It's a knew bug, and fixed on my side ^^. The aoe is correct. circle(0) means a single cell.


Here are some screnshots of the big eventing feature for 0.6


ntheX51.png



7NmUjKF.png



tMC57hD.png



e8S4Zjb.png



It's almost finished. I'm really proud of the 0.6 version. I fixed all reported bugs...Can't wait to release it :'(.
Wow wonderful! keep up the good work !


Do you know when it will be available? : )
Heaps excited.
Thanks for putting so much effort into this 🙂
This looks so good. And with all the custom goals in there too, I can start work on my project too! Thank you so much.
Eagerly awaiting!

Now if only it was compatible with Yanfly's Victory Aftermath  BD
Hello,I'm Taiwanese (the small island beside China),my English is very bad.google translation may be a little problem,please forgive me.


Thank you for the amazing plugin ! And I have problem as same as Hyorei,but i have the plugin LeUtilities.

未命名.png
The 0.6 version is on !


The plugins and the demo files are updated.


But the documentation isn't updated yet ! I'll need some time since I want to migrate it to github.










Here's the changelog:


# - 0.6 : Added these sequence commands: 'call_for_every_cell', 'call_for_every_entity', 'reach_target'
# Added these sequence commands: 'save_cells', 'save_entities'
# Added these tag instructions: 'sprite_name' and 'sprite_config'
# Added a region ID to setup non-walkable tile but free for the line of sight (water)
# Improved AI
# Reduced lag generated by AI process
# Created Win Conditions ADD-ON
# New feature: TBS Events and Neutral entities
# Map events are now supported - battlers can interact with them.
# Support directional scope
# Added a new scope type: path
# Added an option to instantiate all enemies at the same time
# Start messages can be disabled
# Added some plugin command for in-battle eventing
# Added some event tag for in-battle eventing
# Fixed a bug where the system freezes on positioning phase
# Fixed the "param is not defined" error when an enemy starts its turn
# Fixed a bug where custom scopes ignore line of sight
# Fixed parallax scrolling when the cursor move
# Fixed a bug where move points could be negative
# Fixed a bug where knockback distance could be negative
# Fixed a bug where the game crashes when AI try to resume a move action
# The entities layer has now a correct Z coordinate
# Fixed a bug where entities overlap themselves
# Fixed a bug where the scope and marks layers weren't visible
# When the active entity die, the scope layer is correctly cleared
# Dead enemies don't try to play their turn anymore
# Dead actors can't be placed at the start of battles
# Battlers are correctly revived
# The turn order visual is correctly updated when en entity is revived
# The wait parameter for tile effects is correctly applied
# The parameter 'false' in the sequence commands 'push' and 'pull' to avoid
# knockback damage now works as intended
# Fixed 2 bugs related to the mark and tile effect add-on and improved it (1.1)
# Selected cells with TouchInput on large map are correctly handled


@Guilty: Is LeUtilities in the right order ? Above all my other plugins ?

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