- ACME Crimenet Computer can now show messages that only the host can see.

- Added a doorway between the spawn room and the control room.
- Video load indicators set to a hidden position by default.
- Renamed "Assorted Textures" folder to "Assorted"; they're not textures.
- Removed superfluous debug statements from CaseVideoSyncPlayer.
This commit is contained in:
2025-12-13 17:06:59 -05:00
parent d7dc38e58a
commit e4178f8b76
41 changed files with 2431 additions and 482 deletions
@@ -236,9 +236,7 @@ public class CaseVideoSyncPlayer : UdonSharpBehaviour
{
if (FlashCorrectAnswer)
{
Debug.Log("[CaseVideoSyncPlayer] Flashing correct answer.");
SubMapIndex = (SubMapIndex == 4) ? 3 : 4;
Debug.Log("[CaseVideoSyncPlayer] New submap is " + SubMapIndex);
_UpdateMap(false);
SendCustomEventDelayedSeconds(nameof(NextCorrectAnswerFrame), 0.2f);
}
@@ -254,12 +252,9 @@ public class CaseVideoSyncPlayer : UdonSharpBehaviour
private void _UpdateMap(bool Sync = true)
{
Debug.Log("[CaseVideoSyncPlayer] Now inside _UpdateMap()");
int MapPage = SubMapIndex / IMAGES_PER_MAP_ATLAS;
Debug.Log("[CaseVideoSyncPlayer] Map page: " + MapPage);
if (MapPage < _MapImages.Length)
{
Debug.Log("[CaseVideoSyncPlayer] Updating submap.");
_UpdateSubMap(MapPage);
ShowScreen = ClueScreenType.Map;
}
@@ -271,9 +266,7 @@ public class CaseVideoSyncPlayer : UdonSharpBehaviour
}
private void _UpdateSubMap(int MapPage = -1)
{
Debug.Log("[CaseVideoSyncPlayer] Now inside _UpdateSubMap()");
int SubmapIndexWrapped = SubMapIndex % IMAGES_PER_MAP_ATLAS;
Debug.Log("[CaseVideoSyncPlayer] Wrapped submap index: " + SubmapIndexWrapped);
switch (SubmapIndexWrapped)
{
case 0: _MapScreenMaterial.SetVector("_MainTex_ST", new Vector4(0.5f, 0.33333333f, 0.0f, 0.66666666f)); break;