https://wiki.wesnoth.org/api.php?action=feedcontributions&user=Kalo122&feedformat=atomThe Battle for Wesnoth Wiki - User contributions [en]2024-03-29T00:19:06ZUser contributionsMediaWiki 1.31.16https://wiki.wesnoth.org/index.php?title=BuildingCampaigns&diff=30512BuildingCampaigns2009-05-12T07:47:08Z<p>Kalo122: /* Start with Something Manageable */</p>
<hr />
<div>{| style="float:right; margin-left:1em;"<br />
|__TOC__<br />
|}<br />
<br />
This page describes how to make your own user campaign for use with Battle for Wesnoth. Please note that this document is not normative - its author is not a Wesnoth developer. I'm simply reporting on what works for me, and on what developers have prescribed elsewhere.<br />
If you see any errors, please fix them.<br />
<br />
See also [[DebuggingCampaigns]] if your scenario doesn't load.<br />
<br />
There are several steps to building a single player campaign in Wesnoth. The mechanics are covered in the sections below:<br />
<br />
* [[BuildingCampaignsDirectoryStructure]]<br />
* [[BuildingCampaignsTheCampaignFile]]<br />
* [[BuildingCampaignsThePBLFile]]<br />
* [[BuildingCampaignsDistribution]]<br />
* [[WesCamp]] (How to make your campaign translatable, and get in touch with translators)<br />
* [[UMCSandbox]] (Where you can collaborate on UMC projects)<br />
<br />
Because many aspiring campaign developers find the initial creation of a working campaign to be difficult (if not exasperating) a [[BuildingCampaignsTutorial|step-by-step tutorial]] covering the initial phase of campaign development (getting it to work) is under construction. It includes a working campaign that you can install, and then alter to fit your own needs<br />
<br />
Xer has also created a campaign skeleton which is the barebones of a campaign: [http://www.wesnoth.org/forum/download/file.php?id=24587 here]<br />
<br />
What follows is a collection of advice to aspiring campaign designers extracted from the Wesnoth fora. For a more in-depth treatment including heuristics for scenario and campaign balancing, see the [http://catb.org/~esr/wesnoth/campaign-design-howto.html Campaign Design How-To].<br />
<br />
== Start with Something Manageable ==<br />
<br />
If you set out to make an epic campaign spanning the whole history of Wesnoth, you'll likely (not necessarily, though)<br />
become bored or frustrated along the<br />
way somewhere and give up. It's much easier to start with a small story and add elements to it than it is to cut an<br />
epic down to the length of a haiku.<br />
<br />
;Shade (author of The Rise of Wesnoth) wrote<nowiki>:</nowiki><br />
: I started TRoW last April, even after it was scenario complete it was still eating all of my free time (Time not spent sleeping, at school / work, or with loved ones / friends) until mid-November... Even now there is still bugfixing and a couple of things I'd like to add... and keeping it up to date with the game engine and any new happenings on the WML front... so there is still quite a lot to keep you busy after you are done... The forums are littered with half finished epics... Before you commit to an epic think long and hard. I don't want to discourage you too much... But it is a lot of 'work' (& fun)<br />
map_data="border_size=1<br />
usage=map<br />
<br />
Gg, Ke, Gg, Gg<br />
Gg, Ce, Ce, Gg"<br />
<br />
== Story First ==<br />
<br />
What separates a campaign from a single scenario is the ability to tell a story. Consequently, what keeps people coming back for more is a good, interesting story mixed with good, interesting game play. If you have a good idea of where the story of your campaign is going when you start, the little<br />
pieces will fall into place much more easily. After all, it worked for Pixar!<br />
<br />
;Scott (author of Liberty, the outlaw campaign) wrote<nowiki>:</nowiki><br />
: Here is how I wrote Liberty.<br />
:# Write a rough story and plot<br />
:# Decide how many scenarios you want to have<br />
:# Divide the story between the scenarios so you can decide what will happen in each scenario<br />
:#* where are you?<br />
:#* who are you fighting and why?<br />
:#* what do you have to do in this scenario?<br />
:#* where does the hero want to go next?<br />
:# Decide on the "hook" for each scenario. There are a lot of different possible setups for scenarios, and if you want to avoid the boring repetition of "Kill the 2 enemy leaders" you can list interesting combinations of enemies, allies, shroud/fog, day/night effects, recruiting and terrain situations, etc. and pick a good mix to keep the combat interesting and fun. <br />
: All of this has happened without doing any WML, but now you have enough to start coding.<br />
<br />
The [http://catb.org/~esr/wesnoth/campaign-design-howto.html Campaign Design How-To] has much more to say about this storyboarding phase of the process.<br />
<br />
== Share Early ==<br />
<br />
Don't be shy to post whatever you've created for others to look at. We all had to learn too, and there are many people on the Scenario and Campaign Development forum (http://www.wesnoth.org/forum/viewforum.php?f=8) who are eager to help people learn.<br />
<br />
;Turin (author of Eastern Invasion) wrote<nowiki>:</nowiki> <br />
: I'm working on a loyalist campaign now. I already have the basic plot. I am wondering if anyone wants to playtest my completed levels (i am done with two). Thus i want to know if i should just post the new files as attachments, or what. There are two map files, two scenario files, an image file, a unit file, and you have to change the game file to access the campaign from the 'campaign menu. So tell me how i should make them accessable.<br />
<br />
== Steal Often ==<br />
<br />
There are too many quotations to pick one for this maxim. The best way to learn how to do something is to copy it from someone else's campaign. It's polite to ask first, and most Campaign designers are happy to see small bits of their WML living in other campaigns.<br />
It's generally poor form to copy whole scenarios, maps, and campaigns, though. And especially poor form to do so without permission.<br />
<br />
== Next: ==<br />
* [[BuildingCampaignsTheCampaignFile]]<br />
<br />
<br />
== See Also ==<br />
<br />
* [[Create]]<br />
* [[BuildingScenarios]]<br />
* [[Using custom themes in campaigns]]<br />
* [[ReferenceWML]]<br />
* [[UserScenarios]]<br />
* [[ExternalUtilities]]<br />
* [http://www.catb.org/~esr/wesnoth/campaign-design-howto.html Campaign Design How To]<br />
<br />
<br />
{{Create}}</div>Kalo122https://wiki.wesnoth.org/index.php?title=Create&diff=30511Create2009-05-12T07:44:38Z<p>Kalo122: /* Read this first! */</p>
<hr />
<div>{| style="float:right"<br />
|<br />
__TOC__<br />
|}<br />
<br />
Interested in creating your own scenarios and campaigns? One of Wesnoth's best features is its extensibility. Players can create new maps, units, races, scenarios, art, music, and even entire campaigns. Access to the "guts" of the game is both simple and difficult; if you have an ASCII text editor you have everything you need to build your own world. However, learning the Wesnoth Markup Language (WML) takes some effort. This section will guide you through the process of creating and distributing your own content.<br />
<br />
It should also be noted that '''we need a lot of help creating artwork for the core of the game.''' The current projects we are working on are [http://www.wesnoth.org/forum/viewtopic.php?t=2014&start=0&postdays=0&postorder=asc&highlight= listed here]. We'll happily help you out, if you take a swing at them.<br />
<br />
== Read this first! ==<br />
Before you modify or add anything, it is important to understand how the game stores and organizes its data. This article will explain the game's directory structure and introduce the ''userdata'' directory.<br />
* [[EditingWesnoth]]<br />
[animation]<br />
<animation choice related content><br />
[frame]<br />
<frame content><br />
[/frame]<br />
[frame]<br />
<frame content><br />
[/frame]<br />
start_time=<integer><br />
offset=<progressive float><br />
image_mod=<string><br />
blend_with=<r,g,b><br />
blend_ratio=<progressive float><br />
halo=<progressive_string><br />
halo_x=<progressive int><br />
halo_y=<progressive int><br />
halo_mod=<string><br />
submerge=<progressive float><br />
x=<progressive int><br />
y=<progressive int><br />
layer=<progressive int><br />
<br />
[xxx_frame]<br />
<frame content><br />
[/xxx_frame]<br />
xxx_start_time=<integer><br />
xxx_image_mod=<string><br />
xxx_offset=<progressive float><br />
xxx_blend_with=<r,g,b><br />
xxx_blend_ratio=<progressive float><br />
xxx_halo=<progressive_string><br />
xxx_halo_x=<progressive int><br />
xxx_halo_y=<progressive int><br />
xxx_halo_mod=<string><br />
xxx_submerge=<progressive float><br />
xxx_x=<progressive int><br />
xxx_y=<progressive int><br />
xxx_layer=<progressive int><br />
<br />
[/animation]<br />
<br />
== What can I create, and how? ==<br />
<br />
<div class="thumb tright"><div><br />
[http://www.wesnoth.org/images/sshots/wesnoth-1.4-4.jpg http://www.wesnoth.org/images/sshots/wesnoth-1.4-4-175.jpg]<br />
<div class="thumbcaption">Battle for Wesnoth map editor</div></div><br />
</div><br />
<br />
* [[BuildingMaps|Maps]] - the layout of terrain tiles<br />
* [[BuildingScenarios|Scenarios]] - a scenario makes things happen on a map, making it playable<br />
* [[BuildingCampaigns|Campaigns]] - how to put it all together into a campaign<br />
* [[BuildingMultiplayer|Multiplayer Maps and Scenarios]] - a specialized look at maps and scenarios<br />
* [[MultiplayerCampaigns|Multiplayer Campaigns]] - making a campaign accessible in multiplayer<br />
<br />
* [[BuildingUnits|Units]]<br />
* [[BuildingFactions|Multiplayer factions and eras]]<br />
<br />
* '''[[Create Art|Art]]''' - complete with '''tutorials!'''<br />
* [[Create Music|Music]]<br />
* [[WesnothTranslations|Translations]] - work on translating Wesnoth<br />
<br />
* [[Distributing content]] - all about the campaign server<br />
* [[Authoring tools]] - tools for helping you write campaign WML<br />
* [[Maintenance tools]] - tools for helping you sanity-check and maintain campaigns.<br />
<br />
== What have others done? ==<br />
<br />
There are a multitude of multiplayer maps and discussion of the campaigns on the [http://www.wesnoth.org/forum Wesnoth forum]<br />
* [http://www.wesnoth.org/forum/viewforum.php?f=15 Multiplayer development forum]<br />
* [http://www.wesnoth.org/forum/viewforum.php?f=8 Scenario and campaign development forum]<br />
* [[Faction|Complete faction list]]<br />
<br />
If you want to be creative without having to invent an entire new campaign, <br />
see this thread on [http://www.wesnoth.org/forum/viewtopic.php?t=17171 abandoned campaigns]. You should be able to pick one of these up and complete it with much less effort than doing an all-new one.<br />
<br />
== The world of Wesnoth ==<br />
Not all campaigns take place in Wesnoth, but many do. There is definitely a certain flavor to campaigns that are intended to take place somewhere in the world of Wesnoth. Stake out a time period or a map locale and tell a story.<br />
* [[History of Wesnoth|The history of Wesnoth]]<br />
* [[Geography of Wesnoth|The geography of Wesnoth]]<br />
* [[Races|The races of creatures in Wesnoth]]<br />
* [[Poetry of Wesnoth|Wesnothian poetry]]<br />
* [[Fan fiction]]<br />
<br />
== Miscellaneous ==<br />
* [[ExternalUtilities| External Utilities]] - some extra tools for easier creating stuff<br />
* [[ReferenceWML|WML Reference]] - a quicklink<br />
* [[FAQ#Maps.2C_Scenarios_and_Campaigns|FAQ]] - if you have a question, post it<br />
* Addon server [http://addons.wesnoth.org web interface] - An alternate way to download user made content<br />
<br />
<div style="border:1px solid #5599FF; margin-top: 10px; margin-bottom: 5px; padding: 5px;"><br />
- [[Create|English]] - [[Créer vf|Français]] -<br />
</div><br />
<br />
[[Category:Create|*]]</div>Kalo122