Difference between revisions of "ScenarioMetadataWML"
From The Battle for Wesnoth Wiki
(Created page with '{{SoC2011}} =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 [http:/…') |
m (link/heading cleanup) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
{{SoC2011}} | {{SoC2011}} | ||
− | =Important note= | + | ==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 [ | + | '''This is not a page containing description of currently working or even sure to be implemented WML features.''' This is a page containing [[User:Zaroth|Zaroth]]'s rough sketch of planned WML changes (full proposal can be found [[Zaroth_Multiplayer_Improvements|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= | + | ==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. | 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 == | + | === 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. | * '''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. |
Latest revision as of 04:23, 3 May 2023
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.