Ghostly Campaign Problems
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.
Ghostly Campaign Problems
In a campaign I'm making (that is not set in wesnoth, and i will start a thread at Scenario & Campaign Development when I will finish scenario 3, so no design notes) I got a nasty error at the start with fails the campaign
Wesnoth 1.5.9r32787
Ubuntu Intrepid
I attached the campaign
Note: The cave movement change is because I want to have a few cave scenarios, and I don't want to seriously disadvantage my players. The deep water is because it is logical, and I don't know why it is here.
Code: Select all
Battle for Wesnoth v1.5.9+svn (32787)
Started on Fri Feb 13 13:46:04 2009
Data directory: /usr/local/share/wesnoth
User configuration directory: /home/ariel/.wesnoth
Checking video mode: 1280x949x32...
setting mode to 1280x949x32
no location found for 'data/campaigns/Era_of_Myths/translations', not adding textdomain
no location found for 'data/campaigns/apitf/translations', not adding textdomain
20090213 13:46:20 error config: Could not open file data/SET_VARIABLE
20090213 13:46:20 error config: Could not open file data/SET_VARIABLE
20090213 13:46:20 error config: Could not open file data/SET_VARIABLE
20090213 13:46:20 error config: Could not open file data/SET_VARIABLE
20090213 13:46:21 error engine: unit of type elvish_archer not found!
20090213 13:46:21 error general: Error while playing the game: game_error: Unknown unit type 'elvish_archer'
Ubuntu Intrepid
I attached the campaign
Note: The cave movement change is because I want to have a few cave scenarios, and I don't want to seriously disadvantage my players. The deep water is because it is logical, and I don't know why it is here.
- Attachments
-
- a_problem_in_the_forest.tar.bz2
- (5.36 KiB) Downloaded 129 times
Re: Ghostly Campaign Problems
You do not need to post in all caps for part of your message. Do not worry, people will read your whole post.
Your error comes from the way you entered the recruit names. Look at a scenario from another campaign for reference. It should read:
Your error comes from the way you entered the recruit names. Look at a scenario from another campaign for reference. It should read:
Code: Select all
recruit=Elvish Archer,Elvish Fighter,Elvish Shaman,Elvish Scout
Mainline Maintainer: AOI, DM, NR, TB and THoT.
UMC Maintainer: Forward They Cried, A Few Logs, A Few More Logs, Start of the War, and Battle Against Time
UMC Maintainer: Forward They Cried, A Few Logs, A Few More Logs, Start of the War, and Battle Against Time
Re: Ghostly Campaign Problems
The elvish_archer and so are units in units/apitf_units.cfg, so they will have 2 moves and 40% defense in caves.Turuk wrote:You do not need to post in all caps for part of your message. Do not worry, people will read your whole post.
Your error comes from the way you entered the recruit names. Look at a scenario from another campaign for reference. It should read:
Code: Select all
recruit=Elvish Archer,Elvish Fighter,Elvish Shaman,Elvish Scout
Also, it seems to ignore the {SET_VARIABLE} macros
Re: Ghostly Campaign Problems
There are no SET_VARIABLE macros. And yes, I know what I'm talking about.arielbys wrote:Also, it seems to ignore the {SET_VARIABLE} macros
Re: Ghostly Campaign Problems
The correct macro is VARIABLE. It contains the [set_variable] tag. That must have confused your little, little mind .
Author of the unofficial UtBS sequels Invasion from the Unknown and After the Storm.
Re: Ghostly Campaign Problems
Yes. I didn't write WML for some time.Shadow_Master wrote:The correct macro is VARIABLE. It contains the [set_variable] tag. That must have confused your little, little mind .
The "real" problem was that I written [unit] instead of [unit_type] in units/apitf_units.cfg
Last edited by arielbys on February 15th, 2009, 12:26 pm, edited 1 time in total.
Re: Ghostly Campaign Problems
What? But you said you were using 1.5.9, so it would indeed be [unit_type].arielbys wrote:The "real" problem was that I written [unit_type] instead of [unit] in units/apitf_units.cfg
Mainline Maintainer: AOI, DM, NR, TB and THoT.
UMC Maintainer: Forward They Cried, A Few Logs, A Few More Logs, Start of the War, and Battle Against Time
UMC Maintainer: Forward They Cried, A Few Logs, A Few More Logs, Start of the War, and Battle Against Time
Re: Ghostly Campaign Problems
Typo. I meant [unit] instead of [unit_type]Turuk wrote:What? But you said you were using 1.5.9, so it would indeed be [unit_type].arielbys wrote:The "real" problem was that I written [unit_type] instead of [unit] in units/apitf_units.cfg