Forum Jump :

Author Message

JH66  



Posts: 5
Rank:


Level: Member

Country: au
Location:
Occupation:
Age: 53
In-game name:

 
#1 Posted at 2016-01-26 06:56        
     
How to I change a units language via script? What do I put into the Init line?
and/or Can I change a sides language in the description.ext and if I can how would I do this?

Google came up with very little of any use. Thanks in advance.
JH66

This post was edited by JH66 (2016-01-26 07:05, ago)


Author Message


Posts: 146
Rank:


Level: Member

Country: my
Location: Sabah
Occupation: No Occupations
Age: 20
In-game name: Phantom_Wolf

 
#2 Posted at 2016-01-26 12:09        
     
https://community.bistudio.com/wiki/setSpeaker

Also note that this will overwrite voice, as that's the intended feature. In A3, a 'voice', or 'speaker' cannot have two languages. If the VA recorded in both, then that would be a different story. Otherwise, there's 14 American voices and 3 Persian voices [Or lost count.]. If you want to make a soldier that speaks American 12's voice to speak Persian, you have to change his voice to Persian 1, 2 or 3. By the way, do note that this will only affect automatic speaking such as group commands. Custom message/radio will not be affected.

How to use example:

this setSpeaker "Male01PER";

Added 5 minutes later:

https://community.bistudio.com/wiki/Description.ext#CfgIdentities

Sorry, i thought it was A3. The above method only works in A3. Otherwise, look in there and set up the description.ext as needed. Example identity entry is given there.

https://community.bistudio.com/wiki/setIdentity

Then, use setIdentity to uh, set the identity... It's the only way in Arma 2.

Added 16 minutes later:

Oh hey and just some extra stuff.

A2 doesn't have the entry "nameSound" in cfgIdentities, hence do not use that, because if you do, A2 might not recognize the description.ext pretty well.

This post was edited by Phantom_Wolf (2016-01-26 12:32, ago)

I have no signature.

Advertisement


Author Message

JH66  



Posts: 5
Rank:


Level: Member

Country: au
Location:
Occupation:
Age: 53
In-game name:

 
#3 Posted at 2016-01-26 21:25        
     
Thanks Phantom_Wolf your help is much appreciated. =)