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

Overmap areas and city generation implementation #413

Merged
merged 71 commits into from
Oct 12, 2024

Conversation

snipercup
Copy link
Collaborator

Requires #412

Having maps use a neighbor_key didn't work out because there is too little control over what spawns where. Instead, I added a new data type called overmaparea. This allows you to select some maps that should spawn in this area some distance from the center. This allows us to create an urban area in the center, the suburban area in the middle and fields in the edges. I started off with a perfect circle for every city, but I added noise to break the shape somewhat.

The spawning on the overmap is still basic and the tacticalmaps get in the way. I removed the neighbor keys from the maps since they are replaced by the overmaparea structure.

@snipercup snipercup added the enhancement New feature or request label Oct 11, 2024
@snipercup snipercup merged commit 27a1b71 into Khaligufzel:main Oct 12, 2024
@snipercup snipercup deleted the overmapareas branch October 12, 2024 19:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant