Please help troubleshoot on my first scenario.

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.
kirby_freak
Posts: 14
Joined: September 24th, 2010, 2:47 am

Re: Please help troubleshoot on my first scenario.

Post by kirby_freak »

Thank you so much! I'll see if it works! :D
kirby_freak
Posts: 14
Joined: September 24th, 2010, 2:47 am

Re: Please help troubleshoot on my first scenario.

Post by kirby_freak »

It works! Thank you!
User avatar
Golden_Soldier
Posts: 265
Joined: July 20th, 2010, 10:26 pm
Location: Roanoke

Re: Please help troubleshoot on my first scenario.

Post by Golden_Soldier »

edit button... :wink:
about the stderr.txt file... when you open the battle for wesnoth folder one of the files in that folder is stderr (right in the battle for wesnoth folder so you dont have to go searching in other folders to find it thank goodness)
stderr will show you all of your errors that you have in the game and usually states them with more detail and plus since it is a text file you can copy and paste on to the forums so people can tell you what your error means! it is very helpful :D
kirby_freak
Posts: 14
Joined: September 24th, 2010, 2:47 am

Re: Please help troubleshoot on my first scenario.

Post by kirby_freak »

Ah, okay. Can't find it, but ah well, the campaign is actually loading, even though some messages aren't working. :P I'll figure that out. :) Hopefully, lol.
SkeleRanger
Posts: 151
Joined: August 12th, 2008, 11:10 pm
Location: The Isle of Alduin

Re: Please help troubleshoot on my first scenario.

Post by SkeleRanger »

kirby_freak wrote:though some messages aren't working.

Code: Select all

      type=Red Mage
      name= _ "male^Tylre"
      id=Tyler
      gender=male
      unrenamable=yes
Tyler should be Tylre. You probably know this but "speaker=" looks for the unit with the same id.

Code: Select all

      [message]
            speaker=Tylre
            message= _ "Tis dark and gloomy in this cavern. Let us hope we can see well enough to walk."
      [/message]
Also, you use unrenamable twice in the definition of side 2. It won't hurt anything, but it's not necessary.

Code: Select all

      team_name=Enemy   
      unrenamable=yes
Unrenamable only works on unit names. Team name can't be modified by a player anyway.
'We've strayed into a zone with a high magical index... Don't ask me how. Once upon a time a really powerful magic field must have been generated here, and we're feeling the after-effects.'
'Precisely,' said a passing bush.
--Terry Pratchett
Tale of a Mage(finished)
Art for Tale of a Mage
kirby_freak
Posts: 14
Joined: September 24th, 2010, 2:47 am

Re: Please help troubleshoot on my first scenario.

Post by kirby_freak »

Fixed it, thank you! :)
User avatar
Astoria
Inactive Developer
Posts: 1007
Joined: March 20th, 2008, 5:54 pm
Location: Netherlands

Re: Please help troubleshoot on my first scenario.

Post by Astoria »

Code: Select all

name= _ “male^Tylre”
Does nothing. Just remove the male^.

Code: Select all

{DEFAULT_MUSIC “underground.ogg”}
That's a non-existant macro. Use {DEFAULT_MUSIC_PLAYLIST} or {SCENARIO_MUSIC underground.ogg}.
Formerly known as the creator of Era of Chaos and maintainer of The Aragwaithi and the Era of Myths.
kirby_freak
Posts: 14
Joined: September 24th, 2010, 2:47 am

Re: Please help troubleshoot on my first scenario.

Post by kirby_freak »

'k, thank you! (And to try and cover up my embarrassment, I was using a tutorial.) :P
User avatar
Reepurr
Posts: 1088
Joined: August 29th, 2010, 5:38 pm

Re: Please help troubleshoot on my first scenario.

Post by Reepurr »

In that case, his problems were probably because it was an ancient tutorial.

But it sure wasn't the main tutorial on Wesnoth -> Create -> Scenarios.
I would recommend the above to new scenario authors.
"What do you mean, "a dwarvish dragonguard with marksman is overpowered"?"

Story of a Drake Outcast | The Nonsense Era
Played HttT-Underground Channels? Thought it was rubbish? Help us develop it here!
kirby_freak
Posts: 14
Joined: September 24th, 2010, 2:47 am

Re: Please help troubleshoot on my first scenario.

Post by kirby_freak »

I think I looked at that, but I used The Final Exam as a tutorial. It's an add-on that comes with a tutorial.
User avatar
bigkahuna
Posts: 657
Joined: September 11th, 2010, 6:24 pm
Location: In your mind.

Re: Please help troubleshoot on my first scenario.

Post by bigkahuna »

The Final Exam is kind of outdated, and hard to use. Try the Wesnoth-Create-etc. or a Simple Campaign, add-on on 1.8 server by Anonymissus for a campaign framework to use.
Check out my campaign Sweet Revenge!
Join the new R2D forum!
kirby_freak
Posts: 14
Joined: September 24th, 2010, 2:47 am

Re: Please help troubleshoot on my first scenario.

Post by kirby_freak »

'k, thanks!
Post Reply