Difference between revisions of "BuildingCampaignsTutorial"

From The Battle for Wesnoth Wiki
Line 1: Line 1:
 
Often, it seems, the hardest thing for a new campaign developer to accomplish is getting his campaign to work.  He types 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.
 
Often, it seems, the hardest thing for a new campaign developer to accomplish is getting his campaign to work.  He types 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 uses that approach
+
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.
  
* [[BuildingCampaignsTutorial/FirstCampaign|First Campaign]]
+
The following links refer to different sections of the tutorial.  To get started, select the first link (First Campaign), and follow the instructions
* [[BuildingCampaignsTutorial/FirstScenario|First Scenario]]
+
 
* [[BuildingCampaignsTutorial/FirstCustomUnit|First Custom Unit]]
+
# [[BuildingCampaignsTutorial/FirstCampaign|First Campaign]]
 +
# [[BuildingCampaignsTutorial/FirstScenario|First Scenario]]
 +
# [[BuildingCampaignsTutorial/FirstCustomUnit|First Custom Unit]]

Revision as of 16:27, 22 October 2008

Often, it seems, the hardest thing for a new campaign developer to accomplish is getting his campaign to work. He types 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 refer to 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