Here’s a brief guide on creating announcer packs for ТУМАННЫЙ: Командование флотом, focusing solely on Unity implementation.
Введение
Creating your own voicepack for ships is explained by Tuna on Сообщество Steam. It’s recommended to check out their guide, as there’s significant overlap.
Однако, announcer packs work a bit differently. The base game doesn’t support changing announcer packs directly. To use an announcer pack, you’ll need a system like the Voicepack Selector Mod, which I developed and is available on Steam Community.
While your announcer pack can be created independently without including the Voicepack Selector in your Unity project, it won’t be loaded into the game unless you’re using the Voicepack Selector or a similar tool.
Единство
Similar to voicepacks, AudioClips for announcer packs must be in .wav format. Although you can name them as you like, using a format like (ally/enemy) (событие) (расположение) (вариация) can assist in organizing when you have many audio clips.
In Unity, you only need to create one thing.
The Announcer’s Voice Set
Для Time Warning fields, these are the countdown warnings such as “20 minutes remaining.” Vanilla typically includes four:
- 20 минуты остаются (1200 секунды)
- 10 минуты остаются (600 секунды)
- 5 минуты остаются (300 секунды)
- Mission complete (0 секунды)
Objective fields consist of five sets of lines:
- Enemy has taken the objective
- Enemy is taking the objective
- We are contesting the objective
- We are taking the objective
- We have taken the objective
If you include more than one line, the announcer will randomly select one at runtime, similar to ship voicepacks.
В ванильной игре, the Generic Objective plays when there’s only one objective point of interest in the match. Numbered Objectives play if there are more than one. For each Numbered Objective (есть 8 всего, indexed from 0 к 7), you need the same 5 lines as mentioned earlier, but referencing the specific objective instead of a generic “the objective.” The callouts for the base 8 zones are:
- Атлас
- Боксер
- Комета
- Кинжал
- Затмение
- Fulcrum
- Gambit
- Гелиос
Flag Action fields each contain 4 sets of lines:
- Enemy has captured the flag (scored a point)
- Enemy has taken the flag (an enemy ship has picked it up)
- Enemy has dropped the flag
- Flag has been recovered (the flag that an enemy dropped has been reset to its starting position)
Getting the Pack In-Game
This is all about how the Voicepack Selector Mod works. To let the Selector recognize that your mod includes an announcer pack, it searches your manifest.xml file for an “Announcer” ярлык. Просто имейте в виду, different tools might have different requirements or methods.
<?XML-версия ="1.0"?> <BundleManifest xmlns:хсд="http://www.w3.org/2001/XMLSchema" xmlns:хси="http://www.w3.org/2001/XMLSchema-instance"> <BasePath>Assets/Bundle</BasePath> <Namespace></Namespace> <Announcers> <Entry Address="Radio Broadcaster.asset"/> </Announcers> </BundleManifest>
To ensure everything aligns smoothly, the address in your mod must match the Announcer Voice Set asset you created. Также, remember to include this asset in the AssetBundle. Это в значительной степени. There aren’t any other special steps. I made it straightforward to integrate, keeping it in line with creating other components.
Это все, чем мы делимся сегодня для этого. ТУМАННЫЙ: Командование флотом гид. Это руководство было первоначально создано и написано shadow.lotus.62312. На случай, если нам не удастся обновить это руководство, вы можете найти последнее обновление, следуя этому связь.