- Started work on proper lighting for the sets.
- Did a bit more work on the ACME Crimenet Computer.
This commit is contained in:
@@ -44,7 +44,7 @@ MonoBehaviour:
|
||||
Data:
|
||||
- Name:
|
||||
Entry: 12
|
||||
Data: 20
|
||||
Data: 21
|
||||
- Name:
|
||||
Entry: 7
|
||||
Data:
|
||||
@@ -1197,6 +1197,84 @@ MonoBehaviour:
|
||||
- Name:
|
||||
Entry: 8
|
||||
Data:
|
||||
- Name:
|
||||
Entry: 7
|
||||
Data:
|
||||
- Name: $k
|
||||
Entry: 1
|
||||
Data: _VideoMusicClueNoteCard
|
||||
- Name: $v
|
||||
Entry: 7
|
||||
Data: 74|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
|
||||
- Name: <Name>k__BackingField
|
||||
Entry: 1
|
||||
Data: _VideoMusicClueNoteCard
|
||||
- Name: <UserType>k__BackingField
|
||||
Entry: 7
|
||||
Data: 75|System.RuntimeType, mscorlib
|
||||
- Name:
|
||||
Entry: 1
|
||||
Data: VideoMusicClueNoteCard, Assembly-CSharp
|
||||
- Name:
|
||||
Entry: 8
|
||||
Data:
|
||||
- Name: <SystemType>k__BackingField
|
||||
Entry: 9
|
||||
Data: 4
|
||||
- Name: <SyncMode>k__BackingField
|
||||
Entry: 7
|
||||
Data: System.Nullable`1[[UdonSharp.UdonSyncMode, UdonSharp.Runtime]], mscorlib
|
||||
- Name:
|
||||
Entry: 6
|
||||
Data:
|
||||
- Name:
|
||||
Entry: 8
|
||||
Data:
|
||||
- Name: <IsSerialized>k__BackingField
|
||||
Entry: 5
|
||||
Data: true
|
||||
- Name: _fieldAttributes
|
||||
Entry: 7
|
||||
Data: 76|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib
|
||||
- Name:
|
||||
Entry: 12
|
||||
Data: 3
|
||||
- Name:
|
||||
Entry: 7
|
||||
Data: 77|UnityEngine.SpaceAttribute, UnityEngine.CoreModule
|
||||
- Name: height
|
||||
Entry: 4
|
||||
Data: 8
|
||||
- Name:
|
||||
Entry: 8
|
||||
Data:
|
||||
- Name:
|
||||
Entry: 7
|
||||
Data: 78|UnityEngine.HeaderAttribute, UnityEngine.CoreModule
|
||||
- Name: header
|
||||
Entry: 1
|
||||
Data: Video Music Clue
|
||||
- Name:
|
||||
Entry: 8
|
||||
Data:
|
||||
- Name:
|
||||
Entry: 7
|
||||
Data: 79|UnityEngine.SerializeField, UnityEngine.CoreModule
|
||||
- Name:
|
||||
Entry: 8
|
||||
Data:
|
||||
- Name:
|
||||
Entry: 13
|
||||
Data:
|
||||
- Name:
|
||||
Entry: 8
|
||||
Data:
|
||||
- Name:
|
||||
Entry: 8
|
||||
Data:
|
||||
- Name:
|
||||
Entry: 8
|
||||
Data:
|
||||
- Name:
|
||||
Entry: 13
|
||||
Data:
|
||||
|
||||
@@ -43,6 +43,9 @@ public class GameManagerRound1 : GameManagerBase
|
||||
|
||||
[SerializeField] private PlayerPodium[] _PlayerPodiums;
|
||||
|
||||
[Space, Header("Video Music Clue")]
|
||||
[SerializeField] private VideoMusicClueNoteCard _VideoMusicClueNoteCard;
|
||||
|
||||
|
||||
public override void InitialiseGameMode()
|
||||
{
|
||||
@@ -59,10 +62,18 @@ public class GameManagerRound1 : GameManagerBase
|
||||
|
||||
_PlayerBuzzInAllowed = new bool[_PlayerPodiums.Length];
|
||||
|
||||
_AudioManager.SendCustomNetworkEvent(NetworkEventTarget.All, "PlayMusic", MusicEventType.WhereInTheWorld);
|
||||
SendCustomEventDelayedSeconds(nameof(PlaySecondPartOfThemeMusic), 3.6666666666f);
|
||||
|
||||
RequestSerialization();
|
||||
base.InitialiseGameMode();
|
||||
}
|
||||
|
||||
public void PlaySecondPartOfThemeMusic()
|
||||
{
|
||||
_AudioManager.SendCustomNetworkEvent(NetworkEventTarget.All, "PlayMusicLoop", MusicEventType.OpeningLoop);
|
||||
}
|
||||
|
||||
|
||||
public override void LoadQuestionData(DataToken Data)
|
||||
{
|
||||
@@ -87,7 +98,7 @@ public class GameManagerRound1 : GameManagerBase
|
||||
return;
|
||||
}
|
||||
|
||||
Interface.HeaderUI.text = "Case has been loaded. ";
|
||||
Interface.HeaderUI.text = "Case has been loaded.";
|
||||
|
||||
_GameHasBegun = false;
|
||||
EnableInteraction("Start Game");
|
||||
@@ -96,6 +107,8 @@ public class GameManagerRound1 : GameManagerBase
|
||||
|
||||
private void PlayIntroVideo()
|
||||
{
|
||||
_AudioManager.SendCustomNetworkEvent(NetworkEventTarget.All, "FadeOutMusic");
|
||||
|
||||
HostCardBetweenRoundsInterface Interface =
|
||||
(HostCardBetweenRoundsInterface)GetHostCardInterface(RoundSegmentType.BetweenSegments);
|
||||
Interface.HeaderUI.text = "Playing intro video...";
|
||||
@@ -210,6 +223,8 @@ public class GameManagerRound1 : GameManagerBase
|
||||
}
|
||||
else
|
||||
{
|
||||
_VideoMusicClueNoteCard.gameObject.SetActive(false);
|
||||
|
||||
MultipleChoiceRevealQuestion();
|
||||
}
|
||||
}
|
||||
@@ -217,7 +232,23 @@ public class GameManagerRound1 : GameManagerBase
|
||||
private void InitialiseVideoMusicClue(DataDictionary Presentation)
|
||||
{
|
||||
// The full presentation is not ready yet, so temporarily treat it as
|
||||
// a regular video clue.
|
||||
// a regular video clue with some additions.
|
||||
|
||||
if (Presentation.ContainsKey("Video Artist") && Presentation.ContainsKey("Clue Description"))
|
||||
{
|
||||
_VideoMusicClueNoteCard.Header.text = Presentation["Video Artist"].String;
|
||||
_VideoMusicClueNoteCard.Comment.text = Presentation["Clue Description"].String;
|
||||
}
|
||||
else
|
||||
{
|
||||
_VideoMusicClueNoteCard.Header.text = "Error Reading Data";
|
||||
_VideoMusicClueNoteCard.Comment.text = "just wing it i guess idk";
|
||||
}
|
||||
|
||||
_VideoMusicClueNoteCard.transform.localPosition = Vector3.zero;
|
||||
_VideoMusicClueNoteCard.transform.localRotation = Quaternion.identity;
|
||||
_VideoMusicClueNoteCard.gameObject.SetActive(true);
|
||||
|
||||
InitialiseVideoClue(Presentation);
|
||||
}
|
||||
|
||||
|
||||
@@ -314,6 +314,12 @@ public class GameManagerRound2 : GameManagerBase
|
||||
"RevealPanel", Panel);
|
||||
}
|
||||
|
||||
|
||||
public void TEMPORARY_Button_PlayPattyLarcenyJailCallAfrica()
|
||||
{
|
||||
_AudioManager.PlayJailCall(AccusedCrook.PattyLarceny, ContinentMap.Africa);
|
||||
}
|
||||
|
||||
public void Button_RevealPanel1() { Button_RevealPanel(1); }
|
||||
public void Button_RevealPanel2() { Button_RevealPanel(2); }
|
||||
public void Button_RevealPanel3() { Button_RevealPanel(3); }
|
||||
|
||||
Reference in New Issue
Block a user