How do you find the sentence time of hgrunt sentences? Created 1 year ago2023-12-11 20:29:04 UTC by tree tree

Created 1 year ago2023-12-11 20:29:04 UTC by tree tree

Posted 1 year ago2023-12-11 20:29:04 UTC Post #348200
I was going to use a hgrunt sentence for a scripted_sentence, but I don't know what to put for the sentence time since the hgrunt sentences aren't singular voicelines.

Any help would be appreciated.
Posted 1 year ago2023-12-11 21:35:01 UTC Post #348201
Better to guess high in that case. Check the sentence in sentences.txt and try to imagine the words being spoken in-game. For instance, sounding out the following line while watching the clock, I'd guess around three and a half seconds, rounded up to four.

HG_QUEST11 hgrunt/clik (t30) squad, stay(e80) alert(e80) four freeman, over clik

One thing to remember at the end of the day, it's never going to be perfect (nor does it need to be) because different localisations use totally different formats. While the grunts and VOX system use single words in the English version, strung together in sentences.txt, other languages have standard lines. See the linked video below.

Check the VOX examples here.
monster_urby monster_urbyGoldsourcerer
Posted 1 year ago2023-12-12 05:46:28 UTC Post #348204
This is a jank workaround, but you can use https://mfaizsyahmi.github.io/sentences.101/ to prototype, listen, and most relevant to the question, download rendered sentences, where you can then look at the audio length to pretty accurately* estimate the sentence length.

*because implementations vary between goldsrc and this site it won't be 100% but close enough.
You must be logged in to post a response.