"Story of Three Villages" - A campaign in the far future

Discussion and development of scenarios and campaigns for the game.

Moderator: Forum Moderators

Turgon
Posts: 59
Joined: September 30th, 2011, 6:13 pm
Location: Germany

"Story of Three Villages" - A campaign in the far future

Post by Turgon »

Hello guys,

I started working on a campaign some weeks ago. Impressed by some mystery and fantasy games (recent edition of MTG) and illustrations I saw a while ago, I decided to put up a campaign in which brave citizens fight undead. Not these stupid skeletons, but rather vampires (I am still extremely astonished by the great scenario from Rise of Wesnoth with that vampire lady) and wolves (I will even try to use a painting programme to create werewolves... normal wolves already exist). And furthermore I always wanted to fill the timeline of Utbs with some more content because I love the atmosphere and vague impressions of this dark age in Wesnoth's history.

Therefore I created this topic so I can publish some of my WIP-results and discuss the maps and scenarios I have finished so far to create a good campaign. While I am writing this, I have already finished the first two scenarios. I will now dedicate myself to the third one. Here, in this topic, I already discussed some technical problems (I am not quite experienced with WML): http://forums.wesnoth.org/viewtopic.php?f=21&t=36056

But my first question, so I can share my work with you: How can I best upload parts of unfinished campaigns? Would it be best to attach the map-file and the scenario-file and the main-file (and whatever else, units...) one by one to my post? Or is there a way to upload the whole folder?

Thanks for anyone who leaves constructive comments.
Looking for feedback for my dramatic campaign "A story of three villages", a late-age men vs. undead story going to include vampires and werewolves: http://forums.wesnoth.org/viewtopic.php?f=8&t=36193
Ceres
Forum Regular
Posts: 620
Joined: September 18th, 2010, 7:56 pm
Location: Germany

Re: "Story of Three Villages" - A campaign in the far future

Post by Ceres »

Firstly, you could put the campaign on the add-on server (as version 0.0.1 or so).
Secondly, you could put your files in a .zip folder (or .rar or whatever) and upload them to the forums.
Turgon
Posts: 59
Joined: September 30th, 2011, 6:13 pm
Location: Germany

Re: "Story of Three Villages" - A campaign in the far future

Post by Turgon »

Thanks, but can you also tell me where to find the add-on server to upload files? I just didn't find it.
Looking for feedback for my dramatic campaign "A story of three villages", a late-age men vs. undead story going to include vampires and werewolves: http://forums.wesnoth.org/viewtopic.php?f=8&t=36193
User avatar
Crendgrim
Moderator Emeritus
Posts: 1328
Joined: October 15th, 2010, 10:39 am
Location: Germany

Re: "Story of Three Villages" - A campaign in the far future

Post by Crendgrim »

You need to create a _server.pbl file in your add-on's folder (which goes into your userdata directory). Then, you select "add-ons" in Wesnoth and there should be an option to upload your work.
See Where is my userdata directory? , Distributing_content and PblWML.
UMC Story Images — Story images for your campaign!
Turgon
Posts: 59
Joined: September 30th, 2011, 6:13 pm
Location: Germany

Re: "Story of Three Villages" - A campaign in the far future

Post by Turgon »

Yeah, now it did work out (or at least it looks like). My first content uploaded into the World Wide Web. I am so proud. :-)
Under the title: "The Story of Three Villages" published right now...

EDIT: I looked for it on the server and I found out that you can only find it if you look at the Wesnoth Version 1.8.6
When I tried it with 1.10.0 I couldn't find it. Would it be recommendable if I just uploaded it another time for 1.10.0 or would that lead to technical problems?
Last edited by Turgon on February 21st, 2012, 3:44 pm, edited 1 time in total.
Looking for feedback for my dramatic campaign "A story of three villages", a late-age men vs. undead story going to include vampires and werewolves: http://forums.wesnoth.org/viewtopic.php?f=8&t=36193
Gwynnedrion
Posts: 136
Joined: February 26th, 2010, 8:42 pm

Re: "Story of Three Villages" - A campaign in the far future

Post by Gwynnedrion »

I know there's an era with vampires and werewolves out here, just forgot the name
”Rise, adept, and tell me about the enemy.”

You are a Horseman: you charge ahead without thinking of the consequences.(80%)
User avatar
artisticdude
Moderator Emeritus
Posts: 2424
Joined: December 15th, 2009, 12:37 pm
Location: Somewhere in the middle of everything

Re: "Story of Three Villages" - A campaign in the far future

Post by artisticdude »

Gwynnedrion wrote:I know there's an era with vampires and werewolves out here, just forgot the name
I believe you're referring to Era of Myths.

@Turgon: Era of Myths does have some nice vampire sprites & portraits you might be interested in. If you haven't found them already, of course. :wink:
"I'm never wrong. One time I thought I was wrong, but I was mistaken."
Turgon
Posts: 59
Joined: September 30th, 2011, 6:13 pm
Location: Germany

Re: "Story of Three Villages" - A campaign in the far future

Post by Turgon »

Occaisonally I found it yesterday and had a look at the vampires. They are really awesome. I know that this is an Open Source project, but is there anyone I should ask before using these vampires in my campaign?
Looking for feedback for my dramatic campaign "A story of three villages", a late-age men vs. undead story going to include vampires and werewolves: http://forums.wesnoth.org/viewtopic.php?f=8&t=36193
User avatar
Lord-Knightmare
Discord Moderator
Posts: 2340
Joined: May 24th, 2010, 5:26 pm
Location: Somewhere in the depths of Irdya, gathering my army to eventually destroy the known world.
Contact:

Re: "Story of Three Villages" - A campaign in the far future

Post by Lord-Knightmare »

@Turgon: They are free to take and use. But asking for permission from the author(s) is a good thing to do.
Creator of "War of Legends"
Creator of the Isle of Mists survival scenario.
Maintainer of Forward They Cried
User:Knyghtmare | My Medium
Turgon
Posts: 59
Joined: September 30th, 2011, 6:13 pm
Location: Germany

Re: "Story of Three Villages" - A campaign in the far future

Post by Turgon »

Well, as I wait for a message from the Era of Myths guy, I went on balancing the secound scenario and creating the third. Unfortunately it doesn't work right now, but I think I'm going to fix it this afternoon. Is there already someone who can comment on the first scenario or the beginning of the story? E.g. do you think the winter style fits to the dark age?
Looking for feedback for my dramatic campaign "A story of three villages", a late-age men vs. undead story going to include vampires and werewolves: http://forums.wesnoth.org/viewtopic.php?f=8&t=36193
Ceres
Forum Regular
Posts: 620
Joined: September 18th, 2010, 7:56 pm
Location: Germany

Re: "Story of Three Villages" - A campaign in the far future

Post by Ceres »

Turgon wrote:EDIT: I looked for it on the server and I found out that you can only find it if you look at the Wesnoth Version 1.8.6
When I tried it with 1.10.0 I couldn't find it. Would it be recommendable if I just uploaded it another time for 1.10.0 or would that lead to technical problems?
Well, there's this thread for important WML changes. And on 1.10 you could use all these shiny lua-made WML tagsets like [modify_unit], [move_unit] and [find_path]. As there's currently only one scenario, the changes won't be that numerous :wink:
Turgon
Posts: 59
Joined: September 30th, 2011, 6:13 pm
Location: Germany

Re: "Story of Three Villages" - A campaign in the far future

Post by Turgon »

Oh, I'm really going to despair. Yesterday I added some scripts to the secound scenario which worked allright. Afterwards I made the third scenario and when I tried to test it, the campaign didn't want to start. There is no way for me now to start a single mission of it... it always says "unknown scenario: (...)" or "unknown unit type: Fighter" (though I have the Fighter in the "units"-Folder and it did already work.

Here is everything I have written so far... does anyone have an idea why the whole campaign should refuse to work just due to a few changes in a single scenario?

That's my main.cfg:

Code: Select all

#textdomain wesnoth-sotv
[textdomain]
    name="wesnoth-sotv"
[/textdomain]

# wmlscope: set export=no
[campaign]
    id=story_of_three_villages
    icon="units/human-peasants/woodsman-defend.png~TC(1,magenta)"
    name= _"the_story_of_three_villages"
    abbrev= _"SOTV"
    rank=420
    first_scenario=1_An_adventure_in_winter
    difficulties="EASY,NORMAL,HARD"
    define="CAMPAIGN_STORY_OF_THREE_VILLAGES"
    description=_ "In the far and dark future, after the fall of Wesnoth, the lifes of innocent peasants are in danger. See the desperate struggle of the villages Flussweiler, Waldort and Hangkaff against the dark forces of vampires, wolves and undead.

"+ _"(Expert level, 6 scenarios.)"
[/campaign]

#ifdef CAMPAIGN_STORY_OF_THREE_VILLAGES
[+units]
    {~add-ons/the_story_of_three_villages/units}
[/units]
[binary_path]
    path=data/add-ons/the_story_of_three_villages
[/binary_path]
{~add-ons/the_story_of_three_villages/utils}
{~add-ons/the_story_of_three_villages/scenarios}
#endif

That's the first scenario:

Code: Select all

[scenario]
	id="1_An_adventure_in_winter"
    name=_ "An adventure in winter"
    map_data="{~add-ons/the_story_of_three_villages/maps/An_adventure_in_winter.map}"
    turns=30
    next_scenario=2_Return_to_home
    {DEFAULT_SCHEDULE}

    {SCENARIO_MUSIC vengeful.ogg}
    {EXTRA_SCENARIO_MUSIC wanderer.ogg}
    {EXTRA_SCENARIO_MUSIC sad.ogg}

    [side]
        type="Fighter"
        id="Tyrell"
        canrecruit=yes
        name=_ "Tyrell"

        side=1
        controller=human
        {GOLD 100 60 40}
        income=2
        team_name="Young guys"
        user_team_name=_ "Young guys"
        fog=yes
        shroud=no
        recruit="Fighter, Footpad"
    [/side]

    {STARTING_VILLAGES 1 3}
	
	[side]
        type="Goblin Impaler"
        id="Kollin"
        name=_ "Kollin"
        canrecruit=yes

        side=2
        {GOLD 25 55 75}
        team_name="Bad Guys"
        user_team_name=_ "Bad Guys"
        controller=ai
        fog=yes
        shroud=no
        income=2
        recruit="Goblin Spearman, Goblin Rouser, Wolf Rider"
        [ai]
            grouping=offensive
            attack_depth=5
        [/ai]
    [/side]
	
    [story]
        [part]
            story= _ "In the far future, the king of Wesnoth wanted to abolish the night forever. To do so, he ordered his magicians to create a secound sun by lifting a mountain up into the sky. But they failed and the mountain fell down upon Weldyn. After the destruction of Wesnoth's capital there was chaos and confusion."
        [/part]
        [part]
            story= _ "This event led to the destruction of any centralised organisation. Local warlords, barons and dictators arose and peaceful villagers had to grab their weapons and defend their homes."
        [/part]
        [part]
            story= _ "So did the citizens of the small villages Flussweiler, Waldort and Hangkaff as well. While Flussweiler was a rather wealthy village, holding good farmland, Waldort sold timber and berries from the nearby forest and Hangkaff was the home of Shepherds and a recently founded monastery."
        [/part]
        [part]
            story= _ "To keep the young men strong, all boys of a certain age were sent into the forest for one winter. They had to survive as a group so only the strongest boys survived this rite of initiation. Usually the strongest boy was accepted as their leader. This is the story of Tyrell, leader of the hopeful boys from Flussweiler."
        [/part]
     
    [/story]

    [event]
        name=prestart

        [objectives]

            [objective]
                description=_ "Defeat your enemy"
                condition=win
            [/objective]
            [objective]
                description=_ "Death of Tyrell"
                condition=lose
            [/objective]
			[objective]
                description=_ "Death of Gunther"
                condition=lose
            [/objective]
            [objective]
                description=_ "Time runs out"
                condition=lose
            [/objective]
        [/objectives]


    [/event]
	[unit]
            id=Gunther
            name= _ "Gunther"
            unrenamable=yes
			{IS_HERO}
	[/unit]
    [event]
        name=start
		[move_unit_fake]
            type="Cavalryman"
			x=2,4,4,5,6,7,8
            y=14,14,13,13,12,12,11
        [/move_unit_fake]
		
        {NAMED_LOYAL_UNIT 1 "Cavalryman" 8 11 "Gunther" (_ "Gunther")} # wmllint: recognize Gunther

        [message]
            id=Gunther
            message=_ "It's a damn cold winter. Hey, you young guys over there! May a peaceful traveler share meat, wine and tales with you?"
        [/message]
        [message]
            id=Tyrell
            message=_ "A stranger! Lay down your sword traveler and you may come to our fire."
        [/message]
        [message]
            id=Gunther
            message=_ "Allright, I want no fight. Just a place for the night. My name is Gunther, envoy of the horselord Garanthos. What are you guys doing here? Why do you have a camp in this haunted forest?"
        [/message]
        [message]
            id=Tyrell
            message=_ "We boys have to survive the winter. When the snow smelts, we will return as men. But we haven't seen a rider for ages. We hardly hear anything from beyound our little villages. For the moment, share our fire with us. My name is Tyrell, I am the one in charge."
        [/message]
        [message]
            id=Gunther
            message=_ "I have business to do. A message for the leader of Flussweiler. They are in danger. And by the way, you guys will have some trouble, too. Goblins are gathering besides that wicked stone to the east."
        [/message]
		[message]
            id=Tyrell
            message=_ "Flussweiler? These are our families. Can we help?"
        [/message]
		[message]
            id=Gunther
            message=_ "This is a man's business. Take care of yourselves. You have fine swords and quick boys around you. I think you can handle the goblins quickly. I will help you."
        [/message]
        
    [/event]

    [event]
        name=turn 2

        [message]
            id=Tyrell
            message=_ "We have tested our swords only in training yet. I am eager to see me and my friends in a real fight."
        [/message]
    [/event]

    [event]
        name=time over

        [message]
            race=human
            message=_ "Oh, no. We were not even able to defeat these goblins. We will never be real warriors."
        [/message]
    [/event]

    [event]
        name=last breath
        [filter]
            id=Tyrell
        [/filter]

        [message]
            id=Tyrell
            message=_ "Ugh..."
        [/message]
        [message]
            id=Kollin
            message=_ "Got him!"
        [/message]
        [message]
            speaker=narrator
            message=_ "Our young fighter died in his first winter out there. Certainly there was no hope for the men and women of Flussweiler now."
            image=wesnoth-icon.png
        [/message]
    [/event]
	
[event]
        name=last breath
        [filter]
            id=Gunther
        [/filter]

        [message]
            id=Gunther
            message=_ "Ugh..."
        [/message]
        [message]
            race=goblin
            message=_ "Ahaha! Got that big, four-legged beast! Ahaha, will be king of goblins."
        [/message]
        [message]
            id=Tyrell
            message=_ "Oh, now we will never know which important message he had for our village..."
        [/message]
        [message]
            speaker=narrator
            message=_ "The stranger died while he was fighting at the side of the young boys. Certainly there was no hope for the men and women of Flussweiler now."
            image=wesnoth-icon.png
			[/message]
		[endlevel]
            result=defeat
        [/endlevel]
        
    [/event]
	
    [event]
        name=last breath
        [filter]
            id=Kollin
        [/filter]
        [message]
            speaker=unit
            message=_ "Argh! NOOOO!"
        [/message]
    [/event]

    [event]
        name=die
        [filter]
            id=Kollin
        [/filter]
        [message]
            id=Tyrell
            message=_ "Now, that was a fight! I am eager to see what will happen next."
        [/message]
        [message]
            id=Gunther
            message=_ "Come along, your village will need warriors like you."
        [/message]
		        [message]
            id=Tyrell
            message=_ "But we aren't allowed to return before spring!"
        [/message]
		[message]
            id=Gunther
            message=_ "Don't be foolish. This is an urgent matter, a real danger. Come on, your parents will understand and you won't have to fear any trouble."
        [/message]
    [/event]
[/scenario]
The secound scenario:

Code: Select all

[scenario]
	id="2_Return_to_home"
    name=_ "Return to home"
    map_data="{~add-ons/the_story_of_three_villages/maps/return_to_home.map}"
    turns=25
    next_scenario=3_Flight_to_the_monastery
    {DEFAULT_SCHEDULE}

    {SCENARIO_MUSIC vengeful.ogg}
    {EXTRA_SCENARIO_MUSIC wanderer.ogg}
    {EXTRA_SCENARIO_MUSIC sad.ogg}

    [side]
        id="Tyrell"
        canrecruit=yes
        name=_ "Tyrell"

        side=1
        controller=human
        {GOLD 70 40 20}
        income=2
        team_name="Flussweiler citizens"
        user_team_name=_ "Flussweiler citizens"
        fog=no
        shroud=no
        recruit="Fighter, Footpad, Spearman, Bowman"
    [/side]

    {STARTING_VILLAGES 1 3}
	
	[side]
        type="Dark Sorcerer"
        id="Philip"
        name=_ "Philip"
        canrecruit=yes

        side=2
        {GOLD 120 170 220}
        team_name="Bad Guys"
        user_team_name=_ "Bad Guys"
        controller=ai
        fog=no
        shroud=no
        income=2
        recruit="Walking Corpse, Skeleton, Skeleton Archer, Dark Adept"
        [ai]
            grouping=offensive
            attack_depth=4
        [/ai]
    [/side]
	
    [story]
        [part]
            story= _ "Tyrell convinced the other boys to cancel their survival test in the forest and to follow Gunther."
        [/part]
        [part]
            story= _ "After a quick breakdown of the camp and two hours of marching, they finally arrived at the town of Flussweiler. There was smoke rising from the ruins."
        [/part]
     
    [/story]

    [event]
        name=prestart

        [objectives]

            [objective]
                description=_ "Defeat your enemy"
                condition=win
            [/objective]
            [objective]
                description=_ "Death of Tyrell"
                condition=lose
            [/objective]
			[objective]
                description=_ "Death of Gunther"
                condition=lose
            [/objective]
			[objective]
                description=_ "Death of Torell"
                condition=lose
            [/objective]
            [objective]
                description=_ "Time runs out"
                condition=lose
            [/objective]
        [/objectives]


    [/event]

    [event]
        name=start
		[move_unit_fake]
            type="Cavalryman"
			x=17,17,17,17,16,16,16,16,15,15,15,14
            y=1,2,3,4,4,5,6,7,8,9,10,10
        [/move_unit_fake]
		
        {NAMED_LOYAL_UNIT 1 "Lieutenant" 13 11 "Torell" (_ "Torell")} # wmllint: recognize Torell
		{NAMED_LOYAL_UNIT 1 "" 14 11 "Gunther" (_ "Gunther")} # wmllint: recognize Gunther 
        [message]
            id=Gunther
            message=_ "Hello! Is there anyone out there?"
        [/message]
        [message]
            id=Torell
            message=_ "Die, you foul creature!"
        [/message]
		[message]
            id=Torell
            message=_ "Sorry, I mistook you with one of that scary beasts that are lurking all around here."
        [/message]
        [message]
            id=Gunther
            message=_ "Very nice to mistake me with a scary beast... But what did you say? What's happening?"
        [/message]
        [message]
            id=Torell
            message=_ "We are under attack by a fould necromancer. He destroyed Flussweiler and killed most of our men. The other ones were captured. I was able to seek shelter in my neighbor's house. His corpse was still in here. I burnt it, because I was afraid that it could stand up again. But what is that? Is that Tyrell?"
        [/message]
        [message]
            id=Gunther
            message=_ "I was sent to warn you from this thread. I brought your boy here, because I thought he'd be safer here. I saw him fighting eagerly in the forest. But now we have to have an eye on that dark mage"
        [/message]
		[message]
            id=Torell
            message=_ "Bloody hell, my boy is a coward who couldn't handle his rite of initiation! We will talk about this later. Tyrell, show me what you are made of. I hope you're not a complete wimp."
        [/message]
		[message]
            id=Tyrell
            message=_ "I'll show you, father. Come on, lads. Let's kick that mage's ass. Take the bows and spears around here. We will show them, what real Flussweiler men are made of."
        [/message]
        
    [/event]

    [event]
        name=turn 4

        [message]
            id=Philip
            message=_ "Don't underestimate the power of the night, young fighter."
        [/message]
		{NAMED_LOYAL_UNIT 2 "Ghost" 15 11 "The Baker's Soul" (_ "The Baker's Soul")}
		{NAMED_LOYAL_UNIT 2 "Ghost" 14 14 "Torell's Neighbour's Soul" (_ "Torell's Neighbour's Soul")}
    [/event]
    [event]
        name=turn 5

        [message]
            id=Philip
            message=_ "Those were the souls. Now see their bodies arise. Fetch me their souls!"
        [/message]
		{NAMED_LOYAL_UNIT 2 "Soulless" 15 11 "The Young Girl's Body" (_ "The Young Girl's Body")}
		{NAMED_LOYAL_UNIT 2 "Soulless" 14 14 "The Miller's Body" (_ "The Miller's Body")}
    [/event]
	[event]
        name=turn 7

        [message]
            id=Philip
            message=_ "The night is about to end, but your pain will last for a few more hours until you are going to march with the rest of my army. Rise, rise, creatures of the night!"
        [/message]
		{NAMED_LOYAL_UNIT 2 "Necrophage" 3 25 "Tyrell's Grandma's Body" (_ "Tyrell's Grandma's Body")}
		{NAMED_LOYAL_UNIT 2 "Spectre" 6 28 "An Old Soldier's Soul" (_ "An Old Soldier's Soul")}
		{NAMED_LOYAL_UNIT 2 "Shadow" 8 33 "An Enslaved Soul" (_ "An Enslaved Soul")}
		[message]
            id=Torell
            message=_ "This must be a pretty mighty sorcerer. When will he stop summoning more creatures?"
        [/message]
		[message]
            id=Tyrell
            message=_ "It's getting harder. Prepare yourselves, comrades!"
        [/message]
    [/event]
    [event]
        name=time over

        [message]
            race=human
            message=_ "Oh, no. We were not even able to defeat these undead."
        [/message]
    [/event]

    [event]
        name=last breath
        [filter]
            id=Tyrell
        [/filter]

        [message]
            id=Tyrell
            message=_ "Ugh..."
        [/message]
        [message]
            id=Philip
            message=_ "Fetch me his soul!"
        [/message]
        [message]
            speaker=narrator
            message=_ "Our young fighter died in the defense of his home. No one knows what the dark mage is going to do now."
            image=wesnoth-icon.png
        [/message]
    [/event]
	
[event]
        name=last breath
        [filter]
            id=Gunther
        [/filter]

        [message]
            id=Gunther
            message=_ "Ugh..."
        [/message]
        [message]
            race=goblin
            message=_ "One more rider for our armies. March, my creatures!"
        [/message]
        [message]
            id=Tyrell
            message=_ "He was our only hope to understand what is going on here."
        [/message]
        [message]
            speaker=narrator
            message=_ "The stranger died while he was fighting at the side of the young boys. His story remains untold."
            image=wesnoth-icon.png
			[/message]
		[endlevel]
            result=defeat
        [/endlevel]
        
    [/event]
	
	[event]
        name=last breath
        [filter]
            id=Torell
        [/filter]

        [message]
            id=Tyrell
            message=_ "Father..."
        [/message]
        [message]
            id=Torell
            message=_ "Don't care about me, boy. Finish this job."
        [/message]
		[message]
            id=Tyrell
            message=_ "I can't..."
        [/message]
        [message]
            speaker=narrator
            message=_ "When Torell died, the young warriors lost all hope."
            image=wesnoth-icon.png
			[/message]
		[endlevel]
            result=defeat
        [/endlevel]
        
    [/event]
	
    [event]
        name=last breath
        [filter]
            id=Philip
        [/filter]
        [message]
            speaker=unit
            message=_ "Hahaha. This will not be the last time that we meet. We'll meet again, young warrior. Be sure of that."
        [/message]
    [/event]

    [event]
        name=die
        [filter]
            id=Philip
        [/filter]
        [message]
            id=Tyrell
            message=_ "I'm not sure what he meant with his last words."
        [/message]
        [message]
            id=Gunther
            message=_ "I know. There will be more undead."
        [/message]
		        [message]
            id=Torell
            message=_ "We have to seek shelter in the monastery of Hangkaff. They'll know what to do concerning undead!"
        [/message]
		[message]
            id=Gunther
            message=_ "Good idea. I'll explain everything I know to you on the way. For the moment, gather all weapons and supply you can get."
        [/message]
    [/event]
[/scenario]
And that's the third one I made yesterday:

Code: Select all

[scenario]
	id="3_Flight_to_the_monastery"
    name=_ "Flight to the monastery"
    map_data="{~add-ons/the_story_of_three_villages/maps/Flight_to_the_monastery.map}"
    turns=20
    next_scenario=4_Prepare_for_the_night
    {DEFAULT_SCHEDULE}

    {SCENARIO_MUSIC vengeful.ogg}
    {EXTRA_SCENARIO_MUSIC wanderer.ogg}
    {EXTRA_SCENARIO_MUSIC sad.ogg}

    [side]
        id="Tyrell"
        canrecruit=yes
        name=_ "Tyrell"

        side=1
        controller=human
        {GOLD 80 50 30}
        income=2
        team_name="Flussweiler citizens"
        user_team_name=_ "Flussweiler citizens"
        fog=yes
        shroud=no
        recruit="Fighter, Footpad, Spearman, Bowman"
    [/side]
        {STARTING_VILLAGES 1 5}
		
[side]
        type="Necromancer"
        id="Worlin"
        name=_ "Worlin"
        canrecruit=yes

        side=2
        {GOLD 100 150 200}
        team_name="Bad Guys"
        user_team_name=_ "Bad Guys"
        controller=ai
        fog=yes
        shroud=yes
        income=2
        recruit="Wose, Dark Adept"
        [ai]
            grouping=offensive
            attack_depth=2
        [/ai]
[/side]
[side]
		type="Elvish Marshall"
        id="Rhadellion"
        canrecruit=yes
        name=_ "Rhadellion"

        side=3
        controller=ai
        {GOLD 80 50 30}
        income=2
        team_name="Forest Elves"
        user_team_name=_ "Forest Elves"
        fog=yes
        shroud=yes
        recruit="Fighter, Footpad, Spearman, Bowman"
[/side]
	
{GENERIC_UNIT 3 (Elvish Fighter)       23 6}
{GENERIC_UNIT 3 (Elvish Fighter)       24 6}
{GENERIC_UNIT 3 (Elvish Fighter)       25 6}
{GENERIC_UNIT 3 (Elvish Sorceress)       25 5}
{GENERIC_UNIT 3 (Elvish Sorceress)     "Maryalis" (_ "Maryalis")  23 5}

	
    [story]
        [part]
            story= _ "There was no time for sorrow, even if many of the other boys found dead relatives among the ruins of their town."
        [/part]
        [part]
            story= _ "Torell urged for an immediate march to the rocky heights of Hangkaff to seek shelter in the monastery. With anger he noticed that everyone was accepting Tyrell as their leader. Torell held his tongue for the moment, but he was determined to talk to his son later on."
        [/part]
     
    [/story]

    [event]
        name=prestart

        [objectives]

            [objective]
                description=_ "Escape to Hangkaff (Tyrell has to reach the signpost)"
                condition=win
            [/objective]
            [objective]
                description=_ "Death of Tyrell"
                condition=lose
            [/objective]
			[objective]
                description=_ "Death of Gunther"
                condition=lose
            [/objective]
			[objective]
                description=_ "Death of Torell"
                condition=lose
            [/objective]
            [objective]
                description=_ "Time runs out"
                condition=lose
            [/objective]
        [/objectives]


    [/event]

    [event]
        name=start

		
        {NAMED_LOYAL_UNIT 1  6 10 "Torell" (_ "Torell")} # wmllint: recognize Torell
		{NAMED_LOYAL_UNIT 1  6 12 "Gunther" (_ "Gunther")} # wmllint: recognize Gunther 
		
        [message]
            id=Tyrell
            message=_ "I really don't like this forest."
        [/message]
        [message]
            id=Torell
            message=_ "You coward of a son! I can't see why these boys are following you..."
        [/message]
		[message]
            id=Gunther
            message=_ "Shut up, now! Your son is a brave fighter and all of the boys accepted him as their leader while you hid in your house when Flussweiler was overrun."
        [/message]
        [message]
            id=Torell
            message=_ "Watch your words, stranger! You have NO idea of what I saw... the slaughter, the cries. It was incredible. But you haven't even told us who you really are and what you want."
        [/message]
        [message]
            id=Gunther
            message=_ "Allright. I wanted to tell you, but now it looks like there is no time to talk, again."
        [/message]
        [message]
            id=Tyrell
            message=_ "What do you mean?"
        [/message]
		[message]
            id=Torell
            message=_ "Bloody hell, look out! Over there!"
        [/message]
		[message]
            id=Worlin
            message=_ "Hahaha, soon this wood will be ours. Come to me, my pretty ones. Tasty little elves, you have been living here for too long. My trees shall grow and found the Great Forest Empire of Worlin."
        [/message]
        [message]
            id=Rhadellion
            message=_ "Please, grant us mercy! We never did any harm to you. Our tribe has been living here for all the time since our old forest was destroyed."
        [/message]
		[message]
            id=Maryalis
            message=_ "Push forward, hunters, kill any intruders to our woods, may they be alive or not!"
        [/message]
		[message]
            id=Tyrell
            message=_ "Ah, looks like we didn't catch the right moment..."
        [/message]
		[message]
            id=Torell
            message=_ "Looks like our only chance is to sneak around these enemies. You must be careful, son. You have never been to this place, but I have. I know a secret path to the south. We must try it. Advise your little host to stay behind, we mustn't get involved in any fight."
        [/message]
		[message]
            id=Tyrell
            message=_ "Allright, father."
        [/message]
    [/event]

	
    [event]
        name=time over

        [message]
            race=human
            message=_ "We will never escape this forest!"
        [/message]
    [/event]

    [event]
        name=last breath
        [filter]
            id=Tyrell
        [/filter]

        [message]
            id=Tyrell
            message=_ "Ugh..."
        [/message]
        [message]
            id=Worlin
            message=_ "Haha, more fertilizer for my forest!"
        [/message]
    [/event]
	
[event]
        name=last breath
        [filter]
            id=Gunther
        [/filter]

        [message]
            id=Gunther
            message=_ "Ugh..."
        [/message]

		[endlevel]
            result=defeat
        [/endlevel]
        
    [/event]
	
	[event]
        name=last breath
        [filter]
            id=Torell
        [/filter]

        [message]
            id=Tyrell
            message=_ "Father..."
        [/message]
        [message]
            id=Torell
            message=_ "Don't care about me, boy. Finish this job."
        [/message]
		[message]
            id=Tyrell
            message=_ "I can't..."
        [/message]
        [message]
            speaker=narrator
            message=_ "When Torell died, the young warriors lost all hope."
            image=wesnoth-icon.png
			[/message]
		[endlevel]
            result=defeat
        [/endlevel]
        
    [/event]
	
    [event]
        name=last breath
        [filter]
            id=Worlin
        [/filter]
        [message]
            speaker=unit
            message=_ "My master will not be pleased."
        [/message]
    [/event]

    [event]
        turn=2

        [move_unit_fake]
            type=Spectre
            x=1,2,3,4
            y=1,1,2,2
            side=4
        [/move_unit_fake]
        [unit]
            type=Spectre
            side=4
            x,y=4,3
            id=Philip
            name=_ "Philip"
            canrecruit=yes
            animate=no
			recruit="Ghost, Shadow"
        [/unit]
        {GENERIC_UNIT 4 (Nightgaunt)       4 2}
        {GENERIC_UNIT 4 (Ghost)       4 4}
        {GENERIC_UNIT 4 (Wraith) 5 4}
        # Make camp
        [terrain]
            x=5,3
            y=3,4
            terrain=Ce
        [/terrain]
        [terrain]
            x,y=4,3
            terrain=Ke
        [/terrain]

        [modify_side]
            side=4
            {QUANTITY gold 100 150 200}
            income=20
        [/modify_side]

        [message]
            speaker=Philip
            message=_ "I have not lost track of you... I will hunt you until you will be hunting at my side."
        [/message]
        [message]
            speaker=Gunther
            message=_ "He won't give us a break. And we have no weapons to fight him. It's hopeless, we have to flee."
        [/message]
        [message]
            speaker=Tyrell
            message=_ "I can see that myself. We just have to run faster!"
        [/message]
    [/event]
	
	    [event]
        name=moveto
        [filter]
            x=34
            y=16
            id=Tyrell
        [/filter]
        [message]
            speaker=unit
            message= _ "Okay, looks like we left them behind - for the moment."
        [/message]
        [message]
            speaker=Gunther
            message= _ "Just keep on running."
        [/message]
        [message]
            speaker=Torell
            message= _ "Hangkaff is just ahead. Don't stop."
        [/message]
        [message]
            speaker=Philip
            message= _ "I'll catch you, earlier or later..."
        [/message]

        [endlevel]
            result=victory
            bonus=yes
            {NEW_GOLD_CARRYOVER 40}
        [/endlevel]
    [/event]
[/scenario]
If anyone has an idea, please don't hesitate to make a suggestion!
Looking for feedback for my dramatic campaign "A story of three villages", a late-age men vs. undead story going to include vampires and werewolves: http://forums.wesnoth.org/viewtopic.php?f=8&t=36193
User avatar
Adamant14
Posts: 967
Joined: April 24th, 2010, 1:14 pm

Re: "Story of Three Villages" - A campaign in the far future

Post by Adamant14 »

Turgon wrote:next_scenario=4_Prepare_for_the_night
Does scenario no 4 exist?
Author of Antar, Son of Rheor ( SP Campaign) | Development Thread + Feedback Thread + Replays of ASoR
Turgon
Posts: 59
Joined: September 30th, 2011, 6:13 pm
Location: Germany

Re: "Story of Three Villages" - A campaign in the far future

Post by Turgon »

No, I always imagine an interesting name for the next scenario before I create it. But that's what I did with all of the other scenarios, too. I found out another thing: When I remove my third scenario from the "scenarios"-folder, the first two scenarios work properly. There are only problems (with the whole campaign) if I have the "Flight to the monastery" scenario in my folder.
Looking for feedback for my dramatic campaign "A story of three villages", a late-age men vs. undead story going to include vampires and werewolves: http://forums.wesnoth.org/viewtopic.php?f=8&t=36193
Ceres
Forum Regular
Posts: 620
Joined: September 18th, 2010, 7:56 pm
Location: Germany

Re: "Story of Three Villages" - A campaign in the far future

Post by Ceres »

Turgon wrote:

Code: Select all

{GENERIC_UNIT 3 (Elvish Sorceress)  "Maryalis" (_ "Maryalis")  23 5}
GENERIC_UNIT takes only four arguments (side, type, x, y). You can't just add more. This would be the right approach:

Code: Select all

{GENERIC_UNIT 3 (Elvish Sorceress) 23 5}
[+unit]
    id=Maryalis
    name= _ "Maryalis"
[/unit]
About the '+', see here.

(no idea how this could possibly lead to an Unknown Scenario Error, though)
Post Reply