author | Wuzzy |
Sat, 08 Apr 2017 16:53:14 +0100 | |
changeset 955 | 9fb2a1738685 |
parent 943 | 8151ecbc40a3 |
child 973 | ce2673c4b8fa |
permissions | -rw-r--r-- |
568 | 1 |
#summary Short information about the structure and creation of voicepacks |
2 |
= Voicepacks = |
|
3 |
== Introduction == |
|
4 |
Voicepacks are collections of audio files which contain the taunts the hedgehogs say on various events. |
|
5 |
||
6 |
== Creating voicepacks == |
|
7 |
||
8 |
A voicepack is a directory in `Data/Sounds/voices` and contains a bunch of audio files which are encoded in the Ogg Vorbis format. |
|
9 |
||
10 |
Each audio file represents a single taunt which is played at certain events. Only files with the correct file names will be recognized as taunts, other files will be ignored. For a list of recognized file names, see [Taunts]. |
|
11 |
||
12 |
Here is a guide with advice on the process of recording voices itself: |
|
659 | 13 |
|
798
30c5f1ebd552
global replace of http with https for hedgewars.org wiki links
nemo
parents:
678
diff
changeset
|
14 |
* [https://www.hedgewars.org/node/2132 Recording Voices for Hedgewars] |
568 | 15 |
|
16 |
== Special voicepacks == |
|
17 |
The voicepack “Default” is the English default voice. |
|
18 |
||
943 | 19 |
Voicepacks with the name “`Default_<language>`” (where “`<language>`” is a language code) are played by default with respect to the player's language, if a localisation exists for that language. This can be applied to other voicepacks, such as Pirate_<language> if such a localisation was created. |
20 |
||
21 |
If you specify “Default” as voice for a team by using Lua scripting, Hedgewars will play the default voice with respect to the player's language. If no default voice for the local language is found, Hedgewars will use the English Default voicepack instead. This would apply to other voice pack localisations if they are created. |
|
568 | 22 |
|
943 | 23 |
For example, in German Hedgewars, the voice “Default_de” will be played by default for the Default voice (if it exists). Pirate_de would be played for the Pirate voice if it exists. |
568 | 24 |
|
943 | 25 |
If a player or script explicitly selects a localisation, such as Default_de, it will be played for everyone regardless of locale. |
26 |
||
664 | 27 |
|
28 |
== Sharing voicepacks == |
|
29 |
Custom voicepacks (voicepacks which are not part of the official Hedgewars installation) can only be heard by other players (online) if they have the voicepack installed under the same name. |
|
30 |
||
31 |
In case the other player does not have the custom voicepack installed, the player will hear the default voice instead. |
|
32 |
||
943 | 33 |
You are encouraged to share your voicepacks in the “[https://www.hedgewars.org/forum/19 Content Creations]” forum. |