whoops
Lecode Tactical Battle System 0.77.2B
JS Plugin Releases (RMMV)Thanks Chaosicaa! I'll check it out when I get the chance!
What I'm trying to do is make a dark mage class that summons a dark sphere. The mage would cast spells onto the sphere to use abilities, and use spells to move the sphere around and what not. So I could use a gravitational pull spell that can only be used on the sphere and it would pull enemies closer to the sphere. I would also use spells to put states on the sphere that would deal damage over time, or steal movement points. I also wanted the sphere to somehow have an effect where it increases its maximum health each turn and have a spell that detonates it dealing damaged based on its max health so that you wouldn't just summon it and detonate it on the next turn, if you wanted to do more damage you would have to keep it alive for a few turns.
What I'm trying to do is make a dark mage class that summons a dark sphere. The mage would cast spells onto the sphere to use abilities, and use spells to move the sphere around and what not. So I could use a gravitational pull spell that can only be used on the sphere and it would pull enemies closer to the sphere. I would also use spells to put states on the sphere that would deal damage over time, or steal movement points. I also wanted the sphere to somehow have an effect where it increases its maximum health each turn and have a spell that detonates it dealing damaged based on its max health so that you wouldn't just summon it and detonate it on the next turn, if you wanted to do more damage you would have to keep it alive for a few turns.
This is so complicated I love it.
there is pull and push commands in sequence for help moving stuff.
theres look at commands and move_straight.
Its just a matter of figuring out the best way to do it.
as for dealing DOT and causing states, that's easy with the auras feature.
For the gradual HP boosts:
Someone did make a state progression script for RMMV.
You'd be using many state slots, but you could make them in progression,
where they expire after one turn and become a new state with bigger hp boost.
I used this to make a "Doom" spell where the victim dies in 5 turns.
EDIT:
Going off this, a few things I think would be cool:
Elemental marks:
When certain elemental creatures walk, they leave behind a mark that causes certain damage or effects, based on what they were:
fire - leaves volcano ground behind
ice - leaves ice ground behind (causes character to 'slip' forward until the ice trail runs out. (takes preference over movement))
electricity - stuns character, ends turn, causes paralysis.
all marks disappear when someone touches them (only the one that's touched)
can also be done for things like
slug - leaves poison trail behind
deathknight - leaves aura of death behind -kills on contact.
-- new AI pattern: trapper - ai moves in a pattern that circles the enemy.
So I found Yanfly's Overheat spell and I think it might work for what I am looking for. Obviously I would want to change the element from fire to dark. I'm playing around with it now. It heals but the target does not explode. Does this work with LeTBS?
http://yanfly.moe/2016/12/14/tips-tricks-overheat-rpg-maker-mv/
http://yanfly.moe/2016/12/14/tips-tricks-overheat-rpg-maker-mv/
Love your system, trying to use it for an RPG I am working on. I downloaded the test files but when I run a battle I have two problems. The first is when I select the scan command, nothing happens and I can't back out of this and have to close the game. The second is if I use the Item command, the game crashes and I get the following error:
TypeError: Cannot read property 'leTbs_scopeData' of null
at TBSEntity.getObjectScopeData (LeTBS.js:8048)
at Function.BattleManagerTBS.makeItemScope (LeTBS.js:3048)
at Function.BattleManagerTBS.drawItemScope (LeTBS.js:3053)
at Function.BattleManagerTBS.previewObjectScope (LeTBS_Commands.js:365)
at Window_TBSItemList.updateHelp (LeTBS_Commands.js:326)
at Window_TBSItemList.selectLast (LeTBS_Commands.js:333)
at Window_TBSItemList.Window_BattleItem.show (rpg_windows.js:5702)
at Scene_Battle.showItemWindow (LeTBS.js:1227)
at Function.BattleManagerTBS.processCommandItem (LeTBS.js:3023)
at Function.BattleManagerTBS.onCommandInput (LeTBS.js:2793)
Thanks,
-mike
TypeError: Cannot read property 'leTbs_scopeData' of null
at TBSEntity.getObjectScopeData (LeTBS.js:8048)
at Function.BattleManagerTBS.makeItemScope (LeTBS.js:3048)
at Function.BattleManagerTBS.drawItemScope (LeTBS.js:3053)
at Function.BattleManagerTBS.previewObjectScope (LeTBS_Commands.js:365)
at Window_TBSItemList.updateHelp (LeTBS_Commands.js:326)
at Window_TBSItemList.selectLast (LeTBS_Commands.js:333)
at Window_TBSItemList.Window_BattleItem.show (rpg_windows.js:5702)
at Scene_Battle.showItemWindow (LeTBS.js:1227)
at Function.BattleManagerTBS.processCommandItem (LeTBS.js:3023)
at Function.BattleManagerTBS.onCommandInput (LeTBS.js:2793)
Thanks,
-mike
If selecting a command crashes
(like item, skill etc.)
Make sure there is actually a command in there.
If you are using "Preview" scopes, it crashes because it's trying to display a non-existent scope.
The scan thing is annoying, but I just use the plugin file to remove it globally until there's a fix.
Thanks for your reply. I went in the plugin and removed the scan command but then it crashed on one of the enemies turns:
TypeError: undefined is not a function
at Window_TBSCommand.eval (eval at <anonymous> (file:///C:/Users/Michael/Documents/Games/Project2/js/plugins/LeTBS_Commands.js:153:47), <anonymous>:1:6)
at Window_TBSCommand.<anonymous> (file:///C:/Users/Michael/Documents/Games/Project2/js/plugins/LeTBS_Commands.js:153:17)
at Array.forEach (native)
at Window_TBSCommand.makeCommandList (file:///C:/Users/Michael/Documents/Games/Project2/js/plugins/LeTBS_Commands.js:149:15)
at Window_TBSCommand.setup (file:///C:/Users/Michael/Documents/Games/Project2/js/plugins/LeTBS_Commands.js:221:10)
at Scene_Battle.showCommandWindow (file:///C:/Users/Michael/Documents/Games/Project2/js/plugins/LeTBS.js:1206:25)
at Function.BattleManagerTBS.startTurn (file:///C:/Users/Michael/Documents/Games/Project2/js/plugins/LeTBS.js:2696:32)
at Function.BattleManagerTBS.startTurn (file:///C:/Users/Michael/Documents/Games/Project2/js/plugins/LeTBS_AutoBattle.js:165:57)
at Function.BattleManagerTBS.nextTurn (file:///C:/Users/Michael/Documents/Games/Project2/js/plugins/LeTBS.js:3378:10)
at Function.BattleManagerTBS.updateStartOfTurnEvents (file:///C:/Users/Michael/Documents/Games/Project2/js/plugins/LeTBS.js:3346:14)
Also, I didn't see the item command in the plugin, but how would I add that? I am also not sure what scopes refer to.
TypeError: undefined is not a function
at Window_TBSCommand.eval (eval at <anonymous> (file:///C:/Users/Michael/Documents/Games/Project2/js/plugins/LeTBS_Commands.js:153:47), <anonymous>:1:6)
at Window_TBSCommand.<anonymous> (file:///C:/Users/Michael/Documents/Games/Project2/js/plugins/LeTBS_Commands.js:153:17)
at Array.forEach (native)
at Window_TBSCommand.makeCommandList (file:///C:/Users/Michael/Documents/Games/Project2/js/plugins/LeTBS_Commands.js:149:15)
at Window_TBSCommand.setup (file:///C:/Users/Michael/Documents/Games/Project2/js/plugins/LeTBS_Commands.js:221:10)
at Scene_Battle.showCommandWindow (file:///C:/Users/Michael/Documents/Games/Project2/js/plugins/LeTBS.js:1206:25)
at Function.BattleManagerTBS.startTurn (file:///C:/Users/Michael/Documents/Games/Project2/js/plugins/LeTBS.js:2696:32)
at Function.BattleManagerTBS.startTurn (file:///C:/Users/Michael/Documents/Games/Project2/js/plugins/LeTBS_AutoBattle.js:165:57)
at Function.BattleManagerTBS.nextTurn (file:///C:/Users/Michael/Documents/Games/Project2/js/plugins/LeTBS.js:3378:10)
at Function.BattleManagerTBS.updateStartOfTurnEvents (file:///C:/Users/Michael/Documents/Games/Project2/js/plugins/LeTBS.js:3346:14)
Also, I didn't see the item command in the plugin, but how would I add that? I am also not sure what scopes refer to.
can you paste your string for the command list?
Mine is this:
move 82, attack 76, [extra], skills 64, items 182, pass 84
For an individual actor you would use something like this
<letbs_commands>
move 82, attack 76, skills 64, pass 84
</letbs_commands>
Sometimes I notice a projectile will shoot "backwards". What I mean is the arrow will fly from the target tile to the attacker. Also if you're attacking a unit directly vertical from you, the projectile won't show at all.
I actually have a question 🙂
I was playing around with summons.
A character can summon his faithful pooch. and I use an exp action script that gives actors experience on enemy kill, which works great with this system.
only problem is, when summons level up, then die,
if you summon them again, their level resets to the database level.
Where would I edit the plugins to disable initialization and have the summon be a normal level.
I had an enemy level the summon to 15 (starts at one) then i killed the summon, summoned it again, and it was level 1 again.
So turns out, summons can't gain XP. They're linked tot he summoner's level.
I guess this is fine.
I was playing around with summons.
A character can summon his faithful pooch. and I use an exp action script that gives actors experience on enemy kill, which works great with this system.
only problem is, when summons level up, then die,
if you summon them again, their level resets to the database level.
Where would I edit the plugins to disable initialization and have the summon be a normal level.
I had an enemy level the summon to 15 (starts at one) then i killed the summon, summoned it again, and it was level 1 again.
So turns out, summons can't gain XP. They're linked tot he summoner's level.
I guess this is fine.
@Pharonix
In this case, if your summon become better by using it, here is an idea :
Give your summon many ranks (rank 1 = level 1, rank 2 = level 2 etc...) and many copy of the same summon with boosted stats for higher level copies.
Create a variable : Summon EXP
Bind all your summons skill to a common event that increase the Summon EXP variable (a high MP cost skill will give more EXP)
When your summon EXP variable reach a certain amount, then you can make your actor forget low rank summon and learn high rank summon! (just after the exp boost in your common event, check the variable and change actor spell if needed)
The problem with this method is : Actors gain exp when killing enemies but summons gains exp by using spells :/
That's tedious but that's a way to do it.
You can also try to use : summon core script, but I do not know if it is compatible with TBS, you should try it : )
http://sumrndm.site/summon-core/
In this case, if your summon become better by using it, here is an idea :
Give your summon many ranks (rank 1 = level 1, rank 2 = level 2 etc...) and many copy of the same summon with boosted stats for higher level copies.
Create a variable : Summon EXP
Bind all your summons skill to a common event that increase the Summon EXP variable (a high MP cost skill will give more EXP)
When your summon EXP variable reach a certain amount, then you can make your actor forget low rank summon and learn high rank summon! (just after the exp boost in your common event, check the variable and change actor spell if needed)
The problem with this method is : Actors gain exp when killing enemies but summons gains exp by using spells :/
That's tedious but that's a way to do it.
You can also try to use : summon core script, but I do not know if it is compatible with TBS, you should try it : )
http://sumrndm.site/summon-core/
OoooOOooo care to share? <3
Its Hime's battle action experience script
HIME_BattleActionExp.js
get it on Hime's website
Make sure it's put after all LETBS scripts, just to be safe.
No, enemy summons have no level, and actor summons keep their database level.
Each summon is a new instance of the Game_Actor or Game_Enemy class. They can't share the same stat (level, for instance).
There's no way to go around this easily for now.
You can go with @Chaosicaa method or a similar approach, but using a plugin.
Currently working on 0.76. Hope to release it this weekend.
I was wondering how to use Yanflys note tags with LETBS. Is that how you do it, always use LETBS first then the other scripts?
I didn't really use any yanfly scripts with this.
The only ones I use are from the demo, so i kept the same order.
When I make yanfly scripted projects, I put yanfly scripts first.
I'm really enjoying all the updates on this project.
A few requests to consider for future versions:
1. Flanking: It'd be cool if the engine supported this so we can do things like pincer attacks and what not. Basically, if we could call a function like a.flanking(b) which would return true if there was a teammate on opposite side of b from where a currently is.
2. Attacks of opportunity. Basically, when you leave someone's default attack scope, they will immediately get a free attack on you. Each actor/enemy would get one such attack per turn.
A few requests to consider for future versions:
1. Flanking: It'd be cool if the engine supported this so we can do things like pincer attacks and what not. Basically, if we could call a function like a.flanking(b) which would return true if there was a teammate on opposite side of b from where a currently is.
2. Attacks of opportunity. Basically, when you leave someone's default attack scope, they will immediately get a free attack on you. Each actor/enemy would get one such attack per turn.
I basically finished the 0.76 version but with the completion of the scan command I found out I can make a pretty neat new eventing map demo.
I wonder if I should release it as it is now or if I should work further on it and record a new video with the eventing possibilities the scan command adds. One of my 50$ Patreon left so it's about time to make some promotion...
Thankfully I managed to solve the AI bugs.
I wonder if I should release it as it is now or if I should work further on it and record a new video with the eventing possibilities the scan command adds. One of my 50$ Patreon left so it's about time to make some promotion...
Thankfully I managed to solve the AI bugs.
I think I speak for quite a few people when I say, take your time.
I've been using 0.75 for a while now, and it's still a real solid battle system.
EDIT:
Just a small request here.
When you do release 0.76, could you release a separate "Patch File"
with only the files that were actually updated?
Anyone able to help with this? Haven't touched any of the battler graphics, it worked fine earlier and now it doesn't. And as you can see it's 3am and my non-coder mind just can't figure this one out.
Original thread: https://forums.rpgmakerweb.com/threads/lecode-tactical-battle-system-0-77-2b.71572/