Elf War (campaign)

Discussion and development of scenarios and campaigns for the game.

Moderator: Forum Moderators

Post Reply
claus
Posts: 186
Joined: April 4th, 2005, 5:51 am

Post by claus »

1)You can try "recruitment_pattern=mixed fighter" and "{NO_SCOUTS}" in the side tag of side 3 (the thunderer has usage=mixed fighter in its cfg file). If you have the problem with side 4 or 5 you can try the same (with the usage of their units instead of mixed fighter)
2)To add the normal AMLA add the following line in the unit file:
{AMLA_TOUGH 3}
and if the unit allready has a experience=... statement change it to experience=100, else add experience=100
(all normal max level units do it that way)
De Cock Hans
Posts: 41
Joined: September 9th, 2005, 6:40 pm
Location: Belgium

Post by De Cock Hans »

I just found out how to recruit thunderer's sothat's ok.

That leave only AMLA for the special units and then the first scenario is completly revised.

I will publish the campaign then
De Cock Hans
Posts: 41
Joined: September 9th, 2005, 6:40 pm
Location: Belgium

Post by De Cock Hans »

I think the first scenario is OK now and the AMLA is added tothe special units. This all thanks to Claus.

But now how do I put it on the campaign server ?

I using windows if it's important.
torangan
Retired Developer
Posts: 1365
Joined: March 27th, 2004, 12:25 am
Location: Germany

Post by torangan »

You need to get the passphrase or have it deleted from the campaign server first. Best way would be to contact Mkego first so he may tell freim that he should do it. "Mkgego 2 <mkgego2 hotmail com>" - don't know wheter it's still valid...
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 »

I have tried both. Mkgego had undelivered mail error

To Frame I have send a pm but have gotte no answer yet so ...

Is there somebody else I could try ?

Something else :

In want to at the condition that atleast 1 dwarf shouldbe alive after that all leaders are defeated.

I have searched for an scenario from another campaign that something like it but couldn't find one.

Somebody could help me with this ?
claus
Posts: 186
Joined: April 4th, 2005, 5:51 am

Post by claus »

De [censored] Hans wrote:In want to at the condition that atleast 1 dwarf shouldbe alive after that all leaders are defeated.

I have searched for an scenario from another campaign that something like it but couldn't find one.
It should be possible to use [if] for that. Something like this inside of the else case in the leader death event
[if]
[have_unit]
side=3,4,5
[/have_unit]
[then]
... (minimum one dwarf is alive)
[then]
[else]
... (all dwarfs are dead)
[/else]
[/if]
Mkgego
Posts: 436
Joined: April 15th, 2004, 10:26 pm
Location: Madrid , Spain , Europe

Post by Mkgego »

I am back !!!

After X months of being offline in the wenoth world i have come back to finish and update the work i finish//started (Elf War+ following...)
I saq that the code is out of date and capaign doesnt work properly... Holy [censored] ^^

Problem: Lost passwords ( Elf War and Revenge) to "edit" the campaigns... so, can someone tell me who i need to ask to become those pass again ???

Btw claus, My hotmail is allright, its Mkgego2bla bla bla...
WoW C-Mode activated...
For the horde :D
De Cock Hans
Posts: 41
Joined: September 9th, 2005, 6:40 pm
Location: Belgium

Post by De Cock Hans »

Hello Mkgego,

Nice to have you back. I always liked Elf War much. That's wy I had volunteerd to the maintenance when you were away. I have a sligthly changed version here but I could not get it on the server.

I have changed following : (1 & 2 scenario)
- Random death speach
- Other recruitment patron (only dwarves)

I was planning to change in the second scenario that atleast 1 dwarf should be alive. (so it correspond with the dialogue at the end)

All of this I have done with the help of Claus.

But I find it way better if the real author of it does the maintenance.

Maybe I can find another abandonned campaign to maintain.
unsung
Posts: 708
Joined: May 15th, 2005, 5:54 pm
Location: Raging somewhere..

Post by unsung »

any chance revenge will be fixed anytime soon?


and if you do, th eiorn mauler you made is just..... wrong. you should take out his ranged attack, restore his melle to normal and add a few points of damage, and then give him higher health and resitances*



*only beacuse he's a hero and maulers have a habbit of dieing when outnumbered by ranged units, which I always was in that campaign.
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?
torangan
Retired Developer
Posts: 1365
Joined: March 27th, 2004, 12:25 am
Location: Germany

Post by torangan »

BTW once you've got it ready for the current version, please follow the instructions behind the link in my signature. :-)
WesCamp-i18n - Translations for User Campaigns:
http://www.wesnoth.org/wiki/WesCamp

Translators for all languages required: contact me. No geek skills required!
Ave
Posts: 221
Joined: February 28th, 2004, 4:42 pm
Location: Hungary

Post by Ave »

Heh, it is an interesting idea to have two leaders.

The campaign is broken in the third scenario.

message:
Unit not found: Dwarvish SteelcladDwarvish Steelclad

The bug message is exactly like that, there is no mistake.

some typos:
in Rewny.cfg : enemmy -> enemy
fire_dragon.cfg: dwarve -> dwarven
atacks -> attacks
horse_lorg.cfg: obseesed->obsessed
great_troll.cfg:experiences->experienced
assault to->assault on
Mkgego
Posts: 436
Joined: April 15th, 2004, 10:26 pm
Location: Madrid , Spain , Europe

Post by Mkgego »

Ave wrote:Heh, it is an interesting idea to have two leaders.

The campaign is broken in the third scenario.

message:
Unit not found: Dwarvish SteelcladDwarvish Steelclad

The bug message is exactly like that, there is no mistake.

some typos:
in Rewny.cfg : enemmy -> enemy
fire_dragon.cfg: dwarve -> dwarven
atacks -> attacks
horse_lorg.cfg: obseesed->obsessed
great_troll.cfg:experiences->experienced
assault to->assault on

I know... the version on server is playable in wesnoth 0.8.X or something like that...

After leaving Wesnoth i hoped that there would be no changes on the code (ha ha many changes)...

This friday i hope i can post a "playable" version... some pple who worked on it to play it have changed the "broken"code and will send me the campaign as soon as they can...
WoW C-Mode activated...
For the horde :D
Yogibear
Retired Developer
Posts: 1086
Joined: September 16th, 2005, 5:44 am
Location: Hamburg, Germany

Post by Yogibear »

Ave wrote:Heh, it is an interesting idea to have two leaders.

The campaign is broken in the third scenario.

message:
Unit not found: Dwarvish SteelcladDwarvish Steelclad
That is a flaw in the config file for that scenario. It has been a while since i tried the campaign so don't ask me what exactly was wrong. It is somewhere in the WML for the dwarf side describing Liko. I fixed that and the scenario ran as expected.

Edit: I looked at the config file again. If i remember right, it's the "type"-attribute of the dwarf side appearing two times. Just delete the second one.
Smart persons learn out of their mistakes, wise persons learn out of others mistakes!
De Cock Hans
Posts: 41
Joined: September 9th, 2005, 6:40 pm
Location: Belgium

Post by De Cock Hans »

Claus (or somebody else)

I have tried to implement your piece of code to determine whether or not there is an enemy alive when all the leaders are killed but I can not get it fworking. When I try it, it does in both cases the same : It says I have won but now even the speech is gone.

I add the concerned WML code here, if you have time maybe you can take a look ... (would be much appriciated)

objectives= _ "
Victory:
@Kill all Dwarvish leaders AND let live at least 1 dwarf
Defeat:
#Turns run out
#Death of Kelmi
#Death of Rewny"


{ELF_WAR_DEATHS}
[event]
name=die
first_time_only=no
[filter]
role=leader
[/filter]
[if]
[have_unit]
role=leader
[/have_unit]
[then]
[/then]
[else]
[if]
[have_unit]
side=3,4
[/have_unit]
[then]
#speech
[message]
speaker=unit
message= _ "Please wait, you should know one thing..."
[/message]
[message]
speaker=Kelmi
message= _ "Speak dwarf!"
[/message]
[message]
speaker=unit
message= _ "We didn't want to break the Frontier Pact... We started to build an encampament in order to protect our people..."
[/message]
[message]
description=Rewny
message= _ "Protect them against what?"
[/message]
[message]
speaker=unit
message= _ "Against... Uaaaaaaaaaaaaargh..."
[/message]
[message]
description=Rewny
message= _ "He is dead... A poisoned dart has killed him..."
[/message]
[message]
description=Kelmi
message= _ "We have interrogated some dwarves for information. They have told us that there is a cave entrance here, somewhere... Let us find it!"
[/message]
[/then]
[else]
#speech
[message]
speaker=Kelmi
message= _ "O no we are lost. We should have kept at least one dwarf alive to intoregate him."
[/message]
[message]
description=Rewny
message= _ "Indeed we are, we will never find the entrance to there caves..."
[/message]
result=defeat
[/else]
[/if]
[/else]
[/if]
[/event]
claus
Posts: 186
Joined: April 4th, 2005, 5:51 am

Post by claus »

It might be necessary to split the [have_unit] side=2,3 [/have_unit] into:
[have_unit]
side=2
[/have_unit]
[or]
[have_unit]
side=3
[/have_unit]
[/or]

Second result=defeat has to be inside off an [endlevel]:
[endlevel]
result=defeat
[/endlevel]

The leaders of side 3 and 4 (and only those) should have role=leader. (Just to make sure you did not forget it)
I am not sure if spaces in code are a problem or not. (there might be a difference between "role=leader" and "role=leader ")

One more point:
Change the way which is used to assign the objectives. A HttT code example of the objectives:

[event]
name=prestart
[objectives]
side=1
[objective]
description= _ "Move Konrad to the signpost in the north-west"
condition=win
[/objective]
[objective]
description= _ "Death of Konrad"
condition=lose
[/objective]
[objective]
description= _ "Death of Delfador"
condition=lose
[/objective]
[objective]
description= _ "Turns run out"
condition=lose
[/objective]
[/objectives]
[/event]
Post Reply