- Fixed a bug that caused the crook portrait to never update except on owner.

- Reduced polygon count of drywall meshes.
- Improved triangulation of the TV screen.
- Improved lightmaps, and reduce their size.
- Added video player to show Patty Larceny going to jail.
- Added temporary Patty In Jail tune.
- Added a new interface to the host card for these experimental features.
This commit is contained in:
2025-08-23 04:52:48 -04:00
parent 4ce42596b7
commit 359ef58a33
131 changed files with 9386 additions and 3008 deletions
@@ -272,11 +272,7 @@ public class LocationBoard : UdonSharpBehaviour
_HasBeenCheckedBefore[i] = false;
}
MeshRenderer CrookMesh;
if (CrookMesh = _LocationPanelsCrook[CrookLocation - 1].GetComponent<MeshRenderer>())
{
CrookMesh.sharedMaterial.SetTexture("_MainTex", _GameManager.GetCrookPortrait());
}
RequestSerialization();
}
public void RandomiseMaterials()
@@ -296,6 +292,7 @@ public class LocationBoard : UdonSharpBehaviour
}
SendCustomNetworkEvent(NetworkEventTarget.All, nameof(ApplyRandomMaterials), MaterialsArray);
RequestSerialization();
}
[NetworkCallable]
@@ -357,6 +354,12 @@ public class LocationBoard : UdonSharpBehaviour
_LocationPanelsCrook[Panel - 1].SetActive(true);
}
MeshRenderer CrookMesh;
if (CrookMesh = _LocationPanelsCrook[CrookLocation - 1].GetComponent<MeshRenderer>())
{
CrookMesh.sharedMaterial.SetTexture("_MainTex", _GameManager.GetCrookPortrait());
}
}