RoadGenerator - A real-world road generator!

Still error, I replaced as you said.

Here’s what you do. Go to your command line, and type “RoadGenerator = require(game:GetService(“ReplicatedStorage”).RoadGenerator)”

Then press enter. After that, type “RoadGenerator.generateRoads()” and hit enter.

Error still.

Undo all the changes you made to RoadData and try again

I tried, but still not working.

Undo all the changes you have made to RoadData (besides the actual data). RoadData doesn’t require the RoadGenerator module.

I always thought about maybe making my city I live in for fun and this just sealed the deal. This will save me so much time… so amazing!

1 Like

What I should do it? I don’t understand, may you show?

Baseplate.rbxl (22.3 KB)

ok so in the command bar first type

RoadGenerator = require(game:GetService("ReplicatedStorage").RoadGenerator)

then type

 RoadGenerator.generateRoads()

Baseplate.rbxl (22.5 KB)

I still can’t, may you do it please? I’m confused, here is a Studio.

There isn’t an error above it.

It still don’t work and just fails.

Did you put in your Road Data correctly?

Where road data? I downloaded it correctly.

When I exceed limit of roads I need to pay, which I hate it.

Looks cool. Ill try it i think it will help me a lot with my future game. Thank you!

Hey, really cool plug in.

My only problem that changing the size multiplier and road width values doesn’t actually change anything when I generate the roads.
Also, after generating a new road then changing the road data, it generates the previous road which is only solvable by reloading into studio.

If I do manage to change my road width to 30 studs, which is what the road plug in lane width is, what is the recommended multiplier size to fit the ratio so each block is more accurate to irl?

Thanks.

robloxapp-20200520-1439404.wmv (3.3 MB)

Script of Road Data.

local module = {RoadGenerator = require(game:GetService("ReplicatedStorage").RoadGenerator)}

I have correctly script.

You can try finding another service, that was just the easiest/best one I could find.

Where?

Earlier it worked bit and now don’t work again.