ScenarioMetadataWML

From The Battle for Wesnoth Wiki
Revision as of 04:23, 3 May 2023 by Egallager (talk | contribs) (link/heading cleanup)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This page is related to Summer of Code 2011
See the list of Summer of Code 2011 Ideas



Important note

This is not a page containing description of currently working or even sure to be implemented WML features. This is a page containing Zaroth's rough sketch of planned WML changes (full proposal can be found here). Unless you visited this page specifically for the reason of reading my draft, turn back now, there is no WML here that can be used for creating UMC (yet). You have been warned.

The [scenario_metadata] tag

Information that can be stored in this tag covers everything that [campaign] could store so far (in order to keep compatibility and make porting of existing campaigns easy), plus more.

attributes

  • show_in_mp: boolean . Since my project involves merging [multiplayer] and [scenario] tags, this tag will be needed in order to prevent unwanted scenarios cropping up massively in the scenario choice list.
  • debug_only: boolean. Display the scenario in the MP creation list only in the debug mode. Can be used for developers for putting their test maps into trunk without fear that average Joe will click on them by accident.
This page was last edited on 3 May 2023, at 04:23.