campaign stub: Campaign-How-To (A Simple Campaign)

Discussion and development of scenarios and campaigns for the game.

Moderator: Forum Moderators

Bill_the_Cat
Posts: 11
Joined: November 30th, 2008, 12:18 am

Re: A Simple Campaign, version 0.1.0

Post by Bill_the_Cat »

Success! The sad part is I have no idea why it's working now, but wasn't before. In the end I had to remove every trace at BfW from my computer and start from scratch.
Anonymissimus
Inactive Developer
Posts: 2461
Joined: August 15th, 2008, 8:46 pm
Location: Germany

Re: A Simple Campaign, version 0.1.0

Post by Anonymissimus »

I've updated ASC to 1.7 and inserted many comments to explain various wml commands which had taken me long to understand. This is a one-time-only work since the wml was outdated (1.4) and OSJ can continue with it when he's finished with his novel. It's also properly wmllint'ed and wmlscope'd. Tested with 1.7.10.
I've also updated the according building campaigns tutorial a bit to match 1.7.

EDIT
No one-time-only...changed to a new version. It has also been reported to work now.
projects (BfW 1.12):
A Simple Campaign: campaign draft for wml startersPlan Your Advancements: mp mod
The Earth's Gut: sp campaignSettlers of Wesnoth: mp scenarioWesnoth Lua Pack: lua tags and utils
updated to 1.8 and handed over: A Gryphon's Tale: sp campaign
opensourcejunkie
Posts: 547
Joined: August 11th, 2008, 3:19 pm

Re: A Simple Campaign, version 0.1.0

Post by opensourcejunkie »

wow, thanks for updating!
what if the Bible's claims about Christ depicted accurate, verifiable history? given some research, you might be surprised at the evidence...
Anonymissimus
Inactive Developer
Posts: 2461
Joined: August 15th, 2008, 8:46 pm
Location: Germany

Re: A Simple Campaign, version 0.1.0

Post by Anonymissimus »

Made a new version in order to recruit more wenoth coders, ahem, make life easier for beginners. Included the custom unit from xer's campaign skeleton. Also on the server.

edit: The server version is now more up to date.
projects (BfW 1.12):
A Simple Campaign: campaign draft for wml startersPlan Your Advancements: mp mod
The Earth's Gut: sp campaignSettlers of Wesnoth: mp scenarioWesnoth Lua Pack: lua tags and utils
updated to 1.8 and handed over: A Gryphon's Tale: sp campaign
Anonymissimus
Inactive Developer
Posts: 2461
Joined: August 15th, 2008, 8:46 pm
Location: Germany

Re: A Simple Campaign, version 0.1.0

Post by Anonymissimus »

Uploaded new version to the 1.9 addons server. I'm no longer doing anything with the 1.8 version due to the effort needed. I'm also practically not maintaining the related wiki entry, everything needed is in the add-on itself, it's much easier this way imo.
I've included some custom terrain to show how to do such a thing code-wise, since it requires to understand how the wesnoth preprocessor inclusion and binary data references work. Also because mainline examples are partly being removed (which is bad in this aspect).

This amazing addon is actually developed by me monitoring the wml workshop and considering adding answers to beginner questions every now and then. :P
projects (BfW 1.12):
A Simple Campaign: campaign draft for wml startersPlan Your Advancements: mp mod
The Earth's Gut: sp campaignSettlers of Wesnoth: mp scenarioWesnoth Lua Pack: lua tags and utils
updated to 1.8 and handed over: A Gryphon's Tale: sp campaign
User avatar
Wild-Heart
Posts: 6
Joined: November 9th, 2010, 9:01 pm

Re: A Simple Campaign, version 0.1.0

Post by Wild-Heart »

Heya, I was toying around with having the Campaign load a completely different scenario, and I got a"Unknown Scenario" Error. So if anyone know how to fix that Error, i'd like to know, thanks!

EDIT: And a new error!

"Error loading game configuration files: 'Missing closing tag for tag campaign at campaigns/A_Simple_Campaign/_main.cfg:16 included from_main.cfg:11, value " at_main.cfg:74' (The game will now exit)
User avatar
bigkahuna
Posts: 657
Joined: September 11th, 2010, 6:24 pm
Location: In your mind.

Re: A Simple Campaign, version 0.1.0

Post by bigkahuna »

I know the campaign tag is in there, so it is probably another error that you can locate within the stderr.txt file.

I don't think Anonymissus is maintaining the 1.8 version of the campaign anymore.
Check out my campaign Sweet Revenge!
Join the new R2D forum!
User avatar
Wild-Heart
Posts: 6
Joined: November 9th, 2010, 9:01 pm

Re: A Simple Campaign, version 0.1.0

Post by Wild-Heart »

bigkahuna wrote:I know the campaign tag is in there, so it is probably another error that you can locate within the stderr.txt file.

I don't think Anonymissus is maintaining the 1.8 version of the campaign anymore.
So, what should I do?
Anonymissimus
Inactive Developer
Posts: 2461
Joined: August 15th, 2008, 8:46 pm
Location: Germany

Re: A Simple Campaign, version 0.1.0

Post by Anonymissimus »

You should not hijack this thread for your own wml problems but instead ask in the wml workshop and then getting told to use the "How to easily debug wml" - thread technique to find your problem...
projects (BfW 1.12):
A Simple Campaign: campaign draft for wml startersPlan Your Advancements: mp mod
The Earth's Gut: sp campaignSettlers of Wesnoth: mp scenarioWesnoth Lua Pack: lua tags and utils
updated to 1.8 and handed over: A Gryphon's Tale: sp campaign
User avatar
Wild-Heart
Posts: 6
Joined: November 9th, 2010, 9:01 pm

Re: A Simple Campaign, version 0.1.0

Post by Wild-Heart »

Ah, sorry, won't happen again.
R3000
Posts: 6
Joined: September 17th, 2011, 9:09 pm

Re: campaign stub: Campaign-How-To (A Simple Campaign)

Post by R3000 »

Does anyone know a good tutorial for making a campaign? I was attempting to use this but it appears to have all gone away.
User avatar
artisticdude
Moderator Emeritus
Posts: 2424
Joined: December 15th, 2009, 12:37 pm
Location: Somewhere in the middle of everything

Re: campaign stub: Campaign-How-To (A Simple Campaign)

Post by artisticdude »

The official wiki tutorial on creating single-player campaigns.

Slightly outdated, but it should teach you all you need to know to create a basic campaign. :)
"I'm never wrong. One time I thought I was wrong, but I was mistaken."
Anonymissimus
Inactive Developer
Posts: 2461
Joined: August 15th, 2008, 8:46 pm
Location: Germany

Re: campaign stub: Campaign-How-To (A Simple Campaign)

Post by Anonymissimus »

R3000 wrote:I was attempting to use this but it appears to have all gone away.
What do you mean ?
Actually, ASC itsself is intented to be "all you need to know/have". Since imho this is the easiest way of keeping it up-to-date (for me, or we who maintain the wiki and create wml).
But I get *zero* feedback despite ASC seems used a lot, so what do you miss ?
projects (BfW 1.12):
A Simple Campaign: campaign draft for wml startersPlan Your Advancements: mp mod
The Earth's Gut: sp campaignSettlers of Wesnoth: mp scenarioWesnoth Lua Pack: lua tags and utils
updated to 1.8 and handed over: A Gryphon's Tale: sp campaign
R3000
Posts: 6
Joined: September 17th, 2011, 9:09 pm

Re: campaign stub: Campaign-How-To (A Simple Campaign)

Post by R3000 »

There is a link to download the simple campaign skeleton but it says there is nothing there (I just found it on the add-ons though.) Where can I find the file so I can edit?

Edit: I'm using a Mac
User avatar
Alarantalara
Art Contributor
Posts: 789
Joined: April 23rd, 2010, 8:17 pm
Location: Canada

Re: campaign stub: Campaign-How-To (A Simple Campaign)

Post by Alarantalara »

http://wiki.wesnoth.org/EditingWesnoth# ... rectory.3F contains all the locations it could be.
Post Reply