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
Change: Remove land generator setting from World Generation GUI #10093
Conversation
617a054
to
320c925
Compare
If this option will be still available in the settings window, from my point of view it doesn't make much sense to keep that in a new game window as well. It seems to be used very rarely. Personally, I only used it once and only to see what it changed. Well, the old style maps aren't very interesting and playable. |
I personally think this is a great change overall, and don't think it simplifies the game for new players - rather it just simplifies the world generation UI. Plus, all it really does it removes some UI anyway; The setting is already there so this makes the most sense to just remove the redundant UI. I also agree that the old land generation should be kept around just as a feature, but it's used infrequently enough that it doesn't need to be a main part of the UI. Assumin you're referring to the |
320c925
to
b9dc81e
Compare
Updated for #10058 (including screenshot in PR description). |
Currently this has an issue that LC alluded too - the setting is now only in the config file - if you upgrade with it set to TTD-mapgen, there's no obvious way of changing it to TGP. Obvious solution would be to add it somewhere in the settings window |
b9dc81e
to
e9bd3b5
Compare
Turns out it was already in the Settings window, but the original PR commit broke strings and the dropdown. Try now. 🙂 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not caused by this change... but maybe more noticable due to this.
When you change the generator setting in the Settings window, the UI of World Generation does not get updated. So the UI will still show the TGP fields, but when clicking on Generate you get a map made with the original logic.
I'm unable to reproduce that behavior either on current master or in the Preview build of this PR. When I change the land generator setting, it is automatically changed in the world gen UI — in master the generator dropdown is updated and in both the TGP fields are disabled. Can you go into more detail about how to reproduce this? |
In the preview build I opened the World Generation window, then the Settings window and I changed the Land Generator setting in the Setting window. Then the World Generation window does not get updated, i.e. the disabled buttons are not enabled. In master the buttons do not change either, although... the drop down slowly changes as vehicles are moving behind it. Similarly, changing the Landscape from the Settings window does not (immediately?) update the World Generation window or Intro window, however changing the landscape in either the World Generation or Intro window does update the other and the setting immediately. Changing the Land generator setting does not update the disabled status of the TGP-only input fields in master for me. |
Oh, I see now. I only had one window at a time open, going back to the main menu each time. The same behavior is also true for any of the other buttons that are duplicated in both Settings and the World Generation GUI (why are they in Settings? Probably another discussion...). Can we consider having both Settings and World Generation GUIs open at once to be an edge case? 🙂 |
Motivation / Problem
In a Discord discussion about #10092, @JGRennison and @LordAro suggested removing the original map generator code entirely. I'm not willing to die on that hill, but there's no reason the setting needs to be in the already-cluttered World Generation GUI.
Description
Removes the dropdown selector from the World Generation GUI.
Players who wish to select the original land generator can do so in Settings.
Limitations
Checklist for review
Some things are not automated, and forgotten often. This list is a reminder for the reviewers.