AudioPlugin CCM
CCM version of audio plugin for playing ambient and music
模組介紹 作者原文
Audio Plugin (CCM)
This unofficial TaleSpire pluigin provides a Common Customs Menu (CCM) version of audio plugin for playing ambient and music audio.
Install
Use R2ModMan or similar installer to install this asset pack.
This plugins makes use of `Asset Data Plugin` if it is available. However, it is not an actual dependency (and thus not downloaded
automatically) so that the plugin can still work (mostly) without it. For ideal functionality, please download `Asset Data Plugin`
(along with a message distributor like `Chat Service Plugin`).
Usage
- Open the Common Customs Menu
- Click on the "Audio" (speaker) icon on the left.
- Select the desired Ambient or Music group from the list.
- Click on the desired audio within the list.
Note 1: The groups contain a control group which provides a corresponding stop command.
Note 2: The plugin uses a different speaker for ambient and music allow one ambient and one music to be played at the same time.
Where To Put Audio Files
There are three different structures that can be used for storing audio:
General:
Place desired audio files into any FAP legal location under a `Audio\Ambient and/or Audio\Music` folder. For example:
`[LocalAudio]/CustomData/Audio/Ambient/Toads.mp3`
`[LocalAudio]/CustomData/Audio/Music/WeAreTheChampions.mp3`
The ambient and music will show up under a Ambient and Music header in a General group.
Specific:
Place desired audio files into any FAP legal location under a `Audio\Ambient\GroupName and/or Audio\Music\GroupName` folder
where "GroupName" is the name of the group under which the audio will be found. For example:
`[LocalAudio]/CustomData/Audio/Ambient/Animals/Toads.mp3`
`[LocalAudio]/CustomData/Audio/Music/Victory/WeAreTheChampions.mp3`
The ambient and music will show up under a Ambient and Music header in and the specificd (Animal and Victory) group.
Fine Tuned:
Place desired audio files into any FAP legal location under a `Audio\Ambient\GroupName and/or Audio\Music\GroupName` folder
where "GroupName" is the name of the group under which the audio will be found. For example:
`[LocalAudio]/CustomData/Audio/Ambient/Instrumental/Animals/Toads.mp3`
`[LocalAudio]/CustomData/Audio/Music/Instrumental/Victory/WeAreTheChampions.mp3`
The ambient and music will show up under a Ambient and Music category, under the specified (Instrumental) header, and
the specified (Animal and Victory) group.
Dependencies
The main feature of CCM plugins is that they are designed to be resilient to breaking due to
BR or other changes. For this reason, the CCM version of ANGEL plugin tries to minimize the
number of dependencies on which it relies since each of those could be a future failure point.
However, on the other hand, you don't want to re-invent the wheel for functions that already
exist becuaue then you have multiple places where code does need to be updated if that functionality
even need to be changed.
To address this, ANGEL uses soft dependencies. These soft dependencies use reflection to try
to access the dependency plugin without actually making it a required dependency.
Supported Files
Local Files
`.WAV` = Local Wave Files
`.MP3` = Local MP3 Files
`.OGG` = Local OGG Files
Hosted Files
`.WWW` = Hosted file
Content of the WWW files is a `http or https` direct URL. The URL must be a direct link to one
of the file types listed under Local Files above or a AssetBundle reference (see below).
The Audio Plugin supports read AudioClips from Asset Bundles. To read these files, the WWW file format
needs to be used (even though the asset bundle is local) with a format of:
`AssetBundle:Path/File:AudioClipName`
Since the path needs to be a complete path, the AssetBundle format is usually not used directly, It is
available for use by other plugins which proxy the request though Audio Plugin.
The Audio Plugin also knows how to
`.WWW` =
安裝與使用 安裝:按包內說明操作
- 解壓本站下載的壓縮包,先讀包內的 readme / 說明檔案。
- 多數模組依賴遊戲的模組載入器:常見做法是用社群模組管理器(如 r2modman)選中本遊戲安裝,由管理器自動處理載入器與依賴。
- 手動安裝時,把模組檔案放進遊戲目錄下對應的 Mod / plugins 資料夾。
- 啟動遊戲確認載入成功;帶「前置依賴」的模組需要把依賴一併安裝。
不同模組的安裝位置差異較大,包內說明是最可靠的依據。
下面這些內容需要先安裝,否則該模組不會生效: