MZ Skill tree plugin for MZ

Update to version v1.6.2.

v1.6.2
-Fixed a bug where the skill tree was not initialized when selecting a new game after returning to the title.

v1.6.1
-Added "skt_open" function
-Added help for "SkillTreeConfig_en.js" according to the above.
-Fixed a bug that the SP acquisition amount displayed when the level was raised by 2 or more at a time was not displayed correctly.
While it was extremely cumbersome figuring out how to set this plugin up, even with your sample project as reference, it's almost exactly what I need to get the skill tree I want up and running, thanks for making this!

Some suggestions for how to improve this plugin:
  • Have some skill nodes require a switch or item to be unlockable.
  • An easier way to set custom backgrounds for each actor, because with the way it currently is, it is not going to be fun to try having more than 4 characters without accidentally breaking the code.
It looks like you might be able to use an array struct to simplify it maybe? You can add items to the array and each item can have its own settings.(Example below)
1605830826803.png
1605830847918.png

I'm grateful you made this plugin! This plugin looks like it was complicated to make.
Some suggestions for how to improve this plugin:
  • Have some skill nodes require a switch or item to be unlockable.
  • An easier way to set custom backgrounds for each actor, because with the way it currently is, it is not going to be fun to try having more than 4 characters without accidentally breaking the code.
It looks like you might be able to use an array struct to simplify it maybe? You can add items to the array and each item can have its own settings.(Example below)
The number of plugins I manage is so large that I don't think I can handle it, but I will consider it if I have time.
Thank you!
Hi, first of all very nice plugin you got there ! I've been looking for skill tree plugins like yours for quite a while, I just have a few small issues / questions.
- I noticed that associated with Visustella's plugin "VictoryAftermath" when an actor leveled up the amount of SP earned with the "EnableGetSpWhenLevelUp" is different from the amount I decided to be in the config plugin; in my game i wanted that when character reaches a new level he gets 1 sp and when i try my game the character gets 2 sp each time and i don't really understand why.
If you can provide me with help even though my problem is related to other plugins which are not from you, that will be very kind.
Capture.PNG
This is an awesome plugin. I was just wondering if there are other ways to modify it, as in can I set a minimum level for learning skills on the tree.

Also, I noticed that skills an actor learns from other means (leveling up,) don't unlock the skill nodes on the tree. Is there a way for actors added to the party at a later stage of the game to have nodes already unlocked so players aren't having to "learn" skills they already know?
Hi, first of all very nice plugin you got there ! I've been looking for skill tree plugins like yours for quite a while, I just have a few small issues / questions.
- I noticed that associated with Visustella's plugin "VictoryAftermath" when an actor leveled up the amount of SP earned with the "EnableGetSpWhenLevelUp" is different from the amount I decided to be in the config plugin; in my game i wanted that when character reaches a new level he gets 1 sp and when i try my game the character gets 2 sp each time and i don't really understand why.
If you can provide me with help even though my problem is related to other plugins which are not from you, that will be very kind.
View attachment 179351
Hi Xellys and all,

could I ask you for advice, how you displayed the SP in VictoryAftermath when actor level up?

For Enemys that gives SP I found the string and could get it working, but didn't for the level up.

Any advices would be awesome.

Thanks in advance
Hi Xellys and all,

could I ask you for advice, how you displayed the SP in VictoryAftermath when actor level up?

For Enemys that gives SP I found the string and could get it working, but didn't for the level up.

Any advices would be awesome.

Thanks in advance
Hi, well because theses two plugins are from differents dev i don't think there is a proper way to display the amount of SP gained throught level uping, i personally just changed the text showed with VictoryAftermath with something like "X have leveled up and gained Y SP !"
If this could be usefull for you :LZSsmile:
This plugin is a skill tree plugin that supports both RPG Maker MV and MZ published in the Japanese RPG Maker forum.

This plugin is an English translation of the plugin help.
Maybe I think the help translated in English isn't enough to explain.
Therefore, we will improve the accuracy of English help in the future.
View attachment 156090

View attachment 156091

The following URL is the Github repository that publishes the plugin. Currently, only Japanese plugins are uploaded to Github.
https://github.com/unagiootoro/RPGMZ

[2020/10/14]
In the main body v1.6.0, it has been modified so that the map of the skill tree is read at the time of starting the game, not from the script. Along with that, a new item "skillTreeMapId" has been added to the config file. Also, please note that the save data is no longer compatible with the previous version.

An extension plug-in "SkillTree_LayoutEx.js" that enhances the layout has been added.

[2020/11/09]
Stop uploading files directly and link to downloads site.
Please download the required files from below.

・SkillTree.js

・SkillTreeConfig_en.js

・SkillTree_LayoutEx.js

・SkillTree_ClassEx.js
Hello, is there any guide for this plugin anywhere? something like a tutorial or manual would be greatly appreciated.
I continue getting the error message "Unknown skill derivative"my custom skill". What can I do to fix this?
Hi, this is great and I look forward to implementing it. If I'm getting this right I should: add SkillTree.js, SkillTreeConfig_en.js to plugins and write the skill tree types and info in the later? Also is the class expansion file to be added one space below the SkillTree.js file? Thanks in advance.
Spoiler: Reward Strip Visustella
Screen Shot 2021-09-19 at 2.20.51 AM.png

There is a section to add rewards to the visustella victory aftermath, can you lend assistance, please.
I continue getting the error message "Unknown skill derivative"my custom skill". What can I do to fix this?
Dunno if you have already fixed this but its generally indicative of not having configured the skillconfig correctly. In particular I got this error when the skill wasn't correctly connected to the former skill or the next one.

I'm having a hard time understanding how to use the Layout extension. Has anyone used it yet? The help does seem to point to writing the icon info on the config file. But where do images go? I've tried to set a background image but to no avail. I also get the 'unkown "icon_ex" ' error when trying the icon ex function, I switched plugin order but it still doesn't work. Too bad the creator doesn't frequent the forums.
Love the plugin!

My main menu is a bit barren

Spoiler: Main Menu
main.PNG

I was wondering if its possible to add current SP amount to the menu?

I am using Visustella Main Menu

Spoiler: Code
// Declare Constants
const actor = arguments[0];
const rect = arguments[1];

// Draw Actor Graphic
const gx = rect.x + (this.graphicType() === 'face' ? 1 : 0);
const gy = rect.y + (this.graphicType() === 'face' ? 1 : 0);
const gw = Math.min(rect.width, ImageManager.faceWidth);
const gh = Math.min(rect.height, ImageManager.faceHeight);
this.drawActorGraphic(actor, gx, gy, gw, gh);

// Draw Status Stuff
const sx = rect.x + 180;
const sy = rect.y + rect.height / 2 - this.lineHeight() * 2;
const lineHeight = this.lineHeight();
const sx2 = sx + 180;
this.drawActorName(actor, sx, sy + lineHeight * 1.5);
this.drawActorLevel(actor, sx, sy + lineHeight * 1);
this.drawActorIcons(actor, sx, sy + lineHeight * 2);
this.drawActorClass(actor, sx2, sy);
this.contents.fontSize -= 4;

// Place Gauges
const sy2 = sy + lineHeight;
const gaugeLineHeight = this.gaugeLineHeight();
this.placeGauge(actor, "hp", sx2, sy2);
this.placeGauge(actor, "mp", sx2, sy2 + gaugeLineHeight);
const roomForTp = (sy2 + gaugeLineHeight * 3) <= rect.y + rect.height;
if ($dataSystem.optDisplayTp && roomForTp) {
this.placeGauge(actor, "tp", sx2, sy2 + gaugeLineHeight * 2);
}

// Following Requires VisuStella MZ's Core Engine
// Draw Additional Parameter Data if Enough Room
const sx3 = sx2 + 180;
const sw = rect.width - sx3 - 2;
if (Imported.VisuMZ_0_CoreEngine && sw >= 300) {
const params = VisuMZ.CoreEngine.Settings.Param.DisplayedParams;
const pw = Math.floor(sw / 2) - 32;
let px = sx3;
let py = rect.y + Math.floor((rect.height - (Math.ceil(params.length / 2) * gaugeLineHeight)) / 2);
let counter = 0;
for (const param of params) {
this.resetFontSettings();
this.drawParamText(px, py, pw, param, true);
this.resetTextColor();
this.contents.fontSize -= 3;
const paramValue = actor.paramValueByName(param, true);
this.contents.drawText(paramValue, px, py, pw, gaugeLineHeight, 'right');
counter++;
if (counter % 2 === 0) {
px = sx3;
py += gaugeLineHeight;
} else {
px += pw + 32;
}
}
}
Hello, I need some assistance. I cannot figure out how to add pictures and text instead of only icons to the Skill Tree. I don't know what to write, I've been trying for a while now

If I write
["T-Fire", 15, 20, ["icon_ex"]],
It gives me an error "Cannot read property '0' of undefined

If I write
["T-Fire", 15, 20, ["icon_ex", "Skill"]],
I'll get my background picture, but it's cut off at around 32x32 pixels, and there is still no text.

Can anyone please give me an example on how to add background pictures and the names of skills? I am so lost T_T
How i can add a background and images for the skill tree?

Hello, I need some assistance. I cannot figure out how to add pictures and text instead of only icons to the Skill Tree. I don't know what to write, I've been trying for a while now

If I write
["T-Fire", 15, 20, ["icon_ex"]],
It gives me an error "Cannot read property '0' of undefined

If I write
["T-Fire", 15, 20, ["icon_ex", "Skill"]],
I'll get my background picture, but it's cut off at around 32x32 pixels, and there is still no text.

Can anyone please give me an example on how to add background pictures and the names of skills? I am so lost T_T

I have the same problem :c
honestly cant figure it out after hours of trying, the very wording of it all is confusing
honestly cant figure it out after hours of trying, the very wording of it all is confusing
Me neither. I took a couple of minutos to figure out that you gotta write the skills info in the SkillTreeConfig file. Everything in this plugin is confuse. I'm having a pretty hard time trying to make this thing works.
I know this is a pretty old thread. I wonder if there a way to add Lv requirement for getting the skills?
Hello, the thread is now old but I found a bug. I created a skill tree with many skills, the game just displays a black screen on the skill tree menu and I can't seem to find a way to fix this :
Skill tree bug.PNG

Original thread: https://forums.rpgmakerweb.com/threads/skill-tree-plugin-for-mz.125559/