• Hi Guest!

    We have posted a new VaM2 dev log on Patreon, starting a monthly cadence of written progress updates between Beta releases. Highlights include the new Gizmos System, Selection Carousel, and Modes System with Context-Specific Editing. Beta1.2 is 15 of 21 items complete.

    Read the full post on Patreon, or follow progress on the public Trello roadmap.

Change Assets Volume

VamFan

New member
Joined
Jan 28, 2021
Messages
1
Reactions
0
Hello,

i have a Assetsbundle(not from me, no source) with Sound, but the volume are to high, so i can hear nothing else.
How can i change volume of the assetbundle? I can't find any Option.
Can i accesss this with a PlugIn and change this with c#?

Thanks and have a nive Day

VamFan
 
No, the volume is in the file. You can only change the volume of your AudioSource, Person Head Audio or whatever is playing audio in your scene, which would affect all audio played through that source.

Technically you could have a plugin that overrides the volume setting for each file it plays with the correct value from some database. My Life plugin does that to some degree. Means you can't manually use the volume slider anymore, as the plugin constantly overrides it.
 
Regarding that, would it be possible to HAVE a volume setting attached to a CUA that has sound in(/on?) it? As I have seen CUA's that use C# to alter doors, lights,etc. ? Or maybe a sort of generic plugin that could change values in a CUA - if one knows the names of the "parts". (Just asking, a supplicant at the foot of the dais.)?
 
Regarding that, would it be possible to HAVE a volume setting attached to a CUA that has sound in(/on?) it? As I have seen CUA's that use C# to alter doors, lights,etc. ? Or maybe a sort of generic plugin that could change values in a CUA - if one knows the names of the "parts". (Just asking, a supplicant at the foot of the dais.)?
That's easy to do as a plugin. Just a volume slider that applies to all AudioSources inside the CUA.
(Spend a bit longer than anticipated on this, making sure it actually works and covers things like changing the CUA afterwards. Patreon pledge would be appreciated, but it's optional. Unless you are already a Patreon of mine of course...have not checked ;) )

Here you go. License terms are CC BY-SA as usual.
 

Attachments

  • CUAVolume.cs
    2 KB · Views: 0
The plugin that controls the volume of the CUA is really useful in certain situations. Would you be willing to host it on the hub? If that’s too much trouble, may I package it myself and upload it?
That's easy to do as a plugin. Just a volume slider that applies to all AudioSources inside the CUA.
(Spend a bit longer than anticipated on this, making sure it actually works and covers things like changing the CUA afterwards. Patreon pledge would be appreciated, but it's optional. Unless you are already a Patreon of mine of course...have not checked ;) )

Here you go. License terms are CC BY-SA as usual.
 
The plugin that controls the volume of the CUA is really useful in certain situations. Would you be willing to host it on the hub? If that’s too much trouble, may I package it myself and upload it?
I'm rather busy at the moment, so go ahead. Keep in mind, license is CC-BY-SA.
 
I'm rather busy at the moment, so go ahead. Keep in mind, license is CC-BY-SA.
Thank you for granting permission.
Although I verified that the copyright license is CC BY‑SA, I thought it courteous to ask anyway.
I’m really enjoying—and making great use of—the plugins you’ve created.
 
Back
Top Bottom