dont see my single player campaign in campaign list.
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.
dont see my single player campaign in campaign list.
I got campaign file in mygames/wesnoth.1.8/data/add-ons/Rebellion
there is files maps and scenarios and main.cfg
maim.cfg
scenario(this still needs talking and objectives.)
so why it dont show on campaigns list on wesnoth?
there is files maps and scenarios and main.cfg
maim.cfg
Spoiler:
Spoiler:
"This game cured me of my real life addiction."
-Flameslash
-Flameslash
Re: dont see my single player campaign in campaign list.
alluton wrote:main.cfg
It's supposed to be _main.cfg.alluton wrote:maim.cfg
Re: dont see my single player campaign in campaign list.
okey _main.cfg
put you doesent answers quiestion:why it doesent show on campaign list?
Edit:it does shows now. Thank you very very much

put you doesent answers quiestion:why it doesent show on campaign list?
Edit:it does shows now. Thank you very very much






"This game cured me of my real life addiction."
-Flameslash
-Flameslash
Re: dont see my single player campaign in campaign list.
Good! Your campaign almost works.
Just a quick note: "type" on the scenario is equal to "id" on the unit file. So you need to correct:
spearman-->Spearman
peasant-->Peasant
swordman-->Swordsman
to avoid the unknown unit type error.
Actually, before that, you might hit the unknown scenario error because of "controller=AI", instead of controller=ai. Wesnoth cares small letters<-->capital letters in the most of cases (not all). So be careful.
Another a little thing:
Pentarctagon on another thread means your campaign i-con should be: icon=units/human-outlaws/highwayman.png
EDIT: controller=AI does not make an error on current BfW. Sorry about it. Just ignore the part please.
Just a quick note: "type" on the scenario is equal to "id" on the unit file. So you need to correct:
spearman-->Spearman
peasant-->Peasant
swordman-->Swordsman
to avoid the unknown unit type error.
Actually, before that, you might hit the unknown scenario error because of "controller=AI", instead of controller=ai. Wesnoth cares small letters<-->capital letters in the most of cases (not all). So be careful.
Another a little thing:
Pentarctagon on another thread means your campaign i-con should be: icon=units/human-outlaws/highwayman.png
EDIT: controller=AI does not make an error on current BfW. Sorry about it. Just ignore the part please.
Fate of a Princess/feedback thread: "What is in own heart that is the most important, not who you are."
Drake Campaign: Brave Wings/feedback thread, Naga Campaign: Return of the Monster, Saurian Campaign: Across the Ocean
Northern Forces - now on 1.12 server
Drake Campaign: Brave Wings/feedback thread, Naga Campaign: Return of the Monster, Saurian Campaign: Across the Ocean
Northern Forces - now on 1.12 server
Re: dont see my single player campaign in campaign list.
Actually i figuer it out myself that how to write units. Well actually i still got problem i will post it here in couple hours if cannot fix it.
here is my new _main.cfg
and here is first scenario file
Any ideas why it shows message when i try start it.
Message is unknown scenario= "Test"
what i do wrong?
ps.Icon is working now.
pss.you guys are really helpfull. Thank you.
Edit: also tell if you saw bad english or mispelling or anything like that:D (english is not my first langue)
here is my new _main.cfg
Spoiler:
Spoiler:
Message is unknown scenario= "Test"
what i do wrong?
ps.Icon is working now.
pss.you guys are really helpfull. Thank you.
Edit: also tell if you saw bad english or mispelling or anything like that:D (english is not my first langue)
"This game cured me of my real life addiction."
-Flameslash
-Flameslash
Re: dont see my single player campaign in campaign list.
Exactly because of what the message said; there's no scenario with the id "Test":
alluton wrote: first_scenario=Test
You also have at least 4 unclosed quotes in the scenario file.alluton wrote:id=Rebellion
Re: dont see my single player campaign in campaign list.
could tell me where these unclosed quetes are?
ps.thank you for answers .
Edit: i changed name and id to Test
put still it says unknown scenario.
there is scenario file once more
ps.thank you for answers .
Edit: i changed name and id to Test
put still it says unknown scenario.
there is scenario file once more
Spoiler:
"This game cured me of my real life addiction."
-Flameslash
-Flameslash
- Pentarctagon
- Project Manager
- Posts: 5734
- Joined: March 22nd, 2009, 10:50 pm
- Location: Earth (occasionally)
Re: dont see my single player campaign in campaign list.
the story/part is missing a closing quote.
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
take one down, patch it around
-2,147,483,648 little bugs in the code
Re: dont see my single player campaign in campaign list.
Okey i fixced that.
"This game cured me of my real life addiction."
-Flameslash
-Flameslash
Re: dont see my single player campaign in campaign list.
can you tell me where does define scenario excatly belongs.
plz repost this code whit define scenario added there.
Fixced story/part closing quete.
ps. thansk for help/answers
Spoiler:
Fixced story/part closing quete.
ps. thansk for help/answers
"This game cured me of my real life addiction."
-Flameslash
-Flameslash
Re: dont see my single player campaign in campaign list.
Exactly where you correctly had it in your first post.alluton wrote:can you tell me where does define scenario excatly belongs.
Re: dont see my single player campaign in campaign list.
now i got some kind error message what says closing tag missing for tag scenario.
in my opinion there is closing tag for that
so how it can say you are missign closing tag for scenario?
i feel little stubid to aks but are you sure define scenario is right in my first post?
in my opinion there is closing tag for that

Spoiler:
i feel little stubid to aks but are you sure define scenario is right in my first post?
"This game cured me of my real life addiction."
-Flameslash
-Flameslash
-
- Posts: 1549
- Joined: June 18th, 2009, 1:45 am
Re: dont see my single player campaign in campaign list.
When the computer says you are missing a tag for a certain tag, it usually means that a tag within that tag is not done correctly. Anyhow, the problem is this:alluton wrote:now i got some kind error message what says closing tag missing for tag scenario.
in my opinion there is closing tag for that
You are missing quotes, as already mentioned before. Please look out for obvious errors like these. And enclose your code inalluton wrote:so how it can say you are missign closing tag for scenario?Spoiler:
Code: Select all
tags. It's easier to read with indentation.
[quote="alluton"]i feel little stubid to aks but are you sure define scenario is right in my first post?[/quote]
Hey, do you know who you were dealing with? zookeeper! He's probably the most knowledgeable 'WML Wizard' around. If he tells you something and it doesn't work, you're probably doing something wrong.
Re: dont see my single player campaign in campaign list.
Hey i know that!. Anyway thnx for help sovereignelvish_sovereign wrote:alluton wrote: Hey, do you know who you were dealing with? zookeeper! He's probably the most knowledgeable 'WML Wizard' around. If he tells you something and it doesn't work, you're probably doing something wrong.
Spoiler:
ps.sovereign i know im doing something wrong. Otherwise i would be doing it. Not just asking help around here:D
Edit: closing tags should be okey now. But error message is still excatly same.
"This game cured me of my real life addiction."
-Flameslash
-Flameslash
Re: dont see my single player campaign in campaign list.
Yes, because you still have:alluton wrote:Edit: closing tags should be okey now. But error message is still excatly same.
Code: Select all
[modifications]
{TRAIT_LOYAL]
[/modifications]
After fixing it, the campaign will probably work, but you will lose it after the first turn because of "Turns=20". It should be "turns=20".
Fate of a Princess/feedback thread: "What is in own heart that is the most important, not who you are."
Drake Campaign: Brave Wings/feedback thread, Naga Campaign: Return of the Monster, Saurian Campaign: Across the Ocean
Northern Forces - now on 1.12 server
Drake Campaign: Brave Wings/feedback thread, Naga Campaign: Return of the Monster, Saurian Campaign: Across the Ocean
Northern Forces - now on 1.12 server