the demo doesnt really tell me what I need to know to configure the sprites, or at least now in a way that I can understand on how to change what im already using.
Lecode Tactical Battle System 0.77.2B
JS Plugin Releases (RMMV)so i managed to fix the cool down issue but not im having a similar problem with states they aren't ticking down if a state is applied it just stays indefinitely but cooldowns are working and events i have playing at the start of each turn are working as intend.
Would be nice if you could share how you solved the problem. It could help other people who might be having the same problem.
Is it possible to change the battle conditions in the middle of battle?
I was thinking maybe after 10 turns, super op mega death knight appears, battle condition changes to "Get to the Escape Point" instead of "Defeat all enemies"
I was thinking maybe after 10 turns, super op mega death knight appears, battle condition changes to "Get to the Escape Point" instead of "Defeat all enemies"
Also,
When I use the enemy spawner in version .77 it throws an error after I spawn the fourth enemy
Bunch of conditionals to determine who the speaker should be.
When I use the enemy spawner in version .77 it throws an error after I spawn the fourth enemy
Bunch of conditionals to determine who the speaker should be.
is anyone else using buffstatecore and <Custom Regenerate Effect> stopped working i even put console.log(100) to see if it was running
Okay so I "Fixed" my previous issue.
Apparently it works as long as the enemy i'm making appear already existed on the map.
EDIT:
I was able to fix this by NOT using auto_turn_order_face, and instead had to make turn order graphics for each enemy sprite. Thankfully I use many duplicate sprites.
Apparently it works as long as the enemy i'm making appear already existed on the map.
EDIT:
I was able to fix this by NOT using auto_turn_order_face, and instead had to make turn order graphics for each enemy sprite. Thankfully I use many duplicate sprites.
That's something not being documented yet. But I believe you can learn through example. In the demo in each actor and enemy (mostly) noteboxes there are a sprite configuration. By analyzing or playing with the parameters I'm sure you can figure out how that works. At least until I got the doc ready for 0.8
This indicate to me that the engine is trying to access a sprite that's not loaded yet. I guess. Is the 4th entity you're trying to spawn already summoned before ? If so its sprite should be cached and you wouldn't have that issue. Hope I'm not wrong.
I think the win condition commands can still work mid battle, all thought not window will appear like at the beginning of battle.
Yeah entities 1 to 4 spawned had it' sprite in the enemy troop
Using sprite_name fixed it.
I don' need the popup window I can just use a text window to display the changes to victory cindition
Yeah it has to do with loading sprites. Either the entity's sprite of the one used for the turn order.
Then try to use the win condtions command mid-battle and let us know the result 😀.
I went on the project quickly and I'll briefly explain how that work.
- If you want to use custom sprites
Code:
<letbs_sprite>
pose(POSE_NAME): FILENAME_AFFIX, NBR_OF_FRAMES <== THIS LINE REGISTER A STANCE
pose(POSE_NAME): FILENAME_AFFIX, NBR_OF_FRAMES <== ANOTHER STANCE BEING REGISTERED
...
</letbs_sprite>
Code:
<letbs_sprite>
pose(idle): _idle, 1
pose(move): _move, 4
pose(cast): _cast, 3
pose(atk): _atk, 4
pose(hit): _hit, 1
pose(dead): _dead, 1
turn_order: auto
status_sprite: auto
</letbs_sprite>
- If you want to use chara
Code:
<letbs_sprite>
pose(POSE_NAME): use_chara, CHARA_FILENAME, BLOCk_INDEX, ROW_INDEX
...
</letbs_sprite>
Example:
Code:
<letbs_sprite>
pose(idle): use_chara
pose(dead): use_chara, Damage1, 3, 2
turn_order: auto
status_sprite: auto
</letbs_sprite>
Hope that helps or put you in the right road.
It worked, sorta.
The system knew I needed to kill the mknight1 flagged entity, but on his death, it didn't trigger anything.
Code for creating
Updating the Win Conditions.
I've tried both:
LeTBSWinCds Add Defeat FlaggedEntity [mknight1]
LeTBSWinCds Add Defeat FlaggedEntity mknight1
When checking via console:
Which makes me think something is wrong in the code, since there's an "Undefined" flag in the defeatflaggedentities thingy.
so anyone have any idea why my states would stop working im pretty stuck i have disabled all plugins not included in the demo and tested and troubleshooted everyday i know how , if i use the regular parameters provided by rpg maker it work so like -% Health reg works but using the regenerate tag from yep buffstate is not working it was working before and now its not i am super confused, i haven't added any script to the list since i start actually creating skills
Remove the [].
The undefined is irrelevant and shouldn't make the code stop working. It's just that the command is only sending one parameter, and the add-on takes two (the fladId and the displayed text), hence why one is undefined.
I'm surprised adding that condition mid-battle doesn't work as the win conditions are checked every turn...
EDIT: My god I've just skimmed through the add-on and detected a huge bug. I'm correcting it right away, thanks Pharonix!
@forteller what do you mean by states stopped working ?
Hope it'll work with v .77. I don't want to have to update my project 🙂
@Pharonix: The bug was related to death conditions not being properly checked.
Anyway I checked using win conditions commands mid battle and they worked on my end. Win conditions are pretty much checked at any time so when you use a command they get updated too.
So maybe it doesn't work on your end because of the version you're using :/.
If you have some time, try to check it again on the most recent version - Chaosicaa's demo.
Anyway I checked using win conditions commands mid battle and they worked on my end. Win conditions are pretty much checked at any time so when you use a command they get updated too.
So maybe it doesn't work on your end because of the version you're using :/.
If you have some time, try to check it again on the most recent version - Chaosicaa's demo.
Yeah, it works in Chaosicaa's demo
EDIT:
Figured it out:
it was an issue with checkDeath function
Top is what my version had, bottom was 77.2B.
I replaced the block with the 77.2B version and it works now.
I'm so happy.
/*
TBSEntity.prototype.checkDeath = function () {
if (this._battler.isDead() && !this._dead)
this.onDeath();
if (!this._battler.isDead() && this._dead)
this.onRevive();
};*/
TBSEntity.prototype.checkDeath = function () {
if (!this._sequenceManager.isRunning()) {
if (this._battler.isDead() && !this._dead)
this.onDeath();
if (!this._battler.isDead() && this._dead)
this.onRevive();
}
};
I was taking about the regenerate tag in Yep Buff&Statecore I can't get it to work in conjunction with the default plugin setup.
The problem with this error is the 'remake(order)'. The crash happens when the enemy you just added is faster than the current active entity. Because the added is faster than current entity and you are telling the system to remake the turn order, the system has no idea how to end the current active entity's turn and crashes. Another solution to this is 'remake(last)' which will automatically put the added entity at the end of the turn order.
<Custom Regenerate Effect> shouldn't work with LeCode's TBS. Unless you need it for a specific reason, I'd use something else since the fix requires editing the scripts. Editing scripts can break other things.
Oh really I thought for sure it did a some point guess I was seeing things
Is it possible to add a parameter that would allow players to save mid-battle? I plan on having really long battles.
Original thread: https://forums.rpgmakerweb.com/threads/lecode-tactical-battle-system-0-77-2b.71572/