Jump to content
Sign in to follow this  
hamis

VoiceRH for Arma

Recommended Posts

Well,i made voiceRH with real russian voices for ofp(integrated to config.cpp).Now i have trouble to find out how to make it work in Arma.Any help appreciated!!!

Share this post


Link to post
Share on other sites

Sounds nice! you should replace SLA voices with those russian ones. I am sure someone will help you... because, well because this s the ARMA community, and its so **** ** ***** ******* ********** * **** ********* HUGE!

so I am really looking forvard to this! inlove.gif

Share this post


Link to post
Share on other sites

Voices are set up completely different to OFP. You can't restrict them to certain sides any more, unless you have the mission editor set up the cfgIdentities and use the setIdentity command on the characters.

De-pbo the "voice.pbo" file in your addons folder and use a program like Eliteness to convert it to cpp. Have a look at that and it should help you figure out how to add your voices.

To add 2 new voices, add something like this to your config:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">class CfgVoice

{

class RUS1

{

variants[] = {0.95,1,1.05};

directories[] = {"\RUS_voices\Dan\","\RUS_voices\Dan\"};

name = "Russian1";

};

class RUS2

{

variants[] = {0.95,1,1.05};

directories[] = {"\RUS_voices\Brian\","\RUS_voices\Brian\"};

name = "Russian1";

};

};

That will add 2 voices with classnames RUS1 and RUS2.

Then the mission editor needs to addign them using setIdentity.

To replace original voices, add this line above RUS1:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> voices[] = {"RUS1","RUS2"};

ArmA will now assign those voices to AI instead of the default voices.

Share this post


Link to post
Share on other sites

Well,i tried it this way(worked in ofp):

class CfgVoice

{

voices[] = {"dan","brian","mathew","robert","russell&quo

t;,"dusan","robert","howard","ryan","amy&quot

;,"Aleksei","Andrei","Boris","Georgiy","Ivan&

quot;,"Nikolai","Oleg","Ruslan","Sergey","Vad

im","Vitaliy","Vladimir"};

After class words:

class Aleksei

{

variants[]={0.95,1.0,1.05};

directories[]={"\VoiceRH\Aleksei\","Aleksei\"};

name="Aleksei";

};

etc.Are you sure there is no other way to do it?

Share this post


Link to post
Share on other sites
...

I've done plenty of experimenting with it, trying to add new voices that would only play for a specific side. ArmA doesn't allow for it though.

ArmA doesn't use the same method as OFP. Voices are randomly assigned to AI from the "voices[]" list, as I describe above.

Faces can be set to only appear for "east" or "west" sides though. Just not voices sad_o.gif

Share this post


Link to post
Share on other sites

Well,do you know how it is done?Is that system in arma.exe or in some config? banghead.gif

Share this post


Link to post
Share on other sites
Well,do you know how it is done?Is that system in arma.exe or in some config? banghead.gif

I already told you how it's done. The standard voices are in voice.pbo. All the info you need can be learned by looking in there, or probably even by reading my last 2 posts here whistle.gif

Share this post


Link to post
Share on other sites

Sorry,i wasn't clear enough.I mean how that random selection system is implemented?I didn't find anything like that in any config.And yes,i'm stupid enough to not give up before i'm 100000% sure i can't change it! tounge2.gif

Share this post


Link to post
Share on other sites
Sorry,i wasn't clear enough.I mean how that random selection system is implemented?I didn't find anything like that in any config.And yes,i'm stupid enough to not give up before i'm 100000% sure i can't change it! tounge2.gif

The voices[] setting. So if it was this for example:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> voices[] = {"RUS1","RUS2"};

then ArmA would randomly assign those 2 voices to AI (and not any other voices, this overwrites the original setting). It doesn't take what side they are on into account.

To successfully overwrite the voices[] setting from voices.pbo you may need to add "CAVoice" to the required addons setting.

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">requiredAddons[] = {"CAVoice"};

I really hope ArmA 2 has a better way of handling voices, so the Russians speak Russian, Americans speak English with an American accent and addons can have their own voices.

Something like the way ArmA handles faces would be good whistle.gif

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×