Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

[ANSWERED] Need Help: Cannot read property 'customFrameKey' of undefined (MZ)

A topic by narriose created Aug 13, 2024 Views: 189 Replies: 1
Viewing posts 1 to 2
(1 edit)

Hi, I'm having difficulties bringing up the character creator.

I am trying to follow the GoogleDoc Guide but it is very difficult to understand as I am not versed in coding terms and concepts. I am nonetheless trying my best so please help me out as I really want for the plugin to work for me. I really hope it's something obvious.

1) I downloaded the character generator and the book plugins.

2) I put them in the j/plugins folder of my project.

3) I installed both of those plugins, turning them on and placing the book plugin on top.

4) I created the generator folder in img folder and copied rpg maker's character assets in separate category folders in generator to test it out.

5) I put an empty event on a test map and assigned the plugin to it. I interacted with the event with my player and it game me this issue:

https://ibb.co/BnGc0PD

 https://ibb.co/sjFT1Yt

6) I downloaded the sample project and playtested the generator map. While interacting with the characters, there was no generator screen popping up like in your demo, just a very confusing and unrelated window related to character id that did nothing, and one of them had the preview to the character sprite that got stuck somehow. 

Thanks in advance. 

Developer

Hi there!

Let's make this work!

I am trying to follow the GoogleDoc Guide but it is very difficult to understand as I am not versed in coding terms and concepts. I am nonetheless trying my best so please help me out as I really want for the plugin to work for me. I really hope it's something obvious.

1 - You need to understand the google docs. This is how you will understand the plugin. There is no coding terms and concepts. Plugin parameters, plugin commands, Windows, folder and filenames are concepts from the RPG Maker engine. You need to understand that.

1) I downloaded the character generator and the book plugins. 2) I put them in the j/plugins folder of my project. 3) I installed both of those plugins, turning them on and placing the book plugin on top. 4) I created the generator folder in img folder and copied rpg maker's character assets in separate category folders in generator to test it out. 5) I put an empty event on a test map and assigned the plugin to it. I interacted with the event with my player and it game me this issue:

2 - You can't just put all the rpg maker asset files into category folder and expect for it to work. You need to properly name each file, and create a Generator on the plugin parameters and assign these category folders to the generator. https://docs.google.com/document/d/1XUcMBSlt45ofuibdZEHRt9oL3P-QnJwlWyJLCDDOGQo/...

3 -  When you said you assigned a plugin to it, what do you mean? You assigned a plugin command? And how did you setup that plugin command? I need to know more. Can you show a screenshot?

4 - You put everything on your project, but you create a Generator under the plugin parameter? Or are you just copying and pasting the same plugin parameter configuration of the sample project into your project?

5 - Your error means that the plugin is not being able to get a selected generator. On other words, you either put a wrong Generator ID on the plugin parameter, or you didn't create any Generator parameter at all. Here is what I mean:


6) I downloaded the sample project and playtested the generator map. While interacting with the characters, there was no generator screen popping up like in your demo, just a very confusing and unrelated window related to character id that did nothing, and one of them had the preview to the character sprite that got stuck somehow. 

6 -  Keep in mind that this is a paid plugin, so it will not come inside the sample project, which is free. Once you downloaded the sample project, and want to test the Character Generator plugin, you need to do the following:

A) Download the Character Generator plugin and put it inside the js folder of the sample project.

B) Open the Plugin Manager on the sample project, find the Character Generator plugin that ios already there, and enable it.


C) Then, you go the Character Generator Map and test the plugin there.

This is a complex plugin and it has a leraning curve. As so, your best approach to learn is to make things work on the Sample Project first. Understand how the plugin works. And after that, move to create your own generator configuration for your project.

If you follow all the steps above, and still the error is happening, you will need to upload that exactly same project are you using and send the link to me on discord, so we can figure out what is wrong.

my discord is: hakuenstudio