Page 1 of 1
Leaving battlefield area voices are switched Imp<->Reb
Posted: Thu Dec 30, 2004 11:52 am
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.
RE: Leaving battlefield area voices are switched Imp<->
Posted: Thu Dec 30, 2004 11:59 am
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
RE: Leaving battlefield area voices are switched Imp<->
Posted: Thu Dec 30, 2004 12:48 pm
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
RE: Leaving battlefield area voices are switched Imp<->
Posted: Thu Dec 30, 2004 5:32 pm
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.