From The Battle for Wesnoth Wiki
Revision as of 18:15, 24 June 2010 by Anonymissimus (talk | contribs)

Often, it seems, the hardest thing for a new campaign developer to accomplish is getting his campaign to work. He creates all of the necessary files, types everything up, and when he tries to run it, an obscure error appears, stopping him from even entering his first scenario. Such errors are often difficult to debug, leaving the aspiring coder with nothing but frustration.

Because of this, an often-recommended approach is to take another campaign, already written, and use it as a code base to build your own. This tutorial takes that approach, providing a simple campaign that can be (relatively) easily altered to fit your needs.

The following links will guide you through the different sections of the tutorial. To get started, select the first link (First Campaign), and follow the instructions

  1. First Campaign
  2. First Scenario
  3. First Custom Unit


The following is a list of all the files used by this tutorial:

  • A Simple Campaign - a working skeleton campaign that can be built into a real campaign

Note that these files are tested with BfW 1.7.10, they don't work with 1.6.x, but are supposed to work with BfW 1.8.x


Feedback on this developing tutorial is much appreciated. You can offer your recommendations on the forum post dedicated to this tutorial and its corresponding skeleton campaign. Thank you for helping to improve this!