- 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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user