The Inheritance

Discussion and development of scenarios and campaigns for the game.

Moderator: Forum Moderators

highhole
Posts: 312
Joined: March 19th, 2006, 6:38 pm

Post by highhole »

Yes. But I did it wrong. :oops:
Now I add [event] tags around the messages, and putted the

Code: Select all

name=start
tag into it, but it doesn't work. Now, Ill try to make the scenario, without campgen... :?
Last edited by highhole on September 15th, 2006, 11:36 am, edited 1 time in total.
Error: no bug found
kshinji
Posts: 649
Joined: December 21st, 2005, 7:24 pm
Location: Gdansk, Poland

Post by kshinji »

Hm hm, massages invoked on event. 8) (not tryin g to be rude, just it sounds so nice - opportunity to invoke an event with nice gal and massage ;-P )
User:Kshinji
Probably there's no point for me posting here, but i'll raise my PC to 1337 before leaving again ;P -- just kidding.
highhole
Posts: 312
Joined: March 19th, 2006, 6:38 pm

Post by highhole »

[ :oops: ] Massages, which massages? :P
Error: no bug found
halleck
Posts: 229
Joined: October 12th, 2005, 3:47 pm

Post by halleck »

Ummm......
:?:
Ya...............
Screw it... I can go without a sig.
kshinji
Posts: 649
Joined: December 21st, 2005, 7:24 pm
Location: Gdansk, Poland

Post by kshinji »

He edited his post, Halleck.
User:Kshinji
Probably there's no point for me posting here, but i'll raise my PC to 1337 before leaving again ;P -- just kidding.
highhole
Posts: 312
Joined: March 19th, 2006, 6:38 pm

Post by highhole »

kshinji wrote:He edited his post, Halleck.
Yes, that's right. :twisted: :P
Error: no bug found
highhole
Posts: 312
Joined: March 19th, 2006, 6:38 pm

Post by highhole »

I hope I can release the campaign (with the first scenario) in one or two weeks. :mrgreen:
I decided to make the campaign without campgen now, because, I think bugs are easier to fix and balancing of the scenarios is easier. Moreover I am learning how to use the WML. 8) "Learning by doing!"
Am I allowed to copy suff from other campaigns (eras, mpscenarios...)? I thought about the hound images from Extended Era by Neoriceisgood...

Here are some "new" images:
Attachments
elran-lord.png
elran-lord.png (3.46 KiB) Viewed 3530 times
elran-lord-leading.png
elran-lord-leading.png (4.99 KiB) Viewed 3532 times
Error: no bug found
highhole
Posts: 312
Joined: March 19th, 2006, 6:38 pm

Post by highhole »

Here is the first scenario again. I upgraded it... There shouldn't be any bugs now, and it would be great if someone could tell me if there are some spelling mistakes (which I have probably done :oops: ).

Code: Select all

[scenario]
id=1_The_beginning
#textdomain wesnoth-Inheritance
name= _ "The beginning"
map_data="cfffffffffffrrffffffffrffffffrrggggggggggggggggggg
ccffffffffffffrrffffffrffffffrrggggggggggggggggggg
ffccffffffffffffrrfffrrffffffrrrgggggggggggggggggg
ffff/cfcfcffffffffrrrfffffffrrrggggggggggggggggggg
ffffffssssccffffffffrfffffffrrrggggggggggggggggggg
ffffffssfssffffEffffrrffffffrrgggggggggggggggggggg
ffffffssssscffffffffffrffffrrggggggggggggggggggggg
ffffEfffffffc/ffffffffrrrrrgggggggggggggggggggggg&
ffffffffffffffckffrrgrr&r&g&g&g&g&g&g&g&&&&&&&&&&c
ffffffffEfffffffcrrrrg&g&g&g&g&g&g&g&g&csscwwccccg
fffEffffffffffffccrggg&gggggggggggggg|gccccccggggg
fffffffffffffffrrgcc|c&cgggcgcg\cccccgcgcggggggggg
fffffhrrrrfrfffrggggggcg/ccQcgcggggggg?gg?gggg?ggg
fffhXhrgrgrrrrrrrggggg&gggccgggggggggggggggggggggg
ffrrhrhmggggrgrggggggg&WgWgWcWgWgWgu?WgWgWgWgWgWgW
ffrgrghhhhggggggggggggWRWRWRWCWWWRuRWRWRWRWRWRWRWR
frrrggggggggggggggggggWRRRRRRRKWRRRRRRRRRRRRRRRRRR
rgrgggggggggggggggggggWRRRRRRRCWRRRRRRRRRRRRRRRRRR
rgggggggggggggggggggggWRRRRRRRRWRRRRRRRRRRRRRRRRRR
gggwggggggggggggggggggWRRRRRRRRWRRRRRRRRRRRRRRRRRR
ggwqwgggggggggggggggggWRRRRRRRRWRRRRRRRRRRRRRRRRRR
gg1qwgggggggggggggggggWRRRRRRRRWWWRWWWWWWWWWWWWWWW
ggqwwwggggghhgggggggggWWWWRWWWWRRRRRWRRRRRRRRRRRR3
ggwwggwgggghmhggggggggWRRRRRRRRRRRRRWRRRRRRRRRRRRR
ggwgggggggghhgmggggggg4RRRRRRRRRRRRRWRRRRRRRRRRRRR
ggggggggggghgmhgggggggRRRRRRRRRRRRRRRRRRRRRRRRRRRR
ggggggggggggggggggggggoRRRRRRRRRRRRRWRRRRRRRRRRRRR
ggggggggggggggggggggggWWRWRRRWRWRWRRWRRRRRRRRRRRRR
ggggggggggggggggggggggWRWRWRWRWRWRWWWRRRRRRRRRRRRR
ggggggggggggggggggggggWRRRRRRRRRRRWRRRRRRRRRRRRRRR
ggggggggggggggggggggggWRRRRRRRRRRRWRRRRRRRRRRRRRRR
ggggggggggggggggggggggWRRRRRRRRRRRWRRRRRRRRRRRRRRR
ggggggggggggggggggggggWRRRRRRRRRRRWRRRRRRRRRRRRRRR
ggggggggggggggggggggggWRRRRRRRRRRRWRRRRRRRRRRRRRRR
ggggggggggggggggggggggWWWWWWWWWWWWWWWWWWWWWWWWWWWW
gggggggggggggggggggggggggggggggggggggggggggggggggg
gggggggggggggggggggggggggggggggggggggggggggggggggg
gggggggggggggggggggggggggggggggggggggggggggggggggg
gggggggggggggggggggggggggggggggggggggggggggggggggg
gggggggggggggggggggggggggggggggggggggggggggggggggg
gggggggggggggggggggggggggggggggggggggggggggggggggg
gggggggggggggggggggggggggggggggggggggggggggggggggg
gggggggggggggggg????gWWWWWWWWWWWWWWWWWWWWWWWWWWWWW
gggggggggggggggg?ggg?WEEEEEEEWEEEEEEEEWEEEEEEEEEEE
gggggggggggggggg?ggggWEEEEEEEWEEEEEEEEWEEEEEEEEEEE
gggggggggggggggg?gggvWEEEEEEEWEEEEEEEEXEEEEEEEEEEE
ggggggggggggggggRRgggWEEEEEEEWEEEEEEEEWEEEEEEEEEEE
gggggggggggggggg?gRRgWWWWEEWEWWWWEWWWWWWEWEWEWEWEW
gggggggggggggggg?ggRg2WEEEWEWEEEEEEEEEWEWEWEWEWEWE
ggggggggggggggg???gRRuEEEEEEEEEEEEEEEEWWEEEEEEEEEE"
{SCENARIO_MUSIC "gameplay03.ogg"}
{TURNS 16 14 12}

{DAWN}
{DAWN}
{DAWN}
{DAWN}
{MORNING}
{MORNING}
{MORNING}
{MORNING}
{AFTERNOON}
{AFTERNOON}
{AFTERNOON}
{AFTERNOON}
{DUSK}
{DUSK}
{DUSK}
{DUSK}
{FIRST_WATCH}
{FIRST_WATCH}
{FIRST_WATCH}
{FIRST_WATCH}
{SECOND_WATCH}
{SECOND_WATCH}
{SECOND_WATCH}
{SECOND_WATCH}

next_scenario=null 


[story]
	[part]
	music=wesnoth-1.ogg
	story= _ "This is my first campaign. Please don't be disapointed: this campaign includes just one short scenario. (I'll add more scenarios, later:-))"
	background=maps/wesnoth.png
	[/part]

[part]
            background="maps/wesnoth.png"
            story=_"Elran is a young boy.
He lives with his mother Sahra and his father Tom, near a big town.
Elrans friend Karus is living near the house of Elrans parents, so they often do something in the forest."
            show_title="no"
        [/part]
        [part]
            background="maps/wesnoth.png"
            story=_"Tom was a good fighter, and fought for Lord Konrad in the battle for Wesnoth.
But now Tom is an old man. Sure he isn't able to fight anymore.
He is very sick and he know that he will die soon..."
            show_title="no"
        [/part]
        [part]
            background="maps/wesnoth.png"
            story=_"Elran wants to go into the forest with Karus. They built a little hut, and need to decorate it. But Karus isn't there.
He is to late. So Elran is waiting..."
            show_title="no"
        [/part]


[/story]



victory_when_enemies_defeated=no

[event]
name=prestart
	[objectives]
	side=1
		[objective]
			description= _ "Move Elran to his Father, Tom"
			condition=win
		[/objective]
		[objective]
			description= _ "Death of Elran"
			condition=lose
		[/objective]
		[objective]
			description= _ "Death of Sahra"
			condition=lose
		[/objective]
		[objective]
			description= _ "Death of Karus"
			condition=lose
		[/objective]
		[objective]
			description= _ "Turns run out"
			condition=lose
		[/objective]
	[/objectives]
[/event]

{BIGMAP_1_THE_BEGINNING}

{STARTING_VILLAGES 5 10}
{STARTING_VILLAGES 6 10}
{STARTING_VILLAGES 1 10}

[side]
type=EYouth
description=Elran
user_description= _"Elran"
unrenamable=yes
side=1
canrecruit=1
controller=human
recruit=null
gold=100
team_name=family
[/side]

#ifdef HARD
#define HIGH_PRIORITY_TARGETS
	[target]
	description=Sahra
	value=100
	[/target]
	[target]
	description=Elran
	value=100
	[/target]
#enddef
#else
#define HIGH_PRIORITY_TARGETS
#enddef
#endif

#macro which tells the AI not to start thinking about
#whether it's a bad idea to send trolls into the forest
#against elves, and just do it
#define EBESIEGED_RECRUITMENT
[ai]
recruitment_ignore_bad_movement=yes
recruitment_ignore_bad_combat=yes
simple_targetting=yes
[/ai]
#enddef


[side]
type=Dog
description=Slinky
user_description= _ "Slinky"
side=2
canrecruit=1
recruit=null
gold=400
	[ai]
	recruitment_pattern=null
	{ATTACK_DEPTH 6 3 5}
#ifdef HARD
	{HIGH_PRIORITY_TARGETS}
#endif
	[/ai]
{EBESIEGED_RECRUITMENT}
team_name=evil
[/side]

[side]
type=Tom
description=Tom
user_description= _ "Tom"
side=3
canrecruit=1
recruit=null
{EBESIEGED_RECRUITMENT}
team_name=family
{GOLD 200 300 500}
	[ai]
	{ATTACK_DEPTH 1 3 5}
#ifdef HARD
	{HIGH_PRIORITY_TARGETS}
#endif
	[/ai]
[/side]

[side]
type=Sahra
description=Sahra
user_description= _ "Sahra"
side=4
canrecruit=1
recruit=null
{EBESIEGED_RECRUITMENT}
team_name=family
{GOLD 200 300 500}
	[ai]
	{ATTACK_DEPTH 1 3 5}
#ifdef HARD
	{HIGH_PRIORITY_TARGETS}
#endif
	[/ai]

[/side]

{PLACE_IMAGE items/signpost.png 50 24}

[event]
name=start
	[message]
	speaker=narrator
	image="wesnoth-icon.png"
	message= _ "Elran is waiting for Karus..."
	[/message]
	[message]
	description=Elran
	message= _ "KARUS, KARUS!"
	[/message]
	[message]
	description=Elran
	message= _ "I'll not wait the wholt day... Maybe I'll go without him into the woods and start decorating the hut..."
	[/message]
	[message]
	description=Sahra
	message= _ "Elran, Elran!"
	[/message]
	[message]
	description=Elran
	message= _ "Mother, what has happend?"
	[/message]
	[message]
	description=Sahra
	message= _ "Tom, he wants to speake to you a last time."
	[/message]
	[message]
	description=Elran
	message= _ "Okey, I'm comming!"
	[/message]
	[message]
	description=Slinky
	image=null
	message= _ "Grrr"
	[/message]
	[message]
	description=Elran
	message= _ "Oh, I hate this dog!!"
	[/message]
[/event]
[event]
name=moveto
	[filter]
	x=50
	y=24
	description=Elran
	[/filter]
	[message]
	speaker=unit
	message= _ "Father here I am finally! What do you want to tell me?"
	[/message]
	[message]
	description=Tom
	message= _ "You know, I's a fightr f.. from a..armys Lord...Konrad."
	[/message]
	[message]
	speaker=unit
	message= _ "Yes I know that."
	[/message]
	[message]
	description=Tom
	message= _ "I..  got lotsss...!"
	[/message]
	[message]
	speaker=unit
	message= _ "Lots of Gold?"
	[/message]
	[message]
        description=Tom
        message=_"Sure, lots of it.
ou cane ge...t a...half..of t...th.s..fom...*started to sleep*"
        [/message]
        [message]
	speaker=unit
	message= _ "The half part of  your Inheritance?"
	[/message]

[message]
        description="Tom"
        message=_" *wakes up again* Uh, wer..I...am, oh....Yes. You brotr Mar..no..Mora..Mo...Moron."
	 [/message]
    [message]
  speaker=unit
        message=_"Moron? Oh yes, sure! I remember him. He wanted to get a good job, so he leafed our house when I was a baby. Mum told me...."
    [/message]
    [message]
        description="Tom"
        message=_"Yes, he..'hs the inhertance. You...can..gtyor prt.........t....there... "
    [/message]
    [message]
     description="Tom"
        message=_"I feel't...Ill leafed..yu...no...."
    [/message]
    [message]
        speaker="narrator"
        message=_"Tom close his eyes and smiles."
        image=""
    [/message]
    [message]
 speaker=unit
        message=_"No! Tom! Tom. Tom, I'll miss you."
    [/message]
[kill]
        description="Tom"
        animate="yes"
    [/kill]
        [message]
        description="Sahra"
        message=_"*Sniff* He was so brave..."
        image=""
    [/message]
	


	[unit]
	type=Footpad
	description=Karus
	x=23
	y=26
	team_name=family
	side=1
	[/unit]
	[event]
        campgen="moveto 1"
        name="moveto"
        [allow_undo]
        [/allow_undo]
        [filter]
            x="23,45"
            y="26,26"
        [/filter]
        [message]
            message=_"Elran, I am waiting.
What.... Oh! *whispers*: Is he dead? I'm sorry. I'didn't know...."
            image=""
            side="1"
            description="Karus"
        [/message]
    [/event]
    [message]
        description="Elran"
        message=_"It's okey."
        image=""
        side="1"
    [/message]
    [message]
        description="Elran"
        message=_"I think we'll leaving in two days, and getting my inheritance..."
        image=""
        side="1"
    [/message]
    [message]
        description="Karus"
        message=_"Really? Greate! Oh, whats about the hut?"
        image=""
        side="1"
    [/message]
    [message]
        description="Elran"
        message=_"We'll be able ro buy lots of huts with the gold... But first we need a grave..."
        image=""
        side="1"
    [/message]
    [message]
        description="Karus"
        message=_"Oh yes, sure."
        image=""
        side="1"
    [/message]


	[endlevel]
	result=victory
	bonus=yes
	[/endlevel]
[/event]
[event]
name=die
	[filter]
	description=Elran
	[/filter]
	[message]
	speaker=unit
	message= _ "Argh! Now Ill never hear what Tom wants to tell me..."
	[/message]
	[message]
	description=Sahra
	message= _ "Elran, nooo! What should I do now?"
	[/message]
	[message]
	description=Tom
	message= _ "What....h...hhas..ppe...nd?"
	[/message]
	[endlevel]
	result=defeat
	[/endlevel]
[/event]

[event]
name=die
	[filter]
	description=Sahra
	[/filter]
	[message]
	speaker=unit
	message= _ "Ugh! How could that happen?"
	[/message]
	[message]
	description=ELran
	message= _ "Oh no! Now I am allown here!"
	[/message]
	[message]
	speaker=unit
	message= _ "Ugh!"
	[/message]
	[endlevel]
	result=defeat
	[/endlevel]
[/event]

[event]
name=time over
	[message]
	description=Elran
	message= _ "Oh, no! We have run out of time, I'll never hear Toms message..."
	[/message]
[/event]

[event]
name=die
	[filter]
	type=Dog
	[/filter]
	[message]
	speaker=unit
	message= _ "*big yowl*"
	[/message]


	{VARIABLE_OP warlord_count add 1}
[/event]

[event]
name=die
	[filter_second]
	description=Elran
	[/filter_second]
	[message]
	speaker=second_unit
	message= _ "Die, Villain, die!"
	[/message]
[/event]

[event]
name=attack
	[filter_second]
	description=Sahra
	[/filter_second]
	[message]
	description=Sahra
	message= _ "Die stupid creature!"
	[/message]
[/event]

[event]
name=attack
	[filter_second]
	description=Tom
	[/filter_second]
	[message]
	description=Delfador
	message= _ "Help! Help!"
	[/message]
[/event]

[event]
name=attack
	[filter]
	description=Delfador
	[/filter]
	[message]
	description=Delfador
	message= _ "I am Delfador the Great. Prepare to die!"
	[/message]
[/event]

[event]
name=attack
	[filter]
	description=Elran
	[/filter]
	[message]
	description=Elran
	image=portraits/elran-angry.png
	message= _ "Die dog, die!!"
	[/message]
[/event]

#when a Goblin Knight moves onto one of the villages
#that Delfador and Konrad start near
[event]
name=moveto
	[filter]
	side=2
	x=3,17
	y=22,23
	[/filter]
	[message]
	description=Elran
	message= _ "What does this stupid animal wants to do..?"
	[/message]
	[message]
	description=Sahra
	message= _ "This is a funny dog..."
	[/message]
[/event]

[/scenario]
Error: no bug found
highhole
Posts: 312
Joined: March 19th, 2006, 6:38 pm

Post by highhole »

Hmm... no feedback? :?


I got an idea: [But I want to hear some other opinions.]
The different races (orcs, elves, humans....) aren't able to understand each other. (Why an elf should speak orcish?) So they usually need an translator, which translate, (but maybe he doesn't say the truth everytime :twisted: ) one language into an other one. Sure: the units are able to hear whether a creature is angry, sad or so on... But they have to know about a language to understand it.

Is that a good idea for this campaign?
Error: no bug found
highhole
Posts: 312
Joined: March 19th, 2006, 6:38 pm

Post by highhole »

I think I'll launch a topic in the art contributions forum after I've "finished" the Elran images:

I'll try to create some good dog unit images and post them in the topic.
Error: no bug found
Post Reply