Day (something) of Quarantine and they are already making a city in Roblox.
Jokes aside, this is really cool. I assume you used another programming language to get data from Google Earth .com?
Day (something) of Quarantine and they are already making a city in Roblox.
Jokes aside, this is really cool. I assume you used another programming language to get data from Google Earth .com?
It is OSM. You can see the steps to extracting the data in the post!
Am I doing something wrong
Looks like you didn’t properly define the variable RoadGenerator.
(RoadGenerator = require(module))
Where abouts? I have little experience with Lua haha.
When you have the module in your game, you have to assign it to a variable. Let’s call this variable “RoadGenerator”
Here is how you assign the module to a variable: RoadGenerator = require(Path.To.Module)
Then you can call generateRoads() on the variable (RoadGenerator.generateRoads())
This is actually really cool and will be useful for realistic city builds for roleplaying games…
Great work man! Im actually highly impressed.
It seems to be broken for me. I can’t get it to run.
Did you require the module with require()?
my bad, just read the error.
What is the error it is encountering? Is there any error above that error you screenshotted?
This is really helpful, especially if you are working on a city roleplay game, it’s going to make replicating cities a lot easier!
Did you ever manage to finish it? Looks super interesting from the picture you provided!
I can’t do it, I need help. I tried to paste something, removed it then replaced, but not working. Video isn’t showing properly. I need help with it. I tried everything but isn’t working! I only have doubt about to generate roads.
Did you follow his tutorial? Do you have any errors?
This seems great! It’s like the thing on Jailbreak where you can see all the characters as cubes in the map on the floor(if you don’t know what I’m talking about it’s fine), thanks for creating this!
I followed his tutorial, it said nil something as plugin and something like that.
You haven’t defined the module. What I see from the output:
Script 'RoadGenerator.generateRoads()', Line 1
It tells “Line 1”, which clearly means that you did not define the module at all.
@MrSprinkleToes has answered this already:
You need to define the variable road generator. Before running that command, run “RoadGenerator = require(workspace.RoadGenerator)” (or wherever you have the RoadGenerator module)
whoops, didn’t see the reply prior to mine!
Oh okay, thank you I’ll try it after.
That’s not how you require a module.
Paste this in line 1, assuming the module is located in ReplicatedStorage.
local RoadGenerator = require(game:GetService("ReplicatedStorage").RoadGenerator)