Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implements Perlin noise based map generation and jungle generation #3683

Merged
merged 21 commits into from Feb 17, 2021

Conversation

Sovexe
Copy link
Contributor

@Sovexe Sovexe commented Feb 11, 2021

About the PR

Ports tgstation/tgstation#51082 with author's permission.

the generation basically works like this: We have 3 layers of perlin noise (a form of noise that seamlessly transitions between 0 to 1) on top of each other, the first is height, if its above 0.85 it'll be rock, if it's lower, it'll use heat and humidity, the other 2 layers, to pick a biome from a 3x3 selection.

examples:
https://streamable.com/o895v9
image

old examples:
https://streamable.com/ypluyn
https://streamable.com/z51b3h

This could seriously benefit from additional objects and turfs. I picked from what we have best I could.

Why's this needed?

  • It's cool

@boring-cyborg boring-cyborg bot added the C-Sprites Automatically applied on any .dmi or icons folder change label Feb 11, 2021
@keywordlabeler keywordlabeler bot added the C-Feature A new feature or enhancements to existing features label Feb 11, 2021
@Sovexe Sovexe requested a review from ZeWaka February 11, 2021 04:54
code/area.dm Outdated Show resolved Hide resolved
code/datums/mapgen/_MapGenerator.dm Outdated Show resolved Hide resolved
code/datums/mapgen/biomes/_biome.dm Outdated Show resolved Hide resolved
code/datums/mapgen/_MapGenerator.dm Outdated Show resolved Hide resolved
code/datums/mapgen/_MapGenerator.dm Outdated Show resolved Hide resolved
@Sovexe
Copy link
Contributor Author

Sovexe commented Feb 12, 2021

made the water nicer
image

@Sovexe Sovexe added the C-Experimental Involves changes that are a WIP and will require testing, feedback, and additional modification. label Feb 12, 2021
@Sovexe
Copy link
Contributor Author

Sovexe commented Feb 17, 2021

Merging this as it is for now since it's usable for gimmicks and early testing.

@Sovexe Sovexe merged commit 089488e into goonstation:master Feb 17, 2021
@Sovexe Sovexe deleted the terrain-gen branch February 17, 2021 03:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-Experimental Involves changes that are a WIP and will require testing, feedback, and additional modification. C-Feature A new feature or enhancements to existing features C-Sprites Automatically applied on any .dmi or icons folder change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants