Leaving battlefield area voices are switched Imp<->Reb

Post everything from general questions, to modding questions, to map WIPs to releases. (SWBF1 only)

Moderator: Moderators

Post Reply
User avatar
Rends
Sith
Sith
Posts: 1278
Joined: Fri Oct 15, 2004 6:34 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Germany
Contact:

Leaving battlefield area voices are switched Imp<->Reb

Post by Rends »

When playing Rebels and i leave the battlefiield area i got the voice from the Imperials and if i play rebels i got the voice from the Rebels.
Now i need to know how to switch them back.
Saturn_V
Emperor's Hand
Posts: 487
Joined: Sun Dec 26, 2004 12:11 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

RE: Leaving battlefield area voices are switched Imp<->

Post by Saturn_V »

Check your lua file. I assume you created the map with BFBuilder.

At the start, the comment says "Empire attcking, Attacker =1" but in the declarations the Alliance is set to 1. So the Alliance are the attacking team.

Now look down the file, near the bottom are a whole load of sound declarations, including this:

SetOutOfBoundsVoiceOver(2, "Allleaving");
SetOutOfBoundsVoiceOver(1, "Impleaving");

So it sets team 1 to have the Imperial voice. Swap the 1 and 2 over and the team voices should be correct.

Regards,
Saturn5
User avatar
Rends
Sith
Sith
Posts: 1278
Joined: Fri Oct 15, 2004 6:34 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Germany
Contact:

RE: Leaving battlefield area voices are switched Imp<->

Post by Rends »

Thanks, i found it out myself after checking the LUA file. Man so many thing you have to keep an eye of...
Anyway, thanks again.

Rends
User avatar
Rends
Sith
Sith
Posts: 1278
Joined: Fri Oct 15, 2004 6:34 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Germany
Contact:

RE: Leaving battlefield area voices are switched Imp<->

Post by Rends »

By default i leave the ATT and DEfs untouched (i used them from the template)

If i change the ATT and DEFS this results in swap fractions also on the map (spawnpoints)
Then i changed the SetOutOfBoundsVoiceOver entries and all is fine now.
Post Reply