Opened 2 years ago

Last modified 2 years ago

#6471 new defect

Custom defined scenario map options are ignored when starting from the command line.

Reported by: Stan Owned by:
Priority: Should Have Milestone: Backlog
Component: Core engine Keywords: regression
Cc: Patch:

Description (last modified by Langbart)

to reproduce

  • Start the Scenario Editor
  • Tick Reveal map and Capture the relic save the scenario map.
    • Alternatively, you can download the attached files demo_6471_2p.pmp and demo_6471_2p.xml and place them in your scenario folder.
  • Everything works correctly when starting the map from the GUI game setup within the 0 A.D. app.
  • BUT starting the map from the command line ignores custom defined map options, instead of a revealed map it falls back to the default map exploration settings. The same goes for the victory condition, see image below it would list Conquest rather than Capture the relic.

bisect

[26584]

reproducible

For A24b, A25b and up to [26583], a scenario started with a revealed map from the command line would show the whole map but would also disregard defined VictoryConditions. Adding -autostart-victory=capture_the_relic is possible, but this option does not exist for revealed maps.

possible solution

The approach would be to read the defined scenario settings and apply them when starting a scenario map from the command line or add an autostart command to make a revealed map.

related ticket

#6521 (26/Apr/22)

Attachments (4)

rP26584.jpg (419.8 KB ) - added by Langbart 2 years ago.
rP26583.jpg (436.1 KB ) - added by Langbart 2 years ago.
demo_6471_2p.xml (82.5 KB ) - added by Langbart 2 years ago.
demo_6471_2p.pmp (160.7 KB ) - added by Langbart 2 years ago.

Download all attachments as: .zip

Change History (9)

comment:1 by Freagarach, 2 years ago

It isn't broken when starting a match from the gamesetup, so you mean it doesn't work with scenarios?

comment:2 by Freagarach, 2 years ago

Milestone: Alpha 26Backlog

comment:3 by Langbart, 2 years ago

Description: modified (diff)

bisecting

comment:4 by Langbart, 2 years ago

Description: modified (diff)
Summary: Reveal Map map option is broken.Custom defined scenario map options are ignored when starting from the command line.

by Langbart, 2 years ago

Attachment: rP26584.jpg added

by Langbart, 2 years ago

Attachment: rP26583.jpg added

by Langbart, 2 years ago

Attachment: demo_6471_2p.xml added

by Langbart, 2 years ago

Attachment: demo_6471_2p.pmp added

comment:5 by Langbart, 2 years ago

Description: modified (diff)

Clarification and link to a related ticket

Note: See TracTickets for help on using tickets.