Lecode Tactical Battle System 0.77.2B

Lecode

(─‿‿─)
Veteran
Joined
Dec 18, 2013
Messages
490
Reaction score
659
First Language
French
Primarily Uses
N/A
If anyone is able to figure out why this error pops up that would be greatly appreciated :D
Do you have the TBS_Commands plugin ?

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.
Giant creatures aren't supported now Battlers can't have more than one cell as a size.

EDIT: Still not finished...At least I made great progress.
 
Last edited:

freebooter

Veteran
Veteran
Joined
Oct 20, 2017
Messages
104
Reaction score
5
First Language
German
Primarily Uses
RMMV
Guys, any ideas how to solve this: I want my spear to reach two tiles, which is easy done. But I also want it to reach the target on the second tile even if there is an actor on the first tile. But the spear only should ignore actors, not obstacles like walls or trees. Is there a way to implement?
Thanks!
 

Pharonix

Shadow Walker
Veteran
Joined
Apr 22, 2012
Messages
764
Reaction score
357
First Language
English
Primarily Uses
RMMV
Guys, any ideas how to solve this: I want my spear to reach two tiles, which is easy done. But I also want it to reach the target on the second tile even if there is an actor on the first tile. But the spear only should ignore actors, not obstacles like walls or trees. Is there a way to implement?
Thanks!
I just make sure i use the LOS blocking obstacle region and everything works fine.
 

freebooter

Veteran
Veteran
Joined
Oct 20, 2017
Messages
104
Reaction score
5
First Language
German
Primarily Uses
RMMV
Sorry, I didnt get it. What means LOS "blocking obstacle region"?
 

Pharonix

Shadow Walker
Veteran
Joined
Apr 22, 2012
Messages
764
Reaction score
357
First Language
English
Primarily Uses
RMMV
Sorry, I didnt get it. What means LOS "blocking obstacle region"?
LOS = line of sight.
by default this is region 250.
This means you cannot select this cell for an attack by default.

Also @Lecode
I know there's pass_on_use
but is there a no_pass_on_use?
 

Resilience

Warper
Member
Joined
Nov 28, 2017
Messages
2
Reaction score
0
First Language
French
Primarily Uses
RMMV
Hi, is the next update going to fix the errors when you have no skills or no items ?
 

Ygdrassill

Game dev
Veteran
Joined
Nov 17, 2013
Messages
105
Reaction score
11
First Language
English
Primarily Uses
Do you have the TBS_Commands plugin ?


Giant creatures aren't supported now Battlers can't have more than one cell as a size.

EDIT: Still not finished...At least I made great progress.
Yeah I do have the LeTBS_Commands file
 

freebooter

Veteran
Veteran
Joined
Oct 20, 2017
Messages
104
Reaction score
5
First Language
German
Primarily Uses
RMMV
LOS = line of sight.
by default this is region 250.
This means you cannot select this cell for an attack by default.
no, sorry. But maybe I didnt express myself clearly.
There are 3 sprites in a row:

1 2 3

"1" is the actor hero armed with a spear. "2" is also an actor. "3" is an enemy. "1" wants to attack "3" although "2" is standing between "1" and "3". So my problem is that the scope of the spear (which is 2) would in theory reach the enemy but it is blocked but actor "2", therefore "1" cannot attack "3". How can I tell the engine that it should not deal "2" as an obstacle?
 

Pharonix

Shadow Walker
Veteran
Joined
Apr 22, 2012
Messages
764
Reaction score
357
First Language
English
Primarily Uses
RMMV
no, sorry. But maybe I didnt express myself clearly.
There are 3 sprites in a row:

1 2 3

"1" is the actor hero armed with a spear. "2" is also an actor. "3" is an enemy. "1" wants to attack "3" although "2" is standing between "1" and "3". So my problem is that the scope of the spear (which is 2) would in theory reach the enemy but it is blocked but actor "2", therefore "1" cannot attack "3". How can I tell the engine that it should not deal "2" as an obstacle?
scope_options: through_obstacles
should do just that.
only that if theres a concrete wall in the way, it'll still be able to go through it.
 

freebooter

Veteran
Veteran
Joined
Oct 20, 2017
Messages
104
Reaction score
5
First Language
German
Primarily Uses
RMMV
would be an option, but unfortunately this doesnt work. I use the following commands:

<letbs>
scope_options: through_obstacles
scope: line(2)
</letbs>

No matter if an enemy, actor, region 249 or region 250, it always will be recognized from the engine as an obstacle. So no chance for actor "1" to hit enemy "3" :(
 

EPKingMaster

Bored Weirdo
Member
Joined
Nov 29, 2017
Messages
1
Reaction score
0
First Language
CHN/EN
Primarily Uses
RMMV
First off, I love this engine, and I plan on using it for my personal projects in the future. Thank you so much and keep up the great work!

Secondly:
TypeError: Cannot read property 'select' of undefined
at Function.BattleManagerTBS.positioningSelect (LeTBS.js:2165)
at Function.BattleManagerTBS.selectNextStartCell (LeTBS.js:2268)
at Function.BattleManagerTBS.waitForPositioningInput (LeTBS.js:2137)
at Function.BattleManagerTBS.updatePositioningPhase (LeTBS.js:2082)
at Function.BattleManagerTBS.updatePhase (LeTBS.js:1909)
at Function.BattleManagerTBS.update (LeTBS.js:1791)
at Scene_Battle.update (LeTBS.js:971)
at Function.SceneManager.updateScene (rpg_managers.js:2024)
at Function.SceneManager.updateMain (rpg_managers.js:1983)
at Function.SceneManager.update (rpg_managers.js:1907)

Can anyone tell me what this means? Probably an amateur mistake, but I can't javascript for the life of me. If anyone's willing to help me with this (And what will likely be a long chain of comments of me asking for help after more issues like this come up), it'd be absolutely fantastic. Thanks!
 

Ygdrassill

Game dev
Veteran
Joined
Nov 17, 2013
Messages
105
Reaction score
11
First Language
English
Primarily Uses
do you use <letbs_commands> tags anywhere?
If so, I will need to know where and what is in them.
Hm I dont believe I am using that tag anywhere, at least I can't find anywhere in the game where ive used it.
 

freebooter

Veteran
Veteran
Joined
Oct 20, 2017
Messages
104
Reaction score
5
First Language
German
Primarily Uses
RMMV
I have a problem with projectiles: As in my project there are not only bows but also slings I want to add a projectile "stone".
I did it in 4 steps but it doesnt work.

1) First I put a stone-graphic (.png) into img/LeTBS/Projectiles

2) The I opened LeTBSConfig.js and edited it:

Lecode.S_TBS.Config.Projectiles = {

"sling_stone": {
filename: "Stone",
adapt_angle: true,
speed: 5,
jump: 150
},


3) And added a sequence:

/*-------------------------------------------------------------------------
* Your Sequences
-------------------------------------------------------------------------*/

"sling": [
"play_pose: user, atk",
"wait: 10",
"projectile: sling_stone, user_cell, cursor_cell",
"effects: {aoe}_battlers, current_obj, obj_anim",
"wait: 60"
],


4) Then I created the weapon "sling" and added the following into notes:

<letbs>
scope: circle(4,2)
sequence: sling
</letbs>

But when I want to use the sling in test-game, I get this message:
TypeError
Cannot read property 'slice' of undefined

Anyone an idea what could be the reason for that?
Thanks!
 

Pharonix

Shadow Walker
Veteran
Joined
Apr 22, 2012
Messages
764
Reaction score
357
First Language
English
Primarily Uses
RMMV
I have a problem with projectiles: As in my project there are not only bows but also slings I want to add a projectile "stone".
I did it in 4 steps but it doesnt work.

1) First I put a stone-graphic (.png) into img/LeTBS/Projectiles

2) The I opened LeTBSConfig.js and edited it:

Lecode.S_TBS.Config.Projectiles = {

"sling_stone": {
filename: "Stone",
adapt_angle: true,
speed: 5,
jump: 150
},


3) And added a sequence:

/*-------------------------------------------------------------------------
* Your Sequences
-------------------------------------------------------------------------*/

"sling": [
"play_pose: user, atk",
"wait: 10",
"projectile: sling_stone, user_cell, cursor_cell",
"effects: {aoe}_battlers, current_obj, obj_anim",
"wait: 60"
],


4) Then I created the weapon "sling" and added the following into notes:

<letbs>
scope: circle(4,2)
sequence: sling
</letbs>

But when I want to use the sling in test-game, I get this message:
TypeError
Cannot read property 'slice' of undefined

Anyone an idea what could be the reason for that?
Thanks!
Is the skill using an animation?
 

freebooter

Veteran
Veteran
Joined
Oct 20, 2017
Messages
104
Reaction score
5
First Language
German
Primarily Uses
RMMV
Is the skill using an animation?
It's not a skill. I defined it as a weapon called sling. It can be used with the normal Attack-command. Concerning the animation of the weapon I tried it with pierce physical (like the bow) and without animation. In both cases I got the error message.
 

Pharonix

Shadow Walker
Veteran
Joined
Apr 22, 2012
Messages
764
Reaction score
357
First Language
English
Primarily Uses
RMMV
It's not a skill. I defined it as a weapon called sling. It can be used with the normal Attack-command. Concerning the animation of the weapon I tried it with pierce physical (like the bow) and without animation. In both cases I got the error message.
Can you send a screenshot of the sling weapon as well as the notetags
 

freebooter

Veteran
Veteran
Joined
Oct 20, 2017
Messages
104
Reaction score
5
First Language
German
Primarily Uses
RMMV
sling.jpg
ok, here the screenshot of the sling weapon. "leichte Waffen" is a weapon type I created, "Hiebwaffe" is a created element-type

@Pharonix any idea what could be the reason for the error? Thanks!
 

Attachments

Last edited:

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