equal
deleted
inserted
replaced
15 * [https://www.hedgewars.org/node/2132 Recording Voices for Hedgewars] (guide) |
15 * [https://www.hedgewars.org/node/2132 Recording Voices for Hedgewars] (guide) |
16 |
16 |
17 == Special voicepacks == |
17 == Special voicepacks == |
18 The voicepack “Default” is the English default voice and is used as the ultimate fallback, if a voicepack cannot be found. |
18 The voicepack “Default” is the English default voice and is used as the ultimate fallback, if a voicepack cannot be found. |
19 |
19 |
20 Voicepacks with a name of the form “`Default_<language>`” (where “Default” can be a name of your liking, and “`<language>`” is a language code) are for specifying a localized version of a voicepack. This can be applied to other voicepacks, such as `Pirate_<language>` if such a localisation was created. Voicepacks without the language code are assumed to be in English. |
20 Voicepacks with a name of the form “`Name_<language>`” (where “Name” can be a name of your liking, and “`<language>`” is a language code) are for specifying a localized version of a voicepack. Voicepacks without the language code are assumed to be in English. |
21 |
21 |
22 === In Lua scripting === |
22 === In Lua scripting === |
23 |
23 |
24 If in `AddTeam`, you use the special language code `qau`, then Hedgewars will try to play the matching localized version of that voicepack, with respect to the player's language (e.g. `Pirate_de`). If no localized version exists, Hedgewars falls back to the voicepack with no language code (e.g. `Pirate`). |
24 If in `AddTeam`, you use the special language code `qau`, then Hedgewars will try to play the matching localized version of that voicepack, with respect to the player's language (e.g. `Pirate_de`). If no localized version exists, Hedgewars falls back to the voicepack with no language code (e.g. `Pirate`). |
25 |
25 |