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

☂️ Game engine: Issues with mapgen #3154

Open
1 of 7 tasks
Tracked by #3157 ...
olanti-p opened this issue Sep 16, 2023 · 0 comments
Open
1 of 7 tasks
Tracked by #3157 ...

☂️ Game engine: Issues with mapgen #3154

olanti-p opened this issue Sep 16, 2023 · 0 comments
Labels
bug enhancement ☂️ umbrella tracks multiple issues at once

Comments

@olanti-p
Copy link
Contributor

olanti-p commented Sep 16, 2023

We have some issues with our current mapgen infrastructure:

  • There are convoluted rules regarding inheritance of mapgens and palettes, which makes the mapgen extremely flexible but hard to reason about
  • Mapgen is not deterministic, i.e. it's impossible to set a "seed" for the world, it's always random
  • Mapgen variations do not use ids, which makes it impossible to overwrite individual variations or even track down what variations have been used for generating particular piece of map (example issue that could've benefited from this: Odd basement generation #1365)
  • OMT boundaries impose some restrictions on placement of buildings and other large-scale objects on map
  • OM boundaries can sometimes be visible on water because river/lake worldgen does not look beyond OM borders while doing a smoothing pass - fixed by Smoother rivers connections on overmaps edges #3178
  • OMS placement could use some work
  • There is no full-featured map maker tool easily available. There are some options, but all of them can mimic only a fraction of JSON power. A lot of difficulty in developing one, as I've discovered, comes from the aforementioned convoluted mapgen rules:
    1. CDDA Hostile Architect, standalone exe
    2. CDDA extension for Tiled level editor tool
    3. BNME, fork of BN with dedicated mapmaker interface based on Dear ImGui
@scarf005 scarf005 added this to Roadmap Jan 7, 2024
@github-project-automation github-project-automation bot moved this to Todo in Roadmap Jan 7, 2024
@scarf005 scarf005 changed the title Game engine: Issues with mapgen ☂️ Game engine: Issues with mapgen Mar 22, 2024
@scarf005 scarf005 added the ☂️ umbrella tracks multiple issues at once label Mar 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug enhancement ☂️ umbrella tracks multiple issues at once
Projects
Status: Todo
Development

No branches or pull requests

2 participants