- Round 1 now properly indicates the Modem destination.

- ACME Bugnet Alert has usable functionality.
This commit is contained in:
2026-05-24 11:44:08 -04:00
parent 644f5f9671
commit 78f1a7a2e3
36 changed files with 1486 additions and 256 deletions
+125 -70
View File
@@ -44,7 +44,7 @@ MonoBehaviour:
Data:
- Name:
Entry: 12
Data: 31
Data: 32
- Name:
Entry: 7
Data:
@@ -1645,16 +1645,71 @@ MonoBehaviour:
Data:
- Name: $k
Entry: 1
Data: _FinalRoundContinent
Data: _Round2Destination
- Name: $v
Entry: 7
Data: 108|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
- Name: <Name>k__BackingField
Entry: 1
Data: _Round2Destination
- Name: <UserType>k__BackingField
Entry: 9
Data: 88
- Name: <SystemType>k__BackingField
Entry: 9
Data: 88
- Name: <SyncMode>k__BackingField
Entry: 7
Data: System.Nullable`1[[UdonSharp.UdonSyncMode, UdonSharp.Runtime]], mscorlib
- Name:
Entry: 3
Data: 1
- Name:
Entry: 8
Data:
- Name: <IsSerialized>k__BackingField
Entry: 5
Data: false
- Name: _fieldAttributes
Entry: 7
Data: 109|System.Collections.Generic.List`1[[System.Attribute, mscorlib]],
mscorlib
- Name:
Entry: 12
Data: 1
- Name:
Entry: 7
Data: 110|UdonSharp.UdonSyncedAttribute, UdonSharp.Runtime
- Name:
Entry: 8
Data:
- Name:
Entry: 13
Data:
- Name:
Entry: 8
Data:
- Name:
Entry: 8
Data:
- Name:
Entry: 8
Data:
- Name:
Entry: 7
Data:
- Name: $k
Entry: 1
Data: _FinalRoundContinent
- Name: $v
Entry: 7
Data: 111|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
- Name: <Name>k__BackingField
Entry: 1
Data: _FinalRoundContinent
- Name: <UserType>k__BackingField
Entry: 7
Data: 109|System.RuntimeType, mscorlib
Data: 112|System.RuntimeType, mscorlib
- Name:
Entry: 1
Data: ContinentMap, Assembly-CSharp
@@ -1678,14 +1733,14 @@ MonoBehaviour:
Data: false
- Name: _fieldAttributes
Entry: 7
Data: 110|System.Collections.Generic.List`1[[System.Attribute, mscorlib]],
Data: 113|System.Collections.Generic.List`1[[System.Attribute, mscorlib]],
mscorlib
- Name:
Entry: 12
Data: 1
- Name:
Entry: 7
Data: 111|UdonSharp.UdonSyncedAttribute, UdonSharp.Runtime
Data: 114|UdonSharp.UdonSyncedAttribute, UdonSharp.Runtime
- Name:
Entry: 8
Data:
@@ -1709,13 +1764,13 @@ MonoBehaviour:
Data: _CurrentWinningPlayers
- Name: $v
Entry: 7
Data: 112|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
Data: 115|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
- Name: <Name>k__BackingField
Entry: 1
Data: _CurrentWinningPlayers
- Name: <UserType>k__BackingField
Entry: 7
Data: 113|System.RuntimeType, mscorlib
Data: 116|System.RuntimeType, mscorlib
- Name:
Entry: 1
Data: System.String[], mscorlib
@@ -1724,7 +1779,7 @@ MonoBehaviour:
Data:
- Name: <SystemType>k__BackingField
Entry: 9
Data: 113
Data: 116
- Name: <SyncMode>k__BackingField
Entry: 7
Data: System.Nullable`1[[UdonSharp.UdonSyncMode, UdonSharp.Runtime]], mscorlib
@@ -1739,14 +1794,14 @@ MonoBehaviour:
Data: false
- Name: _fieldAttributes
Entry: 7
Data: 114|System.Collections.Generic.List`1[[System.Attribute, mscorlib]],
Data: 117|System.Collections.Generic.List`1[[System.Attribute, mscorlib]],
mscorlib
- Name:
Entry: 12
Data: 1
- Name:
Entry: 7
Data: 115|UdonSharp.UdonSyncedAttribute, UdonSharp.Runtime
Data: 118|UdonSharp.UdonSyncedAttribute, UdonSharp.Runtime
- Name:
Entry: 8
Data:
@@ -1768,73 +1823,18 @@ MonoBehaviour:
- Name: $k
Entry: 1
Data: _CaseFileDictionary
- Name: $v
Entry: 7
Data: 116|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
- Name: <Name>k__BackingField
Entry: 1
Data: _CaseFileDictionary
- Name: <UserType>k__BackingField
Entry: 7
Data: 117|System.RuntimeType, mscorlib
- Name:
Entry: 1
Data: VRC.SDK3.Data.DataDictionary, VRCSDK3
- Name:
Entry: 8
Data:
- Name: <SystemType>k__BackingField
Entry: 9
Data: 117
- 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: false
- Name: _fieldAttributes
Entry: 7
Data: 118|System.Collections.Generic.List`1[[System.Attribute, mscorlib]],
mscorlib
- Name:
Entry: 12
Data: 0
- Name:
Entry: 13
Data:
- Name:
Entry: 8
Data:
- Name:
Entry: 8
Data:
- Name:
Entry: 8
Data:
- Name:
Entry: 7
Data:
- Name: $k
Entry: 1
Data: _LootImageDownloader
- Name: $v
Entry: 7
Data: 119|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
- Name: <Name>k__BackingField
Entry: 1
Data: _LootImageDownloader
Data: _CaseFileDictionary
- Name: <UserType>k__BackingField
Entry: 7
Data: 120|System.RuntimeType, mscorlib
- Name:
Entry: 1
Data: VRC.SDK3.Image.VRCImageDownloader, VRCSDK3
Data: VRC.SDK3.Data.DataDictionary, VRCSDK3
- Name:
Entry: 8
Data:
@@ -1877,19 +1877,19 @@ MonoBehaviour:
Data:
- Name: $k
Entry: 1
Data: _LootImageTexture
Data: _LootImageDownloader
- Name: $v
Entry: 7
Data: 122|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
- Name: <Name>k__BackingField
Entry: 1
Data: _LootImageTexture
Data: _LootImageDownloader
- Name: <UserType>k__BackingField
Entry: 7
Data: 123|System.RuntimeType, mscorlib
- Name:
Entry: 1
Data: UnityEngine.Texture2D, UnityEngine.CoreModule
Data: VRC.SDK3.Image.VRCImageDownloader, VRCSDK3
- Name:
Entry: 8
Data:
@@ -1927,6 +1927,61 @@ MonoBehaviour:
- Name:
Entry: 8
Data:
- Name:
Entry: 7
Data:
- Name: $k
Entry: 1
Data: _LootImageTexture
- Name: $v
Entry: 7
Data: 125|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
- Name: <Name>k__BackingField
Entry: 1
Data: _LootImageTexture
- Name: <UserType>k__BackingField
Entry: 7
Data: 126|System.RuntimeType, mscorlib
- Name:
Entry: 1
Data: UnityEngine.Texture2D, UnityEngine.CoreModule
- Name:
Entry: 8
Data:
- Name: <SystemType>k__BackingField
Entry: 9
Data: 126
- 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: false
- Name: _fieldAttributes
Entry: 7
Data: 127|System.Collections.Generic.List`1[[System.Attribute, mscorlib]],
mscorlib
- Name:
Entry: 12
Data: 0
- Name:
Entry: 13
Data:
- Name:
Entry: 8
Data:
- Name:
Entry: 8
Data:
- Name:
Entry: 8
Data:
- Name:
Entry: 13
Data:
+26 -11
View File
@@ -64,6 +64,7 @@ public class CaseManager : UdonSharpBehaviour
[UdonSynced] private string _StolenLoot = "";
[UdonSynced] private AccusedCrook _AccusedCrook = AccusedCrook.INDEX_MAX;
[UdonSynced] private string _Round2Destination = "";
[UdonSynced] private ContinentMap _FinalRoundContinent = ContinentMap.INDEX_MAX;
[UdonSynced] private string[] _CurrentWinningPlayers = new string[0];
@@ -172,15 +173,14 @@ public class CaseManager : UdonSharpBehaviour
_StolenLoot = _CaseFileDictionary["Stolen Loot"].String;
_AccusedCrook = (AccusedCrook)(int)_CaseFileDictionary["Accused Crook"].Number;
if (_CaseFileDictionary.ContainsKey("Intro Video"))
{
_CaseIntroVideo = (int)_CaseFileDictionary["Intro Video"].Number;
}
_CaseIntroVideo =
_CaseFileDictionary.ContainsKey("Intro Video")
? (int)_CaseFileDictionary["Intro Video"].Number
: -1;
if (_CaseFileDictionary.ContainsKey("Intro Video Transcript"))
{
_CaseIntroVideoTranscript = _CaseFileDictionary["Intro Video Transcript"].String;
}
_CaseIntroVideoTranscript = _CaseFileDictionary.ContainsKey("Intro Video Transcript")
? _CaseFileDictionary["Intro Video Transcript"].String
: "";
if (_CaseFileDictionary.ContainsKey("Round 1") && _CaseFileDictionary.ContainsKey("Round 2") && _CaseFileDictionary.ContainsKey("Round 3"))
{
@@ -197,7 +197,15 @@ public class CaseManager : UdonSharpBehaviour
// Attempt to load Round 2 data
if (_CaseFileDictionary["Round 2"].TokenType == TokenType.DataDictionary)
{
_Round2Manager.LoadQuestionData(_CaseFileDictionary["Round 2"]);
DataToken Round2Dictionary = _CaseFileDictionary["Round 2"];
_Round2Manager.LoadQuestionData(Round2Dictionary);
// Get the Round 2 destination so we can reference it in Round 1
_Round2Destination =
Round2Dictionary.DataDictionary.ContainsKey("Location")
? Round2Dictionary.DataDictionary["Location"].String
: "";
}
else
{
@@ -207,10 +215,12 @@ public class CaseManager : UdonSharpBehaviour
// Attempt to load Round 3 data
if (_CaseFileDictionary["Round 3"].TokenType == TokenType.DataDictionary)
{
_Round3Manager.LoadQuestionData(_CaseFileDictionary["Round 3"]);
DataToken Round3Dictionary = _CaseFileDictionary["Round 3"];
_Round3Manager.LoadQuestionData(Round3Dictionary);
// Get the final round continent so we can reference it in Round 2
_FinalRoundContinent = (ContinentMap)(int)_CaseFileDictionary["Round 3"].DataDictionary["Continent"].Number;
_FinalRoundContinent = (ContinentMap)(int)Round3Dictionary.DataDictionary["Continent"].Number;
}
else
{
@@ -419,6 +429,11 @@ public class CaseManager : UdonSharpBehaviour
return _CaseFileClueImages[ImageIndex];
}
public string GetRound2Destination()
{
return _Round2Destination;
}
public ContinentMap GetFinalRoundContinent()
{
return _FinalRoundContinent;
@@ -44,7 +44,7 @@ MonoBehaviour:
Data:
- Name:
Entry: 12
Data: 38
Data: 39
- Name:
Entry: 7
Data:
@@ -1957,19 +1957,19 @@ MonoBehaviour:
Data:
- Name: $k
Entry: 1
Data: _Modem
Data: _ACMEBugnetAlert
- Name: $v
Entry: 7
Data: 124|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
- Name: <Name>k__BackingField
Entry: 1
Data: _Modem
Data: _ACMEBugnetAlert
- Name: <UserType>k__BackingField
Entry: 7
Data: 125|System.RuntimeType, mscorlib
- Name:
Entry: 1
Data: Modem, Assembly-CSharp
Data: ACMEBugnetAlert, Assembly-CSharp
- Name:
Entry: 8
Data:
@@ -2018,25 +2018,25 @@ MonoBehaviour:
Data:
- Name: $k
Entry: 1
Data: _ArrivalDisplays
Data: _Modem
- Name: $v
Entry: 7
Data: 128|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
- Name: <Name>k__BackingField
Entry: 1
Data: _ArrivalDisplays
Data: _Modem
- Name: <UserType>k__BackingField
Entry: 7
Data: 129|System.RuntimeType, mscorlib
- Name:
Entry: 1
Data: ArrivalDisplay[], Assembly-CSharp
Data: Modem, Assembly-CSharp
- Name:
Entry: 8
Data:
- Name: <SystemType>k__BackingField
Entry: 9
Data: 98
Data: 4
- Name: <SyncMode>k__BackingField
Entry: 7
Data: System.Nullable`1[[UdonSharp.UdonSyncMode, UdonSharp.Runtime]], mscorlib
@@ -2079,16 +2079,77 @@ MonoBehaviour:
Data:
- Name: $k
Entry: 1
Data: _LightningRoundEffects
Data: _ArrivalDisplays
- Name: $v
Entry: 7
Data: 132|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
- Name: <Name>k__BackingField
Entry: 1
Data: _LightningRoundEffects
Data: _ArrivalDisplays
- Name: <UserType>k__BackingField
Entry: 7
Data: 133|System.RuntimeType, mscorlib
- Name:
Entry: 1
Data: ArrivalDisplay[], Assembly-CSharp
- Name:
Entry: 8
Data:
- Name: <SystemType>k__BackingField
Entry: 9
Data: 98
- 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: 134|System.Collections.Generic.List`1[[System.Attribute, mscorlib]],
mscorlib
- Name:
Entry: 12
Data: 1
- Name:
Entry: 7
Data: 135|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: 7
Data:
- Name: $k
Entry: 1
Data: _LightningRoundEffects
- Name: $v
Entry: 7
Data: 136|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
- Name: <Name>k__BackingField
Entry: 1
Data: _LightningRoundEffects
- Name: <UserType>k__BackingField
Entry: 7
Data: 137|System.RuntimeType, mscorlib
- Name:
Entry: 1
Data: LightningRoundEffectsController, Assembly-CSharp
@@ -2112,14 +2173,14 @@ MonoBehaviour:
Data: true
- Name: _fieldAttributes
Entry: 7
Data: 134|System.Collections.Generic.List`1[[System.Attribute, mscorlib]],
Data: 138|System.Collections.Generic.List`1[[System.Attribute, mscorlib]],
mscorlib
- Name:
Entry: 12
Data: 3
- Name:
Entry: 7
Data: 135|UnityEngine.SpaceAttribute, UnityEngine.CoreModule
Data: 139|UnityEngine.SpaceAttribute, UnityEngine.CoreModule
- Name: height
Entry: 4
Data: 8
@@ -2128,74 +2189,13 @@ MonoBehaviour:
Data:
- Name:
Entry: 7
Data: 136|UnityEngine.HeaderAttribute, UnityEngine.CoreModule
Data: 140|UnityEngine.HeaderAttribute, UnityEngine.CoreModule
- Name: header
Entry: 1
Data: Effects
- Name:
Entry: 8
Data:
- Name:
Entry: 7
Data: 137|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: 7
Data:
- Name: $k
Entry: 1
Data: _TheChaseAnimator
- Name: $v
Entry: 7
Data: 138|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
- Name: <Name>k__BackingField
Entry: 1
Data: _TheChaseAnimator
- Name: <UserType>k__BackingField
Entry: 7
Data: 139|System.RuntimeType, mscorlib
- Name:
Entry: 1
Data: UnityEngine.Animator, UnityEngine.AnimationModule
- Name:
Entry: 8
Data:
- Name: <SystemType>k__BackingField
Entry: 9
Data: 139
- 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: 140|System.Collections.Generic.List`1[[System.Attribute, mscorlib]],
mscorlib
- Name:
Entry: 12
Data: 1
- Name:
Entry: 7
Data: 141|UnityEngine.SerializeField, UnityEngine.CoreModule
@@ -2219,16 +2219,77 @@ MonoBehaviour:
Data:
- Name: $k
Entry: 1
Data: _CameraControllerRound1
Data: _TheChaseAnimator
- Name: $v
Entry: 7
Data: 142|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
- Name: <Name>k__BackingField
Entry: 1
Data: _CameraControllerRound1
Data: _TheChaseAnimator
- Name: <UserType>k__BackingField
Entry: 7
Data: 143|System.RuntimeType, mscorlib
- Name:
Entry: 1
Data: UnityEngine.Animator, UnityEngine.AnimationModule
- Name:
Entry: 8
Data:
- Name: <SystemType>k__BackingField
Entry: 9
Data: 143
- 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: 144|System.Collections.Generic.List`1[[System.Attribute, mscorlib]],
mscorlib
- Name:
Entry: 12
Data: 1
- Name:
Entry: 7
Data: 145|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: 7
Data:
- Name: $k
Entry: 1
Data: _CameraControllerRound1
- Name: $v
Entry: 7
Data: 146|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
- Name: <Name>k__BackingField
Entry: 1
Data: _CameraControllerRound1
- Name: <UserType>k__BackingField
Entry: 7
Data: 147|System.RuntimeType, mscorlib
- Name:
Entry: 1
Data: CameraControllerRound1, Assembly-CSharp
@@ -2252,7 +2313,7 @@ MonoBehaviour:
Data: false
- Name: _fieldAttributes
Entry: 7
Data: 144|System.Collections.Generic.List`1[[System.Attribute, mscorlib]],
Data: 148|System.Collections.Generic.List`1[[System.Attribute, mscorlib]],
mscorlib
- Name:
Entry: 12
@@ -2277,13 +2338,13 @@ MonoBehaviour:
Data: _VideoPlayerTimer
- Name: $v
Entry: 7
Data: 145|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
Data: 149|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
- Name: <Name>k__BackingField
Entry: 1
Data: _VideoPlayerTimer
- Name: <UserType>k__BackingField
Entry: 7
Data: 146|System.RuntimeType, mscorlib
Data: 150|System.RuntimeType, mscorlib
- Name:
Entry: 1
Data: System.Single, mscorlib
@@ -2292,7 +2353,7 @@ MonoBehaviour:
Data:
- Name: <SystemType>k__BackingField
Entry: 9
Data: 146
Data: 150
- Name: <SyncMode>k__BackingField
Entry: 7
Data: System.Nullable`1[[UdonSharp.UdonSyncMode, UdonSharp.Runtime]], mscorlib
@@ -2307,7 +2368,7 @@ MonoBehaviour:
Data: false
- Name: _fieldAttributes
Entry: 7
Data: 147|System.Collections.Generic.List`1[[System.Attribute, mscorlib]],
Data: 151|System.Collections.Generic.List`1[[System.Attribute, mscorlib]],
mscorlib
- Name:
Entry: 12
@@ -52,6 +52,7 @@ public class GameManagerRound1 : GameManagerBase
[SerializeField] private VideoMusicClueSkateboard _VideoMusicClueSkateboard;
[SerializeField] private DetectiveNoirEffect _DetectiveNoirEffect;
[SerializeField] private FilingCabinet _FilingCabinet;
[SerializeField] private ACMEBugnetAlert _ACMEBugnetAlert;
[SerializeField] private Modem _Modem;
[SerializeField] private ArrivalDisplay[] _ArrivalDisplays;
@@ -150,6 +151,7 @@ public class GameManagerRound1 : GameManagerBase
Networking.SetOwner(NewOwner, _VideoMusicClueSkateboard.gameObject);
Networking.SetOwner(NewOwner, _DetectiveNoirEffect.gameObject);
Networking.SetOwner(NewOwner, _FilingCabinet.gameObject);
Networking.SetOwner(NewOwner, _ACMEBugnetAlert.gameObject);
Networking.SetOwner(NewOwner, _Modem.gameObject);
foreach (ArrivalDisplay Display in _ArrivalDisplays)
@@ -1500,7 +1502,7 @@ public class GameManagerRound1 : GameManagerBase
HostCardBetweenRoundsInterface Interface =
(HostCardBetweenRoundsInterface)GetHostCardInterface(RoundSegmentType.BetweenSegments);
Interface.HeaderUI.text = "Round is over.";
Interface.CommentUI.text = "Everybody enter the Modem";
Interface.CommentUI.text = "Everybody enter the Modem; We're heading to " + _CaseManager.GetRound2Destination();
_AudioManager.SendCustomNetworkEvent(NetworkEventTarget.All,
"PlayMusicLoop", MusicEventType.CapitalLoop);