Improved camera interactions in round 1.
This commit is contained in:
@@ -332,7 +332,7 @@ public class GameManagerRound1 : GameManagerBase
|
||||
|
||||
_QuestionSubstage++;
|
||||
|
||||
EnableInteraction("Play Video");
|
||||
SendCustomEventDelayedSeconds(nameof(_InitialiseVideoMusicClue_EnableInteraction_Private), 3.0f);
|
||||
} break;
|
||||
case 1:
|
||||
{
|
||||
@@ -367,6 +367,12 @@ public class GameManagerRound1 : GameManagerBase
|
||||
|
||||
RequestSerialization();
|
||||
}
|
||||
public void _InitialiseVideoMusicClue_EnableInteraction_Private()
|
||||
{
|
||||
_CameraControllerRound1.DisableAllSwitchers();
|
||||
_CameraControllerRound1.SwitchToHostCamera();
|
||||
EnableInteraction("Play Video");
|
||||
}
|
||||
|
||||
private void InitialiseACMECrimenetComputer(DataDictionary Presentation)
|
||||
{
|
||||
@@ -624,9 +630,7 @@ public class GameManagerRound1 : GameManagerBase
|
||||
_AudioManager.SendCustomNetworkEvent(NetworkEventTarget.All,
|
||||
"PlaySFXAtPitch", SFXEventType.Ding, AudioManager.D6);
|
||||
|
||||
_CameraControllerRound1.DisableAllSwitchers();
|
||||
_CameraControllerRound1.SwitchToVideoPlayerCamera();
|
||||
_CameraControllerRound1.SendCustomEventDelayedSeconds("ActivateHostAllPlayersCameraSwitcher", 2.0f);
|
||||
_CameraControllerRound1.ActivateMapToHostAllPlayersCameraSwitcher();
|
||||
|
||||
EnableInteraction("Get Player 1's Response");
|
||||
}
|
||||
@@ -700,6 +704,12 @@ public class GameManagerRound1 : GameManagerBase
|
||||
_PlayerPodiums[i].SendCustomNetworkEvent(NetworkEventTarget.Owner, "ShowAuxiliaryMapScreen", true);
|
||||
}
|
||||
|
||||
_CameraControllerRound1.ActivateMapToHostAllPlayersCameraSwitcher();
|
||||
|
||||
SendCustomEventDelayedSeconds(nameof(_MultipleChoiceRevealAnswer_Private), 0.333333333333f);
|
||||
}
|
||||
public void _MultipleChoiceRevealAnswer_Private()
|
||||
{
|
||||
HostCardMultipleChoiceInterface Interface =
|
||||
(HostCardMultipleChoiceInterface)GetHostCardInterface(RoundSegmentType.MultipleChoice);
|
||||
|
||||
@@ -725,19 +735,15 @@ public class GameManagerRound1 : GameManagerBase
|
||||
|
||||
_VideoPlayer.FlashCorrectAnswer = true;
|
||||
|
||||
_CameraControllerRound1.DisableAllSwitchers();
|
||||
_CameraControllerRound1.SwitchToVideoPlayerCamera();
|
||||
|
||||
EnableInteraction("Next Question");
|
||||
}
|
||||
|
||||
|
||||
private void BeginLightningRound()
|
||||
{
|
||||
_CameraControllerRound1.DisableAllSwitchers();
|
||||
_CameraControllerRound1.SwitchToWideShotCamera();
|
||||
_CameraControllerRound1.ActivateLightningStartToHostAllPlayersCameraSwitcher();
|
||||
|
||||
SendCustomNetworkEvent(NetworkEventTarget.All, nameof(PlayLightningRoundAnimation));
|
||||
_CameraControllerRound1.SendCustomEventDelayedSeconds("ActivateHostAllPlayersCameraSwitcher", 3.0f);
|
||||
|
||||
HostCardLightningRoundInterface Interface =
|
||||
(HostCardLightningRoundInterface)GetHostCardInterface(RoundSegmentType.LightningRound);
|
||||
@@ -825,17 +831,13 @@ public class GameManagerRound1 : GameManagerBase
|
||||
_QuestionSubstage++;
|
||||
AdvanceQuestion();
|
||||
|
||||
_CameraControllerRound1.SendCustomEventDelayedSeconds(
|
||||
"SwitchToAllPlayersCamera", 1.0f);
|
||||
_CameraControllerRound1.SendCustomEventDelayedSeconds(
|
||||
"ActivateHostAllPlayersCameraSwitcher", 4.0f);
|
||||
_CameraControllerRound1.ActivateLightningCorrectAnswerToHostAllPlayersCameraSwitcher();
|
||||
}
|
||||
else
|
||||
{
|
||||
WaitForBuzzInsWithoutLastPlayer();
|
||||
|
||||
_CameraControllerRound1.SendCustomEventDelayedSeconds(
|
||||
"ActivateHostAllPlayersCameraSwitcher", 1.0f);
|
||||
_CameraControllerRound1.ActivateLightningIncorrectAnswerToHostAllPlayersCameraSwitcher();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -863,8 +865,7 @@ public class GameManagerRound1 : GameManagerBase
|
||||
WaitForBuzzInsWithoutLastPlayer();
|
||||
}
|
||||
|
||||
_CameraControllerRound1.SendCustomEventDelayedSeconds(
|
||||
"ActivateHostAllPlayersCameraSwitcher", 1.0f);
|
||||
_CameraControllerRound1.ActivateLightningIncorrectAnswerToHostAllPlayersCameraSwitcher();
|
||||
}
|
||||
|
||||
|
||||
@@ -880,8 +881,6 @@ public class GameManagerRound1 : GameManagerBase
|
||||
Interface.ChoiceUI[i].text = "";
|
||||
}
|
||||
|
||||
EnableBuzzers();
|
||||
|
||||
EnableInteraction("Play The Music");
|
||||
}
|
||||
|
||||
@@ -889,7 +888,7 @@ public class GameManagerRound1 : GameManagerBase
|
||||
{
|
||||
_CameraControllerRound1.DisableAllSwitchers();
|
||||
_CameraControllerRound1.SwitchToWideShotCamera();
|
||||
_CameraControllerRound1.SendCustomEventDelayedSeconds("ActivateHostAllPlayersCameraSwitcher", 5.0f);
|
||||
SendCustomEventDelayedSeconds(nameof(_PlayTheChaseMusic_EnableInteraction_Private), 5.0f);
|
||||
|
||||
HostCardBetweenRoundsInterface Interface =
|
||||
(HostCardBetweenRoundsInterface)GetHostCardInterface(RoundSegmentType.BetweenSegments);
|
||||
@@ -899,6 +898,10 @@ public class GameManagerRound1 : GameManagerBase
|
||||
|
||||
Interface.HeaderUI.text = RoundSegmentTypeToString(RoundSegmentType.TheChase);
|
||||
Interface.CommentUI.text = "All of these questions are worth 5 Acme Crimebucks. Hands on your buzzers, watch the monitor, listen carefully. Here we go.";
|
||||
}
|
||||
public void _PlayTheChaseMusic_EnableInteraction_Private()
|
||||
{
|
||||
_CameraControllerRound1.ActivateHostAllPlayersCameraSwitcher();
|
||||
|
||||
EnableBuzzers();
|
||||
|
||||
@@ -942,7 +945,7 @@ public class GameManagerRound1 : GameManagerBase
|
||||
Interface.ChoiceButtons[i].interactable = true;
|
||||
}
|
||||
|
||||
SendCustomEventDelayedSeconds(nameof(DisplayNextChaseMap), 1.25f);
|
||||
SendCustomEventDelayedSeconds(nameof(DisplayNextChaseMap), 1.0f);
|
||||
|
||||
EnableBuzzInPeriodForAllPlayers();
|
||||
}
|
||||
@@ -986,9 +989,6 @@ public class GameManagerRound1 : GameManagerBase
|
||||
_CameraControllerRound1.DisableAllSwitchers();
|
||||
_CameraControllerRound1.SwitchToVideoPlayerCamera();
|
||||
|
||||
_AudioManager.SendCustomNetworkEvent(NetworkEventTarget.All,
|
||||
"PlaySFXAtPitch", SFXEventType.Ding, AudioManager.D6);
|
||||
|
||||
HostCardTheChaseInterface Interface =
|
||||
(HostCardTheChaseInterface)GetHostCardInterface(RoundSegmentType.TheChase);
|
||||
|
||||
@@ -1000,12 +1000,18 @@ public class GameManagerRound1 : GameManagerBase
|
||||
|
||||
EndBuzzInPeriod();
|
||||
|
||||
_VideoPlayer.SubMapIndex++;
|
||||
|
||||
_QuestionSubstage++;
|
||||
|
||||
SendCustomEventDelayedSeconds(nameof(_TheChaseEndClue_AdvanceMap_Private), 0.3333333333333f);
|
||||
|
||||
AdvanceQuestion();
|
||||
}
|
||||
public void _TheChaseEndClue_AdvanceMap_Private()
|
||||
{
|
||||
_VideoPlayer.SubMapIndex++;
|
||||
_AudioManager.SendCustomNetworkEvent(NetworkEventTarget.All,
|
||||
"PlaySFXAtPitch", SFXEventType.Ding, AudioManager.D6);
|
||||
}
|
||||
|
||||
|
||||
private void IntroduceFinalRound()
|
||||
@@ -1059,13 +1065,7 @@ public class GameManagerRound1 : GameManagerBase
|
||||
"PlayMusic", MusicEventType.ThinkAboutIt);
|
||||
SendCustomEventDelayedSeconds(nameof(ThinkAboutItCountdownFinished), 15.0f);
|
||||
|
||||
_CameraControllerRound1.DisableAllSwitchers();
|
||||
_CameraControllerRound1.SendCustomEventDelayedSeconds("SwitchToVideoPlayerCamera", 2.0f);
|
||||
_CameraControllerRound1.SendCustomEventDelayedSeconds("SwitchToPlayer1Camera", 4.5f);
|
||||
_CameraControllerRound1.SendCustomEventDelayedSeconds("SwitchToPlayer2Camera", 7.0f);
|
||||
_CameraControllerRound1.SendCustomEventDelayedSeconds("SwitchToPlayer3Camera", 9.5f);
|
||||
_CameraControllerRound1.SendCustomEventDelayedSeconds("SwitchToVideoPlayerCamera", 12.0f);
|
||||
_CameraControllerRound1.SendCustomEventDelayedSeconds("ActivateHostAllPlayersCameraSwitcher", 14.5f);
|
||||
_CameraControllerRound1.ActivateThinkAboutItCameraSwitcher();
|
||||
}
|
||||
public void ThinkAboutItCountdownFinished()
|
||||
{
|
||||
@@ -1183,9 +1183,7 @@ public class GameManagerRound1 : GameManagerBase
|
||||
_AudioManager.SendCustomNetworkEvent(NetworkEventTarget.All,
|
||||
"PlaySFXAtPitch", SFXEventType.Ding, AudioManager.D6);
|
||||
|
||||
_CameraControllerRound1.DisableAllSwitchers();
|
||||
_CameraControllerRound1.SwitchToVideoPlayerCamera();
|
||||
_CameraControllerRound1.SendCustomEventDelayedSeconds("ActivateHostAllPlayersCameraSwitcher", 2.0f);
|
||||
_CameraControllerRound1.ActivateMapToHostAllPlayersCameraSwitcher();
|
||||
|
||||
EnableInteraction("Lock Answers");
|
||||
}
|
||||
@@ -1283,9 +1281,7 @@ public class GameManagerRound1 : GameManagerBase
|
||||
EnableInteraction("Reveal Next Player Answer");
|
||||
}
|
||||
|
||||
_CameraControllerRound1.DisableAllSwitchers();
|
||||
_CameraControllerRound1.SendCustomEventDelayedSeconds("SwitchToAllPlayersCamera", 1.5f);
|
||||
_CameraControllerRound1.SendCustomEventDelayedSeconds("ActivateHostAllPlayersCameraSwitcher", 4.0f);
|
||||
_CameraControllerRound1.ActivateLightningCorrectAnswerToHostAllPlayersCameraSwitcher();
|
||||
}
|
||||
|
||||
private bool FinalRoundCheckNeedForTiebreaker()
|
||||
|
||||
Reference in New Issue
Block a user