Infinite Terrain Plugin

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

2 Likes

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

Thanks for sharing, it’s a great plugin, it’s really great

did some tomfoolery with the script and made it server side while not infinite it might be a lot more practical

1 Like

Hey y’all, I am new to this and i am currently facing problems in the infinite terrain plugin, apparently the buttons in the plugin called setup and others does not seem to work. The local script isn’t generating in replicated first. Please help !

Make sure you give the plugin permission to inject scripts this can be enabled in the plugin manager

1 Like

Is there a way to use this in a (normal) script (I’m talking about the place)

1 Like

Yes you just make a script that uses the terraindata module to generate terrain

1 Like