Jump to content
Sign in to follow this  
ubik

Suggestion: One voice actor per unit

Recommended Posts

I've found that clicking on a unit multiple times and having him/her change voices each time breaks the illusion of the game. Would it be possible/easy to assign only one audio file per unit? I think it would help with the realism.

Thanks.

Share this post


Link to post
Share on other sites
13 minutes ago, ubik said:

I've found that clicking on a unit multiple times and having him/her change voices each time breaks the illusion of the game. Would it be possible/easy to assign only one audio file per unit? I think it would help with the realism.

Thanks.

We even haven't finish some audio yet. we lack of audio department.

Share this post


Link to post
Share on other sites
11 hours ago, Lion.Kanzen said:

We even haven't finish some audio yet. we lack of audio department.

True, but this is a different thing: the sound system uses the existing sound files and slightly changes them to make it sound as if there are more different sounds than there actually is. So the solution might be to tie that modification to the entity rather than just have it random :unsure:

  • Like 2

Share this post


Link to post
Share on other sites
17 minutes ago, feneur said:

True, but this is a different thing: the sound system uses the existing sound files and slightly changes them to make it sound as if there are more different sounds than there actually is. So the solution might be to tie that modification to the entity rather than just have it random :unsure:

Can bind the randomized pitch to the entity ID. 

  • Like 2

Share this post


Link to post
Share on other sites
6 hours ago, feneur said:

True, but this is a different thing: the sound system uses the existing sound files and slightly changes them to make it sound as if there are more different sounds than there actually is. So the solution might be to tie that modification to the entity rather than just have it random :unsure:

 is important too, no only variance of pitch.

Share this post


Link to post
Share on other sites
4 hours ago, Lion.Kanzen said:

I don't  like my voice in high pitched.:P

The variance could be limited so it doesn't go up (or down) too far ;)

Share this post


Link to post
Share on other sites
13 hours ago, wowgetoffyourcellphone said:

Can bind the randomized pitch to the entity ID. 

That's a good idea. A solution could be to use the modulo operator on the entity ID, with the quantity of different pitches. The resulting number then would be used to select the pitch for that entity. It would no longer be randomized, but it feel random in most cases, and it would automatically be bound to the entity ID.

  • Like 3

Share this post


Link to post
Share on other sites
On 12/17/2017 at 10:15 AM, stanislas69 said:

Patches are welcome 

I'm not sure I am familiar enough with the code base to produce one, but I took a look at the code, and this could work:

float((m_PitchLower * 100.0f + source % (int((m_PitchUpper - m_PitchLower) * 100.0f) + 1)) / 100.0f)

(replacing  the call to RandFloat in line 207 of /source/soundmanager/scripting/SoundGroup.cpp)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...