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

Damascus7

Veteran
Veteran
Joined
Jul 21, 2019
Messages
143
Reaction score
39
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
5,567
Reaction score
3,630
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
143
Reaction score
39
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: 0
  • 1658466020966.png
    1658466020966.png
    5.9 KB · Views: 0

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
37,033
Reaction score
10,029
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
5,567
Reaction score
3,630
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
143
Reaction score
39
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

Sometimes I wonder why I still try and recruit others to help with my games. It never works.
ScreenShot_10_3_2022_4_27_17.png
welp, thanks to Luna MV, I was able to add the Balloon as a window... thus allowing me to edit the font color and outline... so now it looks like comic bubbles above characters. I have NO idea why I couldn't get this to work through more conventional means, but here we are.
CUTE CUTE CUTE.gif
I cannot cease doing cute art
War and Wonder is a 100% choice-based open-world visual novel.
1664821313732.png
1664821466359.png
1664821547746.png
Going live soon on Twitch, and will continue Fortunastreet's game "Verloren". For those who are curious, you are welcome to join ;)

-> Franz' Twitch channel

Forum statistics

Threads
125,749
Messages
1,173,227
Members
164,911
Latest member
KyzerKiba
Top