A simple subscene that includes plugins and a UI to easily add to a scene and play random music.
Music not included!
How to use this subscene on a scene:
- Add a subscene atom and position it a little away from a person while minding any walls
- Load the subscene in this VAR
- Add music as a audio assetbundle (option A) or as a mp3/ogg/wav/others with Audiomate (option B)
- Click the button to play a random music
Two ways to play random music:
You can play music in a audio assetbundle or as a audio file using Audiomate.
The plugins are in the AudioSource atom next to the subscene atom.
Option A: audio assetbundle
- Uses MacGruber's RandomSoundFromAB logicbrick plugin
- Load a audio assetbundle and add to the list of the plugin
- Uses dub's Audiomate plugin
- Import audio files using the plugin's UI to the active collection
The UI button "►/>> music" will trigger a new song from both options, so make sure you don't use both options simultaneously.
What is in the subscene:
|
For more information about the plugins used:
LogicBricks - Plugins -
Overview LogicBricks is a collection of now 34 reusable logic plugins to quickly build simple logic without coding. These go from a simple Relay that just groups triggers via Counter and Blend to more complex bricks for RandomChoice and a very...
hub.virtamate.com
AudioMate - Plugins -
This plugin plays scene audio files, but also makes managing them easier and more flexible. Organize your sound effects, vocal sounds or music in AudioMate Collections. These Collections can then be triggered, f.e. by a collision trigger, to play...
hub.virtamate.com
Advanced usage with UIAssist:
If you use this plugin from JayJayWon, highly advised btw, you can create a button action to inject this subscene to a scene. You can even have it automatically positioned relative to a person, that's crazy convenient.
To those with audiobundles, you can set up buttons or a profile for loading bundles on the RandomSoundFromAB plugin, and possibly you can do something similar with Audiomate presets.