RMMV SumRndmDde's Dynamic Actors attempting to pull image from wrong folder

Damascus7

Veteran
Veteran
Joined
Jul 21, 2019
Messages
147
Reaction score
41
First Language
English
Primarily Uses
RMMV
Hi there! I'm using SumRndmDde's Dynamic Actors to try and add wings to the back of a character sprite upon class change, and am encountering a rather strange bug. I kept trying notetags for different pieces of clothing, and none of them were appearing on the character. I found out why after I accidentally put in an incorrect file name and got this error message:

1658460637155.png

The problem is that it seems to be pulling the image from the wrong folder! It should be pulling from the "sv" folder in the subdirectory here, not the "walk" folder.

1658460704744.png

The plugin's note tags work like this: <Force [section] Piece: [file-name]> becomes <Force Clothing Piece: Clothing (5)>

All of the part sections are in each category, so there is a /walk/Clothing subdirectory and also a /sv/Clothing subdirectory. The notetag will not let me specify by sprite type, attempting to do so by saying
<Force sv/WingPart2 Piece: Wing (4)>
only results in this error:

1658461128827.png

Not sure what's making it try and pull from the wrong folder or how to fix it, but any help would be appreciated.
 

ATT_Turan

Forewarner of the Black Wind
Veteran
Joined
Jul 2, 2014
Messages
6,154
Reaction score
4,123
First Language
English
Primarily Uses
RMMV
I'm trying to understand how that's wrong. The instructions say (and you say in your post) that all of those directories need to exist, all of them need to have the same sub-folders, and those folders need to have the same image names inside.

So it's not going to work correctly unless you have a Wing (4).png inside of a WingPart2 folder inside of each of those other four folders. None of them are the right or wrong directory, all four need to be there.

Also, just to try to save you some potential hassle down the line, various things can go wrong if the filenames in your project don't adhere to network naming conventions. Notice how none of the assets that come with MV have spaces in the filenames?

Best practice is to delete the spaces, or replace them with underscores or dashes.
 

Damascus7

Veteran
Veteran
Joined
Jul 21, 2019
Messages
147
Reaction score
41
First Language
English
Primarily Uses
RMMV
When I use the correct directory path, with the file in all four subdirectories, nothing happens. The part I need does not appear one the sprite and I do not get an error message. I double checked that I made no typos.

I use this notetag, for the following file, following the directions: <Force Wing Part2 Piece: Wing (4)>
1658466045784.png
The "Wing Part2" folder and the "Wing (4)" file are present in all four subdirectories (dead, face, sv, and walk). So everything should be correct, but the wings are not appearing on the sprite.

Something I accidentally left out of my initial post is that the "Wing (4)" files are essentially blank images in the "dead" and "face" subdirectories, and the wings in the "walk" folder are very small and would presumably be hidden behind the sv_battler sized sprite (since they're meant for a map sprite).

That, combined with the error message is what leads me to believe that it's attempting to the load the image from the wrong subdirectory. Though that file exists in all four subdirectories, the wings would not appear on the sprite if it was drawing from any subdirectory other than "sv".

I hope that all makes sense. I realize that the "WingPart2" with no space is an incorrect path, so the wings would obviously not appear on the sprite. It's just that I do not get any error message when I use the correct path, so I have nothing else to give me a clue as to what the plugin is trying to do. So, without the error message I feel like all I can really say is "plugin not working" with no other helpful information.
 

Attachments

  • 1658465786670.png
    1658465786670.png
    106.4 KB · Views: 2
  • 1658466020966.png
    1658466020966.png
    5.9 KB · Views: 2

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
37,296
Reaction score
10,165
First Language
German
Primarily Uses
RMMV
The "Wing Part2" folder and the "Wing (4)" file are present
but as already said above, those folder and filenames break the networking rules and will always cause problems for any browser trying to load those files, no matter if you get an error message or not.

you need to first rename both folder and file to no longer include spaces, THEN you need to rewrite all notetags to work with the new names, and then you can check what's still not working and continue to look for what else is wrong.
but you have to correct the wrong foldername and the wrong filenames first.
 

ATT_Turan

Forewarner of the Black Wind
Veteran
Joined
Jul 2, 2014
Messages
6,154
Reaction score
4,123
First Language
English
Primarily Uses
RMMV
I use this notetag, for the following file, following the directions: <Force Wing Part2 Piece: Wing (4)>
That notetag can never work. The code has no way to know that you intend "Wing Part2" to be a folder name with a space in it. You are attempting to add an extra argument to the notetag (two words where it expects one), so it's not recognized as valid and it's being completely ignored.
 

Damascus7

Veteran
Veteran
Joined
Jul 21, 2019
Messages
147
Reaction score
41
First Language
English
Primarily Uses
RMMV
Following your suggestions, I went ahead and made new folders and files with no spaces in them; I didn't want to just change the existing names out of fear of breaking the character generator.

The new notetag is: <Force WingPart2 Piece: Wing4>

However, the part is still not appearing on the sprite. I've double checked to make sure the file path is correct with no typos and that it is present in all four subdirectories.
 

Latest Threads

Latest Posts

Latest Profile Posts

Thinking of getting a mechanical keyboard, eventually! Would anyone be interested in a chill keycap-painting stream?
Walked through the rain to take pictures of an 50+ year old printing press for my students. Hope they will honor that effort xD
Can I promote my %75 OFF Creator Day Sale here, or it's against forum rules as well? :kaocry:
Tests for an alert system that spawns enemy reinforcements, as a stealth game should do :kaoswt2:
playing around animations with character sprites. having parallel events playing around with variables while also having an event have that same variable does wonders.

Forum statistics

Threads
126,908
Messages
1,182,248
Members
166,712
Latest member
Monet456
Top