Save-Point
Audio Module Rewrite mcisendstring - Printable Version

+- Save-Point (https://www.save-point.org)
+-- Forum: Material Development (https://www.save-point.org/forum-8.html)
+--- Forum: Scripts Database (https://www.save-point.org/forum-39.html)
+---- Forum: RPGMaker XP (RGSS) Engine (https://www.save-point.org/forum-116.html)
+---- Thread: Audio Module Rewrite mcisendstring (/thread-3981.html)

Pages: 1 2 3


RE: Audio Module Rewrite mcisendstring - DerVVulfman - 04-19-2020

Growl....

I spent some time looking at the script combination when I got home. It's been some time since I worked upon the Vehicles system (though I do wish for a Lycan/Vehicles combo).

Between the two, MCISendString allows you to create multiple audio channels, so you can have two BGM pieces playing, more ME Events, and so on. But to do that, I had to convert a couple specific Game_System variables into arrays. UNFORTUNATELY, Vehicles uses the unaltered original versions of these variables. DOH!

So, I spent some time... (to figure out what the HECK was going on)... and made a patch. It requires rewrites of a number of methods in Vehicles. Have the entire MCISendString system above the Vehicles system, and place the below patch .... um... below. Winking

The Patch

Don't ask why, but Ambient Audio Sounds... aka the Background Sounds (BGS) files do have a weird issue with the two combined. To have any... ANY... BGS files playing, you will need to have them in your project's Audio\BGS folder and NOT part of your RTP. I mean, you cannot have '008-Wave01' in BOTH your RTP and project folder. Your project's BGS files must have names NOT RTP.

Weird.

OH, an edit of MCISendString will occur in (hopefully) the near future. A minor change. But nothing that would have fixed this issue.


RE: Audio Module Rewrite mcisendstring - Geminil - 04-19-2020

The patch fixed the problem with the Vehicle which is great, however the save file script error is still present. That aside, thanks again for your amazing work DerVVulfman. I will look forward to see changes that will make it compatible with other scripts.


RE: Audio Module Rewrite mcisendstring - DerVVulfman - 04-19-2020

Okay... Got it. IT"S SO WEIRD that these issues do not occur when MCI is used with Vehicles!!!!! Oh, before you say returning-from-battle has an issue... I took care of that too. Still weird, it doesn't happen otherwise... So the patch is now version 2.0

Meanwhile...

An official
BUMP
to version 1.3
The upgrade is very minor, having to deal with differences between RTP and project folders. It has nothing to do with Vehicles.


RE: Audio Module Rewrite mcisendstring - MikiIsAway - 05-03-2020

I would love to use this but I have never used scripts in XP so far and am completely overwhelmed with this, even with the tutorial. My thought was to just copy the Scripts file and put it into my game as I have not changed anything about them before, that should work, shouldn't it? But for the life of me, I can't find the Editor. I don't know if I just went completely blind but I don't know where it is supposed to be? The game files included are just the audio demo for the script.


RE: Audio Module Rewrite mcisendstring - DerVVulfman - 05-03-2020

Three scripts are in the demo, and in order:
  • Audio Class Rewrite Editor - This is the editor. It has only one configuration value which turns it on/off. Currently turned off by being set to 'false'
  • Audio Class Rewrite - This is the main engine of the system, and redefines a number of innate features within RPGMaker XP. It has three configurable values, each indicating how many channels of audio you want, these being the only thing you touch in this script. Not many would want three background music channels, but the demo was set up that way. You may just want to set all three entries to '1'. BUT having two or more overlapping ambient background sounds (BGS) playing simultaneously doesn't sound bad.
  • Audio Class Game_System - This is the SAMPLE that is used by the demo. It has loop points set for each configured/edited audio file.



RE: Audio Module Rewrite mcisendstring - MikiIsAway - 05-03-2020

Oh, thank you! I didn't really look at the scripts themselves, so that's why I didn't find the Editor. But from the tutorial I already understood the basics with the Game System. I hope, I manage to do this right, it sounds really useful! I like mapping with XP a lot but I never did much with it since I missed the looping music thing from VX Ace on.