Kyuukon

主人公
Veteran
Joined
Aug 22, 2013
Messages
2,257
Reaction score
1,117
First Language
Spanish
Primarily Uses
RMMV
So, I'm planning on featuring voice acting on my game but since there are tons of sounds it'd be convenient to have them in a subfolder (let's call it "VO") inside the default "Audio/SE".


The problem is when I try to point to that folder. I tried lots of commands but none seems to work. It always redirects me to the SE root folder.


Example of what I want:


AudioManager.playSe({name: "VO/hey", volume: 70, pitch: 100, pan: 0 });


this above does not work!


I hope I was clear enough, thanks!
 
Last edited by a moderator:

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
42,127
Reaction score
14,643
First Language
English
Primarily Uses
RMMV
Because AudioManager.playSe uses the se folder.


If you want another folder, you're going to have to create duplicate functions to all the SE functions in AudioManager and tell it to use the path you want, and then you call your new function instead of playSe.
 

frzhrt834

Infamous Warrior of Storms
Veteran
Joined
Aug 4, 2015
Messages
139
Reaction score
14
First Language
French
Primarily Uses
RMMV
The audio player is (I think) unable to look for sounds in sub-folders. Maybe give each of your dialogs a code as filename?
 

Kyuukon

主人公
Veteran
Joined
Aug 22, 2013
Messages
2,257
Reaction score
1,117
First Language
Spanish
Primarily Uses
RMMV
If you want another folder, you're going to have to create duplicate functions to all the SE functions in AudioManager and tell it to use the path you want, and then you call your new function instead of playSe.

Thank you! I went for this solution and works perfectly! Now I can even add the volume control to the option menu :D!


You can close this :)
 
Last edited by a moderator:

Latest Threads

Latest Posts

Latest Profile Posts

Still early in development but feel like I'm hitting a wall. Either I can't find plugins to do what I need, or they're paywalled :/
Screenshot-2021-05-02-at-15-07-54.png


Tivadar will help you travel to distant places in Eniko: Ghosts Of Grace

Finally done with the school project, here's the raw video of it. o_O :smile:

Forum statistics

Threads
111,175
Messages
1,058,984
Members
144,421
Latest member
luok
Top