Hello shaz, I tried your plugin and it is working perfectly for changing the face, but for bust changing and name showing it doesn't work at all, here is the text command, note that I have an image in pictures folder named ch1.png :
I don't now it it is an issue from the plugin or I am not using it the right way or it because this features are not supported anymore
More Escape Codes
JS Plugin Releases (RMMV)I see you never got a response. I'm hunting for the same thing. Let me know if you found anything 🙂
@Bunktavious The user you quoted hasn't been on the site since June. You're unlikely to get a response.
As far as your issue, have you checked that your plugin has the correct filename? The coordinates to display the bust come from plugin parameters, and the plugin can't retrieve parameters with the wrong name.
If that's correct, during the game press F8 and go to the Console tab - see if there are any errors related to the plugin.
As far as your issue, have you checked that your plugin has the correct filename? The coordinates to display the bust come from plugin parameters, and the plugin can't retrieve parameters with the wrong name.
If that's correct, during the game press F8 and go to the Console tab - see if there are any errors related to the plugin.
Hi, Shaz! What a cool plugin! There are so many possibilities with this I can imagine.
I can't seem to get it to work with my RPGMaker MV even if it's the only active plugin.
The plugin doesn't read files with /b[filename] or /b[filename.png]
I've checked that the folder img/busts exists and placed images there, but it just displays "[filename]" rather than parsing the /b escape code in the text (as previous users reported early in this thread).
The face escape code is even more problematic for me. /f[0,0] breaks the game and returns: "TypeError: Cannot read property 'faceName' of null"
So it seems RPGMaker MV is faithfully attempting to implement the plugin. It seems it's the perfect thing for my game but alas!
I can't seem to get it to work with my RPGMaker MV even if it's the only active plugin.
The plugin doesn't read files with /b[filename] or /b[filename.png]
I've checked that the folder img/busts exists and placed images there, but it just displays "[filename]" rather than parsing the /b escape code in the text (as previous users reported early in this thread).
The face escape code is even more problematic for me. /f[0,0] breaks the game and returns: "TypeError: Cannot read property 'faceName' of null"
So it seems RPGMaker MV is faithfully attempting to implement the plugin. It seems it's the perfect thing for my game but alas!
Does your plugin file have the correct name?
That's invalid syntax, there is no actor ID 0.
Aha. Interesting! I thought because Shaz's notes said in the plugin "Remember indexes start at 0." that they meant all indexes, including the faces, and we'd be using 0,0 for actor 1, index 1. Whoopsie. Thank you for that. That seems to work!
I think so, or else the error wouldn't load at all. Right? When I deactivate the plugin the escape character is ignored.
But if you mean do my custom images have the correct names, yes, letter for letter. Yet they aren't called for some reason. I imagine that img/busts is not the correct folder (even though I see it called in the plugin) or something else is going wrong. Should it not be a *.png maybe?
IDs are indices but they are the number they are. Shaz was referring to the indices of the portrait image, which don't have any visible references for you to use.
Yeah, that was actually a silly question because if it wasn't loading the parameters correctly the face code wouldn't have worked, either.
No, img\busts is correct and RPG Maker only inherently recognizes PNG files.
It looks like Shaz accidentally pasted the same regex for the busts as for the face images.
Try this: open the plugin in a text editor, go to line 190, and change it from this:
Code:
var bustPattern = new RegExp('\\\\' + reBust + '\\[(\\d+,\\d+)\\]', 'i');
Code:
var bustPattern = new RegExp('\\\\' + reBust + '/\[[A-Za-z0-9]+\]', 'i');
Save the plugin, reload it in your plugin manager, save your project, start a new playtest.
Thank you for helping me.
I identified that line and replaced it as you suggested, but it's still just showing the [filename] as text. I've tried changing the escape code from \b to \bust and other things and called it all those ways but it won't do it.
Odd because the \f one is working swell!
I should add that you have helped me feel less helpless, and this makes me want to understand Shaz's original code more so I can diagnose it myself, but I'm certainly not there yet.
I identified that line and replaced it as you suggested, but it's still just showing the [filename] as text. I've tried changing the escape code from \b to \bust and other things and called it all those ways but it won't do it.
Odd because the \f one is working swell!
I should add that you have helped me feel less helpless, and this makes me want to understand Shaz's original code more so I can diagnose it myself, but I'm certainly not there yet.
@unikadas There appear to be multiple issues with the bust portion of the code, and I don't understand what Shaz was trying to do with it. Fixing it, as far as I can see, would involve substantial rewriting of the plugin.
There are multiple other plugins for displaying bust images - and, for that matter, other plugins for getting extra escape codes, although the rest of this plugin seems to work.
There are multiple other plugins for displaying bust images - and, for that matter, other plugins for getting extra escape codes, although the rest of this plugin seems to work.
Original thread: https://forums.rpgmakerweb.com/threads/more-escape-codes.46760/