Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

FELSKI_SKILLTREE

A complex plugin to create skilltrees for RPG Maker MV · By Felski

Issue with lane and depth not refreshing when altered after initial setup

A topic by Gumbanomicon created Dec 31, 2018 Views: 272 Replies: 3
Viewing posts 1 to 3

Hi again Felski,

I setup a skill tree and noticed I could not see the down arrow connecting two nodes, so I attempted to alter the lane and depths to make the skill tree more presentable. Problem is the new lane and depths are not being altered. I have read through the JS and made sure the techtree.js is still in the data folder and it is. I was using lanes 1, 2, and 3 and I just learned that connecting nodes with the same depth will work but the arrow graphic will not show up. I'm guessing I need at least a node spacing in between. I am just wondering what I can do to fix the problem in case it happens again. Redoing a skill tree is awful and I already had to do it once for a different reason. I will post some of the JS and a screen shot of the skill tree too. I made sure to update the techtree builder and hit select all and then copied and pasted the code like normal. I've spent so much time trouble shooting that I could have just redone the whole skill tree again but now I feel committed to the cause.

Refresh is lane 2 and depth 3 now

Serpent Shroud is now depth 1, Restore is 2



Developer

Hi Gumbanomicon,

I have not implemented any drawing functions for down arrows. You are right, there needs to be atleast one depth between parent and child node for an arrow to appear. The easiest fix would be to move the nodes Hail Storm, Refresh and the other node that starts with "Se" one to the left (increase the depth by 1).

I'm still thinking about adding more drawing possibilities, but that will be a huge task to undertake.

Did you know that you can copy paste your Techtree.json content into the Techtree JSON Output field (it only shows [] when you open the editor). Then click the "Update Form" button above it. This will load your tree for more editing.

Alternatively you could search the Techtree.json itself for the header lines (like "header": "Restore") and then the depth number will be above that.

Best regards,
Felski

(2 edits)

The issue I am having though is I have tried moving the nodes to the left and putting refresh on lane 2 instead of lane 3. Nothing happens when I do this. I don't understand why it's not working.

I have been using the update button and have also been coping and pasting.

 I was also wondering if you have two of the same skill tree one on each of two different actors if it saves the purchased nodes through each actor or if its saved using the same tree?

Example: is if my fighter and bard both have a tree named combat and the fighter purchases a node will it be purchased for the bard as well? I am hoping that won't be the case.

UPDATE: Alright I got it all fixed again. I had to delete the skill tree, update the techtree.js and close out of RPG Maker MV and reopen it for it to work.  Also am I suppose to have two Techtree.js files? One in a techtree folder in the js folder and another in my game's data folder? If now which one needs deleted?

Developer

Hi Gumbanomicon,

I'm glad you fixed your issue. There only needs to be a Techtrees.json in the games data folder.

You can use the same tree for multiple actors. Each tree will have its own progression.

Best regards,
Felski