PlayMsgWndCharSE is a plugin that lets you input custom sounds that play whenever a character talks or text appears on screen. However, it only stores up to 2 sounds, so you don't get much variety in the sound effects that play in-game when characters are speaking. Is there any way I could get it to store, say, six sounds instead of just two?
Add more sounds to Kadokawa's "PlayMsgWndCharSE" plugin
● ARCHIVED · READ-ONLY
-
-
There is. Expand the amount of parameters in the plugin. So copy them, paste them and rename their names and possibly text.
-
I feel like I'm going to mess this up, since I have literally no experience with Java. Ahah.There is. Expand the amount of parameters in the plugin. So copy them, paste them and rename their names and possibly text.
Would it be too much trouble for you to edit the plugin, since you have more experience with this sort of thing? Sorry to bother you if not! -
It's not Java, it's Javascript.
And probably it wouldn't, when I get home from work. -
Ah, my apologies again, I'm really new to this obviously orzIt's not Java, it's Javascript.
And probably it wouldn't, when I get home from work.
And thank you so much for your help! -
Done and done.
Btw. I'm also sending a couple of Before and After screenshots to show that if you ever need to expand parameters in future, it is not rocket science and more than with Javascript it has to do with understanding written text and basic math logic. Expanding parameters is really easy, you just need to find three things:
1. which parameter you want to expand
2. where is the parameter processed, usually it's right underneath the beginning comment section to make it easier to find
3. where is the processed parameter implemented.
So the first point was easy. For parameters there's the comment section at the beginning of the plugin, so then you just find your parameter name.
beforeafter
Just a simple copy paste and rewriting the numbers.
Then I had to find where and how they were processed. As I said, usually it's right underneath the comment section.
beforeI can see variable names name1, volume1 and pitch1 and name2, volume2 and pitch2. Again, copy, paste and edit the appropriate number. That's all.after
Last task was simple as well. I now had the variable names. So I had to find how they were implemented. The simplest thing was to just search for "name1".
beforeafter
Again. Copy, paste and edit the numbers appropriately. Whatever the code means or does is completely irrelevant to me, because I'm not altering how the code works in any way. So as you can see, no real skill in programming required :p
If you cannot see any of the images, but see [*IMG] instead, right click on it and Open image in new tab should show it. -
Wow! Thank you so much, you're the best! I really appreciate your hard work!Done and done.
Btw. I'm also sending a couple of Before and After screenshots to show that if you ever need to expand parameters in future, it is not rocket science and more than with Javascript it has to do with understanding written text and basic math logic. Expanding parameters is really easy, you just need to find three things:
1. which parameter you want to expand
2. where is the parameter processed, usually it's right underneath the beginning comment section to make it easier to find
3. where is the processed parameter implemented.
So the first point was easy. For parameters there's the comment section at the beginning of the plugin, so then you just find your parameter name.
before
Just a simple copy paste and rewriting the numbers.
Then I had to find where and how they were processed. As I said, usually it's right underneath the comment section.
I can see variable names name1, volume1 and pitch1 and name2, volume2 and pitch2. Again, copy, paste and edit the appropriate number. That's all.before
Last task was simple as well. I now had the variable names. So I had to find how they were implemented. The simplest thing was to just search for "name1".
before
Again. Copy, paste and edit the numbers appropriately. Whatever the code means or does is completely irrelevant to me, because I'm not altering how the code works in any way. So as you can see, no real skill in programming required :p
If you cannot see any of the images, but see [*IMG] instead, right click on it and Open image in new tab should show it.