I am trying to enhance the audio experience of the game in order to have more talkative NPC and main player. It already looks great, but I need some tips in order to make the mod as global and simple as possible since I want to include multilanguage and gender support.
To do so, I need to know if it is possible to use one single cue that could contain audio quotes both for male and female characters. Given the way the game has been built, it seems one can only refer to one specific voice used for the main character or to one specific actor voice used for various NPCs
To put it in a nutshell, I would like to add male and female voice files in the very same cue, and add a command or a node so that the game reads the relevant voice content whether the player choose to play with a female or male character. Is it possible, do we have to make a different cue for female and for male characters.
I guess so. For instance, sometime, some music are triggered when entering for the first time in a specific region. I know how to add an audio file to the relevant to cue file to have the music and the audio quote being played at the same time. But I would like to use the boolean parameter from the “branch” node in order to make a condition like, if main character is male, then trigger the male audio quote saying “welcome to the jungle” (male voice), but if main character is female, then trigger the female audio quote saying “welcome to the jungle” (female voice)
Dear All, regarding my previous request about enhancing the audio experience, I would just need some help to set a bolean parameter in order to trigger some audio content according to the main playable character gender. In the screenshot, I am using the cue named vocal_male_food_sick in the sound folder. I guess the instruction to be put in the Branch node should be something like if “PC (playable character) is female” =>then I would link the female audio files to the True option of the Branch node, if the statement is false, I would link it to the male audio content. Thank you in advance for your help
It is not possible in the sound cue blueprint … how ever what you can do is do a blueprint code fo play sound and use branch isfemale from char customization parameter hope this point you in a direction.
Thank you Dragoon. But as I intend to provide several voices and gender options, I would need more options that just false or true, I don’t know how the general voiceover system work, but you can see than there are some cues for each voice. (up to 4 differents) and each gender.
fter some deep research, I have found how to add audio content to animations thanks to the animation notifications as explained here Animation Notifications (Notifies) | Unreal Engine Documentation . I am really excited to share it all, but the thing is that this method seems to be designed for attaching generic sounds that would not change according to the features of the playable character (voice, gender.) and this will be problematic at some point. So when using this method, I am attaching a cue voice, which contains only several quotes for one type of voice. That solution won’t be effective in a multiplayer environnement where you would hear the same voice all around you if all other players were performing the same animation near your and at the same moment (for instance, sayin’ let’s go when mounting on a horse). Instead, I would like to use a system similar to the general voiceover system of the game, i.e., I would like my mod to provide switchable voices according to the player’s preferences in termes of voice or gender, just as it works for the audio content regarding voiceover. When the animation notifier, you can choose the option “play a sound” and attached a cue file by giving its name, but I would rather need to give a global category encompassing different cue files changing according to the choice of the player. When you look at the cue file regarding attack animations, for instance in file “f1_voc_attack_long_cue”, you see different audio files for shout, strain, breathing situations regarding the playable character, (and also audio files for the same purpose + some lines quotes for NPC, but don’t pay attention to that). The dev have use the following bolean parameter true = IsNpc => for randomly play various lines and voices designed for NCP, and false = for playing audio files regarding the playable character (see image). So these audio files are all gathered in one cue file for each voice designed for playable characters. There are up to 4 voices per gender organised by soundclass named female1, female2, male1, male2, etc. I don’t know, how it works, but the dev found a way to invoke the relevant cue file according to the voice and gender chosen by the player when the latter attack. Does someone know if it possible attach optional cue files to an animation with the notifier system or how should I proceed for the mod to be able to switch from one cue file to another for the same animation (according to gender or voice). I have also thought of including the different voices/gender in one cue, but I would then need to incorporate bolean/conditional parameters, which are far beyond my knowledge. Thank you in advance for your help
But would be able to enable gender recognition and translated voice lines in runtime for thralls that are not NPC, but objects like in the crafting stations ?