Help needed

The place to post your WML questions and answers.

Moderator: Forum Moderators

Forum rules
  • Please use [code] BBCode tags in your posts for embedding WML snippets.
  • To keep your code readable so that others can easily help you, make sure to indent it following our conventions.
Post Reply
Saige
Posts: 3
Joined: October 12th, 2007, 6:05 am

Help needed

Post by Saige »

So, i've been looking at some wml for the last few days and decided to make a campaign.
I've run into a problem and was wondering if anyone could look at this and tell me what I did wrong, it doesn't show up on the campaign list ingame. I've followed the wiki exactly and can't find what I did wrong.
Shadows_Blood.cfg
(924 Bytes) Downloaded 207 times
User avatar
Lizard
Posts: 355
Joined: January 19th, 2008, 8:20 am
Location: Hiding in a swamp (gtm +1; DST)

Re: Help needed

Post by Lizard »

you use [testdomain] instead of [textdomain]. This is what I see on the first view.(thanks to Syntax-Highlighting)
EDIT:
do the "#textdomain wesnoth-Shadows_Blood" really belong in the campaign-tag? I think it is redundant due to the first 4 rows, but I don't know anything about Translations.
~ I'll heal you by 4 hp if you post next to me ~
Have a look at the Era of Strife, featuring Eltireans, Eventide, Minotaurs, Saurians and Triththa
Saige
Posts: 3
Joined: October 12th, 2007, 6:05 am

Re: Help needed

Post by Saige »

Thanks, can't believe I didn't catch that.
Lizard wrote:do the "#textdomain wesnoth-Shadows_Blood" really belong in the campaign-tag? I think it is redundant due to the first 4 rows, but I don't know anything about Translations.
I'm not sure about this, it may be unnecessary.

Edit: Still doesn't show up on the campaign list
AI
Developer
Posts: 2396
Joined: January 31st, 2008, 8:38 pm

Re: Help needed

Post by AI »

The name key is missing a closing quote.
name= _ "Shadow's Blood
Saige
Posts: 3
Joined: October 12th, 2007, 6:05 am

Re: Help needed

Post by Saige »

Ok heres a update of it but still not working.
Shadows_Blood.cfg
(1.03 KiB) Downloaded 219 times
User avatar
Lizard
Posts: 355
Joined: January 19th, 2008, 8:20 am
Location: Hiding in a swamp (gtm +1; DST)

Re: Help needed

Post by Lizard »

line 24

Code: Select all

map_data="{@campaigns/Shadows_Blood/maps/{NAME}}
is missing a closing "

In HttT there is no textdomain inside the campaign. this is how it looks like:(without numbers)

Code: Select all

1  #textdomain wesnoth-httt
2  [textdomain]
3      name="wesnoth-httt"
4  [/textdomain]
All others I looked at where the same style.
~ I'll heal you by 4 hp if you post next to me ~
Have a look at the Era of Strife, featuring Eltireans, Eventide, Minotaurs, Saurians and Triththa
Post Reply