Lecode Tactical Battle System 0.77.2B

Imatsu

Villager
Member
Joined
Mar 24, 2016
Messages
12
Reaction score
1
First Language
French
Primarily Uses
Hey, i have a probably dumb question but how can I change/ give new skill type an icon ?
 

Chaosicaa

Veteran
Veteran
Joined
Dec 22, 2016
Messages
95
Reaction score
122
First Language
French
Primarily Uses
@Imatsu Yes, in the plugin parameters in the plugin : Le_TBS commands there is a line :
Skill type icons : [64, 79, 80] you can change here !

If it does not work, maybe there is one error with the eval parameter.

Only if it does not work open your Le_TBS commands plugin with notepad++ and find this line (near line 80) :
Lecode.S_TBS.Commands.skillTypeIcons = String(parameters["Skill Type Icons"] || "[64, 79, 80]");
and replace it with :
Lecode.S_TBS.Commands.skillTypeIcons = [64, 79, 80];
(then you change the icon number here inside the plugin itself (not the parameters))
 
Last edited:

Imatsu

Villager
Member
Joined
Mar 24, 2016
Messages
12
Reaction score
1
First Language
French
Primarily Uses
Oh thank you ! I've been struggling with it so much
 

big_noob

Veteran
Veteran
Joined
Nov 26, 2017
Messages
31
Reaction score
16
First Language
English
Primarily Uses
RMMV
@Imatsu Yes, in the plugin parameters in the plugin : Le_TBS commands there is a line :
Skill type icons : [64, 79, 80] you can change here !

If it does not work, maybe there is one error with the eval parameter.

Only if it does not work open your Le_TBS commands plugin with notepad++ and find this line (near line 80) :
Lecode.S_TBS.Commands.skillTypeIcons = String(parameters["Skill Type Icons"] || "[64, 79, 80]");
and replace it with :
Lecode.S_TBS.Commands.skillTypeIcons = [64, 79, 80];
(then you change the icon number here inside the plugin itself (not the parameters))
Hey, thank you so much! I made an account to ask exactly this hahaha

I came across this plugin last week and started making a Pokémon game to mess around with it a bit, it's really fun and I've always wanted to make a game in this style, so I really appreciate you all working so hard on this!!!!!!!!

I started making this yesterday, I plan on making it into a full game (don't tell nintendo)
 

Attachments

freebooter

Veteran
Veteran
Joined
Oct 20, 2017
Messages
104
Reaction score
5
First Language
German
Primarily Uses
RMMV
@freebooter In LeTBS demo there is "LeDamageFormula.js" plugin.

In this short plugin you can see that there is a physical and magical damage

For physical damage :
this.phyDmg = function (rate) {
//var rawDmg = (a.atk * 4 - b.def * 2) * rate * 0.01;
var rawDmg = a.atk * 2 * rate * 0.01;
var reduction = b.def / (b.def + 2 * rawDmg);
return Math.floor(rawDmg - reduction * rawDmg);
};

So basically if you write : this.phyDmg(120), it is a shortcut for :
1) a.atk * 2 * 120 * 0.01 = X
2) b.def / (b.def + 2 * X) = Y

THEN, the Final damage output = X - (Y * X) (if the result is a decimal number, then return to the closest lower number (example 46.74 return : 46)

So basically if you are using "LeDamageFormula.js" and do not want to use complicated formulas this is an easy tool.
If you are comfortable with JavaScript you can even edit it and use your OWN custom damages formulas!
@Chaosicaa Thanks for your explanation! I think the formula fits well for me.

Another question: There is the skill number 0001, called "Attack". No matter which type of weapon the hero uses (melee, bows or firearms) the damage formula is always the same for normal attacks. I would like the engine to differ between melee weapons, bows and firearms. Depending on the type of weapon the damage formula should be based on strength- or agi-stat.

As I have no experience with scriping I'd like to ask if there is a way to implement kind of if-else-decision in the damage formula.
Thanks!
 

Rose Guardian

Veteran
Veteran
Joined
Mar 26, 2012
Messages
395
Reaction score
84
First Language
English
Primarily Uses
N/A
Hi, I keep getting this error no matter what I do.



What I am doing wrong? I been trying to figure this out for at least two hours. The error will not go away no matter what I do.
 

Pharonix

Shadow Walker
Veteran
Joined
Apr 22, 2012
Messages
764
Reaction score
357
First Language
English
Primarily Uses
RMMV
M
Hi, I keep getting this error no matter what I do.



What I am doing wrong? I been trying to figure this out for at least two hours. The error will not go away no matter what I do.
Missing animations 130 to 180 something
You're missing the placement animation

You're not the first
 

Rose Guardian

Veteran
Veteran
Joined
Mar 26, 2012
Messages
395
Reaction score
84
First Language
English
Primarily Uses
N/A
Ah, thank you! I don't know why I am so dumb at times.

EDIT: I ran into an issue with enemies not appearing correctly when I have them using character sets. Does anyone know what might cause this, and how I can fix it?
 

Pharonix

Shadow Walker
Veteran
Joined
Apr 22, 2012
Messages
764
Reaction score
357
First Language
English
Primarily Uses
RMMV
Ah, thank you! I don't know why I am so dumb at times.

EDIT: I ran into an issue with enemies not appearing correctly when I have them using character sets. Does anyone know what might cause this, and how I can fix it?
Are the character sets a different size than the 48x48?
In order to use a bigger size you'l need to strip them out like decide did for the sample heroes in the demo
 

Rose Guardian

Veteran
Veteran
Joined
Mar 26, 2012
Messages
395
Reaction score
84
First Language
English
Primarily Uses
N/A
Not they're not, but it doesn't cause issues outside of battles. I can resize them without a problem, and see if that helps.

EDIT: Even if they are 48x48 they still don't appear properly unless it's an RTP monster.
 
Last edited:

Pharonix

Shadow Walker
Veteran
Joined
Apr 22, 2012
Messages
764
Reaction score
357
First Language
English
Primarily Uses
RMMV
Not they're not, but it doesn't cause issues outside of battles. I can resize them without a problem, and see if that helps.

EDIT: Even if they are 48x48 they still don't appear properly unless it's an RTP monster.
I'l need you to be specific on what's wrong and some screens
 

Lecode

(─‿‿─)
Veteran
Joined
Dec 18, 2013
Messages
490
Reaction score
659
First Language
French
Primarily Uses
N/A
Hey guys.
Monday is miraculously a day off for me so I'll finally be able able to release 0.77 and all the stuff asides (doc, demo, ect).
I won't lie you guys it's becoming very, very hard lately for me to work on RMMV. If I can get an hour per week I'd be lucky !
I don't know for how long it will last, but the only day where I could get a good free 4-5h for LeTBS, wednesday, if fully taken now :headshake:.

Would it be possible to add common events to the sequences?
You'll be able to.

Awesome update! Is there a to-do list for the upcoming version, LeCode?
The main features for 0.78 will be the Tackle System and large battlers support.

Oh thank you ! I've been struggling with it so much
You won't struggle with such things anymore because I'll get every one of my plugins documented with the help window.

EDIT: Even if they are 48x48 they still don't appear properly unless it's an RTP monster.
Make sure they have the right tags. Use the demo as an example.
 

Rose Guardian

Veteran
Veteran
Joined
Mar 26, 2012
Messages
395
Reaction score
84
First Language
English
Primarily Uses
N/A
Thank you for letting me know about the update. Here is a screen shot of the sprite bug if it still matters. I circled the sprite, but I will try the update if it will be updated before December 3rd because this game I am using it in is for an event on RMN.

 
Last edited:

Pharonix

Shadow Walker
Veteran
Joined
Apr 22, 2012
Messages
764
Reaction score
357
First Language
English
Primarily Uses
RMMV
If anyone is able to figure out why this error pops up that would be greatly appreciated :D
Do you have animations 122/3 - 185 from the demo?
By default the system uses Animation 124 for placement, 136 for collapse (dead) and I think 122 or 123 for cast animation.
Plus the skills from the demo use various animations within the block from 122 - 185
also 180 and 181 for turn order

upload_2017-11-27_13-50-47.png

upload_2017-11-27_13-56-3.png

upload_2017-11-27_13-55-33.png
 

Ygdrassill

Game dev
Veteran
Joined
Nov 17, 2013
Messages
105
Reaction score
11
First Language
English
Primarily Uses
Do you have animations 122/3 - 185 from the demo?
By default the system uses Animation 124 for placement, 136 for collapse (dead) and I think 122 or 123 for cast animation.
Plus the skills from the demo use various animations within the block from 122 - 185
also 180 and 181 for turn order

View attachment 77069

View attachment 77073

View attachment 77072
I dont have all the animations there, 179-181 are blank and so is 0122, so how do I go about fixing that then?
 

Pharonix

Shadow Walker
Veteran
Joined
Apr 22, 2012
Messages
764
Reaction score
357
First Language
English
Primarily Uses
RMMV
I dont have all the animations there, 179-181 are blank and so is 0122, so how do I go about fixing that then?
A quick fix is copying another animation into the slot.
for 180-181,
180 is blue 181 is red.
they use the first few frames of cure1 up then down:
lasts 7 frames total
this set:
upload_2017-11-27_15-25-50.png


179 uses the first frame of gun2 and just fades out for a total of 8 frames.

I think you are fine without 0122. i think that was created by me.
 

Ygdrassill

Game dev
Veteran
Joined
Nov 17, 2013
Messages
105
Reaction score
11
First Language
English
Primarily Uses
Ok
A quick fix is copying another animation into the slot.
for 180-181,
180 is blue 181 is red.
they use the first few frames of cure1 up then down:
lasts 7 frames total
this set:
View attachment 77074


179 uses the first frame of gun2 and just fades out for a total of 8 frames.

I think you are fine without 0122. i think that was created by me.
Ok so I made new animations there in those slots, named them the same and put them by the animation you described. This is what pops up still after the battle event is launched https://gyazo.com/8affc08ff16fe7bdb1bcf72cc7f1342a so im still not sure what the issue is
 

Mjolk

Villager
Member
Joined
Jan 23, 2015
Messages
17
Reaction score
3
First Language
english
Primarily Uses
Hello.
I congratulate Lecode for the wonderful job.

I have a question:
Is there a way to set the square areas (for movement etc.) of the giants creature (like dragons) ?
Or some suggestions for how to do it.

Thank you.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 3)

Latest Threads

Latest Posts

Latest Profile Posts

Our latest feature is an interview with... me?!

People4_2 (Capelet off and on) added!

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.
Can someone recommend some fun story-heavy RPGs to me? Coming up with good gameplay is a nightmare! I was thinking of making some gameplay platforming-based, but that doesn't work well in RPG form*. I also was thinking of removing battles, but that would be too much like OneShot. I don't even know how to make good puzzles!
one bad plugin combo later and one of my followers is moonwalking off the screen on his own... I didn't even more yet on the new map lol.

Forum statistics

Threads
106,035
Messages
1,018,455
Members
137,821
Latest member
Capterson
Top