Opened 3 years ago

Closed 3 years ago

Last modified 8 months ago

#4962 closed enhancement (fixed)

Biome specific map previews

Reported by: elexis Owned by: elexis
Priority: Nice to Have Milestone: Alpha 23
Component: Maps Keywords:
Cc: Patch:


In alpha 23 we can select the biome of a random map script, if the map supports it.

We could take one thumbnail per map depending on the biome.

To reduce the amount of work to do that, we could write a tool that locates the camera at a position optimized to catch the given map at the given mapsize with a keystroke.

If the selected map didn't specify a png filename, the gamesetup could display mapname_biome.png if it exists, otherwise display mapname.png if that exists.

Change History (7)

comment:1 by elexis, 3 years ago

Milestone: BacklogAlpha 23
Owner: set to elexis

comment:2 by elexis, 3 years ago

Resolution: fixed
Status: newclosed

In 21506:

Biome specific mappreview support and previews for Aethiopia and Gulf Of Bothnia, fixes #4962, refs #4954.

comment:3 by elexis, 3 years ago

In 21523:

Display map biome specific preview in the replay menu and loading screen too, refs #4962.

comment:4 by elexis, 2 years ago

In 21679:

Biome specific map previews for Mainland, which for some reason is still the favorite map of many lobby players, refs #4962.

comment:5 by elexis, 2 years ago

In 21859:

Fix biome-specific mappreviews in rP21679 for zipped mods, refs #4962.

Add TextureExists to avoid needless redundant hardcoding of the filenames.
Remove mapBiome.Preview from gamedescription.js, obsolete following rP21506.

Differential Revision:
Accepted By: Vladislav

comment:6 by elexis, 2 years ago

In 21861:

Add back incorrectly removed clause from rP21859 that was needed for the lobby, refs #4962 / D1583.

comment:7 by elexis, 8 months ago

In 23392:

Landscape and Daytime gamesetup options for the Unknown, Danubius and Polar Sea, refs #4838.

Allow gamesetup options other than biome to determine the map peview image, refs #4962, rP21523.
Add previews for the 12 Unknown, 2 Danubius and 2 Polar Sea variations.
Concludes deduplication of the Unknown (rP12545), Unknown Land (rP12654) and Unknown Nomad (rP12747), refs #4317.

Differential Revision:

Note: See TracTickets for help on using tickets.