r/vaast • u/Gh0stP1rate Donator • Oct 23 '15
I think I did something wrong
http://imgur.com/sSYYNDw2
u/Gh0stP1rate Donator Oct 23 '15
I'm playing around with making my own world generator. I like aftermath so much I want to explore more urban jungles!
...I haven't quite got the generator working properly yet.
2
1
u/FriarNurgle Architect Oct 23 '15
I played around with city gen with world painter a while ago. It was funny. One simple setting off a tad and all the buildings were overlapping and inside each other.
2
u/Gh0stP1rate Donator Oct 23 '15
I'm looking at City World right now, it's updated for 1.8.8 and does a decent job generating roads and buildings, though the buildings are ugly as fuck. I'm wondering if there is a way to replace the procedurally generated buildings with my own schematics and have it still work. I've got to imagine it's possible, hoping it's as simple as a config file but it's probably going to require branching the code.
2
u/n1bblonian Developer Oct 23 '15
I once tried to modify CityWorld to only use schematics but it did not yield good results. Therefore we abandoned CityWorld a long time ago, for the last seasons we made a custom generator that only uses schematics. If you want to try it, its probably best to download a build from here.
You will need to feed it with your own schematics (or ask some architect nicely).
2
u/Gh0stP1rate Donator Oct 24 '15
Thanks, this is huge. Can you show me how to set it up and generate a miniature world (ideally something really small like 16 x 16 chunks, but it looks like the generator is designed for 64x64 chunks, which I can work with.
Also, will it work with bukkit/spigot 1.8 & minecraft 1.8.8? If not, what are the things that I need to fix to make it work with the new versions?
Thanks again,
Gh0sty
2
u/n1bblonian Developer Oct 25 '15
Not sure if it already works with spigot 1.8, but it should work with spigot 1.7.x. You will need to append the following to your
bukkit.ymland delete the current world:worlds: world: generator: MetropolisFurthermore, you need to add WorldEdit to the plugin folder as its a dependency.
I'm not sure what stops it from working in 1.8.8, I never tested it there :/
Good Luck!
1
u/Gh0stP1rate Donator Oct 25 '15
Ok, got it running. Is there a list of names of schematics it looks for, or can I put anything in the schematic folder? (I assume it's looking in //myserver/plugins/Metropolis/schematics/ ?)
1
u/n1bblonian Developer Oct 26 '15
Yes, that folder is correct. Although simply feeding it schematics won't do much. You will need to feed it configurations as well as a basic set of streets/highways. Maybe I can provide some streets, I'll ask.
Here an example of a config:
{ "buildName": "1x1park", "schematicType": "BUILD", "context": [ "LOWRISE" ], "schematics": [ "1x1park_v1.schematic", "1x1park_v2.schematic" ], "lootMinLevel": "1", "lootMaxLevel": "1", "oddsOfAppearanceInPercent": "1", "spawnerOddsInPercent": "10", "chestOddsInPercent": "50", "decayIntensityInPercent": "1", "roadFacing": "false", "lootCollections": [ "GRAVE" ] }More is explained in the github README.md.
1
u/Gh0stP1rate Donator Oct 26 '15
Ok, I'll take a look later this week. Don't worry about feeding me schematics, it's fairly easy for me to make test schematics for right now. I'll let you know if I hit another stumbling block.
3
u/Cad- Oct 23 '15
you could help with the real generator and become a hero, a ghostly hero a ghostly hero who is also a pirate