You are viewing a potentially older version of this package. View all versions.
Snosz-TerrainRandomiser-0.2.4 icon

TerrainRandomiser

Randomise terrain generation with a seed for near infinite choices.

By Snosz
Date uploaded 9 months ago
Version 0.2.4
Download link Snosz-TerrainRandomiser-0.2.4.zip
Downloads 10220
Dependency string Snosz-TerrainRandomiser-0.2.4

This mod requires the following mods to function

BepInEx-BepInExPack_PEAK-5.4.2403 icon
BepInEx-BepInExPack_PEAK

BepInEx pack for PEAK. Preconfigured and ready to use.

Preferred version: 5.4.2403
Snosz-PhotonCustomPropsUtils-1.1.0 icon
Snosz-PhotonCustomPropsUtils

Helps modders easily synchronize room/player properties across all connected clients through Photon's Custom Properties.

Preferred version: 1.1.0

README

Terrain Randomiser

Randomise terrain generation for the level of the day with a seed for near infinite choices.

All players are required to have this mod installed for it to work

Warning

  1. This is a 0.2 release and I make no promises that you will have a smooth gameplay experience, however from player feedback and testing, the mod appears to be in a mostly stable state.
  2. Due to regenerating the terrain completely, this mod will have an impact on loading times. On my pc this takes around 14 seconds from hitting the Start button.
  3. The generation will desync for anyone who is using a mod that uses UnityEngine.Random (such as generation mods), the odds of this occuring can be reduced if all players have the same mods.

How To Use

  1. When inside the Airport, opening the Airport Kiosk will show an input field for a seed.
  2. The seed takes a number input, you can also use the dice button to generate a random seed.
  3. To disable the custom generation, just toggle the enabled checkbox.

Current Issues

  1. Mods that require calling UnityEngine.Random during terrain generation can cause a desync unless that call happens for all players (all players should have the same mods, and not 100% guaranteed to fix the issue).

Showcase of different seeds:

terrainrandomiser terrainrandomiser

Help

If you experience an issue with this mod, the best way to reach me is through the Terrain Randomiser thread on the Peak modding discord server https://discord.gg/SAw86z24rB

Credit

Dice icon created by Mike Zuidgeest - Flaticon

CHANGELOG

Changelog

[1.1.7]

  • Fixed bug preventing settings from saving if Enable Randomiser was disabled.
  • Fixed bug preventing settings from syncing to all players if Enable Randomiser was disabled.

[1.1.6]

  • Compatible with version 1.61.a.

[1.1.5]

  • Compatible with Play It Your Way update.

[1.1.4]

  • Fixed bug that would cause desync in multiplayer for clients with high ping/low-end pcs.

[1.1.3]

  • Fixed bug that prevented starting new runs after choosing random options.

[1.1.2]

  • Added config option to disable lightmap baking.

[1.1.1]

  • Fixed bug resulting in all Lookers being enabled.

[1.1.0]

  • Added LightMap baking, rain/snow storms/voice effects/etc should now be more accurate to the generated terrain.
  • Improved generation times.
  • Joining a game mid session should now properly generate the proper terrain.
  • Fixed some spawners not generating properly (most noticeable in the Roots biome).
  • Fixed a bug where fog would not appear in some circumstances.
  • Long load times should no longer timeout the player.

[1.0.3]

  • Fixed bug that would result in terrain being randomised even if the checkbox was unchecked.
  • Deep Woods variant for Roots can now properly generate.
  • The "Random" setting will now properly save and load.
  • Snowpiles now generate properly on the ground.

[1.0.2]

  • Fixed bug that prevented manually inputting a seed number.
  • Fixed bug that prevented dropdowns from closing unless an option was chosen.

[1.0.1]

  • Fixed bug that sometimes prevented biomes from generating correctly depending on the level.
  • Fixed bug that would result in desync in multiplayer.
  • Fixed bug that would prevent UI from working when closing and re opening the boarding pass.
  • Biome tabs in the UI now display the user's selected biome for that segment.
  • Changing selected biome now updates the selected variant to be one from the new biome.

[1.0.0]

  • Added biome selection option to force a specific biome to generate
  • Added variant selection option to force a specific variant to generate.
  • New UI design

[0.2.5]

  • ROOTS compatible
  • Cactus balls no longer turn into Napberries
  • Raised the max seed value to 999,999,999

[0.2.4]

  • Mesa now properly generates based on seed.
  • Bridges have been fixed and enabled.
  • Automatic seed generator now properly sets a new seed if leaving mid game.

[0.2.3]

  • Added an automatic seed generator for players who want to immediately jump into a new seed
  • Now hides randomiser ui inputs when toggled off

[0.2.2]

  • Mesa update compatible
  • Added config option to remember shouldRandomise state

[0.2.1]

  • Fixed bug where disabling randomisation on host did not update on clients.
  • Fixed bug where seed sometimes did not update on clients before generation began.

[0.2.0]

  • Improved loading times (~5 seconds faster on my pc).
  • Fixed bug where some items were not correctly synced (shell, napberry, capybara fruit).
  • Potentially fixed bug where Caldera desyncs for host when using Peak Unlimited.
  • Fixed issue with floating shrooms and beans.

[0.1.2]

  • Seed input UI redesign.
  • Fixed bug where UI shows as pink squares when running vulkan.

[0.1.1]

  • Props spawned in volcano such as luggage should now work properly.