fixes #2190 added announcer voice upon game start
Thanks to @Nyerguds for mixing this together for the RA mod!
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
BIN
mods/ra/bits/bctrinit.aud
Normal file
Binary file not shown.
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user