Opened 13 years ago

Closed 11 years ago

Last modified 11 years ago

#889 closed enhancement (fixed)

[ATLAS] Map save / load rework

Reported by: brian Owned by: historic_bruno
Priority: Must Have Milestone: Alpha 15
Component: Atlas editor Keywords:
Cc: Patch:

Description (last modified by historic_bruno)

We need to make the map saving/loading more mod friendly (per Philip's request). This means Atlas presents maps as files within mods, not arbitrary paths on the user's system. File extensions should be abstracted away, overwriting existing files should be handled nicely, etc.

Part of #1943.

Change History (9)

comment:1 by brian, 13 years ago

Description: modified (diff)

comment:2 by Kieran P, 13 years ago

Milestone: Alpha 7Backlog

comment:3 by ben, 13 years ago

(In [10416]) Fixes Atlas map saving to force PMP extension on all OSes. See #889. Fixes Atlas map loading to more gracefully handle missing files. Atlas should no longer crash if a map was not found in VFS. Fixes #986.

comment:4 by historic_bruno, 12 years ago

Summary: Map save / load rework[ATLAS] Map save / load rework

comment:5 by historic_bruno, 11 years ago

Description: modified (diff)
Type: defectenhancement

comment:6 by historic_bruno, 11 years ago

Duplicated by #631.

comment:7 by historic_bruno, 11 years ago

Owner: set to historic_bruno
Status: newassigned

comment:8 by ben, 11 years ago

Resolution: fixed
Status: assignedclosed

In 13938:

Implements skirmish maps, based on patch by sanderd17, fixes #1198. Skirmish maps are like scenarios, except the player can choose their civ during match setup. To create a skirmish map: place some skirmish entities for each player in Atlas (see templates/skirmish/* for examples), uncheck the player's civ in Atlas' player panel if desired, and save in the maps/skirmishes directory. The map will appear in match setup under the "Skirmish" match type.
Implements custom, VFS-based map load/save dialogs for Atlas (replaces broken native file dialogs), fixes #631, #889.
Fixes map loading/saving to handle arbitrary subdirectories for better organization.
Adds default settings to Atlas player panel, fixes #1872. Each setting now has a checkbox to choose whether it should be saved with the map (avoids writing lots of useless default data for each map).
Adds map preview setting to Atlas, refs #1745.
Cleans up and simplifies some duplicate code.
Fixes optional serialization performance test.

comment:9 by historic_bruno, 11 years ago

Milestone: BacklogAlpha 15
Note: See TracTickets for help on using tickets.