The Battle for Wesnoth has a built-in map editor, which supports features such as multiple open maps and random map generation.
WML Using any standard text editor, new campaigns can be created using what is known as Wesnoth Markup Language (WML).