Voicepacks.wiki
author Wuzzy
Tue, 26 Sep 2017 15:21:24 +0100
changeset 1042 907b28073cfa
parent 973 ce2673c4b8fa
child 1058 7ee102d1f085
permissions -rw-r--r--
LuaAPI: Update GetTeamStats
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
568
308ea2972bb1 Short intro on voicepacks
almikes@aol.com
parents:
diff changeset
     1
#summary Short information about the structure and creation of voicepacks
308ea2972bb1 Short intro on voicepacks
almikes@aol.com
parents:
diff changeset
     2
= Voicepacks =
308ea2972bb1 Short intro on voicepacks
almikes@aol.com
parents:
diff changeset
     3
== Introduction ==
308ea2972bb1 Short intro on voicepacks
almikes@aol.com
parents:
diff changeset
     4
Voicepacks are collections of audio files which contain the taunts the hedgehogs say on various events.
308ea2972bb1 Short intro on voicepacks
almikes@aol.com
parents:
diff changeset
     5
308ea2972bb1 Short intro on voicepacks
almikes@aol.com
parents:
diff changeset
     6
== Creating voicepacks ==
308ea2972bb1 Short intro on voicepacks
almikes@aol.com
parents:
diff changeset
     7
308ea2972bb1 Short intro on voicepacks
almikes@aol.com
parents:
diff changeset
     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.
308ea2972bb1 Short intro on voicepacks
almikes@aol.com
parents:
diff changeset
     9
973
ce2673c4b8fa Voicepacks: Hint for adding extra-taunts
Wuzzy
parents: 943
diff changeset
    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]. We might extend the list of used taunts in the future, so it might make sense to record a few additional taunts besides the currently recognized ones so they might be used in future.
ce2673c4b8fa Voicepacks: Hint for adding extra-taunts
Wuzzy
parents: 943
diff changeset
    11
ce2673c4b8fa Voicepacks: Hint for adding extra-taunts
Wuzzy
parents: 943
diff changeset
    12
TODO: Write down list of unused voice files in existing voicepacks.
568
308ea2972bb1 Short intro on voicepacks
almikes@aol.com
parents:
diff changeset
    13
308ea2972bb1 Short intro on voicepacks
almikes@aol.com
parents:
diff changeset
    14
Here is a guide with advice on the process of recording voices itself:
659
7d9bc79b233a Fix typo
Wuzzy
parents: 568
diff changeset
    15
798
30c5f1ebd552 global replace of http with https for hedgewars.org wiki links
nemo
parents: 678
diff changeset
    16
 * [https://www.hedgewars.org/node/2132 Recording Voices for Hedgewars]
568
308ea2972bb1 Short intro on voicepacks
almikes@aol.com
parents:
diff changeset
    17
308ea2972bb1 Short intro on voicepacks
almikes@aol.com
parents:
diff changeset
    18
== Special voicepacks ==
308ea2972bb1 Short intro on voicepacks
almikes@aol.com
parents:
diff changeset
    19
The voicepack “Default” is the English default voice.
308ea2972bb1 Short intro on voicepacks
almikes@aol.com
parents:
diff changeset
    20
943
8151ecbc40a3 a bit of clarification on localisation
nemo
parents: 798
diff changeset
    21
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.
8151ecbc40a3 a bit of clarification on localisation
nemo
parents: 798
diff changeset
    22
8151ecbc40a3 a bit of clarification on localisation
nemo
parents: 798
diff changeset
    23
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
308ea2972bb1 Short intro on voicepacks
almikes@aol.com
parents:
diff changeset
    24
943
8151ecbc40a3 a bit of clarification on localisation
nemo
parents: 798
diff changeset
    25
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
308ea2972bb1 Short intro on voicepacks
almikes@aol.com
parents:
diff changeset
    26
943
8151ecbc40a3 a bit of clarification on localisation
nemo
parents: 798
diff changeset
    27
If a player or script explicitly selects a localisation, such as Default_de, it will be played for everyone regardless of locale.
8151ecbc40a3 a bit of clarification on localisation
nemo
parents: 798
diff changeset
    28
664
cb261c3b1907 Sharing section
Wuzzy
parents: 660
diff changeset
    29
cb261c3b1907 Sharing section
Wuzzy
parents: 660
diff changeset
    30
== Sharing voicepacks ==
cb261c3b1907 Sharing section
Wuzzy
parents: 660
diff changeset
    31
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.
cb261c3b1907 Sharing section
Wuzzy
parents: 660
diff changeset
    32
cb261c3b1907 Sharing section
Wuzzy
parents: 660
diff changeset
    33
In case the other player does not have the custom voicepack installed, the player will hear the default voice instead.
cb261c3b1907 Sharing section
Wuzzy
parents: 660
diff changeset
    34
943
8151ecbc40a3 a bit of clarification on localisation
nemo
parents: 798
diff changeset
    35
You are encouraged to share your voicepacks in the “[https://www.hedgewars.org/forum/19 Content Creations]” forum.