Moderators: Forum Moderators, Developers
define=CAMPAIGN_OUTLAWS
#ifdef Outlaws
#ifdef CAMPAIGN_OUTLAWS
map_data="{data/campaigns/outlaws/maps/caravan.map}"
map_data="{campaigns/outlaws/maps/caravan.map}"
user-team_name=_"Mance's Raiders"
user_team_name=_"Mance's Raiders"
[GOLD 90 70 50]
[INCOME 0 0 0]
{GOLD 90 70 50}
{INCOME 0 0 0}
type=fighter
type=Peasant
[textdomain]
name="Test_Campaign"
path="data/campaigns/Test_Campaign/translations"
[/textdomain]
[campaign]
#textdomain wesnoth-Test_Campaign
id=test
name= _ "Test Campaign"
abbrev=Test
define=CAMPAIGN_TEST
icon=units/goblins/rouser.png~RC(magenta>red)
image=portraits/Neoriceisgood/orcish_grunt.png
description= _ "Future Awesome Goblins Campaign"
difficulties=EASY,NORMAL,HARD
difficulty_descriptions={MENU_IMG_TXT2 units/goblins/spearman.png "Goblin Wannabe" _"Easy"} +
";" + {MENU_IMG_TXT2 units/goblins/impaler.png "Goblin Rouser" _"Medium"} +
";" + {MENU_IMG_TXT2 units/goblins/wolf-rider.png "Goblin Howler" _"Hard"}
first_scenario=test1
[/campaign]
#ifdef CAMPAIGN_TEST
[binary_path]
path=data/campaigns/Test_Campaign
[/binary_path]
{@campaigns/Test_Campaign/scenarios}
#endif[scenario]
#textdomain wesnoth-Test_Campaign
name= _ "A Simple Test Scenario"
id=test1
turns=20
map_data="{@campaigns/Test_Campaign/maps/{NAME}}"
next_scenario=""
{DAWN}
{MORNING}
{AFTERNOON}
{DUSK}
{FIRST_WATCH}
{SECOND_WATCH}
[side]
type=Goblin Spearman
description=Mons
user_description= _ "Mons"
unrenamable=yes
unit_description= _ "Mons is the new Goblin King!"
side=1
canrecruit=1
controller=human
recruit=Goblin Spearman
team_name=Goblins
{GOLD 100 50 0}
{INCOME 10 5 0}
[/side]
[side]
type=Peasant
description=Peasant
side=2
canrecruit=1
controller=ai
recruit=Peasant
team_name=Village
{GOLD 100 50 0}
{INCOME 10 5 0}
[/side]
[story]
[part]
story= _ "The goblins are moving to pillage the town!"
background=maps/mainmenu.png
[/part]
[/story]
[event]
name=prestart
[objectives]
side=1
[objective]
description= _ "Defeat Enemy Leader"
condition=win
[/objective]
[objective]
description= _ "Death of your Leader"
condition=lose
[/objective]
[objective]
description= _ "Turns run out"
condition=lose
[/objective]
[/objectives]
[/event]
[/scenario]border_size=1
usage=map
Gg , Gg , Gg , ...Migrant wrote:I'm getting a similar problem on my first try at making a campaign... I've spent several hours at this now, and compared with other campaign files, but no luck, even tried re-writing the whole thing...
The error message I get is:
"The game could not be loaded: load_game_failed: Map not found"
map_data="{@campaigns/Test_Campaign/maps/{NAME}}"
map_data="{@campaigns/Test_Campaign/maps/test1.map}"
map_data="{campaigns/Test_Campaign/maps/test1.map}"
read your storyline so far, and even at this early stage it sounds good! If you could, post your entire campaign folder up here, and I'll take a look at it. Getting the campaign to run in the first place is the most difficult part, IMHO.
id=the_raidid=the_caravanDEATH_is_undead wrote:In the Caravan file, it states:This should be:
- Code: Select all
id=the_raid
- Code: Select all
id=the_caravan
Users browsing this forum: Google [Bot], Yahoo [Bot] and 0 guests