Sp00ky Posted May 27, 2023 Report Share Posted May 27, 2023 (edited) Hello, I wanted to change the voice overs for the Han units. I don't know any chinese dialect so I decided to use google translate and a text to speech tool to generate the lines (I know this is a crappy solution but I find it jarring to hear them speak greek). I have tried copying the structure of the public/audio mod, but it doesn't seem to take effect (I am testing with the female villager "march" voiceline, but then I will add others), I can enable the mod and no error appears, but the unit still plays the original greek voice line. I am attaching the mod maybe someone can help me figure out what is going on. Also attaching the folder structure in case the issue can be spotted at a glance. One thing I thought is that maybe since han are using the greek files it won't pick up the new ones. If that is the case, what should I change so that the new files are picked up instead of the greek ones? chinese_va.zip Edited May 27, 2023 by Sp00ky 2 1 Quote Link to comment Share on other sites More sharing options...
Lion.Kanzen Posted May 27, 2023 Report Share Posted May 27, 2023 @Stan` Quote Link to comment Share on other sites More sharing options...
Sp00ky Posted May 28, 2023 Author Report Share Posted May 28, 2023 (edited) I figured it out! I just needed to override simulation/templates/units/han/support_female_citizen.xml and specify a new Lang tag Attaching a video with the progress so far! (for some reason OBS made it sound more metallic than it actually sounds ) 1324993713_2023-05-2720-59-30.mkv Edited May 28, 2023 by Sp00ky 1 Quote Link to comment Share on other sites More sharing options...
wowgetoffyourcellphone Posted May 28, 2023 Report Share Posted May 28, 2023 Very nice. Perhaps we can do this for the other civs too as placeholders until voice actors randomly find the game. 1 Quote Link to comment Share on other sites More sharing options...
Sp00ky Posted May 28, 2023 Author Report Share Posted May 28, 2023 (edited) Finished an initial release https://github.com/juanfgs/0ad_chinese_va There are several things I don't like on how I did it, I had to copy a bunch of templates to the mod, which I feel is not ideal. I was wondering if there is a way to inject only the <Lang>mandarin</Lang> tag to the existing templates without overriding other values (otherwise it would override stuff like unit costs etc.) Any help is welcome Edit: I did a small update, as I noticed I was using the wrong files causing in errors with other factions. Edited May 28, 2023 by Sp00ky 2 1 Quote Link to comment Share on other sites More sharing options...
Lion.Kanzen Posted May 28, 2023 Report Share Posted May 28, 2023 @AIEND Quote Link to comment Share on other sites More sharing options...
AIEND Posted May 28, 2023 Report Share Posted May 28, 2023 (edited) Half a year ago, I planned to record the dialogue voice of the Han Dynasty unit, but due to the rapid spread of the new coronavirus, this task was paralyzed, and I wanted to start this work again, after all, I don't want the Han Dynasty faction to exist in two versions of the game and still have no native language dubbing. But the problem is that, as I have reflected before, in this voice list, the three jobs of logging, mining, and quarrying seem to be expressed in the same sentence, and there is no appropriate sentence in spoken Chinese to express this. , three different voices must be recorded separately for logging, mining, and quarrying. I want to coordinate on this question, if I record three voices separately, will it work fine in the game? Action – English order_build – I will build. order_walk - I will walk. order_repair - I will repair. order_attack - I will attack! I will go out against them! I will march! I will retreat! Battle cry. order_gather - I will gather. I will fish. I will hunt. I will work land. I will herd. order_guard - I will guard. order_garrison - I will garrison. order_patrol - I will patrol. order_trade - I will trade. order_heal - I will heal. select – What is it? My lord? Edited May 28, 2023 by AIEND 1 Quote Link to comment Share on other sites More sharing options...
Vantha Posted May 28, 2023 Report Share Posted May 28, 2023 12 hours ago, Sp00ky said: text to speech tool I'm just interested... Which text to speech tool did you use? Quote Link to comment Share on other sites More sharing options...
Sp00ky Posted May 28, 2023 Author Report Share Posted May 28, 2023 I used a site called narakeet 2 Quote Link to comment Share on other sites More sharing options...
AIEND Posted May 28, 2023 Report Share Posted May 28, 2023 (edited) @Stan` @狮子观禅 Edited May 28, 2023 by AIEND 1 Quote Link to comment Share on other sites More sharing options...
Lion.Kanzen Posted May 28, 2023 Report Share Posted May 28, 2023 5 hours ago, AIEND said: appropriate sentence in spoken Chinese to express this. , three different voices must be recorded separately for logging, mining, and quarrying. I want to coordinate on this question, if I record three voices separately, will it work fine in the game? Yes you can. Quote Link to comment Share on other sites More sharing options...
AIEND Posted May 28, 2023 Report Share Posted May 28, 2023 25分钟前,Lion.Kanzen说: 是的,你可以。 Okay, then I'll finish recording as soon as possible. Quote Link to comment Share on other sites More sharing options...
Lion.Kanzen Posted May 28, 2023 Report Share Posted May 28, 2023 根据我的理解,可以添加新的短语。 Quote Link to comment Share on other sites More sharing options...
Delfador Posted May 28, 2023 Report Share Posted May 28, 2023 Always wondered, isn't there a free licensed Vocaloid to voice all nations? Spoiler Quote Link to comment Share on other sites More sharing options...
Vantha Posted May 28, 2023 Report Share Posted May 28, 2023 Interesting...I have never heard of this site... it's one of the only few that support chinese Quote Link to comment Share on other sites More sharing options...
leopard Posted May 28, 2023 Report Share Posted May 28, 2023 maybe we can give sanskrit voice to Mauryas Quote Link to comment Share on other sites More sharing options...
Sp00ky Posted May 28, 2023 Author Report Share Posted May 28, 2023 (edited) 20 minutes ago, leopard said: maybe we can give sanskrit voice to Mauryas I read that Mauryas used Prakrit, I don't think there are AI models trained on prakrit or sanskrit. The site I used has Bengali and Hindi which are probably the closest (altough not really related). Edited May 28, 2023 by Sp00ky 1 Quote Link to comment Share on other sites More sharing options...
Stan` Posted May 28, 2023 Report Share Posted May 28, 2023 Merged the two threads. Quote Link to comment Share on other sites More sharing options...
Sp00ky Posted May 28, 2023 Author Report Share Posted May 28, 2023 I added a new release with some Hindi voice overs. As I said previously it is probably not accurate (sanskrit would be better) but narakeet don't has that option. If anyone can find a good text to speech with male/female voices that would be great. 0ad-demo-hindi.mp4 1 Quote Link to comment Share on other sites More sharing options...
wowgetoffyourcellphone Posted May 28, 2023 Report Share Posted May 28, 2023 (edited) 18 hours ago, Sp00ky said: https://github.com/juanfgs/0ad_chinese_va These sound very nice. The audio quality is good and the voices are very clear. I think the phrases they are using are too long. Too many syllables. It sounds like they are using complete sentences, when really they should be using short phrases and acknowledgments. So, when tasking a unit to do something, instead of "I will do that, my lord!", use something like, "Yes, my lord!" or "As you wish!" Fewer syllables and less overlap with the sound effects in-game. When selecting a unit, instead of "What can I do for you, my liege?", use "Yes, my liege?" Edited May 28, 2023 by wowgetoffyourcellphone 1 Quote Link to comment Share on other sites More sharing options...
Sp00ky Posted May 28, 2023 Author Report Share Posted May 28, 2023 I agree, these overlap a lot otherwise. Thanks for the suggestion. 1 Quote Link to comment Share on other sites More sharing options...
wowgetoffyourcellphone Posted May 28, 2023 Report Share Posted May 28, 2023 17 minutes ago, Sp00ky said: I agree, these overlap a lot otherwise. Thanks for the suggestion. Other examples can be found in Age of Empires (1, 2, 3, etc.) where a lot of command acknowledgements are even just 1 word! Send a Britons villager to chop a tree in AOE2 and all they say is "Chopper!" Quick, simple, to the point audio feedback. Quote Link to comment Share on other sites More sharing options...
Lion.Kanzen Posted May 28, 2023 Report Share Posted May 28, 2023 4 minutes ago, wowgetoffyourcellphone said: Other examples can be found in Age of Empires (1, 2, 3, etc.) where a lot of command acknowledgements are even just 1 word! Send a Britons villager to chop a tree in AOE2 and all they say is "Chopper!" Quick, simple, to the point audio feedback. In Spanish and Portuguese they use the verbs. "Cortar" o "madeira" Generally, they use subject as an equivalent to the word wood. And when you select them they say the function or role they do. The generic is servidor. "Servidor" or "leñador". Lumberjack Quote Link to comment Share on other sites More sharing options...
wowgetoffyourcellphone Posted May 28, 2023 Report Share Posted May 28, 2023 1 minute ago, Lion.Kanzen said: In Spanish and Portuguese they use the verbs. "Cortar" o "madeira" Generally, they use subject as an equivalent to the word wood. And when you select them they say the function or role they do. The generic is servidor. "Servidor" or "leñador". Lumberjack In Rome Total War (1 and 2) when you select a battalion they yell "Hoplites!" or "Heavy Skirmishers!" or "Thessalian Lancers!" -- whatever the unit is. Very handy. Quote Link to comment Share on other sites More sharing options...
Sp00ky Posted May 28, 2023 Author Report Share Posted May 28, 2023 24 minutes ago, Lion.Kanzen said: In Spanish and Portuguese they use the verbs. "Cortar" o "madeira" Generally, they use subject as an equivalent to the word wood. And when you select them they say the function or role they do. The generic is servidor. "Servidor" or "leñador". Lumberjack Never understood why they yelled Santiago when attacking lol. I just paid for some minutes in the service (they give like 10 minutes for free) I will try to make more specific and shorter responses. It might take a bit longer after the weekend. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.