Infinite Terrain Plugin

This happens because when you walk far away Roblox terrain will forget the terrain data and will only work again if it receives the terrain data again

What you need to do is configure the plugin to unload the terrain at the distance that the terrain is unloaded so that when you get close to it again it gets generated again

Look inside the configuration instance to set the distance terrain unloads

1 Like

I wondered, does loading models with the terrain affect the perfomance of the terrain loading? I was thinking about this, and I think it would make sense to give first priority to generating the terrain and maybe some “priority models”, and then, once a minimum amounts of chunks around the camera are loaded, then load models.

I am asking cause i was playing around with the script with the humanid set to a high walkSpeed and it does get quite cpu extensive to generate at a high rate.

Edit: I did some testing and it seems the models are loaded before the terrain, and it does indeed affect the performance of how fast the terrain is loaded a great deal. Without any models the terrain loads a lot faster and so you are able to move at a greater speed.

1 Like

I am planning on having enemies spawn randomly throughout the terrain.

How could I go about doing this considering that everything generated by this plugin is client sided?

You have a few options

  1. generate terrain on the server side where npcs will spawn

  2. give clients network ownership of the NPCs

  3. make each client generate the npcs locally and sync them manually

1 Like

hey so im using this plugin and when i use it there are holes in the ground, how do i fix this
Screenshot 2024-02-04 202704

Make sure you have a material that covers all areas of terrain

@5uphi I wondering if this supports Cave generation?

No it does not generate caves…

1 Like

Took me very long to understand how to combine multiple noises to make the terrain look actually good, but when you do learn how to use it, it’s wonderful!

I tried to get to the far lands. Farthest I got was 499499968, 100, 0 before terrain generation gave up.

Cool plugin. It would be really awesome if it supported cave generation.

So I wanna make a round based generation. How exactly would I randomize the terrain data each “round” can i just change the values in the “TerrainData” module while the game is running?

No this wont work without modifying the localscript because old loaded chunks wont change

Thank you so much for this, this tool is amazing and fun to play around with!

Sorry if this is silly, but how could I save the settings? Every time I reopen the file the plugin settings are all cleared, and I can’t figure out what Save/Load does… The plugin has script injection enabled

Select TerrainData and press load

1 Like