BuildingScenarios

From The Battle for Wesnoth Wiki
Revision as of 16:49, 17 September 2005 by Scott (talk | contribs) (Index)

Wesnoth scenarios are the individual levels within the game. Each scenario contains two files. First is the map itself, this is described in BuildingMaps. The second is the config file. This configuration file is used to describe everything about the scenario. Both of the files are ascii and can be edited in any standard text editor (vi, notepad, etc.) If you decide to use a wordprocessor, please make sure you remember to Save As text.

Scenarios are written in the Wesnoth Markup Language. This is a very simple language to learn. The WML language is described in ReferenceWML. The WML syntax is described in SyntaxWML. Wesnoth has a preprocessor that allows designers to reorganize information into a more convenient structure. The WML preprocessor is described in PreprocessorRef.

This document is split into several sections, starting with a basic tutorial and moving into more complex techniques. From the information contained within this document you should have all the knowledge to create Wesnoth scenarios. If you see any mistakes or missing information, please feel free to fix the pages yourself, add a comment to the comment page, or email me jzaun at campus dot hpu dot edu.

Index

See Also