#Infinite Scripter Plugin - Finite Terrain

1 messages · Page 1 of 1 (latest)

nocturne echo
#

so after following Suphi's infinite scripter plugin and trying to make finite terrain like he explained at one point in the video, I got no results. It ran infinitely still.
I'm using the advanced preset and added the Magnitude variable, defined it in the Initialize function and everything. It yields no different results.

There's the standard code for the Data module, and I added the Magnitude things like Suphi did in the tutorial for finite terrain.

7|local Magnitude = nil
21|Magnitude = modules[instance.Functions].Magnitude

53|module.Desynchronized = function(x, z, gridX, gridZ, data)
    if Magnitude(x, z) > 1 then
        data.material = Enum.Material.Air
    else
        data.material = Enum.Material.Sand
    end
    
    if data.slope < 5 then...
        [Rest of code]

Unless I'm overlooking something, blind, or just outright dumb, i feel like it should work as intended right? No idea why it isn't.
To clarify, the part where Suphi explains finite terrain in his tutorial is at ~59:51 and even after repeating his steps I got no different results

I know a help post as my first ever thing in the server may not be a great way to enter but I'd appreciate any. Thanks

hexed cloud
#

you set Enum.Material.Air but the data.material is getting changed in [Rest of code]