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.LastTickTime = Environment.TickCount;
orderManager.StartGame(); orderManager.StartGame();
worldRenderer.RefreshPalette(); worldRenderer.RefreshPalette();
if (!isShellmap)
Sound.PlayNotification(null, "Speech", "StartGame", orderManager.world.LocalPlayer.Country.Race);
} }
public static bool IsHost public static bool IsHost

View File

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

View File

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

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

Binary file not shown.

View File

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