Skip to content

Improve load map dialog by adding dropdown to swap between modded or vanilla maps #347

@elluminance

Description

@elluminance

Currently, the map editor when having a mod loaded only shows maps from that mod unless one has the "Include vanilla maps" option selected. However, one clear downside to that option is that the load map dialog makes zero distinction between a modded and a vanilla map. Along with that, there's no way to enable the display of vanilla maps while having a mod loaded without restarting the map editor.

To rectify all of the above issues, I propose the addition of a dropdown menu in the load map dialog which will allow one to switch between displaying modded maps and vanilla maps. A mockup is displayed below.

Image

The dropdown would contain the options of "Vanilla maps" (or just "Vanilla" if preferred) as well as, for example, "Mod Name" to switch between displaying maps just from vanilla or from a loaded mod (by default, it likely should display maps from the loaded mod instead as that is the default behavior of the map editor currently.)

The reason I propose a dropdown rather than, say, a checkbox to toggle displaying vanilla maps is that this offers much greater expandability. For example, if support was added for loading maps from extensions (such as the postgame) it could be done by adding more options to the dropdown, though adding support for extensions goes beyond the scope of this issue.

I would also propose that with the addition of this dropdown, the option to "include vanilla maps" in the settings menu likely should be removed, as it would be obsolete by the addition of a dropdown to swap between modded/vanilla maps on the fly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions