- Added options to rerandomise map in round 3, including a hard mode shuffle.

- Fixed newspaper and timer overlays not working correctly on disabled cameras.
- Fixed major issues with the occlusion culling.
- Aligned UVs for 10m drywall panels so that the bricks line up correctly.
This commit is contained in:
2026-03-28 05:24:35 -04:00
parent 028550ed3f
commit 3b31f4c38b
10 changed files with 1578 additions and 410 deletions
+2 -2
View File
@@ -28,7 +28,7 @@ public class FloorMap : UdonSharpBehaviour
}
public void RandomiseCountries()
public void RandomiseCountries(bool HardMode = false)
{
for (int i = 0; i < Countries.Length; i++)
{
@@ -50,7 +50,7 @@ public class FloorMap : UdonSharpBehaviour
for (int i = 0; i < MAX_SELECTED_COUNTRIES; i++)
{
int NewPulledIndex = NumberOfCountries;
while (CountryIsAlreadyInArray(NewRandomCountries, NewPulledIndex) || Countries[NewPulledIndex].HardModeSelection)
while (CountryIsAlreadyInArray(NewRandomCountries, NewPulledIndex) || (Countries[NewPulledIndex].HardModeSelection && !HardMode))
{
NewPulledIndex = Random.Range(0, NumberOfCountries);
}