having the same issues as above, plus Scan appears to be broken. no console error, just an inability to select targets or escape from making a selection.
Lecode Tactical Battle System 0.77.2B
JS Plugin Releases (RMMV)I get the same error with items and I've had to ask playtesters not to use the item command so it doesn't break the game, it'd be great to get a fix for this.
I agree @onipunk !
Does anybody know where to control/modify the default sounds for battle when an entity spawns in, when one uses a skill, and when a normal physical attack makes a hit? I can't seem to find them in the config files anywhere, and it isn't in "system" in RPG Maker itself.My "Miss" sound seems to be, well, missing as well..
I have quieter sounds in the rest of the game then, outta nowhere battle starts and my ears bleed 😳
Does anybody know where to control/modify the default sounds for battle when an entity spawns in, when one uses a skill, and when a normal physical attack makes a hit? I can't seem to find them in the config files anywhere, and it isn't in "system" in RPG Maker itself.
I have quieter sounds in the rest of the game then, outta nowhere battle starts and my ears bleed 😳
I think you just open the database for that, go to the Systems tab and edit the sounds there. Taking damage and miss are in the sounds sections as "Actor Damage" and "Miss." Double click them and edit the sound volume there. For the others just go to the animations and edit the sounds there. I found where the scripts or whatever call to use those animations once but I can't remember where it was 🙁 It shouldn't really matter though because they call for the specific animation # I believe so you can just change the sounds/animation in the Animations tab.
Spawn sound is animation #124 "Battler Placed"
Using a skill is animation #123 "Cast"
Edit: To change the animation LeTBS calls for go to the plugins and double click LeTBS. The 4th paramater is "Placed Animation." Changing the number will change the animation used when placing a character. Farther down (not going to count it out) is "Default Attack Animation" Changing the number here will also change the attack animation.
I recommend getting rid of the item command until there is a way to use it (if there is I don't know it, but I dont know much). To remove it go to the plugins, double click "LeTBS Commands" and edit the first paramater "Commands" and remove the item option. Right now I have mine set to
move 82, attack 76, [extra], skills 64, pass 84
This will get rid of the item option so that your play testers can't use it. I can't remember if the special option was there originally, if it was I also got rid of it because it caused the game to crash so I removed it too.
@Rem Rem Good idea, I had a similar problem with the scan command and removed that, so I'll do the same with Items too. If this is a universal thing then it's something that should definitely be at the top of the priority list before adding any other features. The system is already very adaptable, with lots of features - but not having items is a big omission and should be looked at in the next release.
@Rem Rem I forgot to look in animations 🙂
@onipunk I also had the issue with "scan", not even sure what it's supposed to do lol.
And thank you once again @Rem Rem for suggesting to take the options out completely 🙂
Does anybody know if it is possible to create/delete map events upon triggering a different event?
(e.g. Have a monster roaming the map and upon touching the player, create the event spawns for TBS for players and monsters, then upon player victory have the events get deleted)
This way the player character will always engage in combat wherever they were currently standing, not pre-defined locations...
I hope this made sense?
Currently the system I have is the monsters roam free and upon touching the player, it transports the player to a map for combat separate from the previous one, then upon victory it teleports them back to where they were prior to battle, deleting the event so the mod is "defeated".
Mostly want to avoid the teleporting thing and cut down on the number of maps I need to make.
@onipunk I also had the issue with "scan", not even sure what it's supposed to do lol.
And thank you once again @Rem Rem for suggesting to take the options out completely 🙂
Does anybody know if it is possible to create/delete map events upon triggering a different event?
(e.g. Have a monster roaming the map and upon touching the player, create the event spawns for TBS for players and monsters, then upon player victory have the events get deleted)
This way the player character will always engage in combat wherever they were currently standing, not pre-defined locations...
I hope this made sense?
Currently the system I have is the monsters roam free and upon touching the player, it transports the player to a map for combat separate from the previous one, then upon victory it teleports them back to where they were prior to battle, deleting the event so the mod is "defeated".
Mostly want to avoid the teleporting thing and cut down on the number of maps I need to make.
@hc phoenix @onipunk @Rem Rem
Actually there is a way to make the item command work, the problem is caused by :
LeTBS_commands plugin
One of the parameters of this plugin is :
Preview Action Scopes (it is set to true)
If you set this to false, you will be able to use items without problems !
For the scan option, it will work in the next update, you will be able to see enemy stats and maybe more : )
Actually there is a way to make the item command work, the problem is caused by :
LeTBS_commands plugin
One of the parameters of this plugin is :
Preview Action Scopes (it is set to true)
If you set this to false, you will be able to use items without problems !
For the scan option, it will work in the next update, you will be able to see enemy stats and maybe more : )
That's awesome @Chaosicaa thank you, is there a way to set the items so that rather than having an area of effect, one can simply use it on the character that selected it?
I don't use multiple party members for this project so the Aoe thing is pretty useless for healing items..
I don't use multiple party members for this project so the Aoe thing is pretty useless for healing items..
@Tewth Find the custom scopes section in the config file, add a new scope titled "self_cast" or something similar and put the following scope data between two brackets (these ones here { } ). Use "scope: custom(self_cast)" in your note box for the item or skill and remember to add "scope_options: include_center". And don't forget to close the scopes section off properly in the config file or you'll break the system. If you do it right you should be able to have it target the user only (a few skills in my game use this and it works perfectly).
EDIT: ah jeez, I realised I forgot to post what the actual scope data was. In the end, your scope should look like this: "self_cast": { data: "[cx,cy]" }
EDIT: ah jeez, I realised I forgot to post what the actual scope data was. In the end, your scope should look like this: "self_cast": { data: "[cx,cy]" }
Ayyyeeee, now I know how to do one more VERY useful thing 🙂 Your the best haha.
Happen to know where I can edit the icons used in the battle menu?
Yup, it's in the parameters of the config plugin. The numbers after each command is the index of the icon it's using, so if you change the number to the index of whatever icon you'd like to use, it'll change them.
EDIT: realised I forgot to mention what the scope data actually is, so I edited into the above post.
EDIT: realised I forgot to mention what the scope data actually is, so I edited into the above post.
Oh haha no worries I figured that out, I used the calculator that Lecode provided in his GitHub and worked it out myself.
I've got all my icons changed to what I want them, save for the little blue fist next to "Start Battle", an option to change that isn't grouped with the others so i'm going to assume it's located somewhere else?
It seems to be in the LeTBSWindows script, look for the section with this code:
77 is the default icon's index, which was causing issues for me and making an icon for a Magic Defence buff pop up in the Start Battle screen, and I hadn't bothered to look into it until today. Change that to whatever icon you want to use and you should be good, just tested it myself!
Window_TBSPositioningConfirm.prototype.drawItem = function (index) {
var w = this.textWidth(this.text()) + Window_Base._iconWidth + 2;
var x = this.contentsWidth() / 2 - w / 2;
this.changePaintOpacity(this._enabled);
this.drawIcon(77, x, 0);
x += Window_Base._iconWidth + 2;
this.leU_drawText(this.text(), x, 0);
};
var w = this.textWidth(this.text()) + Window_Base._iconWidth + 2;
var x = this.contentsWidth() / 2 - w / 2;
this.changePaintOpacity(this._enabled);
this.drawIcon(77, x, 0);
x += Window_Base._iconWidth + 2;
this.leU_drawText(this.text(), x, 0);
};
77 is the default icon's index, which was causing issues for me and making an icon for a Magic Defence buff pop up in the Start Battle screen, and I hadn't bothered to look into it until today. Change that to whatever icon you want to use and you should be good, just tested it myself!
Ah there the bugger is! I had that file open and was searching through it before but skipped over those lines apparently haha, didn't look hard enough!
Thanks again!
Ok @onipunk I've got one more question for you...
Before I had TBS, I was able to have it so i could click Fight then choose:
Attack
Fire
Wind
Water
Earth
Attack would simply use physical attack, and when I would click one of the elements, all spells the character knows in that elemental typing would appear.
With TBS it has all of the elemental categories, however every spell of every type shows up in each of the individual menus.
Do you know of a way that I could fix this? Would changing the TBS_Commands js to include "Fire" "Wind" "Water" "Earth" and just getting rid of the skills menu achieve this, or is there more work I would have to do than simply typing the name in and assigning it an icon?
e.g.
* @param Commands
* @desc Default commands string
* @Default move 82, attack 76, [extra], fire #, wind #, water # earth #, items 182, pass 84
I would like it to eventually be ordered:
Move
Attack
Fire
Wind
Water
Earth
Items
Pass
OR
Move
Attack
Spells
Items
Pass
Where "Spells" leads you to a choice of the four elements, then each elemental spells are subdivided into their own types.
I feel like the spells menu combined with all types is going to get quite long if they are all combined since I plan to have close to 20 spells of each type in the end.
Before I had TBS, I was able to have it so i could click Fight then choose:
Attack
Fire
Wind
Water
Earth
Attack would simply use physical attack, and when I would click one of the elements, all spells the character knows in that elemental typing would appear.
With TBS it has all of the elemental categories, however every spell of every type shows up in each of the individual menus.
Do you know of a way that I could fix this? Would changing the TBS_Commands js to include "Fire" "Wind" "Water" "Earth" and just getting rid of the skills menu achieve this, or is there more work I would have to do than simply typing the name in and assigning it an icon?
e.g.
* @param Commands
* @desc Default commands string
* @Default move 82, attack 76, [extra], fire #, wind #, water # earth #, items 182, pass 84
I would like it to eventually be ordered:
Move
Attack
Fire
Wind
Water
Earth
Items
Pass
OR
Move
Attack
Spells
Items
Pass
Where "Spells" leads you to a choice of the four elements, then each elemental spells are subdivided into their own types.
I feel like the spells menu combined with all types is going to get quite long if they are all combined since I plan to have close to 20 spells of each type in the end.
Anyone else experiencing a kind of lag? Also when I use summons sometimes the animations from their skills stay there but are faded.
I get lag if I set the area larger than "circle6", especially if it's "square6" or higher.
I haven't used the summons yet as I don't use them with my project, but I can open the vanilla demo and try them out and see if I can replicate that issue too.
It did it with the fire chickens, after they explode it leaves a faint explosion effect there and then the wind spirit has like a tornado skill that faintly stayed after being used.
I encountered this error after updating my game with "Yanfly's 1.5 update"
What caused the crash was the uncaught TypeError.
Perhaps you could look into this?
What caused the crash was the uncaught TypeError.
Perhaps you could look into this?
Original thread: https://forums.rpgmakerweb.com/threads/lecode-tactical-battle-system-0-77-2b.71572/