Question Saved scene does not remember custom loaded sounds path

5DVoom

Active member
Joined
Mar 21, 2023
Messages
178
Reactions
25
Hi folks, as in title.
Every time when i load my custom made scene i need add my wav sound files again manually.
Do exists some way to load it automatically ? Or im doing wrong something.
 
Very likely doing something wrong, but not sure what it can be without more details on how you're doing things.
 
Upvote 0
@atani Yes sorry:

1) audio files i placed in folder: \VaM_Updater\Custom\Sounds
2) So, i browse and add these mp3's (or wav, seems no matter) to "Scene Audio" section.
3) From now i able to use it audios thru various things (in my particular case this is CollisionTrigger, in which settings i select my imported audios for start action and end action, and audiosource element as output, and both packed in my presaved mini-subscene, but i guess this is no matter)

So, in this condition i does save my scene.
And next time after re-load (as i said) - no imported mp3's in "Scene Audio" section anymore.

Maybe there is something wrong with location where i keeps (from where i import) sounds ?
 
Upvote 0
@atani
UPDATE: Oh Damn sorry bro, i'm mistaken, wrong explained.
Sounds not load together with my mentioned >subscene<. (I mean when i load this subscene to my scene)
🥴

So task changed a bit - it is possible to make path to samples saveable for subscene ?
 
Upvote 0
AFAIK sounds in a subscene's Scene Audio are not saved, or at least I could never find a way but last I tried was years ago.
Nowadays I mostly use audo packed into an assetbundle (a.k.a. audiobundle) and play it from specific Logicbricks for the purpose. This approach can have huge benefits depending on your needs, like:
  • almost instant loading of many audios
  • easy to pack, reuse, load and unload
See if the audiobundle option works for your needs or future uses: "Audio assetbundles" section
There's also a new plugin that gives new options beyond the ones in sound logicbricks, AudioRouter.
 
Upvote 0
Back
Top Bottom