Recruitment trouble...
Moderator: Forum Moderators
Forum rules
- Please use [code] BBCode tags in your posts for embedding WML snippets.
- To keep your code readable so that others can easily help you, make sure to indent it following our conventions.
Recruitment trouble...
I'm working on my first campaign scenario; trying to test it, but I can't get very far as my leader can't recruit. The option to recruit appears when right clicking on a tile hex, but clicking doesn't bring up a recruitment menu. Recalling brings up the usual error message for no veterans from previous scenarios...
Anyway, could somebody look this first part over and see if the problem's here? (I've deleted the dialogue)
Thanks.
Anyway, could somebody look this first part over and see if the problem's here? (I've deleted the dialogue)
Code: Select all
[scenario]
id=Diplomatic_Mission
#textdomain wesnoth-tBrls
name= _ "Diplomatic Mission"
map_data="{campaigns/The_Barliss/maps/1_DIPLOMATIC_MISSION}{~campaigns/The_Barliss/maps/1_DIPLOMATIC_MISSION}"
music="wesnoth-1.ogg"
{TURNS 19 16 12}
{DAWN}
{MORNING}
{AFTERNOON}
{DUSK}
{FIRST_WATCH}
{SECOND_WATCH}
next_scenario=The_Atoll
[event]
name=prestart
[objectives]
side=1
[objective]
description= _ "Reach the city"
condition=win
[/objective]
[objective]
description= _ "Death of Vilmond"
condition=lose
[/objective]
[objective]
description= _ "Turns run out"
condition=lose
[/objective]
[/objectives]
[unit]
type=Red Mage
description=Crill
user_description= _ "Crill"
unrenamable=yes
x=35
y=28
side=1
[/unit]
[/event]
[side]
type=Mounted Fighter
description=Vilmond
user_description= _ "Vilmond"
unrenamable=yes
side=1
canrecruit=1
recruit=Horseman,Spearman,Hermit,Cavalry
team_name=dutiful
controller=human
{GOLD 250 150 75}
[/side]
#Marshall and Geibier focus on General Nills rather than each other
#define CAVIAR_TO_THE_GENERAL
[target]
description=General Nills
value=100
[/target]
#enddef
[side]
type=Lieutenant
description=Geibier
user_description= _ "Geibier"
unrenamable=yes
side=2
canrecruit=1
recruit=Bandit,Footpad,Cavalry
[ai]
recruitment_pattern=scout,fighter,mixed fighter
{ATTACK_DEPTH 2 3 5}
{CAVIAR_TO_THE_GENERAL}
[/ai]
team_name=dutiful
{GOLD 300 200 100}
[/side]
[side]
type=General
description=Marshall
user_description= _ "Marshall"
unrenamable=yes
side=3
canrecruit=1
recruit=Horseman,Spearman,Bowman,Mage,Fencer
[ai]
recruitment_pattern=fighter,mixed fighter,archer
{ATTACK_DEPTH 2 3 5}
{CAVIAR_TO_THE_GENERAL}
[/ai]
team_name=dutiful
{GOLD 250 350 550}
[/side]
#General Nills takes no special interest in enemy leaders.
[side]
type=Death Knight
description=General Nills
user_description= _ "General Nills"
recruit=Vampire Bat,Skeleton,Skeleton Archer,Ghost,Draug,Revenant,Bone Shooter,Shadow,Soulless
side=4
canrecruit=1
{GOLD 999 999 999}
[ai]
recruitment_pattern=scout,fighter,fighter,archer,archer,mixed fighter,fighter,fighter,archer,archer,mixed fighter
{ATTACK_DEPTH 1 3 5}
leader_value=1
[/ai]
[/side]
{STARTING_VILLAGES 1 3}
{STARTING_VILLAGES 2 5}
{STARTING_VILLAGES 3 6}
[event]
name=start
[kill]
description=Crill
[/kill]
[move_unit_fake]
type=Red Mage
x=34,33,31
y=27,27,27
[/move_unit_fake]
[unit]
type=Red Mage
description=Crill
user_description= _ "Crill"
unrenamable=yes
x=31
y=27
side=1
[modifications]
{TRAIT_LOYAL}
{TRAIT_RESILIENT}
[/modifications]
[/unit]
[/event]