Fire-Forged Friends

Discussion and development of scenarios and campaigns for the game.

Moderator: Forum Moderators

Post Reply
Zamael
Posts: 95
Joined: September 9th, 2009, 9:16 am

Re: Fire-Forged Friends

Post by Zamael »

SkyOne wrote:You do not have to move the map files until your scenario is ready. There is an editor folder somewhere in user data on your computer. On Mac, it is in user/preference, but I am not sure other operating system.
I found a file called "preferences" under /userdata, but it doesn't contain a variable for default folders. I will have to keep looking.

Or you might tell me more info and see whether you can help me before I can figure this out myself.
This is a shameless ad. It contains my campaign. Please enjoy it. All comments and feedback much appreciated.
User avatar
Huston
Posts: 1070
Joined: April 29th, 2009, 8:26 pm
Location: Somewhere in this World(I Think)

Re: Fire-Forged Friends

Post by Huston »

find where all your add-ons are stored and make a new folder in there that is where you are supposed to puyt your campaign you are making.
coded Rebellion During the Dark Age
Currently working on:
Era of the Future
User avatar
SkyOne
Posts: 1310
Joined: January 3rd, 2009, 7:23 pm

Re: Fire-Forged Friends

Post by SkyOne »

Zamael wrote:Or you might tell me more info and see whether you can help me before I can figure this out myself.
On Mac, there is Wesnoth, or Wesnoth_1.6 folder in the Preferences. The editor folder is in it, then your map files are in the maps folder of the editor folder.
Fate of a Princess/feedback thread: "What is in own heart that is the most important, not who you are."
Drake Campaign: Brave Wings/feedback thread, Naga Campaign: Return of the Monster, Saurian Campaign: Across the Ocean
Northern Forces - now on 1.12 server
Zamael
Posts: 95
Joined: September 9th, 2009, 9:16 am

Re: Fire-Forged Friends

Post by Zamael »

Yes, I did find my maps all right. What I'm looking for is a way for them to be saved automatically under my campaign folder.

Also I'm using Windows XP.
This is a shameless ad. It contains my campaign. Please enjoy it. All comments and feedback much appreciated.
User avatar
Huston
Posts: 1070
Joined: April 29th, 2009, 8:26 pm
Location: Somewhere in this World(I Think)

Re: Fire-Forged Friends

Post by Huston »

when you save them use the save as feature instead then just nacvigate to the approporiate folder where you want them saved.
coded Rebellion During the Dark Age
Currently working on:
Era of the Future
User avatar
SkyOne
Posts: 1310
Joined: January 3rd, 2009, 7:23 pm

Re: Fire-Forged Friends

Post by SkyOne »

Yeah, just as Huston said, copy your map file, then paste it in the maps folder inside of your campaign folder.
Fate of a Princess/feedback thread: "What is in own heart that is the most important, not who you are."
Drake Campaign: Brave Wings/feedback thread, Naga Campaign: Return of the Monster, Saurian Campaign: Across the Ocean
Northern Forces - now on 1.12 server
Zamael
Posts: 95
Joined: September 9th, 2009, 9:16 am

Re: Fire-Forged Friends

Post by Zamael »

Oh whatever. That just seems so darn complicated, especially since the target folder and the original are just about in completely different places on my hard drive.
This is a shameless ad. It contains my campaign. Please enjoy it. All comments and feedback much appreciated.
User avatar
Huston
Posts: 1070
Joined: April 29th, 2009, 8:26 pm
Location: Somewhere in this World(I Think)

Re: Fire-Forged Friends

Post by Huston »

do you see 3 little dots at the screen that comes up when you select save as?
click on them and it takes you up 1 directory.
coded Rebellion During the Dark Age
Currently working on:
Era of the Future
User avatar
SkyOne
Posts: 1310
Joined: January 3rd, 2009, 7:23 pm

Re: Fire-Forged Friends

Post by SkyOne »

I am not sure Windows much.
Huston handles it, right, Huston?

You can actually move your campaign folder to data/campaigns in the user data. It will not crash anything yet.
Fate of a Princess/feedback thread: "What is in own heart that is the most important, not who you are."
Drake Campaign: Brave Wings/feedback thread, Naga Campaign: Return of the Monster, Saurian Campaign: Across the Ocean
Northern Forces - now on 1.12 server
User avatar
Huston
Posts: 1070
Joined: April 29th, 2009, 8:26 pm
Location: Somewhere in this World(I Think)

Re: Fire-Forged Friends

Post by Huston »

yes i run windows and linux ubuntu
coded Rebellion During the Dark Age
Currently working on:
Era of the Future
Zamael
Posts: 95
Joined: September 9th, 2009, 9:16 am

Re: Fire-Forged Friends

Post by Zamael »

Okay, I believe I have just created the first mission properly, and the _main file is pretty much there. Except when I move this whole folder to the main campaign file and try to run the game, it gives a whole bunch of error messages: most likely because I've added a whole bunch of units in the first scenario file without actually defining them anywhere.

But how the hell am I supposed to define them? Every single campaign I've watched seems to do just about everything except the scenarios themselves so damn different I just can't look at them without getting so very confused. Some of them define about million custom units, others just use normal ones. Legend of Wesmere seems fine, except its "characters" file also defines their team, but my units keep switching teams. Which one is the right way to do it? Is this whole post in itself confusing you?

For the record, here's what I got so far, if someone wants to take a look at it to check if everything's in order:
_main:
first scenario, contains wall of text:
This is a shameless ad. It contains my campaign. Please enjoy it. All comments and feedback much appreciated.
User avatar
Huston
Posts: 1070
Joined: April 29th, 2009, 8:26 pm
Location: Somewhere in this World(I Think)

Re: Fire-Forged Friends

Post by Huston »

first off, when posting code on the forums put it inside of

Code: Select all

 tags not spoiler tags.

secondly you will probably recieve some errors from yourt _main.cfg file currently.

here is the fixes to it.

[code]
#textdomain wesnoth-Fire_Forged_Friends
[textdomain]
    name="wesnoth-Fire_Forged_Friends"
[/textdomain]
[campaign]
id=Fire-Forged_Friends
name= _ "Fire-Forged Friends"
abbrev= _ "FFF"
define="CAMPAIGN_FORGED"
first_scenario="01_rats_of_different_color_all_of_them_cornered"
difficulties=EASY,NORMAL,HARD
difficulty_descriptions={MENU_IMG_TXT2 "units/saurians/skirmisher.png~RC(magenta>red)" _ "Skirmisher" _"(Easy)"} +
";*" + {MENU_IMG_TXT2 "units/saurians/ambusher.png~RC(magenta>red)" _"Ambusher" _"(Normal)"} +
";" + {MENU_IMG_TXT2 "units/saurians/flanker.png~RC(magenta>red)" (_"Flanker") _"(Challenging)"}
description= _ "Is it working? Please let it work."

(Intermediate level, 1 scenario.)
[binary_path]
    path=data/campaigns/Fire-Forged_Friends
[/binary_path]
#ifdef CAMPAIGN_FORGED
[binary_path]
    path=data/campaigns/Fire-Forged_Friends
[/binary_path]

{~campaigns/Fire-Forged_Friends/scenarios}

#endif
[/campaign]

Code: Select all

#textdomain wesnoth-Fire_Forged_Friends
[scenario]
id=01_rats_of_different_color_all_of_them_cornered
next_scenario=02_no_more_running

name=_ "Rats of Different Color; All of them_Cornered
map_data="{~campaigns/Fire_Forged_Friends/maps/01_rats_of_different_color_all_of_them_cornered.map}"
victory_when_enemies_defeated_=no
{TURNS 38 34 30}

{INTRO_AND_SCENARIO_MUSIC breaking_the_chains.ogg siege_of_laurelmor.ogg}
{EXTRA_SCENARIO_MUSIC heroes_rite.ogg}
{EXTRA_SCENARIO_MUSIC frantic.ogg}

[story]
[part]
story=_ "At the age of eighteen, the newly knighted Cheska Kuhral, a noblewoman by birth and education, received her first position of command in the southeastern fringe of the kingdom of Wesnoth. It was a relatively peaceful age, and even more a peaceful corner of the earth: neither Cheska nor her employers expected the responsibility that had been given to her to bring all that much challenge."
[/part]
[part]
story=_ "Unfortunately, they could not have been more wrong. Barely a month had passed with the young Cheska in command, when the keeps and posts were assaulted by one of the largest orcish raiding bands in recent memory. To her credit it must be said that she put up a great fight, refusing to surrender for many days, but in the end, the orcs proved to be too much for her: the human outposts were invaded, most defending forces slaughtered, and the commander herself forced to retreat, along with what little was left of her forces."
[/part]
[part]
story=_ "Meanwhile, a lone wanderer is approaching her throughout the western mountain range. Wherever he goes, small orcish scout teams would vanish without a trace, failing to return to their camps and report their findings - and the said camps shortly afterwards face assaults of their own dead, walking corpses and incorporeal spirits cutting down the living, spreading panic and chaos among the ranks of those that survive. He went where the raid did, opposing it from shadows at every opportunity - and where the raid happened to go was where Cheska happened to be. The collision of two forces and one loner was inevitable."
[/part]
[part]
story=_ "And from the east, from far away, far and wide they have travelled, an even more insignificant force is closing in. Truly small, capable of sneaking past orcs and humans alike, the tiny band of lizards finally enters the human territory. Shackled, scarred, starving, and afraid: turning back every now and then to see if they are chased, not stopping even when the running hurts. They care not where they are going, only where they are running from, and how to get even more away from it. They care not that they are entering upon a scene of a great battle. They know not that they are approaching either an unlikely alliance... or death."
[/part]
[/story]

{DEFAULT_SCHEDULE}

[side]
side=1
controller=human
type=Swordsman
id=Cheska
name=_ "Cheska Kuhral"
unrenamable=yes
canrecruit=yes
recruit=Spearman,Horseman,Bowman
gold=150 120 90
[unit]
{ELRIC}
x=17
y=26
[/unit]
[unit]
generate_name=yes
type=Swordsman
side=1
x=17
y=27
[/unit]
[/side]

[event]
name=last breath
first_time_only=yes
[filter]
id=Cheska
[/filter]
[message]
speaker=Cheska
message=_ "Die! If you thought I would give up so easily, then you are sorely mistaken!"
[/message]
[message]
speaker=Silan
message=_ "Hah! I remember how, before I arrived to help, you were indeed about to give up!"
[/message]
[message]
speaker=Cheska
message=_ "Silence, necromancer. I will not hear such talk from someone like you."
[/message]
[/event]

[side]
side=2
controller=ai
team_name=undead
user_team_name=_"Silan's dead folk"
type=Dark Adept
id=Silan
name_ "Silan Abner"
[leader_goal]
x=21
y=0
[/leader_goal]
canrecruit=yes
recruit=Soulless,Blood Bat
{GOLD 120 90 60}
[ai]
aggression=0.6
grouping=defensive
recruitment:pattern=scout,scout,fighter
[/ai]
[/side]

[event]
name=last breath
first_time_only=yes
[filter]
id=Silan
[/filter]
[message]
speaker=Silan
message=_ "Remain Dust, foolish one!"
[/message]
[/event]

[event]
name=recruit
first_time_only=yes
[filter]
id=soulless
[/filter]
[message]
speaker=Silan
message=_ "Hmph, such lousy corpses here. Can't make proper soldiers out of them..."
[/message]
[message]
speaker=Cheska
message=_ "Wait. Is that..."
[/message]
[message]
speaker=Xel
message=_ "It is a corpse that walks. You are a necromancer."
[/message]
[message]
speaker=Silan
message=_ "...Why, yes. What of it?"
[/message]
[message]
speaker=Cheska
message=_ "What of it...? What of it?! You practise the vilest of all brands of magic! You conspire with evil spirits, desecrate the dead and force them back to the world of the living, enslaving their souls for your own purpose!"
[/message]
[message]
speaker=Silan
message=_ "...Which has so far been opposing the orcish hordes that murder and pillage our countryside, and as of now, to get you and your friends out of here alive. Besides, I use no humans, only orcs: they deserve it."
[/message]
[message]
speaker=Cheska
message=_ "I think even orcs deserve the peace of death."
[/message]
[message]
speaker=Silan
message=_ "And that they shall get, eventually. However, I see it a fair trade that they will first have to absolve some of their sins by helping out humans they have often opposed so much. Don't you think that's fair?"
[/message]
[message]
speaker=Xel
message=_ "No. All sins are absolved by death. And, like Cheska here said, everyone should be allowed to rest in peace, be he a man, an orc, or a drake."
[/message]
[message]
speaker=Zeza
message=_"When a drake grows old and nears his end, he goes out to seek the most glorious death possible. And if he is brought back to life after single-handedly slaying seven gigantic trolls, then it makes mockery of all he ever accomplished!"
[/message]
[message]
speaker=Silan
message=_ "Your point is acknowledged, friend lizards, but you will have to admit that you can't possibly get out of here alive without my help."
[/message]
[message]
speaker=Xel
message=_ "...Yes. But that doesn't mean we have to like it."
[/message]
[message]
speaker=Cheska
message=_ "I will let you be... for now."
[/message]
[/event]

[side]
side=3
controller=ai
team_name=saurians
user_team_name=_"Xel's saurians"
type=Saurian Skirmisher
id=Xel
name_ "Xel"
[leader_goal]
x=19
y=0
[/leader_goal]
canrecruit=yes
recruit=Saurian Skirmisher,Saurian Augur
{GOLD 120 90 60}
[unit]
{ZEZA}
x=22
y=26
[/unit]
[ai]
aggression=0.6
grouping=offensive
recruitment:pattern=fighter,fighter,healer
[/ai]
[/side]

[side]
side=4
controller=ai
type= Orcish Warrior
id=Larry
name_ "Larry"
canrecruit=yes
recruit=Orcish Assassin,Orcish Grunt
{GOLD 150 200 250}
[ai]
aggression=0.6
grouping=no
recruitment_pattern=fighter,fighter,mixed fighter
[/ai]
[/side]

[side]
side=5
controller=ai
type= Orcish Warrior
id=Moe
name_ "Moe"
canrecruit=yes
recruit=Orcish Assassin,Orcish Grunt
{GOLD 150 200 250}
[ai]
aggression=0.6
grouping=no
recruitment_pattern=fighter,fighter,mixed fighter
[/ai]
[/side]

[side]
side=6
controller=ai
type= Orcish Warrior
id=Curly
Name_ "Curly"
canrecruit=yes
recruit=Orcish Assassin,Orcish Grunt,Orcish Crossbowman
{GOLD 150 200 250}
[ai]
aggression=0.6
grouping=no
recruitment_pattern=fighter,fighter,mixed fighter
[/ai]
[/side]

[event]
name=prestart

[recall]
id=Larry
x=17
y=40
[/recall]

[recall]
id=Cheska
x=16
y=26
[/recall]

[message]
speaker=Larry
message_ "Keep running, little man-girl! You make wonderful sport!"
[/message]
[message]
speaker=Cheska
message_ *Hahh* "So tired... I really have to stop and... rest for a moment."
[/message]
[message]
speaker=Elric
message_ "Forgive me Milady, but... there's not much time. We have a new problem."
[/message]
[message]
speaker=Cheska
message_ "What is it now? More orcs? Like we didn't have enough already!"
[/message]
[message]
speaker=Elric
message_ "Yes. It is... most unfortunate. You see, Milady... the orcs have circled around ahead of us. We are surrounded."
[/message]
[message]
speaker=Cheska
message_ "Wh-... What?"
[/message]

[recall]
id=Moe
x=4
y=2
[/recall]
[recall]
id=Curly
x=28
y=7
[/recall]

[message]
speaker=Moe
message_ "Hello, humans! Weren't you expecting me?"
[/message]
[message]
speaker=Curly
message_ "They're trapped now! Like rats in their hole!"
[/message]
[message]
speaker=Moe
message_ "Rats? Now I'm hungry."
[/message]
[message]
speaker=Elric
message_ "So... is this how it's going to end, then?"
[/message]
[message]
speaker=Cheska
message_ "I suppose. If I was any older, perhaps I would lament of how I failed in my duty, the only task I was ordered to... but right now, all I'm really lamenting of is the loss of my own life."
[/message]
[message]
speaker=Elric
message_ "Likewise."
[/message]
[message]
speaker=
message_ "Hm? Those are not orc voices I hear..."
[/message]
[message]
speaker=Elric
message_ "Huh?"
[/message]
[message]
speaker=Cheska
message_ "Who's there?"
[/message]

[recall]
id=Silan
x=5
y=24
[/recall]

{MOVE_UNIT (id=Silan) 11,27}

[message]
speaker=Silan
message_ "More humans? Wonderful! I thought I was going to die all alone here!"
[/message]
[message]
speaker=Cheska
message_ "Who are you?"
[/message]
[message]
speaker=Silan
message_ "Yes, introductions! Where are my manners? My name is Silan. Silan Abner. I have been opposing the invading orcs at any possible moment, but now it looks like I have ended up biting a bit more I could chew. So I suppose we have both ended up in the same hopeless situation. A pleasure to meet you!"
[/message]
[message]
speaker=Cheska
message_ "Likewise... I suppose. My name is Cheska."
[/message]
[message]
speaker=Elric
message_ "My salutations to you as well, good sir."
[/message]
[message]
speaker=Silan
message_ "So, what do you say then? Alone we may have been doomed, but I believe together we might stand a chance, albeit slim, of escaping and living to fight again another day!"
[/message]
[message]
speaker=Cheska
message_ "We appreciate any help you can offer, although... I have to ask, what can a single man offer to us that truly gives us a significant edge? Are you perhaps a wizard?"
[/message]
[message]
speaker=Silan
message_"Your assumptions would be correct: I often utilize magic on my travels. I believe I can be of just as great help to you as you can be to me."
[/message]

{MOVE_UNIT (id=Elric) 20,24}

[message]
speaker=Cheska
message_"I suppose it is settled, then. We will join our forces to make a stand against the orcish hor-"
[/message]

[recall]
id=Xel
x=21
y=24
[/recall]

[message]
speaker=Elric
message_ "Whoa!"
[/message]
[message]
speaker=Xel
message_ "Who goes there? Friend or foe?"
[/message]
[message]
speaker=Silan
message_ "Saurians? Can we assume you are in this same pickle as well?"
[/message]
[message]
speaker=Cheska
message_ "Um. Let's suppose we are friends at the moment."
[/message]
[message]
speaker=Silan
message_ "More friends than those orcs over there, anyway."
[/message]
[message]
speaker=Curly
message_ "Hey, I caught a lizard!"
[/message]
[message]
speaker=Moe
message_ "How was it?"
[/message]
[message]
speaker=Curly
message_ "Crunchy on the outside, but chewy from the inside! Yum! I'll go look for more."
[/message]
[message]
speaker=Xel
message_ "Yes, we... met some orcs on our way here. Most of us got through unharmed, but I reckon that way is shut for us now."
[/message]
[message]
speaker=Silan
message_ "That would mean you are surrounded as well."
[/message]
[message]
speaker=Cheska
message_ "You went through a different trap, perhaps, but the outcome is the same."
[/message]
[message]
speaker=Xel
message_ "...I see."
[/message]

{MOVE_UNIT (id=Xel) 21,27}

[recall]
id=Zeza
x=20
y=26
[/recall]

[message]
speaker= Xel
message_ "Well, my name is Xel."
[/message]

[message]
speaker= Silan
message_ "Nice to meet you! I'm Silan."

[/message]

[message]
speaker= Cheska
message_ "Cheska."
[/message]

[message]
speaker= Xel
message_ "It's a pleasure."
[/message]

[message]
speaker= Larry
message_ "...See, you can't cook a lizard, since they can take fire really well. What you have to do is to take a really big hammer and then SMA-"
[/message]

[message]
speaker= Moe
message_ "OI! Enough talking, let's go get them already!"
[/message]

[message]
speaker= Zeza
message_ "Xel, they're coming!"
[/message]

[message]
speaker= Xel
message_ "Looks like the time for talking is over, then."
[/message]

[message]
speaker= Cheska
message_ "There was way too much time for that to begin with. Are you with us, then, Xel?"
[/message]

[message]
speaker= Xel
message_ "Act as one, or perish alone. And I want to get out of here alive."
[/message]

[message]
speaker= Cheska
message_ "That's reassuring. Perhaps we do have a chance."
[/message]

[message]
speaker=
message_
[/message]

[objectives]
side=1
[objective]
condition=win
description=_ "Aid Cheska to the signpost in the north"
[/objective]
[objective]
condition=lose
description=_ "Death of Cheska Kuhral"
[/objective]
[objective]
condition=lose
description=_ "Death of Silan Abner"
[/objective]
[objective]
condition=lose
description=_ "Death of Xel"
[/objective]
[/objectives]
[/event]

[event]
name=moveto
[filter]
x=20
y=0
id=Cheska
[/filter]

[message]
id=Xel
message= _ "We got through! We have broken past the blockade!"
[/message]
[message]
id=Silan
message= _ "Well, that was not quite as difficult as I had thought! Now we should-"
[/message]
[message]
id=Cheska
message= _ "Men! Seize the necromancer!"
[/message]

[delay]
time=500
[/delay]

[message]
id=Silan
message= _ "What is this?"
[/message]
[message]
id=Cheska
message= _ "You have been found guilty of the crime of necromancy: you have been proven to have studied the dark arts, brought dead back to the living, and performed many dark and twisted spells; as well as suspected upon conspiring against Wesnoth."
[/message]
[message]
id=Silan
message= _ "What? That is simply plain unfair. Just because I wield darker magic than most, indicates absolutely nothing that I would wish to throw the good king Konrad from the throne!"
[/message]
[message]
id=Cheska
message= _ "Your help here was greatly appreciated, however, and I will talk for your behalf in the court."
[/message]
[message]
id=Silan
message= _ "Well, that is generous."
[/message]
[message]
id=Cheska
message= _ "Even so, I fully expect you to be executed for this. I hope there will be no hard feelings."
[/message]
[message]
id=Silan
message= _ "...Hmph. There will be none, I suppose. You could do no different."
[/message]

[delay]
time=500
[/delay]

[message]
id=Cheska
message= _ "What about you, then, Xel? What do you wish to do now?"
[/message]
[message]
id=Xel
message= _ "..."
[/message]
[message]
id=Xel
message= _ "...Would you mind if I came with you? I don't have anywhere to go to begin with, but you did help me out. I feel like I might as well stick with you."
[/message]
[message]
id=Cheska
message= _ "I would not mind. Although I can be sure your and your friends' faces will cause some commotion in the human cities."
[/message]
[message]
id=Xel
message= _ "Thank you. ...Still, I have to say I think you're being a bit too harsh to the necromancer. I'm no more fond of his dark magics, but he did help us out as well."
[/message]
[message]
id=Cheska
message= _ "...Perhaps so. We shall see what happens."
[/message]

[endlevel]
result=victory
bonus=yes
[/endlevel]

[/event]

[/scenario]

You cannot have more than 1 side that has the same side defined. if yoiu want sides to be allied add the team name line and the other line that has to do with teams. (i don't remeber exactly what the other line is called though. take a look at the other subtle changes i've made to.
coded Rebellion During the Dark Age
Currently working on:
Era of the Future
Zamael
Posts: 95
Joined: September 9th, 2009, 9:16 am

Re: Fire-Forged Friends

Post by Zamael »

Nope, there's still a whole bunch of errors. Some of them have something to do with a soulless (probably the event that's triggered by Silan recruiting one), others with the _main file.
This is a shameless ad. It contains my campaign. Please enjoy it. All comments and feedback much appreciated.
User avatar
AladorIsithir
Posts: 66
Joined: August 21st, 2009, 9:19 am

Re: Fire-Forged Friends

Post by AladorIsithir »

Could you please tell me what the errors are exactly?
Working on "The Dark Brotherhood Era"
Working on "Surviving the North" Campaign
Working on "intro scene"
User avatar
SkyOne
Posts: 1310
Joined: January 3rd, 2009, 7:23 pm

Re: Fire-Forged Friends

Post by SkyOne »

I have added extra code to show the image, so you can change it to whatever you like.
I have also changed your campaign title to "Fire Forge Friends", instead of "Fire-Forge Friend" just in case.

The title of the first scenario has been changed to shorter one, and capitalized the first letter, so be careful for the scenario-id.
You can now add unit-file and utils-file in the folder if you like.

Here is your main file.
Attachments
_main.cfg
(1.19 KiB) Downloaded 227 times
Fate of a Princess/feedback thread: "What is in own heart that is the most important, not who you are."
Drake Campaign: Brave Wings/feedback thread, Naga Campaign: Return of the Monster, Saurian Campaign: Across the Ocean
Northern Forces - now on 1.12 server
Post Reply