Elf War (campaign)

Discussion and development of scenarios and campaigns for the game.

Moderator: Forum Moderators

Post Reply
User avatar
turin
Lord of the East
Posts: 11662
Joined: January 11th, 2004, 7:17 pm
Location: Texas
Contact:

Post by turin »

This campaign has unit leak. You need to put your [+units] inside the campaign ifdef, or else it causes MAJOR problems for anyone playing EI.

And in any case, why the HECK do you have a unit with 8 moves, a 15-5 attack, and a secondary RANGED 14-4 attack?!?!? Your modified and extremely overpowered Horse Lord has replaced the default Horse Lord in all campaigns.

:evil:
For I am Turin Turambar - Master of Doom, by doom mastered. On permanent Wesbreak. Will not respond to private messages. Sorry!
And I hate stupid people.
The World of Orbivm
Mkgego
Posts: 436
Joined: April 15th, 2004, 10:26 pm
Location: Madrid , Spain , Europe

Post by Mkgego »

No, the campaign will never get uploaded as i dont have time to make the changes to fix all errors...

I also had a big windows crash and everything got lost, password to modified campaign and all mp games i had too... (only survival map survived ^^)

So if no one cares the campaigns (EW and EWII) can get deleted... or if anyone wants to take care of them please take care of them as i allready said i dont have time to fix or even finish the second part...

Life sux...
WoW C-Mode activated...
For the horde :D
Matthew
Posts: 10
Joined: May 26th, 2005, 7:40 pm

Post by Matthew »

I found error in 3rd mission. In file Elfwar3 is:

Code: Select all

...
[side]
 type=Dwarvish Steelclad                        // You must delete this line
		description=Liko
			type=Dwarvish Steelclad
			side=3
			x=1
			y=5
		        ai_special=guardian
                canrecruit=1
		controller=ai
		recruit=o
...
Correct file is:

Code: Select all

...
[side]
		description=Liko
			type=Dwarvish Steelclad
			side=3
			x=1
			y=5
		        ai_special=guardian
                canrecruit=1
		controller=ai
		recruit=o
...
ott
Inactive Developer
Posts: 838
Joined: September 28th, 2004, 10:20 am

Post by ott »

Right now the only required change to get the campaign to start is a blank line at the end of the campaign .cfg file. The first scenario will then load fine in 0.9.2+cvs. Sure there are a few errors, but people on the forums would be happy to help you out. Just start by downloading your campaign from the server, then you can make a new .pbl file for it and frame can help you retrieve your password.
This quote is not attributable to Antoine de Saint-Exupéry.
unsung
Posts: 708
Joined: May 15th, 2005, 5:54 pm
Location: Raging somewhere..

Post by unsung »

ew2 is broken as well. at the end of kelmi's desicion it says unknown scenario 'R_2' or something similar.
great campaign though my favorite so far!
Oh no look out its a ray gun.
You should move to avoid the rays
the rays are coming out of the gun
if you are hit by the rays
you will be shot by the rays
the rays are fast so you should be fast to
can you win against the fast rays from the gun?
Keelta MacRonan
Posts: 70
Joined: July 8th, 2005, 11:52 pm
Location: At Helm's Deep,assisting in the final defence of the Hornburg

Post by Keelta MacRonan »

When I try to load the 3rd scenario, Iget a message saying Unit not found:DwarvishSteelcladDwarvishSteelclad.
Help!
torangan
Retired Developer
Posts: 1365
Joined: March 27th, 2004, 12:25 am
Location: Germany

Post by torangan »

This campaign is broken and the author is not able to work on it anymore.
WesCamp-i18n - Translations for User Campaigns:
http://www.wesnoth.org/wiki/WesCamp

Translators for all languages required: contact me. No geek skills required!
De Cock Hans
Posts: 41
Joined: September 9th, 2005, 6:40 pm
Location: Belgium

I volunteer for maintenance of this campaign

Post by De Cock Hans »

I already have a version of Elf War where the problem with the 3th scenario is fixed. I also planned to add ALMA and do a few corrections to some inconsistent (Example : 1st scenario says kill ALL leaders but it ends when you kill only Miko (purple leader) things.

Can someone help me with how to make it ready for putting it on the campaign server ? I am on Windows if this makes a difference.

If you find other errors please let me know something.

I have added file to replace bad 3th scenario.

I am not native English so sorry if there are to much mistakes.
Attachments
Elfwar3.cfg
(4.77 KiB) Downloaded 212 times
De Cock Hans
Posts: 41
Joined: September 9th, 2005, 6:40 pm
Location: Belgium

How to

Post by De Cock Hans »

How can I make it that the unit that does the speech at the end is the last leader who dies and not a fixed one ?

Now it is Miko (the purple leader) in the first scenario and the game ends there. I my version I have changed it so that it does not end whit the kiling of Miko anymore but with ALL leaders as stated in the victory conditions. But know I can even lose after that Miko has said that his people is lost.

This even worse then before ...

So if somebody could help me I would really appriciate it.
claus
Posts: 186
Joined: April 4th, 2005, 5:51 am

Post by claus »

For the die event i would add a role to all enemy leaders (let's say role=leader inside their side tags, all get the same role!) and write a die event like this:
[event]
name=die
first_time_only=no
[filter]
role=leader
[/filter]
[if]
[have_unit]
role=leader
[/have_unit]
[then]
[/then]
[else]
#speech
[message]
role=leader
message= _ "some text "
[/message]
#the scenario should have victory_when_enemies_defeated=yes (default), so you do not need [endlevel] ...
[/else]
[/if]
[/event]

(remove the old die event with miko)
unsung
Posts: 708
Joined: May 15th, 2005, 5:54 pm
Location: Raging somewhere..

Post by unsung »

if your worried about your english on the forums, you don' tneed to, as I like to correct people to be anoying, if your worried about it in the campaign i can TRY to help you, though I don't have as much free time right now. I'll find some though, becaus eI love htese two campaigns.
Oh no look out its a ray gun.
You should move to avoid the rays
the rays are coming out of the gun
if you are hit by the rays
you will be shot by the rays
the rays are fast so you should be fast to
can you win against the fast rays from the gun?
De Cock Hans
Posts: 41
Joined: September 9th, 2005, 6:40 pm
Location: Belgium

Post by De Cock Hans »

I have tried what Claus had suggested but it did not work.

I post here the scenario ==> what I want to happen is that the last leader to die does the dead speach. BTW : Wy does the leader with the Dwarvish Thunderer not recruit ?

[scenario]

id=Elfwar1
name= _ "Broken Pact"
map_data="{@campaigns/Elf_War/maps/Broken_Pact}"
translations=@campaigns/Elf_War/translations
textdomain=wesnoth-elfwar


next_scenario=Elfwar2
music="wesnoth-4.ogg"
victory_when_enemies_defeated=yes

[story]
[part]
music=intro.ogg
story= _ "64 years have passed after the war between Dwarves and Elves... "
delay=4000
background=War.jpg
[/part]
[part]
story= _ "When the war was finished, the leaders of both races signed the Frontier Pact."
delay=4000
background=Peace.png
[/part]
[part]
story= _ "In the Frontier Pact it was agreed that there would be no more war between the two races, and the border between Elves and Dwarves would only be guarded by two outposts."
delay=4000
background=Peace.png
[/part]
[part]
story= _ "Everyone knew that peace was just an illusion because if one side broke the Frontier Pact, war would be imminent."
delay=4000
background=War.jpg
[/part]
[part]
story= _ "Although no one believed the peace would last, it has survived until today."
delay=4000
[/part]
[/story]


objectives= _ "
Victory:
@Kill all Dwarvish leaders
Defeat:
#Turns run out
#Death of Kelmi
#Death of Rewny"


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

turns=26


[event]
name=start

[message]
id=msg1_1
speaker=narrator
message= _ "The dwarves have started to build a third base, breaking the Frontier Pact."
[/message]
[message]
id=msg1_2
description=Rewny
message= _ "Mmmm those dwarves have broken the Frontier Pact...You know what to do Kelmi."
[/message]
[message]
id=msg1_3
description=Kelmi
message= _ "All right...EVERYONE TO ARMS!"
[/message]
[message]
id=msg1_4
description=Rewny
message= _ "Those dwarves will now know what it is to break a pact with our race..."
[/message]
[message]
id=msg1_5
description=Tiko
message= _ "The elves have noticed that we are constructing a third base... We must hurry up or our people will be lost!"
[/message]
[message]
id=msg1_6
description=Rewny
message= _ "Mmmm...The dwarves look worried, strange and nervous..."
[/message]
[message]
id=msg1_7
description=Kelmi
message= _ "Better for us, let us waste no more time!"
[/message]
[message]
id=msg1_8
description=Miko
message= _ "We have to protect this place if we wanna save the capital... We must kill these elves although we dont wanna do it..."
[/message]


[capture_village]
x=7
y=4
side=1
[/capture_village]

[capture_village]
x=2
y=7
side=1
[/capture_village]

[capture_village]
x=8
y=8
side=1
[/capture_village]

[capture_village]
x=19
y=2
side=2
[/capture_village]

[capture_village]
x=11
y=8
side=2
[/capture_village]

[capture_village]
x=19
y=8
side=2
[/capture_village]

[capture_village]
x=3
y=20
side=3
[/capture_village]

[capture_village]
x=7
y=19
side=3
[/capture_village]

[capture_village]
x=8
y=15
side=3
[/capture_village]

[capture_village]
x=5
y=13
side=3
[/capture_village]

[capture_village]
x=10
y=11
side=4
[/capture_village]

[capture_village]
x=15
y=13
side=4
[/capture_village]

[capture_village]
x=20
y=11
side=4
[/capture_village]

[capture_village]
x=17
y=20
side=5
[/capture_village]

[capture_village]
x=13
y=19
side=5
[/capture_village]

[capture_village]
x=14
y=16
side=5
[/capture_village]

[/event]

[event]
name=die
first_time_only=no
[filter]
role=leader
[/filter]
[if]
[have_unit]
role=leader
[/have_unit]
[then]
[/then]
[else]
#speech
[message]
id=msg1_9
message= _ "Nooo...Our people are lost..."
[/message]
[message]
id=msg1_10
speaker=Kelmi
message= _ "Let us follow this path to the mountains..."
[/message]
[/else]
[/if]
[/event]

{ELF_WAR_DEATHS}

[side]
type=Avenger General
description=Kelmi
side=1
{INCOME 8 6 4}
canrecruit=1
controller=human
recruit=Elvish Archer,Elvish Shaman
{GOLD 160 140 120}
team_name=good
[/side]

[side]
type=Elvish Marshal General
description=Rewny
{INCOME 8 6 4}
side=2
controller=human
canrecruit=1
{GOLD 160 140 120}
recruit=Elvish Fighter,Elvish Shaman
team_name=good
[/side]

[side]
type=Dwarvish Thunderer
description=Tiko
side=3
controller=ai
canrecruit=1
{GOLD 40 60 80}
recruit=Dwarvish Thunderer
team_name=evil
[/side]


[side]
type=Dwarvish Guardsman
description=Siko
side=4
controller=ai
canrecruit=1
{GOLD 30 50 80}
recruit=Thug,Poacher
team_name=evil
[/side]


[side]
type=Dwarvish Fighter
description=Miko
side=5
controller=ai
canrecruit=1
{GOLD 60 100 130}
recruit=Dwarvish Fighter
team_name=evil
[/side]

[/scenario]
claus
Posts: 186
Joined: April 4th, 2005, 5:51 am

Post by claus »

As mentioned in my post with the event you have to put a "role=leader" into the [side] tags of side 3, 4 and 5, or the event will not work.
Example with side 3:

[side]
type=Dwarvish Thunderer
description=Tiko
role=leader
side=3
controller=ai
canrecruit=1
{GOLD 40 60 80}
recruit=Dwarvish Thunderer
team_name=evil
[/side]

I think you should change the first message of the death speech, because you do not say, who says the text.
[message]
id=msg1_9
role=leader
message= _ "Nooo...Our people are lost..."
[/message]
torangan
Retired Developer
Posts: 1365
Joined: March 27th, 2004, 12:25 am
Location: Germany

Post by torangan »

And get rid of those id tags for messages in the process, they're left over from the times were Wesnoth didn't support gettext yet.
WesCamp-i18n - Translations for User Campaigns:
http://www.wesnoth.org/wiki/WesCamp

Translators for all languages required: contact me. No geek skills required!
De Cock Hans
Posts: 41
Joined: September 9th, 2005, 6:40 pm
Location: Belgium

Post by De Cock Hans »

Claus it just changed it and it works fine. Thank you very much for your help.

The message id's are deleted.

I have still 2 problems left

1) The recruitement of the Dwarvish Thunderer ==> he does not recruit them

2) How to add AMLA to the special units.
Post Reply