'When Came out the Shadows' campaign
Moderator: Forum Moderators
Re: 'When Came out the Shadows' campaign
After [/scenario] I now have :
But this doesn't work...
Must be outside the #ifdef part?
Code: Select all
#ifdef CAMPAIGN_WHEN_CAME_OUT_THE_SHADOWS
### path to external images and sounds
[binary_path]
path=data/campaigns/When_Came_out_the_Shadows/external_binary_data
[/binary_path]
[binary_path]
path=data/campaigns/When_Came_out_the_Shadows
[/binary_path]
{@campaigns/When_Came_out_the_Shadows/utils}
{@campaigns/When_Came_out_the_Shadows/scenarios}
[+units]
{@campaigns/When_Came_out_the_Shadows/units}
[/units]
#endif
Must
Code: Select all
[binary_path]
path=data/campaigns/When_Came_out_the_Shadows/external_binary_data
[/binary_path]
http://www.wesnoth.org/forum/viewtopic.php?f=8&t=21994
When Came out the Shadows
When Came out the Shadows
Re: 'When Came out the Shadows' campaign
Here is the complete _main.cfg :
I created a external_binary_data/images folder with the 4 pictures but it doesn't work...
Where am I wrong?
Code: Select all
#textdomain wesnoth-wcots
# This version forked from 1.4, january 2009.
[textdomain]
name="wesnoth-wcots"
[/textdomain]
# wmlscope: set export=no
[campaign]
id=WCotS
name= _ "When Came out the Shadows"
abbrev= _ "WCotS"
rank=200
first_scenario="01_La_Secte"
define="CAMPAIGN_WHEN_CAME_OUT_THE_SHADOWS"
difficulties=EASY,NORMAL,HARD
difficulty_descriptions={MENU_IMG_TXT2 "data/campaigns/When_Came_out_the_Shadows/images/units/konrad-fighter.png~RC(magenta>red)" _"Fighter" _"(Easy)"} + ";" + {MENU_IMG_TXT2 "data/campaigns/When_Came_out_the_Shadows/images/units/konrad-commander.png~RC(magenta>red)" _"Commander" _"(Normal)"} + ";" + {MENU_IMG_TXT2 "data/campaigns/When_Came_out_the_Shadows/images/units/konrad-lord.png~RC(magenta>red)" _"Lord" _"(Difficult)"}
icon=../data/core/images/attacks/sword-holy.png~RC(magenta>red)
image=data/campaigns/When_Came_out_the_Shadows/images/wcots_campaign_image.png
description= _ "In the year 612 YW, the Prince Konrad, second of the name, son of King Haldric VII, leaves with the army of Wesnoth at the conquest of an archipelago emerged from the waves. His army mysteriously disappears while hordes of orcs invade the islands. Will you be able to clarify this mystery?
Version 1.0.0"
# [about]...[/about]
[/campaign]
[binary_path]
path=data/campaigns/When_Came_out_the_Shadows/external_binary_data
[/binary_path]
#ifdef CAMPAIGN_WHEN_CAME_OUT_THE_SHADOWS
### path to external images and sounds
[binary_path]
path=data/campaigns/When_Came_out_the_Shadows
[/binary_path]
{@campaigns/When_Came_out_the_Shadows/utils}
{@campaigns/When_Came_out_the_Shadows/scenarios}
[+units]
{@campaigns/When_Came_out_the_Shadows/units}
[/units]
#endif

Where am I wrong?
http://www.wesnoth.org/forum/viewtopic.php?f=8&t=21994
When Came out the Shadows
When Came out the Shadows
Re: 'When Came out the Shadows' campaign
You are still telling Wesnoth to look for the image in a place which should not exist.
Changes:
image=data/campaigns/When_Came_out_the_Shadows/images/wcots_campaign_image.png
should be
image=wcots_campaign_image.png
similar for the others.
Changes:
image=data/campaigns/When_Came_out_the_Shadows/images/wcots_campaign_image.png
should be
image=wcots_campaign_image.png
similar for the others.
Re: 'When Came out the Shadows' campaign
Thank you! It works!
On the other hand, I inform you that the 1.0.0 version is available. It is no longer a Beta.
Perhaps some scenarios need to be better balanced...
Thanks to WYRMY and Thrawn for their help about the translations, and the other from the forum for their different help.
On the other hand, I inform you that the 1.0.0 version is available. It is no longer a Beta.
Perhaps some scenarios need to be better balanced...
Thanks to WYRMY and Thrawn for their help about the translations, and the other from the forum for their different help.
http://www.wesnoth.org/forum/viewtopic.php?f=8&t=21994
When Came out the Shadows
When Came out the Shadows
Re: 'When Came out the Shadows' campaign
I just tried this - on normal difficulty I found it too hard - when you land on the first island with two undead leaders, it seems impossible to kill them both in the limited time allowed - given the lack of villages there is not time to heal more than 1 or 2 units before having to rush into attack.
Perhaps make this a little bit easier, increase the time limit by 6 to 8 turns or so and maybe a little gold bonus (100 gold or so found on the island).
That would allow a few more units against each leader, and prevent having to rush into attack unhealed.
Perhaps make this a little bit easier, increase the time limit by 6 to 8 turns or so and maybe a little gold bonus (100 gold or so found on the island).
That would allow a few more units against each leader, and prevent having to rush into attack unhealed.
Re: 'When Came out the Shadows' campaign
You're probably right. I didn't play in Normal. Thank you for telling this.
I'll modify the file when I'll have some more time...
Please tell me if you found a mistake or something too much hard in the campaign...


Please tell me if you found a mistake or something too much hard in the campaign...

http://www.wesnoth.org/forum/viewtopic.php?f=8&t=21994
When Came out the Shadows
When Came out the Shadows
Re: 'When Came out the Shadows' campaign
Sorry for this question which were probably already asked by somebody else : where can I find a document helping me to modify the WML code of my campaign ? I would want it to be playable with 1.6.
Thank you.
Thank you.
Last edited by domingo on June 10th, 2009, 3:20 pm, edited 1 time in total.
http://www.wesnoth.org/forum/viewtopic.php?f=8&t=21994
When Came out the Shadows
When Came out the Shadows
Re: 'When Came out the Shadows' campaign
WML Changesdomingo wrote:where can I find a document helping me to modify the WML code of my campaign. I want it to b playable with 1.6.
The above link contains changes to WML in 1.6 that would need to be fixed.
Mainline Maintainer: AOI, DM, NR, TB and THoT.
UMC Maintainer: Forward They Cried, A Few Logs, A Few More Logs, Start of the War, and Battle Against Time
UMC Maintainer: Forward They Cried, A Few Logs, A Few More Logs, Start of the War, and Battle Against Time
Re: 'When Came out the Shadows' campaign
Thank you !
I have modified the code. Now I have the message "Unkown scenario" when I try the campaign. There is no other bug announced by the game.
Any idea ? I suppose this is an "usual bug"...
I have modified the code. Now I have the message "Unkown scenario" when I try the campaign. There is no other bug announced by the game.

Any idea ? I suppose this is an "usual bug"...
http://www.wesnoth.org/forum/viewtopic.php?f=8&t=21994
When Came out the Shadows
When Came out the Shadows
Re: 'When Came out the Shadows' campaign
Yes, it does pop up a great deal, but it could also be a large number of things, so it is hard to know where to start to tell you to fix it.domingo wrote:Any idea ? I suppose this is an "usual bug"...
Is the main.cfg set up correctly to look for the campaign? Do the file and map names match each other, and in first_scenario=?
Mainline Maintainer: AOI, DM, NR, TB and THoT.
UMC Maintainer: Forward They Cried, A Few Logs, A Few More Logs, Start of the War, and Battle Against Time
UMC Maintainer: Forward They Cried, A Few Logs, A Few More Logs, Start of the War, and Battle Against Time
Re: 'When Came out the Shadows' campaign
Sometimes I have an error message, sometimes I haven't...
I have re-written the _main.cfg file.
Now the games says the [/scenario] is missing in one of my scenarios.
You can see here the code :
Something should be wrong but I don't know what. Do you ?
I have re-written the _main.cfg file.
Now the games says the [/scenario] is missing in one of my scenarios.

You can see here the code :
Code: Select all
#textdomain wesnoth-wcots
[scenario]
id="09_bis_Les_Plaines_d_Ydrun"
name= _ "Ydrun Plains"
map_data="{@campaigns/When_Came_out_the_Shadows/maps/09bis_Les_Plaines_d_Ydrun.map}"
next_scenario="10_Chemins_Divergents"
turns=12
{SCENARIO_MUSIC "knalgan_theme.ogg"}
{VICTORY_AND_DEFEAT_MUSIC}
[story]
[part]
background=story/the_green_isle.png
show_title=yes
[image]
x,y=680,310
file=items/gohere.png
[/image]
[/part]
[/story]
{DAWN}
{MORNING}
{AFTERNOON}
{DUSK}
{FIRST_WATCH}
{SECOND_WATCH}
[side]
side=1
team_name=konrad
controller=human
id="Konrad"
canrecruit=1
type=Commander
recruit=Horseman, Spearman, Bowman, Mage, Cavalryman, Elvish Archer, Elvish Fighter, Elvish Shaman, Elvish Scout,Corporal
fog=yes
[/side]
[side]
type=Lich
id=Balda
name= _ "Balda"
canrecruit=1
side=2
team_name=liches
controller=ai
passive_leader=yes
{GOLD 200 320 440}
#ifdef EASY
recruit=Skeleton,Revenant,Blood Bat,Ghost,Bone Shooter
#endif
#ifdef NORMAL
recruit=Skeleton,Revenant,Chocobone,Blood Bat,Wraith,Bone Shooter,Dark Adept
#endif
#ifdef HARD
recruit=Skeleton,Revenant,Chocobone,Wraith,Bone Shooter,Dark Adept
#endif
[ai]
#ifdef EASY
recruitment_pattern=fighter,fighter,archer,scout
#endif
#ifdef NORMAL
recruitment_pattern=fighter,fighter,archer,scout
#endif
#ifdef HARD
recruitment_pattern=fighter,fighter,archer,scout
#endif
[/ai]
[/side]
[side]
type=Lich
id=Griga
name= _ "Griga"
canrecruit=1
side=3
team_name=liches
controller=ai
passive_leader=yes
recruit=Wraith,Walking Corpse
{GOLD 200 400 600}
[ai]
#ifdef EASY
recruitment_pattern=fighter
#endif
#ifdef NORMAL
recruitment_pattern=fighter
#endif
#ifdef HARD
recruitment_pattern=fighter,fighter,fighter,scout
#endif
[/ai]
[/side]
[side]
type=Lich
id=Kimaa
name= _ "Kimaa"
canrecruit=1
side=4
team_name=liches
controller=ai
passive_leader=yes
{GOLD 160 280 400}
#ifdef EASY
recruit=Walking Corpse,Wraith,Bone Shooter,Revenant,Skeleton
#endif
#ifdef NORMAL
recruit=Walking Corpse,Wraith,Bone Shooter,Revenant,Skeleton,Dark Adept
#endif
#ifdef HARD
recruit=Wraith,Chocobone,Bone Shooter,Revenant,Skeleton,Dark Adept
#endif
[ai]
#ifdef EASY
recruitment_pattern=fighter,fighter,archer,scout
#endif
#ifdef NORMAL
recruitment_pattern=fighter,fighter,archer,scout
#endif
#ifdef HARD
recruitment_pattern=fighter,fighter,archer,scout,scout
#endif
[/ai]
[/side]
[side]
type=Lich
id=Mal Huqh
name= _ "Mal Huqh"
canrecruit=1
side=5
team_name=liches
controller=ai
passive_leader=yes
{GOLD 160 280 400}
#ifdef EASY
recruit=Walking Corpse,Wraith,Bone Shooter,Revenant,Skeleton
#endif
#ifdef NORMAL
recruit=Walking Corpse,Wraith,Bone Shooter,Revenant,Skeleton,Dark Adept
#endif
#ifdef HARD
recruit=Wraith,Chocobone,Bone Shooter,Revenant,Skeleton,Dark Adept
#endif
[ai]
#ifdef EASY
recruitment_pattern=fighter,fighter,archer,scout
#endif
#ifdef NORMAL
recruitment_pattern=fighter,fighter,archer,scout
#endif
#ifdef HARD
recruitment_pattern=fighter,fighter,archer,scout,scout
#endif
[/ai]
[/side]
{PLACE_IMAGE (items/holy-water.png) 28 23}
{PLACE_IMAGE (items/holy-water.png) 16 2}
[event]
name=prestart
[objectives]
side=1
[objective]
description= _ "Survive for two days"
condition=win
[/objective]
[objective]
description= _ "Eradicate the Liches (Bonus)"
condition=win
[/objective]
[objective]
description= _ "Death of Konrad"
condition=lose
[/objective]
[objective]
description= _ "Death of Cutty Fredd, Merlin or Lyndil-Hoaklyl"
condition=lose
[/objective]
[objective]
description= _ "Turns run out"
condition=lose
[/objective]
[/objectives]
[recall]
id=Cutty Fredd
[/recall]
[recall]
id=Merlin
[/recall]
[recall]
id=Lyndil-Hoaklyl
[/recall]
[/event]
[event]
name=start
[message]
speaker=Konrad
message= _ "Shut up! Are you hearing that noise?"
[/message]
[message]
speaker=Merlin
message= _ "I'm. A dangerous thing is taking place over the fog."
[/message]
[message]
speaker=Cutty Fredd
message= _ "What sort of mystery are we going to face again?"
[/message]
[message]
speaker=Merlin
message= _ "These lands are called the Ydrun plains. He was a great warrior in the past according to the Haldric-aged prehistorical literature. But he became corrupted and cruel because of a lich-lord, who possessed him. The kings of the Green Isle fought him during several but merciless years. Finally he was beaten and died here a long time ago, but for a long time before Haldric."
[/message]
[message]
speaker=Merlin
message= _ "In consequence it is not necessary to say the land is not perfectly pure."
[/message]
[message]
speaker=Cutty Fredd
message= _ "You want to say we'll have to fight. Well..."
[/message]
[message]
speaker=Konrad
message= _ "Be careful. Warn the regiments if you see something strange."
[/message]
[message]
speaker=Cutty Fredd
message= _ "We will carefully progress and return with a new victory."
[/message]
[message]
speaker=Merlin
message= _ "And so began the Ydrun plains battle..."
[/message]
[/event]
[event]
name=turn 3
[message]
id=Konrad
message= _ "100 pieces of gold have been found in the cellars? This is a good new!"
[/message]
[gold]
side=1
amount=100
[/gold]
[sound]
name=gold.ogg
[/sound]
[message]
image=wesnoth-icon.png
speaker=narrator
message= _ "You receive 100 pieces of gold!"
[/message]
[/event]
[event]
name=time over
[message]
id=Cutty Fredd
message= _ "The Sun rises again over the plains."
[/message]
[message]
id=Konrad
message= _ "Victory! The undead are leaving!"
[/message]
[endlevel]
result=victory
[/endlevel]
[/event]
{@campaigns/When_Came_out_the_Shadows/utils/deaths.cfg}
[/scenario]
http://www.wesnoth.org/forum/viewtopic.php?f=8&t=21994
When Came out the Shadows
When Came out the Shadows
Re: 'When Came out the Shadows' campaign
Try putting in victory_when_enemies_defeated=no
When you get errors on your scenarios, it is better to take them out and place them back in one and a time so that you can isolate errors one by one.
When you get errors on your scenarios, it is better to take them out and place them back in one and a time so that you can isolate errors one by one.
Mainline Maintainer: AOI, DM, NR, TB and THoT.
UMC Maintainer: Forward They Cried, A Few Logs, A Few More Logs, Start of the War, and Battle Against Time
UMC Maintainer: Forward They Cried, A Few Logs, A Few More Logs, Start of the War, and Battle Against Time
Re: 'When Came out the Shadows' campaign
Hi,
I think I'm not going to continue the campaign. I can't update the code for 1.6 and I have no longer the time to write, verify and try to understand (without success most of the time) why it doesn't work!
So I would like somebody - who has no idea of new campaign, who would like to make one, and who knows WML - take over my campaign and work on... I can give her/him the ideas I had for it...
I don't know if there is any procedure or rules for this... But what I want it's that my campaign be alive and maintened would be better!
Or, in the worst come to the worst, I could continue writing but in that case I would need help from a "WML veteran"!
Could somebody tell me what are the rules for this? And is somebody interested in that?
edit: curently I'm not totally sure to do that. This is just like prospecting!
Thanks
I think I'm not going to continue the campaign. I can't update the code for 1.6 and I have no longer the time to write, verify and try to understand (without success most of the time) why it doesn't work!
So I would like somebody - who has no idea of new campaign, who would like to make one, and who knows WML - take over my campaign and work on... I can give her/him the ideas I had for it...
I don't know if there is any procedure or rules for this... But what I want it's that my campaign be alive and maintened would be better!
Or, in the worst come to the worst, I could continue writing but in that case I would need help from a "WML veteran"!
Could somebody tell me what are the rules for this? And is somebody interested in that?
edit: curently I'm not totally sure to do that. This is just like prospecting!
Thanks
http://www.wesnoth.org/forum/viewtopic.php?f=8&t=21994
When Came out the Shadows
When Came out the Shadows
Re: 'When Came out the Shadows' campaign
There are no rules for this, it is between you and whatever interested individual you find. You just have to hope that someone is willing to devote time coding out your ideas, and see who contacts you.domingo wrote:Could somebody tell me what are the rules for this? And is somebody interested in that?
Mainline Maintainer: AOI, DM, NR, TB and THoT.
UMC Maintainer: Forward They Cried, A Few Logs, A Few More Logs, Start of the War, and Battle Against Time
UMC Maintainer: Forward They Cried, A Few Logs, A Few More Logs, Start of the War, and Battle Against Time