hamis 0 Posted March 21, 2008 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
Kristian 47 Posted March 21, 2008 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! Share this post Link to post Share on other sites
Maddmatt 1 Posted March 22, 2008 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
hamis 0 Posted March 22, 2008 Well,i tried it this way(worked in ofp): class CfgVoice { voices[] = {"dan","brian","mathew","robert","russell&quo t;,"dusan","robert","howard","ryan","amy" ;,"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
Maddmatt 1 Posted March 23, 2008 ... 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 Share this post Link to post Share on other sites
hamis 0 Posted March 24, 2008 Well,do you know how it is done?Is that system in arma.exe or in some config? Share this post Link to post Share on other sites
Maddmatt 1 Posted March 24, 2008 Well,do you know how it is done?Is that system in arma.exe or in some config? 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 Share this post Link to post Share on other sites
hamis 0 Posted March 24, 2008 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! Share this post Link to post Share on other sites
Maddmatt 1 Posted March 24, 2008 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! 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 Share this post Link to post Share on other sites