Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Audio Module Rewrite mcisendstring

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.


OH, an edit of MCISendString will occur in (hopefully) the near future. A minor change. But nothing that would have fixed this issue.
Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)
[Image: QrnbKlx.jpg]

Reply }
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.
Reply }
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


An official
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.
Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)
[Image: QrnbKlx.jpg]

Reply }
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.
Reply }
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.
Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)
[Image: QrnbKlx.jpg]

Reply }
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.
Reply }

Possibly Related Threads…
Thread Author Replies Views Last Post
   Alysha's Cached Audio DerVVulfman 2 6,484 08-21-2023, 11:01 PM
Last Post: DerVVulfman
   Audio Module Kain Nobel 2 1,524 01-25-2022, 11:39 AM
Last Post: Kain Nobel
   Missing Audio Replacer LiTTleDRAgo 1 4,708 06-11-2017, 12:25 AM
Last Post: Whisper
   Super Simple MCISendString DerVVulfman 0 3,936 03-09-2017, 04:52 AM
Last Post: DerVVulfman
   NRGSS Module Function Library Narzew 3 7,014 09-18-2012, 10:44 PM
Last Post: Narzew
   Audio Settings EJlol 1 5,325 07-03-2012, 09:36 PM
Last Post: Erechel
   Victor Engine - Basic Module Victor Sant 0 5,442 12-21-2011, 07:46 AM
Last Post: Victor Sant
   JEM: Jennifer's Entry Module DerVVulfman 0 4,514 10-14-2010, 04:30 AM
Last Post: DerVVulfman
   Module VirtualKeys zecomeia 0 4,430 03-14-2010, 01:25 AM
Last Post: zecomeia
   Audio File Encryption Dark-Yen 0 4,229 03-08-2008, 06:35 AM
Last Post: Dark-Yen

Users browsing this thread: