fixes #2190 added announcer voice upon game start

Thanks to @Nyerguds for mixing this together for the RA mod!
This commit is contained in:
Matthias Mailänder
2013-03-22 22:54:45 +01:00
parent aa6f12f0a1
commit 0880c1241d
5 changed files with 6 additions and 0 deletions

View File

@@ -220,6 +220,9 @@ namespace OpenRA
orderManager.LastTickTime = Environment.TickCount;
orderManager.StartGame();
worldRenderer.RefreshPalette();
if (!isShellmap)
Sound.PlayNotification(null, "Speech", "StartGame", orderManager.world.LocalPlayer.Country.Race);
}
public static bool IsHost

View File

@@ -12,6 +12,7 @@ Speech:
BaseAttack: baseatk1
HarvesterAttack:
Leave: batlcon1
StartGame:
UnitReady: unitredy
NoBuild: nobuild1
Training: bldging1

View File

@@ -19,6 +19,7 @@ Speech:
BaseAttack: ATACK
HarvesterAttack: HATTK
Leave: ABORT
StartGame:
UnitReady: UNRDY
NoRoom: NROOM
Training: TRAIN

BIN
mods/ra/bits/bctrinit.aud Normal file

Binary file not shown.

View File

@@ -12,6 +12,7 @@ Speech:
BaseAttack: baseatk1
HarvesterAttack:
Leave: bct1
StartGame: bctrinit
UnitReady: unitrdy1
NoBuild: nobuild1
Training: train1